Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • PMS updates CRS for length of stay restrictions

  • PMS updates CRS for Open / Close restrictions

  • PMS updates CRS for Sell Limit

  • PMS updates CRS for FPLOS

  • RMS updates PMS for oversell counts

Business Rules

  • This message is only sent from the PMS to the CRS.

  • If RatePlanCode and RatePlanType both exist, then RatePlanType will be ignored.

  • InvBlockCode is only used to identify a group block.

  • Sell Limit can be assigned to a RatePlanCode+InvCode level.

  • Sell Limit can’t be assigned to Service Items

  • Length of Stay and Open/Close can be assigned to Property, RatePlanCode, RatePlanCodeGroup, InvTypeCode levels

  • Length of Stay can’t be assigned to Service Items

...

Code Block
languagexml
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.0">
	<AvailStatusMessages ChainCode="TS" HotelCode="TSDDN" HotelName="Test Property">
		<AvailStatusMessage>
			<StatusApplicationControl Start="2010-05-11" End="2010-05-11"/>
			<RestrictionStatus Restriction="Arrival" Status="Close"/>
		</AvailStatusMessage>
		<AvailStatusMessage>
			<StatusApplicationControl Start="2010-05-12" End="2010-05-12" RatePlanCode="BAR"/>
			<RestrictionStatus Restriction="Departure" Status="Open"/>
		</AvailStatusMessage>
		<AvailStatusMessage>
			<StatusApplicationControl Start="2010-05-13" End="2010-05-13" InvTypeCode="KATY"/>
			<RestrictionStatus Status="Close"/>
		</AvailStatusMessage>
		<AvailStatusMessage BookingLimit="6" BookingLimitMessageType="SetLimit">
			<StatusApplicationControl Start="2010-05-14" End="2010-05-14"/>
			<RestrictionStatus Restriction="Arrival" Status="Close"/>
		</AvailStatusMessage>
		<AvailStatusMessage BookingLimit="8" BookingLimitMessageType="SetLimit">
			<StatusApplicationControl Start="2010-05-15" End="2010-05-15" InvTypeCode="KATY" RatePlanCode="TEST"/>
			<RestrictionStatus Restriction="Arrival" Status="Close"/>
		</AvailStatusMessage>
		<AvailStatusMessage BookingLimit="21" BookingLimitMessageType="SetLimit">
			<StatusApplicationControl Start="2010-05-16" End="2010-05-16" InvTypeCode="TEX" RatePlanCode="BAR"/>
			<RestrictionStatus Status="Open"/>
		</AvailStatusMessage>
		<AvailStatusMessage>
			<StatusApplicationControl Start="2010-05-20" End="2010-05-20" Mon="true" Tue="true" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true"/>
			<LengthsOfStay ArrivalDateBased="1">
				<LengthOfStay Time="2" TimeUnit="Day" MinMaxMessageType="SetMinLOS"/>
			</LengthsOfStay>
		</AvailStatusMessage>
		<AvailStatusMessage>
			<StatusApplicationControl Start="2010-05-21" End="2010-05-21" Mon="true" Tue="true" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true"/>
			<LengthsOfStay ArrivalDateBased="1">
				<LengthOfStay Time="2" TimeUnit="Day" MinMaxMessageType="SetMaxLOS"/>
			</LengthsOfStay>
		</AvailStatusMessage>
		<AvailStatusMessage>
			<StatusApplicationControl Start="2010-05-22" End="2010-05-22" Mon="true" Tue="true" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true"/>
			<LengthsOfStay ArrivalDateBased="1">
				<LengthOfStay Time="2" TimeUnit="Day" MinMaxMessageType="RemoveMinLOS"/>
			</LengthsOfStay>
		</AvailStatusMessage>
	</AvailStatusMessages>
</OTA_HotelAvailNotifRQ>

Sample for Oversell Posting from Wave RMS

Code Block
<OTA_HotelAvailNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="6172037375195" TimeStamp="2021-12-10T09:40:40.4577583-06:00" Version="1" TransactionIdentifier="6172037375195">
  <AvailStatusMessages HotelCode="CMBTEST">
    <AvailStatusMessage BookingThreshold="5">
      <StatusApplicationControl Start="2022-01-15" End="2022-01-15" InvTypeCode="KING" Mon="true" Tue="true" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true"/>
      <UniqueID Type="16" ID="1"/>
    </AvailStatusMessage>
  </AvailStatusMessages>
  <MessageContentCode>6</MessageContentCode>
</OTA_HotelAvailNotifRQ>

OTA_HotelAvailNotifRS Elements & Attributes

...