Locals 路客酒店开放接口
    • 预订API
      • 订单创建
      • 订单取消
      • 查询订单
    • 可用性API
      • 报价信息
    • 内容API
      • 酒店列表
      • 酒店详情
    • 数据模型
      • Data
      • BedType
      • ReserveRes
      • Hotel
      • RoomBed
      • BoundingPolygon
      • ManageOrderRes
      • CheckDays
      • HotelRes
      • Customer
      • Meal
      • CoordinatesRegion
      • ManageOrderRQ
      • HudsonCustomer
      • RoomCustomer
      • DailyInfo
      • BreakfastPolicy
      • MapListString
      • HudsonCustomerInfo
      • DailyPrice
      • Fee
      • Image
      • Ancestors
      • ContactInfo
      • Gift
      • Region
      • RefundRule
      • NationRule
      • Room
      • ContactInfo
      • HotelDetail
      • NightCharge
      • CarRentalInfo
      • HotelDetailRes
      • Stay
      • FlightInfo
      • Amount
      • CruiseInfo
      • Charge
      • TrainTicketInfo
      • Breakfast
      • Totals
      • StdReserveRQ
      • DayInfo
      • ChargeCalculated
      • key
      • Data
      • ExtraFee
      • FeesPricingInformation
      • CancelRes
      • GiftService
      • EpsPriceInfo
      • Localized
      • CancelRQ
      • Rate
      • Address
      • GoodsRoom
      • HotelRate
      • PropertyRating
      • MapString
      • key
      • GuestRating
      • MapHotelGoods
      • AvailabilityRes
      • Ratings
      • Data
      • Coordinates
      • Location
      • StdPricesRQ
      • CategoryProperty
      • BusinessModel
      • Data
      • Checkin
      • Checkout
      • Fees
      • Policies
      • key
      • MapAttribute
      • key
      • Attributes
      • key
      • MapAmenity
      • key
      • MapLink
      • key
      • MapPaymentType
      • OnsitePayments
      • DescriptionsRoom
      • key
      • key
      • BedGroupConfiguration
      • key
      • MapBedGroup
      • Area
      • key
      • MapView
      • MaxAllowed
      • key
      • MapCategoryAge
      • Occupancy
      • key
      • MapRoomContent
      • key
      • key
      • MapRateContent
      • Dates
      • Descriptions
      • key
      • MapStatistic
      • Preferred
      • AssociatedAirports
      • key
      • MapTheme
      • AllInclusive
      • key
      • MapBrand
      • Chain
      • Brand
      • key
      • Link
      • PropertyManagerLinks
      • PropertyManager
      • RentalAgreementLinks
      • RentalAgreement
      • key
      • Amenity
      • key
      • VacationRentalDetails
      • key
      • ContentRequest
      • PropertyInactive
      • InactiveRequest
      • Review
      • GuestReviewsVerified
      • GuestReviews
      • RestResponseGuestReviews
      • ContentGuestReviewRequest
      • RestResponseLink
      • ContentCatalogRequest
      • MapAmenityReference
      • RestResponseMapAmenityReference
      • ContentPublicRequest
      • key
      • MapChain
      • MapAttributeReference
      • RestResponseMapAttributeReference
      • MapImageReference
      • RestResponseMapImageReference
      • RestResponseMapPaymentType
      • RestResponseMapView
      • RestResponseMapSpokenLanguage
      • MapStatisticReference
      • RestResponseMapStatisticReference
      • RestResponseMapTheme
      • SaleScenario
      • key
      • GetPaymentOptionsOperationLink
      • RateLinks
      • BedGroupAvailabilityLinks
      • key
      • MapBedGroupAvailability
      • CancelPenalty
      • NonrefundableDateRange
      • MarketingFeeIncentive
      • MarketingFeeDetails
      • key
      • MapPricingInformation
      • key
      • MapValueAdd
      • Deal
      • Promotions
      • Deposit
      • RoomAvailability
      • GetAdditionalAvailabilityOperationLink
      • GetAvailabilityOperationLink
      • PropertyAvailabilityLinks
      • MapListPropertyAvailability
      • RestResponseMapListPropertyAvailability
      • AvailabilityRequest
      • key
      • PriceCheckOperationLink
      • key
      • key
      • key
      • PropertyAvailability
      • RestResponseListPropertyAvailability
      • AdditionalAvailabilityRequest
      • key
      • PostItineraryOperationLink
      • CommitChangeOperationLink
      • PostPaymentSessionsOperationLink
      • RoomPriceCheckLinks
      • TraderAddress
      • TraderDetailsInner
      • TraderInformation
      • RoomPriceCheck
      • RestResponseRoomPriceCheck
      • PriceCheckRequest
      • AffiliateCollect
      • CardOption
      • CreditCardMerchant
      • CreditCard
      • PaymentOption
      • RestResponsePaymentOption
      • StayConstraints
      • Day
      • PropertyCalendarAvailability
      • RestResponseListPropertyCalendarAvailability
      • CalendarsAvailabilityRequest
      • PaymentSessionsLinks
      • PaymentSessions
      • RestResponsePaymentSessions
      • CustomerAccountDetails
      • Address
      • BillingContact
      • ThirdPartyAuthentication
      • TotalChargesAllowed
      • Phone
      • CardContact
      • AdditionalHandling
      • Payment
      • PaymentSessionsRequest
      • GetReservationByItineraryIdOperationLink
      • PutResumeBookingOperationLink
      • PutCompletePaymentSessionOperationLink
      • DeleteHeldBookingOperationLink
      • ItineraryCreationLinks
      • ItineraryCreation
      • RestResponseItineraryCreation
      • Phone
      • Loyalty
      • CompanyAddress
      • Invoicing
      • SupplierTransparency
      • CreateBookRequest
      • Nothing
      • EmptyResponse
      • RestResponseEmptyResponse
      • ResumeBookRequest
      • CompletePaymentSessionLinks
      • CompletePaymentSession
      • RestResponseCompletePaymentSession
      • ItineraryLinks
      • Phone
      • ConfirmationId
      • Loyalty
      • CancelRefund
      • key
      • PromotionsItinerary
      • DepositItinerary
      • PricingInformation
      • RateItinerary
      • DeleteRoomOperationLink
      • ChangeRoomDetailsOperationLink
      • RoomItineraryLinks
      • RoomItinerary
      • Address1
      • BillingContact
      • Adjustment
      • key
      • Conversations
      • SupplyContact
      • Image1
      • Essential
      • EssentialInformation
      • SupplierTransparency
      • AdditionalHandlingCardContact
      • AdditionalHandling
      • Invoicing
      • ItineraryHistoryItem
      • key
      • RateHistory
      • RoomHistoryItem
      • Itinerary
      • RestResponseListItinerary
      • SearchBookRequest
      • key
      • key
      • key
      • RestResponseItinerary
      • SearchBookBySupplierOrderIdRequest
      • CancelHeldBookRequest
      • InputStream
      • ResponseInputStream
      • RestResponseResponseInputStream
      • BookReceiptRequest
      • ChangeRoomDetailsRequest
      • ChangeItineraryRequest
      • CampaignsRequest
      • SearchPromotionRequest
      • RestResponseString

    MapRoomContent

    {
        "key": {
            "id": "string",
            "name": "string",
            "descriptions": {
                "overview": "string"
            },
            "amenities": {
                "key": {
                    "id": "string",
                    "name": "string",
                    "value": "string",
                    "categories": [
                        "string"
                    ]
                }
            },
            "images": [
                {
                    "url": "https://hudson-ota-openapi.oss-cn-hangzhou.aliyuncs.com/hotel/image/1296369727399878657/1.jpg",
                    "type": "Around"
                }
            ],
            "bedGroups": {
                "key": {
                    "id": "string",
                    "description": "string",
                    "configuration": [
                        {
                            "type": null,
                            "propertySize": null,
                            "quantity": null
                        }
                    ]
                }
            },
            "area": {
                "squareMeters": 0,
                "squareFeet": 0
            },
            "views": {
                "key": {
                    "status": "AVAILABLE",
                    "propertyId": "string",
                    "score": 0,
                    "rooms": [
                        {
                            "id": "string",
                            "roomName": "string",
                            "rates": [
                                {
                                    "roomId": 0,
                                    "name": "City View Deluxe Family Suite",
                                    "nameCn": "City View Deluxe Family Suite",
                                    "ratePlanId": 1296369727399878700,
                                    "view": "NONE",
                                    "roomBed": [
                                        {
                                            "relation": "AND",
                                            "beds": [
                                                {
                                                    "type": "KING_BED",
                                                    "count": 1
                                                }
                                            ]
                                        }
                                    ],
                                    "breakfast": {
                                        "count": 0,
                                        "desc": "早餐",
                                        "desc2": "双早"
                                    },
                                    "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,
                                            "currency": "CNY",
                                            "zone": "GMT+08:00"
                                        }
                                    ],
                                    "originalCancellationPolicy": "string",
                                    "cancellationExchangeRate": 0,
                                    "nationRule": {
                                        "type": "WRITE_LIST",
                                        "nations": [
                                            "string"
                                        ]
                                    },
                                    "roomExtJson": "string",
                                    "pricingInformation": [
                                        {
                                            "rpId": 0,
                                            "rateScore": 0,
                                            "exchangeRate": 0,
                                            "nightly": [
                                                [
                                                    {
                                                        "type": "BASE_RATE",
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                ]
                                            ],
                                            "stay": [
                                                {
                                                    "type": "BASE_RATE",
                                                    "value": "string",
                                                    "currency": "string"
                                                }
                                            ],
                                            "totals": {
                                                "inclusive": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                },
                                                "exclusive": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                },
                                                "propertyInclusive": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                },
                                                "inclusiveStrikethrough": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                },
                                                "strikethrough": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                },
                                                "propertyInclusiveStrikethrough": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                },
                                                "marketingFee": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                },
                                                "grossProfit": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                },
                                                "minimumSellingPrice": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                },
                                                "propertyFees": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                }
                                            },
                                            "fees": {
                                                "mandatoryFee": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                },
                                                "resortFee": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                },
                                                "mandatoryTax": {
                                                    "billableCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    },
                                                    "requestCurrency": {
                                                        "value": "string",
                                                        "currency": "string"
                                                    }
                                                }
                                            }
                                        }
                                    ],
                                    "isPackagingPrice": 0,
                                    "cancelStatus": "string",
                                    "unCancelDates": "string",
                                    "specialOfferDescription": "string",
                                    "valueAddPromotion": [
                                        "string"
                                    ],
                                    "rateAmenity": [
                                        "string"
                                    ]
                                }
                            ]
                        }
                    ],
                    "links": {
                        "additionalRates": {
                            "method": "string",
                            "href": "string",
                            "expires": "string"
                        },
                        "recommendations": {
                            "method": "string",
                            "href": "string",
                            "expires": "string"
                        }
                    }
                }
            },
            "occupancy": {
                "maxAllowed": {
                    "total": 0,
                    "children": 0,
                    "adults": 0
                },
                "ageCategories": {
                    "key": {
                        "name": "string",
                        "minimumAge": 0
                    }
                }
            }
        }
    }
    Built with