POST api/hotel/agentsys/hothotel/{lang}/{top}
热门城市酒店
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
top |
返回记录数量 |
integer |
Required |
lang |
语言 |
string |
Required |
Body Parameters
TC_HotCityHotelRQContractName | Description | Type | Additional information |
---|---|---|---|
starttime |
开始统计时间 |
date |
None. |
citycode |
指定城市(空则会每个国家返回一个) |
string |
None. |
placeid |
地标编号 |
string |
None. |
authuser |
用户身份信息 |
TC_UserContract |
None. |
Request Formats
application/json, text/json
Sample:
{ "starttime": "2024-12-23T20:01:49.8777628+08:00", "citycode": "sample string 2", "placeid": "sample string 3", "authuser": { "userid": "sample string 1", "password": "sample string 2" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
热门城市酒店
ReturnResultOfListOfTC_HotCityHotelRSContractName | Description | Type | Additional information |
---|---|---|---|
data | Collection of TC_HotCityHotelRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "hotelid": "sample string 1", "hotelname": "sample string 2", "citycode": "sample string 3", "cityname": "sample string 4", "countrycode": "sample string 5", "country": "sample string 6", "searchcount": 7, "star": 8, "longitude": 9.1, "latitude": 10.1, "address": "sample string 11", "tripadreviewcount": 12, "tripadrating": 13.1, "tripadratingimageurl": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/13.1-52242-5.svg", "coverpic": "sample string 14", "facilitylist": [ { "facilityid": "sample string 1", "facility": "sample string 2" }, { "facilityid": "sample string 1", "facility": "sample string 2" } ] }, { "hotelid": "sample string 1", "hotelname": "sample string 2", "citycode": "sample string 3", "cityname": "sample string 4", "countrycode": "sample string 5", "country": "sample string 6", "searchcount": 7, "star": 8, "longitude": 9.1, "latitude": 10.1, "address": "sample string 11", "tripadreviewcount": 12, "tripadrating": 13.1, "tripadratingimageurl": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/13.1-52242-5.svg", "coverpic": "sample string 14", "facilitylist": [ { "facilityid": "sample string 1", "facility": "sample string 2" }, { "facilityid": "sample string 1", "facility": "sample string 2" } ] } ], "code": 1, "message": "sample string 2" }