Get detailed availability and rates – OTA_HotelAvailRQ

421 views July 22, 2016 October 20, 2017 korzhkov 0

This request is supposed to be used when you need to get an availability and rates for certain hotel for certain time span.

Request sample

<OTA_HotelAvailRQ PrimaryLangID="eng" AltLangID="deu" Version="1.003" xmlns="">
    <POS />
            <StayDateRange Start="2012-01-10" End="2012-01-16"/>
                    <HotelRef HotelCode="604"/>

Required fields:
PrimaryLangID – Use ISO 639-3 language codes
Version – OTA requires it
StayDateRange – Desired period of hotel reservation

Optional fields:
AltLangID – Use ISO 639-3 language codes
HotelCode – Hotel ID. Please note that in case when HoteCode is empty you will get all hotels you have access to. So it could be heavy for DB and could impact all system users, be careful!

Response sample

                <RoomType RoomTypeCode="C_630" NumberOfUnits="4">
                            Room Category Description
                            Room Category Amenities
                            Room Category Name
                <RatePlan RatePlanCode="331">
                        <Text>Rate Plan Name</Text>
                <RoomRate EffectiveDate="2012-02-25" ExpireDate="2012-02-26" RoomTypeCode="C_630" RatePlanCode="331">
                        <Rate EffectiveDate="2012-02-25" ExpireDate="2012-02-26" MinGuestApplicable="1" MaxGuestApplicable="4">
                            <Base AmountAfterTax="150.00" CurrencyCode="EUR"/>
                        <Rate EffectiveDate="2012-02-25" ExpireDate="2012-02-26" MinGuestApplicable="5" MaxGuestApplicable="5">
                            <Base AmountAfterTax="165.00" CurrencyCode="EUR"/>
                        <Rate EffectiveDate="2012-02-25" ExpireDate="2012-02-26" MinGuestApplicable="6" MaxGuestApplicable="6">
                            <Base AmountAfterTax="180.00" CurrencyCode="EUR"/>
                <GuestCount AgeQualifyingCode="1" Count="4"/>
                    <Deadline OffsetTimeUnit="Hour" OffsetUnitMultiplier="3"/>
                    <AmountPercent Percent="100"/>
            <BasicPropertyInfo HotelCode="604">
                <Policy CheckInTime="14:00:00" CheckOutTime="12:00:00"/>

Response fields explained:
RoomTypeCode – Room Category Code. Note it starts from C for hotel rooms and from P for apartments and virtual units
NumberOfUnits – The number of available rooms. For apartments and virtual units it’s always 1
RoomDescription – Room category description and images
Amenities – Room category amenities
TPA_Extensions/RoomTypeName – Room category name
RatePlanCode – Rate plan code
RatePlanDescription – Rate plan name
RoomRate – Contains price information. EffectiveDate and ExpireDate are the start and end dates of the reservation
Rate – price for certain period
MinGuestApplicable – Min number of guests allowed in this period
MaxGuestApplicable – Max number of guests allowed in this period
AmountAfterTax – Amount
CurrencyCode – Currency code based on ISO 4217
Count – Normal number of guests for this type of guests
AgeQualifyingCode — Guest type based on OTA Age Qualifying Code (AQC)
CancelPenalty – Cancellation Policy
Deadline – Time before check-in
AmountPercent – Penalty
HotelCode – Hotel ID
CheckInTime – Check-In time
CheckOutTime – Check-Out time

Was this helpful?