Join our community at https://www.reddit.com/r/HotelByte/

HotelByte
HomepageWaitlist
HomepageWaitlist
Hotel Partners Roadmap
Submit issues
    • 1. Get started
      • Overview
      • Booking flow
      • Certification and Go Live
      • Frequently Asked Questions (FAQ)
    • 2. Guides
      • Quick start
      • Error handling
      • Rate limit
      • Certification cases
      • Test more scenarios
    • 3. API Reference
      • Authentication
        • Ticket
      • Content
        • Destinations
        • HotelStaticDetail
        • HotelsMetadata
      • Search
        • HotelList
        • HotelRates
      • Make bookings
        • CheckAvail
        • Book
      • Manage bookings
        • QueryOrders
        • Cancel
    • Schemas
      • Schemas
      • hotel.common.bff.Table
      • OrderHomeFunctionReq
      • TicketReq
      • TicketResp
      • DestinationInclude
      • DestinationExtra
      • Coordinates
      • CheckAvailReq
      • CheckAvailResp
      • HotelsMetadataListResp
      • HotelsMetadataReq
      • ComputedCancelPolicyItem
      • OrderHomeFunctionResp
      • OriginalRoomNaming
      • Rate
      • CancelResp
      • Tax
      • Holder
      • HotelOrder
      • OrderRoomRefundInfo
      • HotelListReq
      • HotelListResp
      • HotelListBasicInfo
      • BaseHeader
      • BookingHeader
      • ContentHeader
      • HotelMeta
      • DestinationType
      • Guest
      • DestinationsReq
      • DestinationsResp
      • OrderStatus
      • GuestPerRoom
      • RatePkgId
      • RoomRatePkg
      • HotelRatesReq
      • BookReq
      • HotelRatesResp
      • BookResp
      • CancelReq
      • QueryOrdersReq
      • HotelStaticDetailReq
      • QueryOrdersResp
      • HotelStaticDetailResp

    hotel.search.protocol.HotelRatesResp(HotelRatesResp)

    {
        "rooms": [
            {
                "roomTypeId": "string",
                "roomTypeName": {
                    "en": "string",
                    "zh": "string",
                    "ar": "string"
                },
                "hotelId": "string",
                "rates": [
                    {
                        "ratePkgId": "string",
                        "refundableMode": "full",
                        "refundableUntil": "2006-01-02T15:04:05Z07:00",
                        "cancelFees": [
                            {
                                "until": "2006-01-02T15:04:05Z07:00",
                                "fee": {
                                    "currency": "string",
                                    "amount": 0
                                }
                            }
                        ],
                        "originalRoomNaming": {
                            "id": "string",
                            "name": "string",
                            "supplier": 0
                        },
                        "rate": {
                            "commissionableRate": {
                                "currency": "string",
                                "amount": 0
                            },
                            "netRate": {
                                "currency": "string",
                                "amount": 0
                            },
                            "grossRate": {
                                "currency": "string",
                                "amount": 0
                            },
                            "respectGrossRate": true
                        },
                        "totalRate": {
                            "commissionableRate": {
                                "currency": "string",
                                "amount": 0
                            },
                            "netRate": {
                                "currency": "string",
                                "amount": 0
                            },
                            "grossRate": {
                                "currency": "string",
                                "amount": 0
                            },
                            "respectGrossRate": true
                        },
                        "rateComment": "string",
                        "includesPackaging": true,
                        "checkIn": "now()",
                        "checkOut": "now()+7",
                        "board": {
                            "boardId": "RO",
                            "boardName": {
                                "en": "string",
                                "zh": "string",
                                "ar": "string"
                            },
                            "boardDesc": {
                                "en": "string",
                                "zh": "string",
                                "ar": "string"
                            }
                        },
                        "tax": {
                            "total": {
                                "currency": "string",
                                "amount": 0
                            },
                            "items": [
                                {
                                    "taxType": "string",
                                    "taxName": "string",
                                    "amount": {
                                        "currency": "string",
                                        "amount": 0
                                    },
                                    "desc": "string"
                                }
                            ]
                        }
                    }
                ]
            }
        ]
    }
    Built with