GET Api/Invoke/GetCitys
获取所有城市列表
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
获取所有城市列表
Collection of SpeedPower.Utility.Models.Project.Agents.Service.Setting.GetCityModel| Name | 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"
}
]
},
{
"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"
}
]
}
]