GET api/v2/flight/route/getList/{lang}?pageSize={pageSize}

熱門目的地(推薦)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageSize

integer

Default value is 9

lang

string

Default value is zh-hk

Body Parameters

None.

Response Information

Resource Description

熱門目的地(推薦)

ReturnResultOfAirRouteRSContract
NameDescriptionTypeAdditional information
data

AirRouteRSContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "hotAirRoutes": [
      {
        "itemType": 0,
        "airRoute": {
          "imagePath": "sample string 1",
          "price": 2.0,
          "tripType": 1,
          "cabinClass": 0,
          "carrierCode": "sample string 3",
          "carrierName": "sample string 4",
          "depAiportCode": "sample string 5",
          "depCityName": "sample string 6",
          "arrAiportCode": "sample string 7",
          "arrCityName": "sample string 8",
          "depDate": "2024-12-23T20:16:54.1218934+08:00",
          "retDate": "2024-12-23T20:16:54.1218934+08:00"
        },
        "adverDetail": "sample string 1"
      },
      {
        "itemType": 0,
        "airRoute": {
          "imagePath": "sample string 1",
          "price": 2.0,
          "tripType": 1,
          "cabinClass": 0,
          "carrierCode": "sample string 3",
          "carrierName": "sample string 4",
          "depAiportCode": "sample string 5",
          "depCityName": "sample string 6",
          "arrAiportCode": "sample string 7",
          "arrCityName": "sample string 8",
          "depDate": "2024-12-23T20:16:54.1218934+08:00",
          "retDate": "2024-12-23T20:16:54.1218934+08:00"
        },
        "adverDetail": "sample string 1"
      }
    ],
    "classifys": [
      {
        "ClassifyId": "sample string 1",
        "Title": "sample string 2"
      },
      {
        "ClassifyId": "sample string 1",
        "Title": "sample string 2"
      }
    ],
    "airRoutes": {
      "total_count": 1,
      "page": 2,
      "page_size": 3,
      "data_list": [
        {
          "price": 1.0,
          "tripType": 1,
          "cabinClass": 0,
          "carrierCode": "sample string 2",
          "carrierName": "sample string 3",
          "depAiportCode": "sample string 4",
          "depCityName": "sample string 5",
          "arrAiportCode": "sample string 6",
          "arrCityName": "sample string 7",
          "depDate": "2024-12-23T20:16:54.1218934+08:00",
          "retDate": "2024-12-23T20:16:54.1218934+08:00"
        },
        {
          "price": 1.0,
          "tripType": 1,
          "cabinClass": 0,
          "carrierCode": "sample string 2",
          "carrierName": "sample string 3",
          "depAiportCode": "sample string 4",
          "depCityName": "sample string 5",
          "arrAiportCode": "sample string 6",
          "arrCityName": "sample string 7",
          "depDate": "2024-12-23T20:16:54.1218934+08:00",
          "retDate": "2024-12-23T20:16:54.1218934+08:00"
        }
      ],
      "page_count": 1,
      "skip": 4
    }
  },
  "code": 1,
  "message": "sample string 2"
}