GET api/flight/v2/getAirList/{lang}/{searchKey}/{sessionId}

获取航班列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
searchKey

搜索緩存鍵

string

Required

sessionId

航班ID,多個","分隔

string

Required

lang

語言

string

Required

Body Parameters

None.

Response Information

Resource Description

获取航班列表

ReturnResultOfListOfTC_AirListRSContract
NameDescriptionTypeAdditional information
data

Collection of TC_AirListRSContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "itinerary": [
        {
          "flightNumber": "sample string 1",
          "carrierCode": "sample string 2",
          "carrierName": "sample string 3",
          "platingCarrierCode": "sample string 4",
          "platingCarrierName": "sample string 5",
          "depTime": "2024-12-23T19:38:36.119149+08:00",
          "depAirportCode": "sample string 7",
          "depAirportName": "sample string 8",
          "depCityCode": "sample string 9",
          "depCityName": "sample string 10",
          "arrTime": "2024-12-23T19:38:36.119149+08:00",
          "arrAirportCode": "sample string 12",
          "arrAirportName": "sample string 13",
          "arrCityCode": "sample string 14",
          "arrCityName": "sample string 15",
          "classCode": 0,
          "className": "sample string 16",
          "seatCount": 17,
          "travelTime": 18.1,
          "stopCount": 19,
          "aircraftCode": "sample string 20",
          "overDay": "sample string 21",
          "segmentGroup": 22,
          "segments": [
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:38:36.119149+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:38:36.119149+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "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"
                  }
                ]
              },
              "carryonallowance": {
                "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"
                  }
                ]
              }
            },
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:38:36.119149+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:38:36.119149+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "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"
                  }
                ]
              },
              "carryonallowance": {
                "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"
                  }
                ]
              }
            }
          ]
        },
        {
          "flightNumber": "sample string 1",
          "carrierCode": "sample string 2",
          "carrierName": "sample string 3",
          "platingCarrierCode": "sample string 4",
          "platingCarrierName": "sample string 5",
          "depTime": "2024-12-23T19:38:36.119149+08:00",
          "depAirportCode": "sample string 7",
          "depAirportName": "sample string 8",
          "depCityCode": "sample string 9",
          "depCityName": "sample string 10",
          "arrTime": "2024-12-23T19:38:36.119149+08:00",
          "arrAirportCode": "sample string 12",
          "arrAirportName": "sample string 13",
          "arrCityCode": "sample string 14",
          "arrCityName": "sample string 15",
          "classCode": 0,
          "className": "sample string 16",
          "seatCount": 17,
          "travelTime": 18.1,
          "stopCount": 19,
          "aircraftCode": "sample string 20",
          "overDay": "sample string 21",
          "segmentGroup": 22,
          "segments": [
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:38:36.119149+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:38:36.119149+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "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"
                  }
                ]
              },
              "carryonallowance": {
                "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"
                  }
                ]
              }
            },
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:38:36.119149+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:38:36.119149+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "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"
                  }
                ]
              },
              "carryonallowance": {
                "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"
                  }
                ]
              }
            }
          ]
        }
      ],
      "source": "sample string 1",
      "sessionId": 2,
      "adult": 3,
      "child": 4,
      "infant": 5,
      "labour": 6,
      "adultPrice": 7.0,
      "adultTax": 8.0,
      "childPrice": 9.0,
      "childTax": 10.0,
      "infantPrice": 11.0,
      "infantTax": 12.0,
      "fareType": 0,
      "farePrice": 326.0,
      "searchAccountId": 13,
      "bookingAccountId": 14,
      "isCacheData": true,
      "platingCarrier": "sample string 16"
    },
    {
      "itinerary": [
        {
          "flightNumber": "sample string 1",
          "carrierCode": "sample string 2",
          "carrierName": "sample string 3",
          "platingCarrierCode": "sample string 4",
          "platingCarrierName": "sample string 5",
          "depTime": "2024-12-23T19:38:36.119149+08:00",
          "depAirportCode": "sample string 7",
          "depAirportName": "sample string 8",
          "depCityCode": "sample string 9",
          "depCityName": "sample string 10",
          "arrTime": "2024-12-23T19:38:36.119149+08:00",
          "arrAirportCode": "sample string 12",
          "arrAirportName": "sample string 13",
          "arrCityCode": "sample string 14",
          "arrCityName": "sample string 15",
          "classCode": 0,
          "className": "sample string 16",
          "seatCount": 17,
          "travelTime": 18.1,
          "stopCount": 19,
          "aircraftCode": "sample string 20",
          "overDay": "sample string 21",
          "segmentGroup": 22,
          "segments": [
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:38:36.119149+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:38:36.119149+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "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"
                  }
                ]
              },
              "carryonallowance": {
                "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"
                  }
                ]
              }
            },
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:38:36.119149+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:38:36.119149+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "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"
                  }
                ]
              },
              "carryonallowance": {
                "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"
                  }
                ]
              }
            }
          ]
        },
        {
          "flightNumber": "sample string 1",
          "carrierCode": "sample string 2",
          "carrierName": "sample string 3",
          "platingCarrierCode": "sample string 4",
          "platingCarrierName": "sample string 5",
          "depTime": "2024-12-23T19:38:36.119149+08:00",
          "depAirportCode": "sample string 7",
          "depAirportName": "sample string 8",
          "depCityCode": "sample string 9",
          "depCityName": "sample string 10",
          "arrTime": "2024-12-23T19:38:36.119149+08:00",
          "arrAirportCode": "sample string 12",
          "arrAirportName": "sample string 13",
          "arrCityCode": "sample string 14",
          "arrCityName": "sample string 15",
          "classCode": 0,
          "className": "sample string 16",
          "seatCount": 17,
          "travelTime": 18.1,
          "stopCount": 19,
          "aircraftCode": "sample string 20",
          "overDay": "sample string 21",
          "segmentGroup": 22,
          "segments": [
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:38:36.119149+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:38:36.119149+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "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"
                  }
                ]
              },
              "carryonallowance": {
                "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"
                  }
                ]
              }
            },
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:38:36.119149+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:38:36.119149+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "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"
                  }
                ]
              },
              "carryonallowance": {
                "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"
                  }
                ]
              }
            }
          ]
        }
      ],
      "source": "sample string 1",
      "sessionId": 2,
      "adult": 3,
      "child": 4,
      "infant": 5,
      "labour": 6,
      "adultPrice": 7.0,
      "adultTax": 8.0,
      "childPrice": 9.0,
      "childTax": 10.0,
      "infantPrice": 11.0,
      "infantTax": 12.0,
      "fareType": 0,
      "farePrice": 326.0,
      "searchAccountId": 13,
      "bookingAccountId": 14,
      "isCacheData": true,
      "platingCarrier": "sample string 16"
    }
  ],
  "code": 1,
  "message": "sample string 2"
}