GET api/hotel/rts/getlistbyname?name={name}&displayCount={displayCount}&cityCode={cityCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
name | string |
Default value is |
|
displayCount | integer |
Default value is 10 |
|
cityCode | string |
Default value is |
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", "cityname": "sample string 4" }, { "hotelcode": "sample string 1", "hotelname": "sample string 2", "citycode": "sample string 3", "cityname": "sample string 4" } ], "code": 1, "message": "sample string 2" }