POST api/hotel/2c/search/summary
获取搜索汇总
Request Information
URI Parameters
None.
Body Parameters
和搜索模型一样
TocHotelSearchSummaryRQContractName | Description | Type | Additional information |
---|---|---|---|
searchguid |
Search Guid |
string |
None. |
landmarkguid |
路标 Guid |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "searchguid": "sample string 1", "landmarkguid": "sample string 2" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
获取搜索汇总
ReturnResultOfTocHotelSummaryContractName | Description | Type | Additional information |
---|---|---|---|
data | TocHotelSummaryContract |
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", "location": "sample string 4", "coverpic": "sample string 5", "star": 6.0, "tripadrating": 7.1, "tripadratingimgurl": "sample string 8", "tripadreviewcount": 9, "lng": "sample string 10", "Lat": "sample string 11", "price": 12.0, "currency": "sample string 13" }, { "hotelcode": "sample string 1", "hotelname": "sample string 2", "hotelengname": "sample string 3", "location": "sample string 4", "coverpic": "sample string 5", "star": 6.0, "tripadrating": 7.1, "tripadratingimgurl": "sample string 8", "tripadreviewcount": 9, "lng": "sample string 10", "Lat": "sample string 11", "price": 12.0, "currency": "sample string 13" } ], "triptypes": [ { "hotelid": "sample string 1", "triptype": "sample string 2", "reviewcount": 3 }, { "hotelid": "sample string 1", "triptype": "sample string 2", "reviewcount": 3 } ], "minprice": 1.0, "maxprice": 2.0 }, "code": 1, "message": "sample string 2" }