POST api/hotel/curx/search/{lang}
搜索
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lang |
语言(en-us) |
string |
Required |
Body Parameters
搜索数据
AsHotelSearchRQContractName | Description | Type | Additional information |
---|---|---|---|
citycode |
城市编号 |
string |
None. |
coutrycode |
国家编码 |
string |
None. |
regioncode |
区域编码 |
string |
None. |
placeid |
地标编号 |
string |
None. |
nationality |
国籍 |
string |
None. |
checkindate |
开始时间 |
date |
None. |
checkoutdate |
结束时间 |
date |
None. |
hotelcodes |
酒店编码 |
Collection of string |
None. |
roomorders |
房间预定列表 |
Collection of AsRoomOrderContract |
None. |
platformSource |
平台来源 |
string |
None. |
clientguid |
客户端guid |
string |
None. |
pageindex |
当前页 |
integer |
None. |
pagesize |
每页记录条数 |
integer |
None. |
loadModules |
加载模块(酒店为固定,1.概要总计,2,酒店房间明细,3.酒店地址汇总) |
Collection of integer |
None. |
mulitstar |
星级(筛选,多个用逗号隔开) |
string |
None. |
tripadrating |
TripAdVisor 评级(筛选,多个用逗号隔开) |
string |
None. |
facility |
设施(筛选 多个用逗号隔开) |
string |
None. |
landmarkids |
路标(筛选 多个用逗号隔开) |
string |
None. |
regionids |
区域(筛选 多个用逗号隔开) |
string |
None. |
price |
价格范围(筛选 用逗号隔开) |
string |
None. |
orderby |
排序(price_asc/price_desc/star_asc/star_desc/business_desc/couples_desc/family_desc/friends_desc/solo_desc) |
string |
None. |
searchsource |
搜索来源(ts,sun) |
string |
None. |
searchcode |
酒店编码(筛选) |
string |
None. |
searchfromcache |
搜索从缓存 |
boolean |
None. |
clientcurrency |
网站币种 |
string |
None. |
isdelayload |
是否延时加载菜单 |
boolean |
None. |
specialhotelids |
特殊酒店Ids集合 |
Collection of string |
None. |
isspecialfilter |
是否过滤(true.则从分页中排除,false 则包含) |
boolean |
None. |
customersessionid |
客户sessionid |
string |
None. |
customeripaddress |
客户Ip地址 |
string |
None. |
customeruseragent |
客户Ip地址 |
string |
None. |
location |
地理定位 |
AsHotelLocationRQContract |
None. |
trackno |
跟踪号 |
string |
None. |
istrackfilter |
是否跟踪号结果过滤 |
boolean |
None. |
authuser |
用户身份信息 |
AsUserContract |
None. |
Request Formats
application/json, text/json
Sample:
{ "citycode": "sample string 1", "coutrycode": "sample string 2", "regioncode": "sample string 3", "placeid": "sample string 4", "nationality": "sample string 5", "checkindate": "2024-12-23T20:00:18.0563612+08:00", "checkoutdate": "2024-12-23T20:00:18.0563612+08:00", "hotelcodes": [ "sample string 1", "sample string 2" ], "roomorders": [ { "adultcount": 1, "infantcount": 2, "childagelist": [ 1, 2 ] }, { "adultcount": 1, "infantcount": 2, "childagelist": [ 1, 2 ] } ], "platformSource": "sample string 8", "clientguid": "sample string 9", "pageindex": 10, "pagesize": 11, "loadModules": [ 1, 2 ], "mulitstar": "sample string 12", "tripadrating": "sample string 13", "facility": "sample string 14", "landmarkids": "sample string 15", "regionids": "sample string 16", "price": "sample string 17", "orderby": "sample string 18", "searchsource": "sample string 19", "searchcode": "sample string 20", "searchfromcache": true, "clientcurrency": "sample string 22", "isdelayload": true, "specialhotelids": [ "sample string 1", "sample string 2" ], "isspecialfilter": true, "customersessionid": "sample string 25", "customeripaddress": "sample string 26", "customeruseragent": "sample string 27", "location": { "locationtype": 1, "longitude": 2.1, "latitude": 3.1, "distance": 4.1 }, "trackno": "sample string 28", "istrackfilter": true, "authuser": { "userid": "sample string 1", "password": "sample string 2" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
搜索
ReturnResultOfAsHotelSearchPageContractName | Description | Type | Additional information |
---|---|---|---|
data | AsHotelSearchPageContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "pagehotellist": { "total_count": 1, "page": 2, "page_size": 3, "data_list": [ { "hotelcode": "sample string 2", "hotelname": "sample string 3", "hotelengname": "sample string 4", "regions": [ { "regionid": "sample string 1", "region": "sample string 2" }, { "regionid": "sample string 1", "region": "sample string 2" } ], "star": 5.0, "tripadrating": 6.1, "tripadratingimgurl": "sample string 7", "tripadreviewcount": 8, "triptypes": [ { "triptype": "sample string 1", "reviewcount": 2 }, { "triptype": "sample string 1", "reviewcount": 2 } ], "address": [ "sample string 1", "sample string 2" ], "descript": "sample string 9", "longitude": "sample string 10", "latitude": "sample string 11", "paytotal": 12.0, "currency": "sample string 13", "coverpic": "sample string 14", "freewifi": 15, "hotelfacilist": [ { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" }, { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" } ] }, { "hotelcode": "sample string 2", "hotelname": "sample string 3", "hotelengname": "sample string 4", "regions": [ { "regionid": "sample string 1", "region": "sample string 2" }, { "regionid": "sample string 1", "region": "sample string 2" } ], "star": 5.0, "tripadrating": 6.1, "tripadratingimgurl": "sample string 7", "tripadreviewcount": 8, "triptypes": [ { "triptype": "sample string 1", "reviewcount": 2 }, { "triptype": "sample string 1", "reviewcount": 2 } ], "address": [ "sample string 1", "sample string 2" ], "descript": "sample string 9", "longitude": "sample string 10", "latitude": "sample string 11", "paytotal": 12.0, "currency": "sample string 13", "coverpic": "sample string 14", "freewifi": 15, "hotelfacilist": [ { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" }, { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" } ] } ], "page_count": 1, "skip": 4 }, "specialhotellist": [ { "hotelcode": "sample string 2", "hotelname": "sample string 3", "hotelengname": "sample string 4", "regions": [ { "regionid": "sample string 1", "region": "sample string 2" }, { "regionid": "sample string 1", "region": "sample string 2" } ], "star": 5.0, "tripadrating": 6.1, "tripadratingimgurl": "sample string 7", "tripadreviewcount": 8, "triptypes": [ { "triptype": "sample string 1", "reviewcount": 2 }, { "triptype": "sample string 1", "reviewcount": 2 } ], "address": [ "sample string 1", "sample string 2" ], "descript": "sample string 9", "longitude": "sample string 10", "latitude": "sample string 11", "paytotal": 12.0, "currency": "sample string 13", "coverpic": "sample string 14", "freewifi": 15, "hotelfacilist": [ { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" }, { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" } ] }, { "hotelcode": "sample string 2", "hotelname": "sample string 3", "hotelengname": "sample string 4", "regions": [ { "regionid": "sample string 1", "region": "sample string 2" }, { "regionid": "sample string 1", "region": "sample string 2" } ], "star": 5.0, "tripadrating": 6.1, "tripadratingimgurl": "sample string 7", "tripadreviewcount": 8, "triptypes": [ { "triptype": "sample string 1", "reviewcount": 2 }, { "triptype": "sample string 1", "reviewcount": 2 } ], "address": [ "sample string 1", "sample string 2" ], "descript": "sample string 9", "longitude": "sample string 10", "latitude": "sample string 11", "paytotal": 12.0, "currency": "sample string 13", "coverpic": "sample string 14", "freewifi": 15, "hotelfacilist": [ { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" }, { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" } ] } ], "hoteldetail": { "location": "sample string 1", "streetnumber": "sample string 2", "country": "sample string 3", "countrycode": "sample string 4", "citycode": "sample string 5", "city": "sample string 6", "resort": "sample string 7", "postalcode": "sample string 8", "phone": [ "sample string 1", "sample string 2" ], "fax": "sample string 9", "email": [ "sample string 1", "sample string 2" ], "url": "sample string 10", "catedescripts": [ { "cateid": "sample string 1", "catename": "sample string 2", "content": "sample string 3" }, { "cateid": "sample string 1", "catename": "sample string 2", "content": "sample string 3" } ], "classimages": [ { "classid": "sample string 1", "classname": "sample string 2", "classimages": [ { "title": "sample string 1", "url": "sample string 2", "descript": "sample string 3" }, { "title": "sample string 1", "url": "sample string 2", "descript": "sample string 3" } ] }, { "classid": "sample string 1", "classname": "sample string 2", "classimages": [ { "title": "sample string 1", "url": "sample string 2", "descript": "sample string 3" }, { "title": "sample string 1", "url": "sample string 2", "descript": "sample string 3" } ] } ], "roomfacilist": [ { "roomtypeid": "sample string 1", "roomtype": "sample string 2", "roomfacilitys": [ { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" }, { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" } ] }, { "roomtypeid": "sample string 1", "roomtype": "sample string 2", "roomfacilitys": [ { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" }, { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" } ] } ], "checkininstructions": "sample string 11", "checkinspecialinstructions": "sample string 12", "rooms": [ { "roomid": "sample string 1", "roomname": "sample string 2", "groupid": "sample string 3", "groupname": "sample string 4", "plansid": "sample string 5", "status": "sample string 6", "description": "sample string 7", "allotment": 8, "incentive": "sample string 9", "orgtotal": 10.0, "markuptotal": 11.0, "markupdescript": "sample string 12", "total": 13.0, "currency": "sample string 14", "includebreakfast": true, "adultcount": 16, "childcount": 17, "promotions": [ { "name": "sample string 1", "description": "sample string 2" }, { "name": "sample string 1", "description": "sample string 2" } ], "warns": [ { "WarnTitle": "sample string 1", "Descript": "sample string 2" }, { "WarnTitle": "sample string 1", "Descript": "sample string 2" } ], "availableoptions": [ { "optionid": "sample string 1", "optionname": "sample string 2", "rate": 3.0, "currency": "sample string 4", "compulsory": true }, { "optionid": "sample string 1", "optionname": "sample string 2", "rate": 3.0, "currency": "sample string 4", "compulsory": true } ], "roompernights": [ { "date": "sample string 1", "orgrate": 2.0, "rate": 3.0, "currency": "sample string 4" }, { "date": "sample string 1", "orgrate": 2.0, "rate": 3.0, "currency": "sample string 4" } ], "roomimages": [ { "url": "sample string 1", "title": "sample string 2", "descript": "sample string 3", "isprimary": true }, { "url": "sample string 1", "title": "sample string 2", "descript": "sample string 3", "isprimary": true } ], "additionals": [ { "AdditionalId": "sample string 1", "Additional": "sample string 2" }, { "AdditionalId": "sample string 1", "Additional": "sample string 2" } ], "smokingpreferences": "sample string 18", "bedtypes": [ { "bedtypeid": "sample string 1", "bedtype": "sample string 2" }, { "bedtypeid": "sample string 1", "bedtype": "sample string 2" } ], "cancellationpolicy": "sample string 19", "ispackage": true }, { "roomid": "sample string 1", "roomname": "sample string 2", "groupid": "sample string 3", "groupname": "sample string 4", "plansid": "sample string 5", "status": "sample string 6", "description": "sample string 7", "allotment": 8, "incentive": "sample string 9", "orgtotal": 10.0, "markuptotal": 11.0, "markupdescript": "sample string 12", "total": 13.0, "currency": "sample string 14", "includebreakfast": true, "adultcount": 16, "childcount": 17, "promotions": [ { "name": "sample string 1", "description": "sample string 2" }, { "name": "sample string 1", "description": "sample string 2" } ], "warns": [ { "WarnTitle": "sample string 1", "Descript": "sample string 2" }, { "WarnTitle": "sample string 1", "Descript": "sample string 2" } ], "availableoptions": [ { "optionid": "sample string 1", "optionname": "sample string 2", "rate": 3.0, "currency": "sample string 4", "compulsory": true }, { "optionid": "sample string 1", "optionname": "sample string 2", "rate": 3.0, "currency": "sample string 4", "compulsory": true } ], "roompernights": [ { "date": "sample string 1", "orgrate": 2.0, "rate": 3.0, "currency": "sample string 4" }, { "date": "sample string 1", "orgrate": 2.0, "rate": 3.0, "currency": "sample string 4" } ], "roomimages": [ { "url": "sample string 1", "title": "sample string 2", "descript": "sample string 3", "isprimary": true }, { "url": "sample string 1", "title": "sample string 2", "descript": "sample string 3", "isprimary": true } ], "additionals": [ { "AdditionalId": "sample string 1", "Additional": "sample string 2" }, { "AdditionalId": "sample string 1", "Additional": "sample string 2" } ], "smokingpreferences": "sample string 18", "bedtypes": [ { "bedtypeid": "sample string 1", "bedtype": "sample string 2" }, { "bedtypeid": "sample string 1", "bedtype": "sample string 2" } ], "cancellationpolicy": "sample string 19", "ispackage": true } ], "roomgroups": [ { "groupid": "sample string 1", "groupname": "sample string 2", "groupdescript": "sample string 3", "groupimages": [ { "url": "sample string 1", "title": "sample string 2", "descript": "sample string 3", "isprimary": true }, { "url": "sample string 1", "title": "sample string 2", "descript": "sample string 3", "isprimary": true } ] }, { "groupid": "sample string 1", "groupname": "sample string 2", "groupdescript": "sample string 3", "groupimages": [ { "url": "sample string 1", "title": "sample string 2", "descript": "sample string 3", "isprimary": true }, { "url": "sample string 1", "title": "sample string 2", "descript": "sample string 3", "isprimary": true } ] } ], "tripadvisorinfo": { "rating": 1.1, "ratingimgurl": "sample string 2", "reviewcount": 3, "reviewurl": "sample string 4", "nearbyrestaurants": "sample string 5", "nearbyattractions": "sample string 6", "ranking": { "rankingno": "sample string 1", "rankingnumber": "sample string 2", "rankinglocation": "sample string 3", "rankingdescript": "sample string 4" }, "awards": [ { "awardtype": "sample string 1", "displayname": "sample string 2", "year": "sample string 3", "tinyimgurl": "sample string 4", "smallimgurl": "sample string 5", "largeimgurl": "sample string 6" }, { "awardtype": "sample string 1", "displayname": "sample string 2", "year": "sample string 3", "tinyimgurl": "sample string 4", "smallimgurl": "sample string 5", "largeimgurl": "sample string 6" } ] }, "hotelcode": "sample string 14", "hotelname": "sample string 15", "hotelengname": "sample string 16", "regions": [ { "regionid": "sample string 1", "region": "sample string 2" }, { "regionid": "sample string 1", "region": "sample string 2" } ], "star": 17.0, "tripadrating": 18.1, "tripadratingimgurl": "sample string 19", "tripadreviewcount": 20, "triptypes": [ { "triptype": "sample string 1", "reviewcount": 2 }, { "triptype": "sample string 1", "reviewcount": 2 } ], "address": [ "sample string 1", "sample string 2" ], "descript": "sample string 21", "longitude": "sample string 22", "latitude": "sample string 23", "paytotal": 24.0, "currency": "sample string 25", "coverpic": "sample string 26", "freewifi": 27, "hotelfacilist": [ { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" }, { "facilityid": "sample string 1", "facility": "sample string 2", "notes": "sample string 3", "costinfo": "sample string 4" } ] }, "hotelsummary": { "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 }, "searchguid": "sample string 1", "landmarkguid": "sample string 2", "iscompleted": true }, "code": 1, "message": "sample string 2" }