ARI example

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>