GET api/flight/getRegionList/{code}/{lang}
根據城市code獲取區域
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
code | string |
Required |
|
lang | string |
Default value is zh-hk |
Body Parameters
None.
Response Information
Resource Description
根據城市code獲取區域
ReturnResultOfListOfRegionShortContractName | Description | Type | Additional information |
---|---|---|---|
data | Collection of RegionShortContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "RegionName": "sample string 1", "PostalCode": "sample string 2" }, { "RegionName": "sample string 1", "PostalCode": "sample string 2" } ], "code": 1, "message": "sample string 2" }