酒店列表查询
- 接口:
- Method: POST
- 接口说明: 酒店列表查询
- 文档末尾有文档版本记录
请求参数
字段名称 |
字段类型 |
字段描述 |
是否必填 |
arrCity |
Integer |
到达城市Id(云简) |
是 |
startDate |
String |
出发日期 |
是 |
endDate |
String |
到达日期 |
是 |
示例
{
"arrCity":2,
"startDate":"2023-09-11",
"endDate":"2023-09-12"
}
返回参数
字段名称 |
字段类型 |
字段描述 |
cityId |
Integer |
城市Id(云简) |
address |
String |
酒店地址 |
hotelName |
String |
酒店名称 |
cityName |
String |
城市名称 |
distance |
BigDecimal |
距离 |
startDate |
long |
开始日期,时间戳 |
endDate |
long |
到达日期,时间戳 |
latitude |
Double |
纬度 |
longitude |
Double |
经度 |
hotelMinPrice |
BigDecimal |
酒店最低价格 |
currency |
String |
币种 |
imageUrl |
String |
图片url |
imageName |
String |
图片名称 |
hotelPhone |
String |
酒店联系电话 |
isNegotiatedRate |
String |
是否是协议价酒店 Y/N |
starCode |
String |
星级 |
description |
String |
酒店描述信息 |
hotelCode |
Map<String, String> |
酒店在商旅平台的代码(唯一标识),key为商旅平台 |
示例
{
"cityId":1,
"address":"上海徐汇区鸿艺豪苑",
"endDate":1579881600000,
"cityName":"上海",
"currency":"CNY",
"distance":5,
"imageUrl":"https://img2.shinetour.com/image3app/i/API350_350/9e0a44660751a68ea197e10e21237a3d.jpg",
"latitude":"31.215746000",
"starCode":"1",
"hotelCode":"1002685089",
"hotelName":"上海一宿KingStay公寓(淮海中路分店)",
"longitude":"121.452140000",
"startDate":1579795200000,
"hotelPhone":"13022109913",
"hotelMinPrice":1049,
"isNegotiatedRate":"N"
}
文档版本记录
版本号 |
编写日期 |
更改内容 |
V1.0 |
2023.10.07 |
初稿 |