GET api/order/flight/routing/{DocNO}

獲取訂單行程、報價信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DocNO

string

Required

Body Parameters

None.

Response Information

Resource Description

獲取訂單行程、報價信息

ReturnResultOfRouteing
NameDescriptionTypeAdditional information
data

Routeing

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "source": "sample string 1",
    "sessionid": 2,
    "data": "sample string 3",
    "adultprice": 4.0,
    "adultmarkup": -1.0,
    "adultorgprice": 5.0,
    "adulttax": 6.0,
    "adultorgtax": 7.0,
    "childprice": 8.0,
    "childmarkup": -1.0,
    "childorgprice": 9.0,
    "childtax": 10.0,
    "childorgtax": 11.0,
    "infantprice": 12.0,
    "infantmarkup": -1.0,
    "infantorgprice": 13.0,
    "infanttax": 14.0,
    "infantorgtax": 15.0,
    "pricetype": 16,
    "applytype": 17,
    "adulttaxtype": 18,
    "childtaxtype": 19,
    "infanttaxtype": 20,
    "adult": 21,
    "child": 22,
    "infant": 23,
    "labour": 24,
    "rule": {
      "refund": "sample string 1",
      "endorse": "sample string 2",
      "baggage": "sample string 3",
      "other": "sample string 4",
      "listbaggagedetail": [
        {
          "key": "sample string 1",
          "deptairport": "sample string 2",
          "arrairport": "sample string 3",
          "maxweight": "sample string 4",
          "unit": "sample string 5",
          "numbeofpieces": "sample string 6",
          "baggageallowancs": {
            "unit": 1,
            "unitname": "sample string 1",
            "simplerule": true,
            "url": "sample string 3",
            "remark": "sample string 4",
            "baggages": [
              {
                "index": 1,
                "isfree": true,
                "remark": "sample string 3"
              },
              {
                "index": 1,
                "isfree": true,
                "remark": "sample string 3"
              }
            ]
          }
        },
        {
          "key": "sample string 1",
          "deptairport": "sample string 2",
          "arrairport": "sample string 3",
          "maxweight": "sample string 4",
          "unit": "sample string 5",
          "numbeofpieces": "sample string 6",
          "baggageallowancs": {
            "unit": 1,
            "unitname": "sample string 1",
            "simplerule": true,
            "url": "sample string 3",
            "remark": "sample string 4",
            "baggages": [
              {
                "index": 1,
                "isfree": true,
                "remark": "sample string 3"
              },
              {
                "index": 1,
                "isfree": true,
                "remark": "sample string 3"
              }
            ]
          }
        }
      ],
      "listcarryondetail": [
        {
          "key": "sample string 1",
          "deptairport": "sample string 2",
          "arrairport": "sample string 3",
          "maxweight": "sample string 4",
          "unit": "sample string 5",
          "numbeofpieces": "sample string 6",
          "baggageallowancs": {
            "unit": 1,
            "unitname": "sample string 1",
            "simplerule": true,
            "url": "sample string 3",
            "remark": "sample string 4",
            "baggages": [
              {
                "index": 1,
                "isfree": true,
                "remark": "sample string 3"
              },
              {
                "index": 1,
                "isfree": true,
                "remark": "sample string 3"
              }
            ]
          }
        },
        {
          "key": "sample string 1",
          "deptairport": "sample string 2",
          "arrairport": "sample string 3",
          "maxweight": "sample string 4",
          "unit": "sample string 5",
          "numbeofpieces": "sample string 6",
          "baggageallowancs": {
            "unit": 1,
            "unitname": "sample string 1",
            "simplerule": true,
            "url": "sample string 3",
            "remark": "sample string 4",
            "baggages": [
              {
                "index": 1,
                "isfree": true,
                "remark": "sample string 3"
              },
              {
                "index": 1,
                "isfree": true,
                "remark": "sample string 3"
              }
            ]
          }
        }
      ]
    },
    "fromsegments": [
      {
        "carrier": "sample string 1",
        "flightnumber": "sample string 2",
        "depairport": "sample string 3",
        "deptime": "sample string 4",
        "deptimezone": "sample string 5",
        "arrairport": "sample string 6",
        "arrtime": "sample string 7",
        "arrtimezone": "sample string 8",
        "stopcities": "sample string 9",
        "stopcityinfo": [
          {
            "depairport": "sample string 1",
            "deptime": "sample string 2",
            "deptimezone": "sample string 3",
            "arrairport": "sample string 4",
            "arrtime": "sample string 5",
            "arrtimezone": "sample string 6",
            "airtime": 7
          },
          {
            "depairport": "sample string 1",
            "deptime": "sample string 2",
            "deptimezone": "sample string 3",
            "arrairport": "sample string 4",
            "arrtime": "sample string 5",
            "arrtimezone": "sample string 6",
            "airtime": 7
          }
        ],
        "codeshare": true,
        "aircraftcode": "sample string 11",
        "airtime": "sample string 12",
        "airreminder": "sample string 13",
        "key": "sample string 14",
        "marketairlines": "sample string 15",
        "operatorairlines": "sample string 16",
        "cabinclass": [
          {
            "qualifier": "sample string 1",
            "cabin": "sample string 2",
            "cabincode": 0,
            "farebasis": "sample string 3",
            "seatcount": 4
          },
          {
            "qualifier": "sample string 1",
            "cabin": "sample string 2",
            "cabincode": 0,
            "farebasis": "sample string 3",
            "seatcount": 4
          }
        ],
        "segmentgroup": 17,
        "depterminal": "sample string 18",
        "arrterminal": "sample string 19",
        "faresequence": "sample string 20",
        "opsuffix": "sample string 21",
        "ruleNumber": "sample string 22",
        "fareApplicationType": 0,
        "status": "sample string 23",
        "segmentorder": 24
      },
      {
        "carrier": "sample string 1",
        "flightnumber": "sample string 2",
        "depairport": "sample string 3",
        "deptime": "sample string 4",
        "deptimezone": "sample string 5",
        "arrairport": "sample string 6",
        "arrtime": "sample string 7",
        "arrtimezone": "sample string 8",
        "stopcities": "sample string 9",
        "stopcityinfo": [
          {
            "depairport": "sample string 1",
            "deptime": "sample string 2",
            "deptimezone": "sample string 3",
            "arrairport": "sample string 4",
            "arrtime": "sample string 5",
            "arrtimezone": "sample string 6",
            "airtime": 7
          },
          {
            "depairport": "sample string 1",
            "deptime": "sample string 2",
            "deptimezone": "sample string 3",
            "arrairport": "sample string 4",
            "arrtime": "sample string 5",
            "arrtimezone": "sample string 6",
            "airtime": 7
          }
        ],
        "codeshare": true,
        "aircraftcode": "sample string 11",
        "airtime": "sample string 12",
        "airreminder": "sample string 13",
        "key": "sample string 14",
        "marketairlines": "sample string 15",
        "operatorairlines": "sample string 16",
        "cabinclass": [
          {
            "qualifier": "sample string 1",
            "cabin": "sample string 2",
            "cabincode": 0,
            "farebasis": "sample string 3",
            "seatcount": 4
          },
          {
            "qualifier": "sample string 1",
            "cabin": "sample string 2",
            "cabincode": 0,
            "farebasis": "sample string 3",
            "seatcount": 4
          }
        ],
        "segmentgroup": 17,
        "depterminal": "sample string 18",
        "arrterminal": "sample string 19",
        "faresequence": "sample string 20",
        "opsuffix": "sample string 21",
        "ruleNumber": "sample string 22",
        "fareApplicationType": 0,
        "status": "sample string 23",
        "segmentorder": 24
      }
    ],
    "retsegments": [
      {
        "carrier": "sample string 1",
        "flightnumber": "sample string 2",
        "depairport": "sample string 3",
        "deptime": "sample string 4",
        "deptimezone": "sample string 5",
        "arrairport": "sample string 6",
        "arrtime": "sample string 7",
        "arrtimezone": "sample string 8",
        "stopcities": "sample string 9",
        "stopcityinfo": [
          {
            "depairport": "sample string 1",
            "deptime": "sample string 2",
            "deptimezone": "sample string 3",
            "arrairport": "sample string 4",
            "arrtime": "sample string 5",
            "arrtimezone": "sample string 6",
            "airtime": 7
          },
          {
            "depairport": "sample string 1",
            "deptime": "sample string 2",
            "deptimezone": "sample string 3",
            "arrairport": "sample string 4",
            "arrtime": "sample string 5",
            "arrtimezone": "sample string 6",
            "airtime": 7
          }
        ],
        "codeshare": true,
        "aircraftcode": "sample string 11",
        "airtime": "sample string 12",
        "airreminder": "sample string 13",
        "key": "sample string 14",
        "marketairlines": "sample string 15",
        "operatorairlines": "sample string 16",
        "cabinclass": [
          {
            "qualifier": "sample string 1",
            "cabin": "sample string 2",
            "cabincode": 0,
            "farebasis": "sample string 3",
            "seatcount": 4
          },
          {
            "qualifier": "sample string 1",
            "cabin": "sample string 2",
            "cabincode": 0,
            "farebasis": "sample string 3",
            "seatcount": 4
          }
        ],
        "segmentgroup": 17,
        "depterminal": "sample string 18",
        "arrterminal": "sample string 19",
        "faresequence": "sample string 20",
        "opsuffix": "sample string 21",
        "ruleNumber": "sample string 22",
        "fareApplicationType": 0,
        "status": "sample string 23",
        "segmentorder": 24
      },
      {
        "carrier": "sample string 1",
        "flightnumber": "sample string 2",
        "depairport": "sample string 3",
        "deptime": "sample string 4",
        "deptimezone": "sample string 5",
        "arrairport": "sample string 6",
        "arrtime": "sample string 7",
        "arrtimezone": "sample string 8",
        "stopcities": "sample string 9",
        "stopcityinfo": [
          {
            "depairport": "sample string 1",
            "deptime": "sample string 2",
            "deptimezone": "sample string 3",
            "arrairport": "sample string 4",
            "arrtime": "sample string 5",
            "arrtimezone": "sample string 6",
            "airtime": 7
          },
          {
            "depairport": "sample string 1",
            "deptime": "sample string 2",
            "deptimezone": "sample string 3",
            "arrairport": "sample string 4",
            "arrtime": "sample string 5",
            "arrtimezone": "sample string 6",
            "airtime": 7
          }
        ],
        "codeshare": true,
        "aircraftcode": "sample string 11",
        "airtime": "sample string 12",
        "airreminder": "sample string 13",
        "key": "sample string 14",
        "marketairlines": "sample string 15",
        "operatorairlines": "sample string 16",
        "cabinclass": [
          {
            "qualifier": "sample string 1",
            "cabin": "sample string 2",
            "cabincode": 0,
            "farebasis": "sample string 3",
            "seatcount": 4
          },
          {
            "qualifier": "sample string 1",
            "cabin": "sample string 2",
            "cabincode": 0,
            "farebasis": "sample string 3",
            "seatcount": 4
          }
        ],
        "segmentgroup": 17,
        "depterminal": "sample string 18",
        "arrterminal": "sample string 19",
        "faresequence": "sample string 20",
        "opsuffix": "sample string 21",
        "ruleNumber": "sample string 22",
        "fareApplicationType": 0,
        "status": "sample string 23",
        "segmentorder": 24
      }
    ],
    "faretype": 0,
    "fareprice": 1444.0,
    "searchaccountid": 25,
    "bookingaccountid": 26,
    "pricecalculations": [
      {
        "itemtype": "sample string 1",
        "adultprice": 2.0,
        "adulttax": 3.0,
        "childprice": 4.0,
        "childtax": 5.0,
        "infantprice": 6.0,
        "infanttax": 7.0,
        "remark": "sample string 8",
        "displayorder": 9
      },
      {
        "itemtype": "sample string 1",
        "adultprice": 2.0,
        "adulttax": 3.0,
        "childprice": 4.0,
        "childtax": 5.0,
        "infantprice": 6.0,
        "infanttax": 7.0,
        "remark": "sample string 8",
        "displayorder": 9
      }
    ],
    "deepLink": "sample string 27",
    "isCacheData": true,
    "routingKey": "sample string 1_sample string 2_sample string 2|sample string 2|sample string 1_sample string 2_sample string 2|sample string 2_vs_sample string 1_sample string 2_sample string 2|sample string 2|sample string 1_sample string 2_sample string 2|sample string 2",
    "platingCarrier": "sample string 29"
  },
  "code": 1,
  "message": "sample string 2"
}