Update rates and restrictions – OTA_HotelRatePlanRQ and OTA_HotelAvailNotifRQ (Draft)

7 views November 8, 2021 November 8, 2021 korzhkov 0

In case when you need to update rates or restrictions on specific dates you can use following OTA_HotelRatePlanRQ and OTA_HotelAvailNotifRQ requests.

Update rates request sample

<OTA_RateAmountNotifRQ>
    <RateAmountMessages HotelCode="111">
        <RateAmountMessage LocatorID="1">
            <StatusApplicationControl Start="2021-12-25" End="2022-01-03" RatePlanCode="333" InvTypeCode="C_555" />
            <Rates>
                <Rate MinLOS="1" MaxLOS="28" CurrencyCode="USD">
                    <BaseByGuestAmts>
<!-- "per room" -->
                        <BaseByGuestAmt NumberOfGuests="1" AmountBeforeTax="149.50" />
                        <BaseByGuestAmt NumberOfGuests="2" AmountBeforeTax="149.50" />
                        <BaseByGuestAmt NumberOfGuests="3" AmountBeforeTax="149.50" />
<!-- OR  "per pers" -->
                        <BaseByGuestAmt NumberOfGuests="1" AmountBeforeTax="125.50" />
                        <BaseByGuestAmt NumberOfGuests="2" AmountBeforeTax="223.00" />
                        <BaseByGuestAmt NumberOfGuests="3" AmountBeforeTax="320.50" />
<!-- OR  "per guest type" -->
                        <BaseByGuestAmt AgeQualifyingCode="101" AmountBeforeTax="25.50" />
                        <BaseByGuestAmt AgeQualifyingCode="105" AmountBeforeTax="155.50" />
                        <BaseByGuestAmt AgeQualifyingCode="108" AmountBeforeTax="205.50" />
<!-- Pricing Model -->
                    </BaseByGuestAmts>
                </Rate>
            </Rates>
        </RateAmountMessage>
    </RateAmountMessages>
</OTA_RateAmountNotifRQ>

Required fields:
Version – OTA requires it

Update restrictions request sample

<OTA_HotelAvailNotifRQ>
    <AvailStatusMessages HotelCode="111">
        <AvailStatusMessage LocatorID="1">
            <StatusApplicationControl Start="2021-12-25" End="2022-01-03" RatePlanCode="333" InvTypeCode="C_555" Mon="false" Tue="false" Weds="false" Thur="false" Fri="true" Sat="true" Sun="false" />
            <RestrictionStatus Restriction="Arrival | Departure | Master" />
        </AvailStatusMessage>
    </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
<OTA_HotelAvailNotifRS>
    <Success/>
</OTA_HotelAvailNotifRS>

Response sample

<OTA_RateAmountNotifRS>
    <Success/>
</OTA_RateAmountNotifRS>

Was this helpful?