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

    StdReserveRQ

    标准预订请求参数
    OpenAPI 的请求参数,请勿随意修改!

    {
        "checkin": "2030-01-01",
        "checkout": "2030-01-02",
        "channelHotelId": "123456",
        "channelOrderId": "123456",
        "hotelId": 1296369727399878700,
        "roomId": 1296369727399878700,
        "ratePlanId": 1296369727399878700,
        "orderDate": "new Date()",
        "roomNum": 1,
        "roomCustomers": [
            {
                "seq": 1,
                "adults": 2,
                "children": 0,
                "childrenAges": [
                    0
                ],
                "customers": [
                    {
                        "firstName": "SHAN",
                        "lastName": "ZHANG",
                        "nationality": "CN",
                        "gender": "MALE",
                        "age": 23
                    }
                ]
            }
        ],
        "payType": "PREPAY",
        "currencyCode": "CNY",
        "promotionPrice": "public static final BigDecimal ZERO;",
        "totalPriceAndTax": 1000,
        "taxAndFee": 100,
        "dailyPrices": [
            {
                "date": "2030-01-10",
                "price": 500
            }
        ],
        "contactInfo": {
            "name": "ZHANG/SHAN",
            "phone": "0086-1234567890",
            "email": "mail@example.com"
        },
        "specialRemarks": "string",
        "extras": {
            "key": "string"
        }
    }
    Built with