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

referenceY
String
Booking locator

externReference

N

String


Agency or extern locator

createDateTimeYDateFormat: dd/MM/yyyy HH:mm:ssDate and time of the booking creation
checkinDate
YDateFormat: dd/MM/yyyyCheck-in date (most recent) for the rooms.
checkoutDate
Y
DateFormat: dd/MM/yyyy
Check-out date (latest among the rooms).
agencyCode
YString
agencyCode (provided by Hotetec)
externAgencyNString
Name of the Agency /third party. This is the final agency that makes the booking, if the client has agencies connected to them.
externAgencyCode
NString
Code of the Agency /thir party.
externAgencyCountry
NString
Country of the Agency
externAgencyAddres
NString
Adress of the Agency
externAgencyEmail
NString
Email of the Agency
externAgencyPhone
NString
Phone of the Agency
vendorCodeNString
Provider code (provided by Hotetec)
hotelCodeYString
Hotel Code
amount
NDouble
Amount of the booking
currencyCodeNString
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>