GET api/hotel/detail?code={code}&lang={lang}&platform={platform}
獲取酒店詳情(已使用)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
code |
酒店编码 |
string |
Required |
lang |
语言代码 |
string |
Default value is zh-HK |
platform |
平台 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
獲取酒店詳情(已使用)
ReturnResultOfHotelDetailContractName | Description | Type | Additional information |
---|---|---|---|
data | HotelDetailContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "hotelcode": "sample string 1", "hotelname": "sample string 2", "converpic": "sample string 3", "picsource": 4, "address": "sample string 5" }, "code": 1, "message": "sample string 2" }