GET api/v2/flight/airport/getlist/{lang}
獲取機場列表
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lang | string |
Required |
Body Parameters
None.
Response Information
Resource Description
獲取機場列表
ReturnResultOfAirportListContractName | Description | Type | Additional information |
---|---|---|---|
data | AirportListContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "lastUpdate": "2024-12-23T19:49:12.3298588+08:00", "countryList": [ { "countryCode": "sample string 1", "countryName": "sample string 2", "cityList": [ { "cityCode": "sample string 1", "cityName": "sample string 2", "airportList": [ { "code": "sample string 1", "name": "sample string 2", "lat": 3.1, "lng": 4.1, "altitude": 5.1, "timeZone": 6.1, "displayOrder": 7, "searchKey": "sample string 8" }, { "code": "sample string 1", "name": "sample string 2", "lat": 3.1, "lng": 4.1, "altitude": 5.1, "timeZone": 6.1, "displayOrder": 7, "searchKey": "sample string 8" } ] }, { "cityCode": "sample string 1", "cityName": "sample string 2", "airportList": [ { "code": "sample string 1", "name": "sample string 2", "lat": 3.1, "lng": 4.1, "altitude": 5.1, "timeZone": 6.1, "displayOrder": 7, "searchKey": "sample string 8" }, { "code": "sample string 1", "name": "sample string 2", "lat": 3.1, "lng": 4.1, "altitude": 5.1, "timeZone": 6.1, "displayOrder": 7, "searchKey": "sample string 8" } ] } ] }, { "countryCode": "sample string 1", "countryName": "sample string 2", "cityList": [ { "cityCode": "sample string 1", "cityName": "sample string 2", "airportList": [ { "code": "sample string 1", "name": "sample string 2", "lat": 3.1, "lng": 4.1, "altitude": 5.1, "timeZone": 6.1, "displayOrder": 7, "searchKey": "sample string 8" }, { "code": "sample string 1", "name": "sample string 2", "lat": 3.1, "lng": 4.1, "altitude": 5.1, "timeZone": 6.1, "displayOrder": 7, "searchKey": "sample string 8" } ] }, { "cityCode": "sample string 1", "cityName": "sample string 2", "airportList": [ { "code": "sample string 1", "name": "sample string 2", "lat": 3.1, "lng": 4.1, "altitude": 5.1, "timeZone": 6.1, "displayOrder": 7, "searchKey": "sample string 8" }, { "code": "sample string 1", "name": "sample string 2", "lat": 3.1, "lng": 4.1, "altitude": 5.1, "timeZone": 6.1, "displayOrder": 7, "searchKey": "sample string 8" } ] } ] } ] }, "code": 1, "message": "sample string 2" }