GET Api/Service/Setting/GetCity/{AirportOrCity}
获取指定三字码所有城市列表
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AirportOrCity |
机场所城市三字码 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取指定三字码所有城市列表
SpeedPower.Utility.Models.Project.Agents.Service.Setting.GetCityModelName | Description | Type | Additional information |
---|---|---|---|
Code |
城市三字码 |
string |
Required String length: inclusive between 0 and 3 |
Name |
城市名称 |
string |
Required String length: inclusive between 0 and 50 |
Airports |
机场列表 |
Collection of SpeedPower.Utility.Models.Project.Agents.Service.Setting.GetAirportModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": "sample string 1", "Name": "sample string 2", "Airports": [ { "Code": "sample string 1", "Name": "sample string 2" }, { "Code": "sample string 1", "Name": "sample string 2" } ] }