Booking information. Unpriced bookings (without an amount node) are accepted but will appear as amount 0.
NOTE: All bookingRooms of a booking must always be indicated:
Element | M | Type | Restrictions | Description |
reference | Y | String | Booking locator | |
externReference | N | String | Agency or extern locator | |
createDateTime | Y | Date | Format: dd/MM/yyyy HH:mm:ss | Date and time of the booking creation |
checkinDate | Y | Date | Format: dd/MM/yyyy | Check-in date (most recent) for the rooms. |
checkoutDate | Y | Date | Format: dd/MM/yyyy | Check-out date (latest among the rooms). |
agencyCode | Y | String | agencyCode (provided by Hotetec) | |
externAgency | N | String | Name of the Agency /third party. This is the final agency that makes the booking, if the client has agencies connected to them. | |
externAgencyCode | N | String | Code of the Agency /thir party. | |
externAgencyCountry | N | String | Country of the Agency | |
externAgencyAddres | N | String | Adress of the Agency | |
externAgencyEmail | N | String | Email of the Agency | |
externAgencyPhone | N | String | Phone of the Agency | |
vendorCode | N | String | Provider code (provided by Hotetec) | |
hotelCode | Y | String | Hotel Code | |
amount | N | Double | Amount of the booking | |
currencyCode | N | String | Currency of the booking |
Example Booking:
<booking>
<reference>A00123</reference>
<externReference>PMI01254</externReference>
<createDateTime>01/06/2020 12:00:00</createDateTime>
<checkinDate>01/08/2020</checkinDate>
<checkoutDate>05/08/2020</checkoutDate>
<agencyCode>TST</agencyCode>
<externAgency>Extern Agency</externAgency>
<vendorCode>ABC</vendorCode>
<hotelCode>30625</hotelCode>
<amount>1650.40</amount>
<currencyCode>USD</currencyCode>
<contactPerson name="TEST" surname="TEST" email="[email protected]" telephone="[email protected]" country="ES"/>
<bookingRoom id="1">
<status>Confirmed</status>
<checkinDate>01/08/2020</checkinDate>
<checkoutDate>05/08/2020</checkoutDate>
<roomCode>DBL</roomCode>
<mealPlan>RO</mealPlan>
<amount>1650.40</amount>
<currencyCode>USD</currencyCode>
<rateDay day="01/08/2020" rateCode="1234" amount="412.60"/>
<rateDay day="02/08/2020" rateCode="1234" amount="412.60"/>
<rateDay day="03/08/2020" rateCode="1234" amount="412.60"/>
<rateDay day="04/08/2020" rateCode="1234" amount="412.60"/>
<guest id="1" name="Guest name" amount="825.25" age="33" birthDate="01/04/1987"/>
<guest id="2" name="Guest name 2" amount="825.25" age="35" birthDate="01/04/1985"/>
<arrivalFlight dateTime="01/01/2021 00:00:00" flightNumber="abc1234"/>
<departureFlight dateTime=" 06 01 2021 00:00:00" flightNumber="xyz9876"/>
<remark text=" Non smoking room please"/>
</bookingRoom>
<remark text="Nice room please"/>
<paymentCardDetail holder="Guest name" number="4111111111111111" expiryDate="01/04/2025" securityCode="123"/>
</booking>