POST api/hotel/curx/search/summary
获取搜索汇总
Request Information
URI Parameters
None.
Body Parameters
和搜索模型一样
AsHotelSearchSummaryRQContractName | Description | Type | Additional information |
---|---|---|---|
searchguid |
Search Guid |
string |
None. |
landmarkguid |
路标 Guid |
string |
None. |
authuser |
用户身份信息 |
AsUserContract |
None. |
Request Formats
application/json, text/json
Sample:
{ "searchguid": "sample string 1", "landmarkguid": "sample string 2", "authuser": { "userid": "sample string 1", "password": "sample string 2" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
获取搜索汇总
ReturnResultOfAsHotelSummaryContractName | Description | Type | Additional information |
---|---|---|---|
data | AsHotelSummaryContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "starlist": [ { "summaryitemid": "sample string 1", "summaryitemcount": 2, "summaryitemname": "sample string 3" }, { "summaryitemid": "sample string 1", "summaryitemcount": 2, "summaryitemname": "sample string 3" } ], "regionlist": [ { "summaryitemid": "sample string 1", "summaryitemcount": 2, "summaryitemname": "sample string 3" }, { "summaryitemid": "sample string 1", "summaryitemcount": 2, "summaryitemname": "sample string 3" } ], "tripadratinglist": [ { "summaryitemid": "sample string 1", "summaryitemcount": 2, "summaryitemname": "sample string 3" }, { "summaryitemid": "sample string 1", "summaryitemcount": 2, "summaryitemname": "sample string 3" } ], "facilitylist": [ { "hotelcodes": [ "sample string 1", "sample string 2" ], "summaryitemid": "sample string 1", "summaryitemcount": 2, "summaryitemname": "sample string 3" }, { "hotelcodes": [ "sample string 1", "sample string 2" ], "summaryitemid": "sample string 1", "summaryitemcount": 2, "summaryitemname": "sample string 3" } ], "landmarklist": [ { "hotelcodes": [ "sample string 1", "sample string 2" ], "summaryitemid": "sample string 1", "summaryitemcount": 2, "summaryitemname": "sample string 3" }, { "hotelcodes": [ "sample string 1", "sample string 2" ], "summaryitemid": "sample string 1", "summaryitemcount": 2, "summaryitemname": "sample string 3" } ], "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 } ], "minprice": 1.0, "maxprice": 2.0 }, "code": 1, "message": "sample string 2" }