批量酒店详细
说明:请求方法: POST 请求数据类型: JSON 响应类型: JSON 请求头:"Accept":"application/json", "Content-Type":"application/json" 接口描述: 根据指定的城市编码列表获取酒店信息
请求方式:POST(HTTPS
请求地址:https://btbapi.sctt.net/h1/GetHotelInfoList
请求包体:
{
    "merchant_id":287729,
    "request_time":"2023-02-11 11:48:00",
    "sign":"D19A61DBE64BA6CFB547855F216E0201",
    "data":{
        "hotelUuids":[
            "00d507f7-ca63-43b1-b1ac-5c09ea0ac71c"
        ]
    }
}


参数说明:
参数 必须 类型 说明
merchant_id bigint 商户编号
request_time string 请求时间,格式:“yyyy-MM-dd HH:mm:ss”
sign string 签名
data object 酒店参数
- hotelUuids array[string] 酒店唯一编码列表。列表的长度不能 大于 100
返回结果:
{
    "code": 0,
    "msg": "ok",
    "data": {
        "status": 0,
        "payload": [
            {
                "hotelName": "悉尼四季酒店",
                "originalName": "Four Seasons Hotel Sydney",
                "hotelUuid": "00d507f7-ca63-43b1-b1ac-5c09ea0ac71c",
                "hotelRating": {
                    "type": "star",
                    "starRating": 5
                },
                "mapDetails": {
                    "latitude": -33.86165393,
                    "longitude": 151.20785415
                },
                "hotelImagesDetailed": [
                    {
                        "id": 697786,
                        "imageUrl": "http://images-hz.ptctravel.net.cn/b2b/hotels/AU/SYD/FSHS1G-697786.jpeg"
                    },
                    {
                        "id": 697787,
                        "imageUrl": "http://images-hz.ptctravel.net.cn/b2b/hotels/AU/SYD/FSHS1G-697787.jpeg"
                    },
                    {
                        "id": 697788,
                        "imageUrl": "http://images-hz.ptctravel.net.cn/b2b/hotels/AU/SYD/FSHS1G-697788.jpeg"
                    }
                ],
                "hotelDescriptionShort": "Overlooking Sydney's historic Rocks area, Four Seasons Hotel Sydney offers free WiFi, a bar, restaurant, fitness center and swimming pool. Located in Sydney CBD (Central Business District), it features luxurious rooms with panoramic views over the iconic Sydney Opera House and Circular Quay.\nAll rooms at Four Seasons Hotel Sydney have been carefully designed and subtly furnished with the highest quality amenities. Each room offers an LCD TV, slippers and free Christian Lacroix toiletries. Chinese tea can be provided in the rooms upon request.\nGuests can dine at Mode Kitchen & Bar, which serves modern Australian dishes made with quality local and seasonal produce. Grain Bar offers a selection of cocktails, wine, local beer and craft spirits.\nFour Seasons Hotel Sydney state-of-the-art 350 square yard fitness center is fully equipped and includes a relaxing sauna. Guests can also unwind in the hotel’s therapeutic spa and wellness center, which offers skin treatments and relaxing massages. Airport transfers are available upon request. Chinese speaking staff are available on-site to assist you. Union Pay credit cards are accepted.",
                "amenities": [
                    {
                        "id": 0
                    }
                ],
                "address": "199 George Street, Sydney Central Business District, 2000 Sydney, Australia",
                "checkInTime": "10:00AM",
                "checkOutTime": "10:00AM",
                "propertyDescription": "Overlooking Sydney's historic Rocks area, Four Seasons Hotel Sydney offers free WiFi, a bar, restaurant, fitness center and swimming pool. Located in Sydney CBD (Central Business District), it features luxurious rooms with panoramic views over the iconic Sydney Opera House and Circular Quay.\nAll rooms at Four Seasons Hotel Sydney have been carefully designed and subtly furnished with the highest quality amenities. Each room offers an LCD TV, slippers and free Christian Lacroix toiletries. Chinese tea can be provided in the rooms upon request.\nGuests can dine at Mode Kitchen & Bar, which serves modern Australian dishes made with quality local and seasonal produce. Grain Bar offers a selection of cocktails, wine, local beer and craft spirits.\nFour Seasons Hotel Sydney state-of-the-art 350 square yard fitness center is fully equipped and includes a relaxing sauna. Guests can also unwind in the hotel’s therapeutic spa and wellness center, which offers skin treatments and relaxing massages. Airport transfers are available upon request. Chinese speaking staff are available on-site to assist you. Union Pay credit cards are accepted.",
                "propertyInformation": [],
                "externalDescLink": "https://www.booking.com/hotel/au/four-seasons-sydney.zh-cn.html?label=gen173nr-1DCAEoggI46AdIM1gEaA-IAQGYATG4AQbIAQzYAQPoAQH4AQKIAgGoAgO4ArrUyPkFwAIB0gIkY2JmMmVmMDctZjg1Yi00MTU0LWJmYjMtYjE1OTU2ZTQyNjEy2AIE4AIB&sid=6a7e483741b7f422b14778ec66661501&all_sr_blocks=17878258_272942960_2_2_0&checkin=2020-12-16&checkout=2020-12-17&dest_id=-1603135&dest_type=city&dist=0&group_adults=2&group_children=0&hapos=1&highlighted_blocks=17878258_272942960_2_2_0&hpos=1&lang=zh-cn&no_rooms=1&room1=A%2CA&sb_price_type=total&soz=1&sr_order=popularity&sr_pri_blocks=17878258_272942960_2_2_0__29500&srepoch=1597123141&srpvid=2a262562b9e50226&type=total&ucfs=1&lang_click=top;cdl=en-us;lang_changed=1",
                "externalDescLinkCN": "https://www.booking.com/hotel/au/four-seasons-sydney.zh-cn.html?label=gen173nr-1DCAEoggI46AdIM1gEaA-IAQGYATG4AQbIAQzYAQPoAQH4AQKIAgGoAgO4ArrUyPkFwAIB0gIkY2JmMmVmMDctZjg1Yi00MTU0LWJmYjMtYjE1OTU2ZTQyNjEy2AIE4AIB&sid=6a7e483741b7f422b14778ec66661501&all_sr_blocks=17878258_272942960_2_2_0&checkin=2020-12-16&checkout=2020-12-17&dest_id=-1603135&dest_type=city&dist=0&group_adults=2&group_children=0&hapos=1&highlighted_blocks=17878258_272942960_2_2_0&hpos=1&lang=zh-cn&no_rooms=1&room1=A%2CA&sb_price_type=total&soz=1&sr_order=popularity&sr_pri_blocks=17878258_272942960_2_2_0__29500&srepoch=1597123141&srpvid=2a262562b9e50226&type=total&ucfs=1&lang_click=top;cdl=en-us;lang_changed=1",
                "hotelPhone": "61-2-92503100",
                "cityCode": "SYD",
                "facitilyDesc": [
                    null
                ],
                "favorite": false,
                "chineseName": "悉尼四季酒店",
                "chineseDescription": "Overlooking Sydney's historic Rocks area, Four Seasons Hotel Sydney offers free WiFi, a bar, restaurant, fitness center and swimming pool. Located in Sydney CBD (Central Business District), it features luxurious rooms with panoramic views over the iconic Sydney Opera House and Circular Quay.\nAll rooms at Four Seasons Hotel Sydney have been carefully designed and subtly furnished with the highest quality amenities. Each room offers an LCD TV, slippers and free Christian Lacroix toiletries. Chinese tea can be provided in the rooms upon request.\nGuests can dine at Mode Kitchen & Bar, which serves modern Australian dishes made with quality local and seasonal produce. Grain Bar offers a selection of cocktails, wine, local beer and craft spirits.\nFour Seasons Hotel Sydney state-of-the-art 350 square yard fitness center is fully equipped and includes a relaxing sauna. Guests can also unwind in the hotel’s therapeutic spa and wellness center, which offers skin treatments and relaxing massages. Airport transfers are available upon request. Chinese speaking staff are available on-site to assist you. Union Pay credit cards are accepted.",
                "chineseAddress": "199 George Street, Sydney Central Business District, 2000 Sydney, Australia",
                "mobileRoomNumber": 6
            }
        ]
    }
}


参数说明:
参数 类型 说明
code int code码
msg string 接口返回信息
data object 接口返回对象
- status number 0表示成功,其他表示失败
- payload object 酒店信息
- - hotelName string 酒店中文名称
- - originalName string 酒店英文名称
hotelUuid string 酒店唯一编码
- - hotelRating object 酒店星级
- - - type string 酒店星级的评定 方式,目前统一 为:star
- - - starRating number 星级:0-5,浮点 数。 0:表示无 此酒店的星 级 信息。 如果酒 店是 3.5星,系 统将返回: 3.5
- - mapDetails object 酒店地理坐标
- - - latitude number 纬度
- - - longitude number 经度
- - hotelImagesDetailed array[object] 酒店图片实体列 表
- - - id number 图片ID
- - - imageUrl string 酒店图片的URL 地址
- - hotelDescriptionShort string 关于酒店的简要 介绍
- - amenities array[object] 酒店设施
- - - id number 设施ID
- - - name string 设施名称
- - address string 酒店地址信息
- - propertyDescription string 酒店信息描述
- - checkInTime string 最早入住时间
- - checkOutTime string 最迟退房时间
- - propertyDescription string 酒店描述信息
- - hotelPhone string 联系电话
- - facitilyDesc array[string] 酒店信息描述
- - chineseDescription string 酒店中文名称
- - chineseAddress string 酒店中文地址
状态码说明:
状态码 说明
0 获取酒店信息成功(其他表示失败
4001 报文错误
4002 签名错误
4003 账号停用(商户账号,商户主账号