Channel Managers · API docs

Booking Data Structures

The Booking Handling Pull and Push APIs will include the following data structures in their messages.

Please refer also to the examples for Pull and Push.

If you spot any errors on this page, please let us know about it.

HotelReservationType
ElementNumberDescription
@CreateDateTime1It's the date and time of the moment in which the booking was made. It's mandatory if the attribute ResStatus is "Book".
@LastModifyDateTime0..1Indicates the date and time of the last booking modification. It's mandatory if ResStatus is "Modify" or "Cancel".
@ResStatus1Booking status. Possible values: "Book": booked. "Modify" : modified. "Cancel".: canceled.
HotelReservation / POS / Source1Reservation origin.
HotelReservation / POS / Source /BookingChannel / CompanyName1Name of the booking origin.
@ISOCountry1Country where the reservation originated.
HotelReservation / ResGlobalInfo1Contains general booking information. See ResGlobalInfoType
HotelReservation / RoomStays / RoomStay0..nA RoomStay instance for every room of the booking. This element is always present if the ResStatus is “Book” or “Modify”, if the status is "Cancel" there is no RoomStay. See RoomStayType
HotelReservation / ResGuests / ResGuest0..nOne ResGuest per booking guest. ResGuests can't always be linked to the RoomStays. See ResGuestType
ResGlobalInfoType
ElementNumberDescription
HotelReservationIDs / HotelReservationID0..2The object HotelReservationID contains several (ReservationId).
@ResID_Type1Define the Booking ID type. Possible value 24: Travel Agent PNR
@ResID_Value1Value that indicates the booking number.
SpecialRequests0..1
SpecialRequests / SpecialRequest0..1The SpecialRequest object indicates special requests for a particular guest, service or reservation.
SpecialRequest / Text0..1
Total0..1The total amount for the booking. They are added to the total amount of Roomstay. See TotalType
Fees / Fee0..n
Fee / Amount0..1Fee monetary amount
Fee / CurrencyCode0..1Fee Currency code.
Fee / ChargeUnit0..1This is the unit for which the charge applies (e.g. room, person, seat). Refer to OpenTravel Code List Charge Type (CHG). Values: 7 “Per person” 25 “Per room” 26 “Per reservation”
Fee / ChargeFrequency0..1This is the timeframe used to apply the charge during the course of the reservation (e.g. Daily, Weekly, Stay). Refer to OpenTravel Code List Charge Type (CHG). Values: 1 “Daily” 12 “Per Stay"
Fee / Description / Text0..1Description identifies the fee type
DepositPayments0..1Contains the deposit information. This element rules out Guarantee and its presence indicates a prepay reservation.
DepositPayments / GuaranteePayment1
@GuaranteeType1An enumerated type defining the guarantee to be applied to this reservation. Values: PrePay
DepositPayments / GuaranteePayment / AcceptedPayments1
AcceptedPayments / AcceptedPayment1
@GuaranteeTypeCode1Values: 43: Virtual card 28: Wire transfer
AcceptedPayment / PaymentCard0..1This element will only appear for for @GuaranteeTypeCode 43 — Virtual card.
@ExpireDate1This is the credit card's expiration date. MMaa format
PaymentCard / CardType1Credit card type. Possible values: CA — MasterCard These values do not follow the OTA standard.
PaymentCard / CardHolderName1Name of credit card's holder.
PaymentCard / CardNumber / PlainText1The number embossed on the payment card, in plain format.
PaymentCard / SeriesCode / PlainText1The card's security code.
AcceptedPayment / BankAcct0..1This element will only appear for for @GuaranteeTypeCode 28 — Wire transfer.
@Type1The type of bank account involved in the wire transfer. Possible values: Checking
Guarantee0..1Guarantee. See GuaranteeType. This element rules out DepositPayments and its presence indicates a pay at destination reservation.
Comments / Comment / Text0..nBooking comment.
ResGuestType
ElementNumberDescription
@ResGuestRPH0..1This value links ResGuest to Roomstay (s) whenever is possible. The links can be found in Roomstay / ResGuestRPHs.
Comment / Text1Guest additional information.
ResGuest / Comments / Comment0..1Place for guest additional information.
ResGuest / Profiles1Contains the guest profile information. See ProfilesType
RoomStayType
ElementNumberDescription
RoomStay / RatePlans / RatePlan1The RatePlan for this Roomstay. This is not an actual RatePlan with an actual RatePlanCode but a container for common information that applies to the whole Roomstay.
RatePlan / MealsIncluded / MealPlanType1The MealPlanType applying to this Roomstay. Refer to OpenTravel Meal Plan Type (MPT) code table.
RoomStay / RoomRates / RoomRate1..nMultiple RoomRates per Roomstay. Multiple rates per each room rate. This can happen when there's a single room booked but more than one rate plan that applies for the stay. See RoomRateType
RoomStay / GuestCounts / GuestCount0..4How many guests will be staying in the room? The count is divided in four potential elements GuestCount under GuestCounts one per each client type: adults, children, infants or babies.
@AgeQualifyingCode1Define the age range of the guest. Possible values: 10: Adult (Only for per room per night) 8:Child 7:Infant 3: Baby
@Count1The type of guest number
RoomStay / TimeSpan1Contains the room stay.
@Start1Check in date
@End1Check-out date
RoomStay / Total0..1Booking total amount. The cost of all the rooms is added. See TotalType
RoomStay / BasicPropertyInfo1Property information.
@HotelCode1The hotel code
RoomStay / ServiceRPHs / ServiceRPH0..nContains links to any service or extra charges for the room
@RPH1Links the Service/@ServiceRPHA for this RoomStay
RoomStay / ResGuestRPHs / ResGuestRPH0..nUsed to link ResGuests to the Roomstay
@RPH1Links the ResGuest/@ResGuestRPH to this RoomStay
RoomStay / Comments / Comment / Text0..1Roomstay comments
RoomStay / SpecialRequests0..nAt a room level, the special requests represents the list of value added offers included for this type of room in this reservation.
RoomStay / SpecialRequests / SpecialRequest0..1At a room level, this represents a single value added offer for this room and this reservation.
RoomStay / SpecialRequests / SpecialRequest / Text0..1A description of the value added offer included
RoomRateType
ElementNumberDescription
RoomStay / RoomRates / RoomRate1..nMultiple RoomRates per Roomstay. There may be multiple room rates for each RoomRate This can happen when there's a room booked but more than one rate plan that applies during the stay.
@RoomTypeCode1Booked room Code
@NumberOfUnits1Always 1. Each room will be included in its own Roomstay element.
@RatePlanCode1Rate plan code reserved for the type of room code that appears in the attribute RoomTypeCode.
@InvBlockCode1This code identifies the type of inventory block and indicates whether the availability used for this RoomRate in the Reservation is PUBLIC (shared with other OTAs) or PRIVATE. Please read further here.
RoomRate / Rates0..1Itemized rates daily information.
Rates / Rate1..nThe rate element has a time interval with daily rate information. The dates in the rates will cover all the dates in the element / TimeSpan Roomstay.
@EffectiveDate1The start date of the rate in the format yyyy-MM-dd. This date is inclusive.
@ExpireDate1Rate end date. Format yyyy-MM-dd. This date is exclusive.
Rate / Discount0..1Discount percentage and/or Amount, code and textual reason for discount
@Percent1
Discount / DiscountReason1
@name1Name of discount
Rate / Total0..1The total amount charged for the rate. It will the same as the base with the extras and discounts applied. See TotalType
Rate / AdditionalGuestAmounts0..1See TotalType
AdditionalGuestAmounts / AdditionalGuestAmount0..n
@Amount0..1Extra charge amount.
@AgeQualifyingCode1Define the age range of the extra guest. Possible values: 10: Adult (Only for per room per night) 8:Child 7:Infant 3: Baby
GuaranteeType
ElementNumberDescription
@GuaranteeType1An enumerated type defining the guarantee to be applied to this reservation. Values: CC/DC/Voucher — for pay at destination reservations. None — for cash reservations.
Guarantee / GuaranteesAccepted / GuaranteeAccepted / PaymentCard0..1Contains information about the payment card, if applicable.
@ExpireDate1This is the credit card's expiration date. MMAA format
PaymentCard / CardType1Credit card type. Possible values: AX — American ExpressCL — CabalCB — Carte BlancheCS — CencosudDC — DinersDS — DiscoverEC — EloHC — HiperCardPR — PrestoMG — MagnaCA — MasterCardMD — MasterCard DébitoNT — NativaTN — Tarjeta NaranjaVI — VisaVD — Visa Débito These values do not follow the OTA standard.
PaymentCard / CardNumber1The number embossed on the payment card.
PlainText0..1The plain text credit card number — only included in reservations delivered via push.
@Mask0..1The masked credit card number — included in reservations queried via the pull API.
PaymentCard / CardHolderName1Name of credit card's holder.
ProfilesType
ElementNumberDescription
Profiles / ProfileInfo1..nProfile Information
ProfileInfo / Profile1Contains profile information
@ProfileType1Profile type See OTA code tables (Profile type - PRT). Possible values: 1:Customer 2:GDS 3:Corporation 4:TravelAgent
Profile / Customer
Customer / PersonName / GivenName1Customer's first name
Customer / PersonName / MiddleName0..1Customer's middle name
Customer / PersonName / Surname1Customer's surname
TotalType
ElementNumberDescription
@CurrencyCode0..1The currency code for the total amounts (ISO currency code)
@AmountAfterTax0..1Total amount after taxes.
@AmountBeforeTax0..1Total amount before taxes.
@AmountIncludingMarkup1This amount includes markup and taxes. Possible values: True False
@AdditionalFeesExcludedIndicator1This amount exclude feed. Possible values: True False
Taxes0..1The total amount of taxes for TotalType. See TaxesType
@Amount0..1Total amount of taxes.
TaxesType
ElementNumberDescription
Taxes / Tax0..n
@Code1The code of the tax type applied to the total. Reference to the OTA tax code table: OTA Fee Tax Type (FTT)
@Percentage0..1Tax percentage
@Amount0..1Tax amount
Tax / TaxDescription / Text0..1Descriptive tax text type