AI-generated Key Takeaways
-
This is a basic example of an ARI (Availability, Rates, and Inventory) notification message used to update hotel availability and restrictions.
-
The provided XML snippet showcases how to communicate information like booking limits, stay restrictions, and rate plan details.
-
The message covers updates for a specific hotel, "my_hotel_code_1," within a defined date range.
-
For more intricate ARI examples and detailed specifications, refer to the comprehensive Pricing & room inventory (ARI) XML reference.
This examples shows a simple ARI notification message. For more complex ARI examples, refer to Pricing & room inventory (ARI) XML reference.
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" TimeStamp="2021-03-25T00:33:12+00:00" Version="3.0">
<POS>
<Source>
<RequestorID ID="partner-name-vr"></RequestorID>
</Source>
</POS>
<AvailStatusMessages HotelCode="my_hotel_code_1">
<AvailStatusMessage BookingLimit="0">
<StatusApplicationControl Start="2021-05-01" End="2021-05-23" InvTypeCode="my_hotel_code_1" /><!-- Intentionally equal to HotelCode -->
</AvailStatusMessage>
<AvailStatusMessage>
<StatusApplicationControl Start="2021-05-01" End="2021-05-23" InvTypeCode="my_hotel_code_1" RatePlanCode="rate9"></StatusApplicationControl>
<RestrictionStatus Restriction="Master" Status="Close"></RestrictionStatus>
</AvailStatusMessage>
<AvailStatusMessage>
<StatusApplicationControl Start="2021-05-01" End="2021-05-23" InvTypeCode="my_hotel_code_1" RatePlanCode="rate9"></StatusApplicationControl>
<LengthsOfStay ArrivalDateBased="0">
<LengthOfStay Time="2" TimeUnit="Day" MinMaxMessageType="SetMinLOS"></LengthOfStay>
</LengthsOfStay>
</AvailStatusMessage>
<AvailStatusMessage BookingLimit="1">
<StatusApplicationControl Start="2021-05-31" End="2021-05-31" InvTypeCode="my_hotel_code_1"></StatusApplicationControl>
</AvailStatusMessage>
<AvailStatusMessage>
<StatusApplicationControl Start="2021-05-31" End="2021-05-31" InvTypeCode="my_hotel_code_1" RatePlanCode="rate9"></StatusApplicationControl>
<RestrictionStatus Restriction="Master" Status="Open"></RestrictionStatus>
</AvailStatusMessage>
</AvailStatusMessages>
</OTA_HotelAvailNotifRQ>