POST api/hotel/agentsys/multiquery/lang?lang={lang}
酒店/城市/区域/地标组合查询
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lang | string |
Required |
Body Parameters
TC_HotelMulitQueryRQContractName | Description | Type | Additional information |
---|---|---|---|
top |
每项返回记录条数 |
integer |
None. |
keywords |
关键字 |
string |
None. |
itemcode |
具体的编码 |
string |
None. |
searchtypeitems |
搜索项(city,hotel,all_landmark,park) |
Collection of string |
None. |
highcolor |
高亮显示颜色(如需高亮显示则传色值) |
string |
None. |
lat |
中心lat |
decimal number |
None. |
lng |
中心lng |
decimal number |
None. |
distance |
中心距離 KM |
decimal number |
None. |
authuser |
用户身份信息 |
TC_UserContract |
None. |
Request Formats
application/json, text/json
Sample:
{ "top": 1, "keywords": "sample string 2", "itemcode": "sample string 3", "searchtypeitems": [ "sample string 1", "sample string 2" ], "highcolor": "sample string 4", "lat": 1.0, "lng": 1.0, "distance": 1.0, "authuser": { "userid": "sample string 1", "password": "sample string 2" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
酒店/城市/区域/地标组合查询
ReturnResultOfTC_HotelMulitQueryRSContractName | Description | Type | Additional information |
---|---|---|---|
data | TC_HotelMulitQueryRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "typeitems": [ { "type": "sample string 1", "items": [ { "code": "sample string 1", "name": "sample string 2", "engname": "sample string 3", "citycode": "sample string 4", "cityname": "sample string 5", "country": "sample string 6", "searchId": "sample string 7", "distance": 1.0 }, { "code": "sample string 1", "name": "sample string 2", "engname": "sample string 3", "citycode": "sample string 4", "cityname": "sample string 5", "country": "sample string 6", "searchId": "sample string 7", "distance": 1.0 } ] }, { "type": "sample string 1", "items": [ { "code": "sample string 1", "name": "sample string 2", "engname": "sample string 3", "citycode": "sample string 4", "cityname": "sample string 5", "country": "sample string 6", "searchId": "sample string 7", "distance": 1.0 }, { "code": "sample string 1", "name": "sample string 2", "engname": "sample string 3", "citycode": "sample string 4", "cityname": "sample string 5", "country": "sample string 6", "searchId": "sample string 7", "distance": 1.0 } ] } ] }, "code": 1, "message": "sample string 2" }