Last updated

reservationssummary (B.XML)

Use the xml/reservationssummary endpoint to retrieve all of a property's reservations with check-out dates in the future. This summary only includes information that is essential for matching future modifications/cancellations of existing reservations. No guest details included, other than the guest's name.

URL

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

Sample request

This request retrieves all reservations for property 375680.

<request>
  <hotel_id>375680</hotel_id>
</request>

Request body

FieldDescriptionTypeRequiredNotes
requestRoot element.objectRequired-
hotel_idThe Booking.com property ID for which you want to retrieve reservations.stringRequiredMax. occurrences: 1.

Sample response

A successful response looks like this:

<reservations>
  <reservation>
    <customer>
      <first_name>test</first_name>
      <last_name>test</last_name>
    </customer>
    <date>2015-03-29</date>
    <id>325070178</id>
    <room>
      <arrival_date>2015-02-20</arrival_date>
      <currencycode>INR</currencycode>
      <departure_date>2015-02-22</departure_date>
      <id>37568001</id>
      <meal_plan>Breakfast costs INR 15.00 per person per
      night.</meal_plan>
      <numberofguests>7</numberofguests>
      <price date="2015-02-20" rate_id="1354450">350</price>
      <price date="2015-02-21" rate_id="1354450">350</price>
      <roomreservation_id>1799964999</roomreservation_id>
      <totalprice>700</totalprice>
    </room>
    <time>20:51:09</time>
  </reservation>
  <reservation>
    <customer>
      <first_name>test</first_name>
      <last_name>test</last_name>
    </customer>
    <date>2015-03-29</date>
    <id>438151297</id>
    <room>
      <arrival_date>2015-02-20</arrival_date>
      <currencycode>INR</currencycode>
      <departure_date>2015-02-21</departure_date>
      <id>37568001</id>
      <meal_plan>Breakfast costs INR 15.00 per person per night.</meal_plan>
      <numberofguests>7</numberofguests>
      <price date="2015-02-20" rate_id="1354450">350</price>
      <roomreservation_id>1799964999</roomreservation_id>
      <totalprice>350</totalprice>
    </room>
    <time>20:51:09</time>
  </reservation>
</reservations>
<!-- RUID: [XXXXXXXXXXXXXXXXXXXXX==] -->

Response body

FieldDescriptionTypeNotes
reservations-array of reservation-
reservation-object-
customer-object-
first_nameGuest's first/given name.string-
last_nameGuest's last/family name.string-
dateThe date the reservation was made.dateFormat: YYYY-MM-DD
timeThe 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.
room-object-
arrival_datePlanned check-in date.dateFormat: YYYY-MM-DD
currencycodeThe currency used to pay for the reservation.enumUse /xml/currencies to retrieve a list of currency codes.
departure_datePlanned check-out date.dateFormat: YYYY-MM-DD
meal_planThe meal plan description as it appears on Booking.com.stringSee also Meal Plan Types.
numberofguestsThe number of persons in the reservation.integer-
priceThe price per day for the reservation.integerCurrency is specified in currencycode.
price[@date]The date on which the reservation was paid for.dateFormat: YYYY-MM-DD
price[@rate_id]The 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.