Last updated

Retrieving reservations summary

Use the reservationssummary endpoint to retrieve both the old and new reservations of a property with check-out dates in the future. Use this endpoint to match modifications/cancellations of future-dated reservations.

The API only provides summary information and doesn't include guest details, other than the guest's name.

Retrieving all unstayed reservations

POST https://secure-supply-xml.booking.com/hotels/xml/reservationssummary

Use this endpoint to get all the recent property reservations made through the Booking.com channels. You can apply a filter to retrieve reservations specific to certain properties specified by a property ID.

Query parameters

The following table describes the optional elements you can add as query parameters to filter the incoming reservations:

ElementDescriptionTypeRequired/OptionalNotes
requestRoot element.objectRequired-
hotel_idSpecify the unique property ID to identify the property you are trying to retrieve reservations for.integerRequiredMax. occurrences: 1.

Query parameter example

The following query retrieves reservation(s) for a property with ID 8011855.

<request>
    <hotel_id>8011855</hotel_id>
</request>

Response body example

The following is a successful response body example:

<reservations>
    <reservation>
        <customer>
            <first_name>Alice</first_name>
            <last_name>Gordon</last_name>
        </customer>
        <date>2022-05-12</date>
        <id>3820212523</id>
        <room>
            <arrival_date>2022-05-15</arrival_date>
            <currencycode>EUR</currencycode>
            <departure_date>2022-05-17</departure_date>
            <id>801185502</id>
            <meal_plan>Breakfast is included in the room rate.</meal_plan>
            <numberofguests>2</numberofguests>
            <price date="2022-05-15" rate_id="25279855">60.50</price>
            <price date="2022-05-16" rate_id="25279855">60.50</price>
            <roomreservation_id>3641632086</roomreservation_id>
            <totalprice>121</totalprice>
        </room>
        <room>
            <arrival_date>2022-05-15</arrival_date>
            <currencycode>EUR</currencycode>
            <departure_date>2022-05-17</departure_date>
            <id>801185502</id>
            <meal_plan>Breakfast is included in the room rate.</meal_plan>
            <numberofguests>2</numberofguests>
            <price date="2022-05-15" rate_id="25279855">60.50</price>
            <price date="2022-05-16" rate_id="25279855">60.50</price>
            <roomreservation_id>3641632104</roomreservation_id>
            <totalprice>121</totalprice>
        </room>
        <room>
            <arrival_date>2022-05-15</arrival_date>
            <currencycode>EUR</currencycode>
            <departure_date>2022-05-17</departure_date>
            <id>801185502</id>
            <meal_plan>Breakfast is included in the room rate.</meal_plan>
            <numberofguests>2</numberofguests>
            <price date="2022-05-15" rate_id="25279855">60.50</price>
            <price date="2022-05-16" rate_id="25279855">60.50</price>
            <roomreservation_id>3641632124</roomreservation_id>
            <totalprice>121</totalprice>
        </room>
        <room>
            <arrival_date>2022-05-15</arrival_date>
            <currencycode>EUR</currencycode>
            <departure_date>2022-05-17</departure_date>
            <id>801185502</id>
            <meal_plan>Breakfast is included in the room rate.</meal_plan>
            <numberofguests>2</numberofguests>
            <price date="2022-05-15" rate_id="25279855">60.50</price>
            <price date="2022-05-16" rate_id="25279855">60.50</price>
            <roomreservation_id>3641632137</roomreservation_id>
            <totalprice>121</totalprice>
        </room>
        <room>
            <arrival_date>2022-05-15</arrival_date>
            <currencycode>EUR</currencycode>
            <departure_date>2022-05-17</departure_date>
            <id>801185502</id>
            <meal_plan>Breakfast is included in the room rate.</meal_plan>
            <numberofguests>2</numberofguests>
            <price date="2022-05-15" rate_id="25279855">55</price>
            <price date="2022-05-16" rate_id="25279855">55</price>
            <roomreservation_id>3641632153</roomreservation_id>
            <totalprice>110</totalprice>
        </room>
        <time>17:09:47</time>
    </reservation>
</reservations>
<!-- RUID: [UmFuZG9tSVYkc2RlIyh9YVTaHvwstRic8Jl/BnXmLd9XUKM5o7PNTJVwBAolZyAvcGw2v3YnldZcTTwBgpaRw+CXxMviSsbKj2UbI//TrEQ=] -->

Response body elements

The following table describes the response elements:

ElementAttributeDescriptionTypeNotes
reservationsRoot elementarray of reservation
> reservationContains reservation details for each reservation.object
>> customerContains customer information.object
>>> first_nameSpecifies the guest's first/given name.string
>>> last_nameSpecifies the guest's last/family name.string
>> dateSpecifies the date the reservation was made.dateFormat: YYYY-MM-DD
>> timeSpecifies the time the reservation was made.timeFormat: HH:MM:SS (CET in winter, CEST in summer.)
>> idThe ID of the parent element.stringChild of both reservation and room.
>> roomContains information about the reserved room.object
>>> arrival_dateSpecifies the planned check-in date.dateFormat: YYYY-MM-DD
>>> currencycodeSpecifies the currency used to pay for the reservation.enumUse /xml/currencies to retrieve a list of currency codes.
>>> departure_dateSpecifies the planned check-out date.dateFormat: YYYY-MM-DD
>>> meal_planSpecifies the meal plan description as it appears on Booking.com.stringSee also Meal Plan Types. Note that we show the information in the preferred language of the property's primary point of contact. If you have implemented the Content API, then you can set the language under ContactInfos ... >... Language for the ContactProfileType as general via the OTA_HotelDescriptiveContentNotif endpoint.
>>> numberofguestsSpecifies the number of persons in the reservation.integer
>>> priceSpecifies the price per day for the reservation.integerCurrency is specified in currencycode.
dateThe date on which the reservation was paid for.dateFormat: YYYY-MM-DD
rate_idThe ID of the rate used for the reservation.string
>>> roomreservation_idThe ID of the room reservation.stringA reservation can include multiple rooms, and therefore multiple room reservations.
>>> totalpriceThe total price for the reservation.integerCurrency is specified in currencycode.