ARI の例

次の例は、簡単な ARI 通知メッセージを示しています。より複雑なコードの場合は、 ARI の例については、料金と客室在庫(ARI)XML 参照をご覧ください。

<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>