POST api/hotel/curx/getcity/{lang}?top={top}&keywords={keywords}
获取城市数据
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lang |
语言 |
string |
Required |
top |
top记录(小于等于0加载全部) |
integer |
Default value is -1 |
keywords |
关键字 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
获取城市数据
ReturnResultOfListOfAsHotelCityRSContractName | Description | Type | Additional information |
---|---|---|---|
data | Collection of AsHotelCityRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "citycode": "sample string 1", "cityname": "sample string 2", "countrycode": "sample string 3", "countryname": "sample string 4", "key": "sample string 5" }, { "citycode": "sample string 1", "cityname": "sample string 2", "countrycode": "sample string 3", "countryname": "sample string 4", "key": "sample string 5" } ], "code": 1, "message": "sample string 2" }