GET api/flyhotel/package/list/{lang}/{count}
機+酒打包列表
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| lang |
語言 |
string |
Required |
| count |
返回記錄數 |
integer |
Default value is 8 |
Body Parameters
None.
Response Information
Resource Description
機+酒打包列表
ReturnResultOfFlyHotelPackage| Name | Description | Type | Additional information |
|---|---|---|---|
| data | FlyHotelPackage |
None. |
|
| code |
状态码:100成功,其他自定义 |
integer |
None. |
| message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": {
"classifyRoutes": [
{
"title": "sample string 1",
"routes": [
{
"routeId": 1,
"depCityCode": "sample string 2",
"depCityName": "sample string 3",
"arrCityCode": "sample string 4",
"arrCityName": "sample string 5",
"hotelDepCityCode": "sample string 6",
"hotelArrCityCode": "sample string 7",
"lowestAvgPrice": 8.0,
"converPath": "sample string 9",
"adult": 10,
"child": 11,
"CabinClass": 12,
"CabinClassName": "sample string 13",
"hotelRate": 14,
"depDate": "2025-11-06T21:57:40.1548438+08:00",
"retDate": "2025-11-06T21:57:40.1548438+08:00",
"isDirectFlightOnly": true,
"nightStay": 18,
"rooms": [
{
"adult": 1,
"child": 2,
"childAge": 3
},
{
"adult": 1,
"child": 2,
"childAge": 3
}
]
},
{
"routeId": 1,
"depCityCode": "sample string 2",
"depCityName": "sample string 3",
"arrCityCode": "sample string 4",
"arrCityName": "sample string 5",
"hotelDepCityCode": "sample string 6",
"hotelArrCityCode": "sample string 7",
"lowestAvgPrice": 8.0,
"converPath": "sample string 9",
"adult": 10,
"child": 11,
"CabinClass": 12,
"CabinClassName": "sample string 13",
"hotelRate": 14,
"depDate": "2025-11-06T21:57:40.1548438+08:00",
"retDate": "2025-11-06T21:57:40.1548438+08:00",
"isDirectFlightOnly": true,
"nightStay": 18,
"rooms": [
{
"adult": 1,
"child": 2,
"childAge": 3
},
{
"adult": 1,
"child": 2,
"childAge": 3
}
]
}
]
},
{
"title": "sample string 1",
"routes": [
{
"routeId": 1,
"depCityCode": "sample string 2",
"depCityName": "sample string 3",
"arrCityCode": "sample string 4",
"arrCityName": "sample string 5",
"hotelDepCityCode": "sample string 6",
"hotelArrCityCode": "sample string 7",
"lowestAvgPrice": 8.0,
"converPath": "sample string 9",
"adult": 10,
"child": 11,
"CabinClass": 12,
"CabinClassName": "sample string 13",
"hotelRate": 14,
"depDate": "2025-11-06T21:57:40.1548438+08:00",
"retDate": "2025-11-06T21:57:40.1548438+08:00",
"isDirectFlightOnly": true,
"nightStay": 18,
"rooms": [
{
"adult": 1,
"child": 2,
"childAge": 3
},
{
"adult": 1,
"child": 2,
"childAge": 3
}
]
},
{
"routeId": 1,
"depCityCode": "sample string 2",
"depCityName": "sample string 3",
"arrCityCode": "sample string 4",
"arrCityName": "sample string 5",
"hotelDepCityCode": "sample string 6",
"hotelArrCityCode": "sample string 7",
"lowestAvgPrice": 8.0,
"converPath": "sample string 9",
"adult": 10,
"child": 11,
"CabinClass": 12,
"CabinClassName": "sample string 13",
"hotelRate": 14,
"depDate": "2025-11-06T21:57:40.1548438+08:00",
"retDate": "2025-11-06T21:57:40.1548438+08:00",
"isDirectFlightOnly": true,
"nightStay": 18,
"rooms": [
{
"adult": 1,
"child": 2,
"childAge": 3
},
{
"adult": 1,
"child": 2,
"childAge": 3
}
]
}
]
}
]
},
"code": 1,
"message": "sample string 2"
}