POST api/hotel/curx/nearby
获取周边的酒店路标
Request Information
URI Parameters
None.
Body Parameters
和搜索模型一样
AsHotelNearByRQContractName | Description | Type | Additional information |
---|---|---|---|
hotelcode |
酒店编码 |
string |
None. |
searchguid |
Search Guid |
string |
None. |
landmarkguid |
路标 Guid |
string |
None. |
distance |
距离 |
integer |
None. |
authuser |
用户身份信息 |
AsUserContract |
None. |
Request Formats
application/json, text/json
Sample:
{ "hotelcode": "sample string 1", "searchguid": "sample string 2", "landmarkguid": "sample string 3", "distance": 4, "authuser": { "userid": "sample string 1", "password": "sample string 2" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
获取周边的酒店路标
ReturnResultOfAsHotelNearByRSContractName | Description | Type | Additional information |
---|---|---|---|
data | AsHotelNearByRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "hotellocations": [ { "hotelcode": "sample string 1", "hotelname": "sample string 2", "hotelengname": "sample string 3", "star": 4.0, "tripadrating": 5.1, "tripadratingimgurl": "sample string 6", "tripadreviewcount": 7, "lng": "sample string 8", "Lat": "sample string 9", "price": 10.0 }, { "hotelcode": "sample string 1", "hotelname": "sample string 2", "hotelengname": "sample string 3", "star": 4.0, "tripadrating": 5.1, "tripadratingimgurl": "sample string 6", "tripadreviewcount": 7, "lng": "sample string 8", "Lat": "sample string 9", "price": 10.0 } ], "hotellandmarks": [ { "LandMarkTypeCode": "sample string 1", "LandMarkType": "sample string 2", "LandMarkId": "sample string 3", "LandMarkName": "sample string 4", "Latitude": 5.1, "Longitude": 6.1 }, { "LandMarkTypeCode": "sample string 1", "LandMarkType": "sample string 2", "LandMarkId": "sample string 3", "LandMarkName": "sample string 4", "Latitude": 5.1, "Longitude": 6.1 } ] }, "code": 1, "message": "sample string 2" }