Locals 路客酒店开放接口
    Locals 路客酒店开放接口
    • 预订API
      • 订单创建
      • 订单取消
      • 查询订单
    • 可用性API
      • 报价信息
    • 内容API
      • 酒店列表
      • 酒店详情
    • 数据模型
      • Data
      • ReserveRes
      • CheckDays
      • Customer
      • HudsonCustomer
      • RoomCustomer
      • HudsonCustomerInfo
      • DailyPrice
      • MapBigDecimal
      • ContactInfo
      • MapString
      • StdReserveRQ
      • Data
      • CancelRes
      • CancelRQ
      • BedType
      • Breakfast
      • RoomBed
      • DayInfo
      • Meal
      • ExtraFee
      • DailyInfo
      • GiftService
      • Fee
      • RefundRule
      • Gift
      • GoodsRoom
      • Rate
      • key
      • HotelRate
      • NationRule
      • MapHotelGoods
      • Data
      • AvailabilityRes
      • StdPricesRQ
      • Hotel
      • Data
      • HotelRes
      • BreakfastPolicy
      • Image
      • Room
      • HotelDetail
      • HotelDetailRes

    AvailabilityRes

    报价响应,data 字段为酒店报价列表

    {
        "success": true,
        "code": "SUCCESS",
        "message": "EnumErrorCode.SUCCESS.getDesc()",
        "data": [
            {
                "hotelId": 1296369727399878700,
                "name": "Hilton Motif Seattle",
                "currency": "CNY",
                "timeZone": "GMT+8",
                "rates": [
                    {
                        "roomId": 0,
                        "name": "City View Deluxe Family Suite",
                        "ratePlanId": 1296369727399878700,
                        "view": "NONE",
                        "roomBed": {
                            "relation": "AND",
                            "beds": [
                                {
                                    "type": "KING_BED",
                                    "count": 1
                                }
                            ]
                        },
                        "breakfast": {
                            "count": 0,
                            "desc": "早餐"
                        },
                        "checkinTime": "12:00",
                        "checkoutTime": "14:00",
                        "dailyInfos": [
                            {
                                "date": "2030-01-10",
                                "price": 500,
                                "status": 1,
                                "count": 1
                            }
                        ],
                        "taxAndFee": 15,
                        "adults": 2,
                        "children": 0,
                        "childAge": 12,
                        "checkinFees": [
                            {
                                "name": "城市税",
                                "fee": 15,
                                "currency": "CNY"
                            }
                        ],
                        "gifts": [
                            {
                                "type": "OTHER",
                                "name": "欢迎果盘",
                                "desc": "入住日22:00前到店,免费赠送欢迎果盘一份",
                                "price": 120,
                                "rule": "ONCE"
                            }
                        ],
                        "refundRules": [
                            {
                                "type": "FREE",
                                "amount": 0,
                                "maxHoursBeforeCheckIn": 0,
                                "minHoursBeforeCheckIn": 0
                            }
                        ],
                        "nationRule": {
                            "type": "WRITE_LIST",
                            "nations": [
                                "string"
                            ]
                        }
                    }
                ]
            }
        ],
        "extras": {
            "key": "string"
        }
    }
    Built with