GET api/hotel/common/queryhotel/{apiSource}?lang={lang}&cityCode={cityCode}&keywords={keywords}&displayCount={displayCount}&isSearchMulit={isSearchMulit}
搜索酒店名字
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiSource |
(techson,wtl,rts) |
string |
Required |
lang |
语言(zh-hk,en-us) |
string |
Required |
cityCode |
城市代码 |
string |
Default value is |
keywords |
关键字 |
string |
Default value is |
displayCount |
显示条数 |
integer |
Default value is 10 |
isSearchMulit |
搜索多种语言(0.否,其实.是) |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
搜索酒店名字
ReturnResultOfListOfHotelQueryContractName | Description | Type | Additional information |
---|---|---|---|
data | Collection of HotelQueryContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "hotelcode": "sample string 1", "hotelname": "sample string 2", "citycode": "sample string 3" }, { "hotelcode": "sample string 1", "hotelname": "sample string 2", "citycode": "sample string 3" } ], "code": 1, "message": "sample string 2" }