GenRMS - Inbound Availability Notifications
- 1 Overview
- 2 Business Rules
- 3 OTA_HotelAvailNotifRQ (Oversell) Elements & Attributes
- 4 OTA_HotelAvailNotifRQ (Oversell) Sample
- 5 OTA_HotelAvailNotifRQ (Remove LOS) Elements & Attributes
- 6 TA_HotelAvailNotifRQ (Remove LOS) Sample
- 7 OTA_HotelAvailNotifRQ (Remove Restriction) Elements & Attributes
- 8 OTA_HotelAvailNotifRQ (Remove Restriction) Sample
- 9 OTA_HotelAvailNotifRQ (Set LOS) Elements & Attributes
- 10 OTA_HotelAvailNotifRQ (Set LOS) Sample
- 11 OTA_HotelAvailNotifRQ (Set Restriction) Elements & Attributes
- 12 OTA_HotelAvailNotifRQ (Set Restriction) Sample
- 13 OTA_HotelAvailNotifRQ (Set Restriction - Combined) Elements & Attributes
- 14 OTA_HotelAvailNotifRQ (Set Restriction - Combined) Sample
- 15 OTA_HotelAvailNotifRS Sample (Success)
- 16 OTA_HotelAvailNotifRS Sample (Error)
- 17 OTA_HotelAvailNotifRS Sample (Warning)
Overview
The Availability Notification messages notify the CRS of the status of availability at the hotel property. These messages include a complex set of controls that indicate whether the hotel has inventory available for sale: closed or open. If a hotel is open, status messages communicate the rate at which bookings can be made. In addition, booking restrictions that apply to each individual rate, such as a minimum length of stay (LOS), must also be communicated to the CRS so that hotel guests are informed of all the rules and policies that apply to their reservation.
The CRS is the target of this message. SHR does not forward these messages to other target systems.
Business Rules
Availability can be set at Property, Room, Rate, or Room/Rate level
The CRS does not forward this message to any other system.
OTA_HotelAvailNotifRQ (Oversell) Elements & Attributes
Element | @Attribute | Num | Description/Contents | Origin | Value |
OTA_HotelAvailNotifRQ | 1 | Root element of the message. |
|
@EchoToken | 0..1 | Optional, going to send the Echtoken value. |
|
@TimeStamp | 1 | Time of the transaction. |
|
@Version | 1 | version for the Availbility message. |
|
@TransactionIdentifier | 0..1 | Optional, It is not used to pass for ESB and CRS. |
|
@MessageContentCode | 1 | Mandatory, MessageContentCode= 6 is process to CRS and ESB for the Restriction message update, Dont pass the MessageContentCode =7, its for LRV data and we dont used for the GenRMS. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages | 1 | Container for AvailStatusMessage elements have the Hotelcode in it to process the message and apply the to CRS and ESB |
|
@HotelCode | 1 | Hotel Code for which the AvailStatusMessages apply | Windsurfer® hotel code |
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage | 1..n | AvailStatusMessages is an Array element of Availbility message element to apply the Availbility message in CRS and ESB endpoint, This AvailStatusMessage will be repeated to apply for more AvailStatusMessage to update. |
|
@BookingThreshold | 1 | It passes the Negative Oversell value from GenRMS to ESB and CRS, the ESB will multiply the BookingThreshold value with Negative to make it positive and process it. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl | 1 | The StatusApplicationControl element have the content like Begin date , End date , InvTypeCode (RoomTypecode), RatePlancode, Dayofweek days. It allows to apply the Restruction on roomType and Ratecode for the given Daterange or alos apply for the specific Day of week, The Day of week ( |
|
@Start | 1 | The startdate in which the availability update is being send. |
|
@End | 1 | The endDate in which the availability update is being send. |
|
@InvTypeCode | 1 | This is the room type code for which the availability update is being send. |
|
@Mon ,@Tue,@Weds,@Thur,@Fri ,@Sat,@Sun | 0..1 | The day of the week indicators are used to communicate which days of the week the update pertains to. If one is sent, they must all be sent. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / UniqueID | 1 | The UniqueID attributes have the Element Type and ID that will post to ESB to identify the AvailMessage. |
|
@Type | 1 | Refers to OTA code list UIT – nr 16 = Reference. This is used to identify each single rate plan message |
|
@ID | 1 | ID is a unique incremental number for each rate plan message that identifies that specific message. |
|
OTA_HotelAvailNotifRQ (Oversell) Sample
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<PayloadInfo RequestId="22d3ac7c-f01e-49c6-8fbd-ae269f39c0ad" RequestorId="DE001" SourceId="DE001" DestinationId="CRS" RetryInd="false">
<Authentication Username="username" Password="Password"/>
<PayloadDescriptor Name="OTA_HotelAvailNotifRQ" Version="1.0"/>
</PayloadInfo>
</soap:Header>
<soap:Body>
<OTA_HotelAvailNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" EchoToken="6172037375195" TimeStamp="2021-07-16T19:58:15.970422+05:30" Version="1" TransactionIdentifier="6172037375195" MessageContentCode="6" xmlns="http://www.opentravel.org/OTA/2003/05">
<AvailStatusMessages HotelCode="TEST">
<AvailStatusMessage BookingThreshold="5"> <!-- Oversell inventory count-->
<StatusApplicationControl Start="2022-01-16" End="2022-01-16" InvTypeCode="KING" Mon="true" Tue="true" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true" />
<UniqueID Type="16" ID="1" />
</AvailStatusMessage>
</AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
</soap:Body>
</soap:Envelope>
OTA_HotelAvailNotifRQ (Remove LOS) Elements & Attributes
Element | @Attribute | Num | Description/Contents | Origin | Value |
OTA_HotelAvailNotifRQ | 1 | Root element of the message. |
|
@EchoToken | 0..1 | Optional, going to send the Echtoken value. |
|
@TimeStamp | 1 | Time of the transaction |
|
@Version | 1 | Version for the Availbility message. |
|
@TransactionIdentifier |
| It is not used to pass for ESB and CRS. |
|
@MessageContentCode | 1 | Mandatory, MessageContentCode= 6 is process to CRS and ESB for the Restriction message update, Dont pass the MessageContentCode =7, its for LRV data and we dont used for the GenRMS. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages | 1 | Container for AvailStatusMessage elements |
|
@HotelCode | 1 | Hotel Code for which the AvailStatusMessages apply | Windsurfer® hotel code |
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage | 1 | AvailStatusMessages is an Array element of Availbility message element to apply the Availbility message in CRS and ESB endpoint, This AvailStatusMessage will be repeated to apply for more AvailStatusMessage to update. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl | 1 | The StatusApplicationControl element have the content like Begin date , End date , InvTypeCode (RoomTypecode), RatePlancode, Dayofweek days. It allows to apply the Restruction on roomType and Ratecode for the given Daterange or alos apply for the specific Day of week, The Day of week (Mon="true" Tue="false" Weds="true" Thur="true" Fri="false" Sat="true" Sun="true") is Optional |
|
@Start | 1 | The Start date in which the availability update is being send. |
|
@End | 1 | The End date in which the availability update is being send. |
|
@InvTypeCode | 1 | This is the room type code for which the availability update is being send. |
|
@Mon ,@Tue,@Weds,@Thur,@Fri ,@Sat,@Sun | 0..1 | The day of the week indicators are used to communicate which days of the week the update pertains to. If one is sent, they must all be sent. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay | 1 | Container for LengthOfStay elements for the availability request |
|
@ArrivalDateBased | 1 | Indicator for if the LOS is Arrival-based, Based on the True and False we set the Restriction Update Type, If ArrivalDateBased = false then we will set the S_MaxLOS and S_MinLOS based on the LengthofStayMessageType. | true, false |
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay / LengthOfStay | 1..n | The LengthOfStay will be set for the Possible values SetMinLOS, SetMaxLOS, RemoveMaxLOS, RemoveMinLOS for the TimeUnit in Day. |
|
@MinMaxMessageType | 0..1 | Indicator for which operation is taking place | SetMinLOS, SetMaxLOS, RemoveMaxLOS, RemoveMinLOS |
@Time | 0..1 | The Time element value count is in Days apply to the LengthOfStay. |
|
@TimeUnit | 0..1 | Inside 'LengthsOfStay' element, only 'Day' is supported for TimeUnit. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / UniqueID | 1 | The UniqueID attributes have the Element Type and ID that will post to ESB to identify the AvailMessage. |
|
@Type | 1 | Refers to OTA code list UIT – nr 16 = Reference. This is used to identify each single rate plan message |
|
@ID | 1 | ID is a unique incremental number for each RoomType or Rateplan message that identifies the specific message. |
|
TA_HotelAvailNotifRQ (Remove LOS) Sample
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<PayloadInfo RequestId="22d3ac7c-f01e-49c6-8fbd-ae269f39c0ad" RequestorId="DE001" SourceId="DE001" DestinationId="CRS" RetryInd="false">
<Authentication Username="username" Password="Password"/>
<PayloadDescriptor Name="OTA_HotelAvailNotifRQ" Version="1.0"/>
</PayloadInfo>
</soap:Header>
<soap:Body>
<OTA_HotelAvailNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" EchoToken="6172037375195" TimeStamp="2021-07-16T19:58:15.970422+05:30" Version="1" TransactionIdentifier="6172037375195" MessageContentCode="6" xmlns="http://www.opentravel.org/OTA/2003/05">
<AvailStatusMessages HotelCode="TEST">
<AvailStatusMessage >
<StatusApplicationControl Start="2022-01-16" End="2022-01-16" InvTypeCode="KING" RatePlanCode="RGWEB" Mon="true" Tue="true" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true" />
<LengthsOfStay ArrivalDateBased="true">
<LengthOfStay MinMaxMessageType="RemoveMinLOS" Time="0" TimeUnit="Day" /> <!-- Possible values SetMinLOS, SetMaxLOS, RemoveMaxLOS, RemoveMinLOS-->
<LengthOfStay MinMaxMessageType="RemoveMaxLOS" Time="0" TimeUnit="Day" />
</LengthsOfStay>
<UniqueID Type="16" ID="1" />
</AvailStatusMessage>
</AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
</soap:Body>
</soap:Envelope>
<!--
If @InvTypeCode is present then restrictions need to be posted at Room Level
If @RatePlanCode is present then restrictions need to be posted at RateCode Level
If @InvTypeCode and @RatePlanCode is present then restrictions need to be posted at Room-RateCode Level
If @InvTypeCode and @RatePlanCode is not present then restrictions need to be posted at Property/House Level
-->
OTA_HotelAvailNotifRQ (Remove Restriction) Elements & Attributes
Element | @Attribute | Num | Description/Contents | Origin | Value |
OTA_HotelAvailNotifRQ | 1 | Root element of the message. |
|
@EchoToken | 0..1 | Optional, going to send the Echtoken value. |
|
@TimeStamp | 1 | Time of the transaction. |
|
@Version | 1 | Version for the Availbility message. |
|
@TransactionIdentifier |
| It is not used to pass for ESB and CRS. |
|
@MessageContentCode | 1 | Mandatory, MessageContentCode= 6 is process to CRS and ESB for the Restriction message update, Dont pass the MessageContentCode =7, its for LRV data and we dont used for the GenRMS. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages | 1 | Container for AvailStatusMessage elements |
|
@HotelCode | 1 | Hotel Code for which the AvailStatusMessages apply the to CRS and ESB. | Windsurfer® Hotel Code |
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage | 1 | AvailStatusMessages is an Array element of Availbility message element to apply the Availbility message in CRS and ESB endpoint, This AvailStatusMessage will be repeated to apply for more AvailStatusMessage to update. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl | 1 | The StatusApplicationControl element have the content like Begin date , End date , InvTypeCode (RoomTypecode), RatePlancode, Dayofweek days. It allows to apply the Restruction on roomType and Ratecode for the given Daterange or alos apply for the specific Day of week, The Day of week (Mon="true" Tue="false" Weds="true" Thur="true" Fri="false" Sat="true" Sun="true") is Optional. |
|
@Start | 1 | The Start date in which the availability update is being send. |
|
@End | 1 | The End date in which the availability update is being send. |
|
@InvTypeCode | 1 | This is the Room Type code for which the availability update is being send. |
|
@RatePlanCode | 1 | This is the RatePlancode for which the availability update is being send. |
|
@Mon ,@Tue,@Weds,@Thur,@Fri ,@Sat,@Sun | 0..1 | The day of the week indicators are used to communicate which days of the week the update pertains to. If one is sent, they must all be send. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / RestrictionStatus | 1..n | RestrictionStatus is an Array element of Availbility message element to apply the Availbility message in CRS and ESB endpoint, This AvailStatusMessage will be repeated to apply for more AvailStatusMessage to update. |
|
@Status | 1 | It used to described the Staus of the Restriction to be apply The Status is either Open or close and same will be posted on CRS and ESB. |
|
@Restriction | 1 | The Restriction element is used to set the Restriction at Master,Arrival Departure level for RoomType or Ratecode, it will be post to ESB and CRS to apply Restrciton update. | Master, Arrival, Departure |
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / UniqueID | 1 | The UniqueID attributes have the Element Type and ID that will post to ESB to identify the AvailMessage. |
|
@Type | 1 | Refers to OTA code list UIT – nr 16 = Reference. This is used to identify each single rate plan message for error reporting purposes. |
|
@ID | 1 | ID is a unique incremental number for each rate plan message that identifies that specific message. |
|
OTA_HotelAvailNotifRQ (Remove Restriction) Sample
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<PayloadInfo RequestId="22d3ac7c-f01e-49c6-8fbd-ae269f39c0ad" RequestorId="DE001" SourceId="DE001" DestinationId="CRS" RetryInd="false">
<Authentication Username="username" Password="Password"/>
<PayloadDescriptor Name="OTA_HotelAvailNotifRQ" Version="1.0"/>
</PayloadInfo>
</soap:Header>
<soap:Body>
<OTA_HotelAvailNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" EchoToken="6172037375195" TimeStamp="2021-07-16T19:58:15.970422+05:30" Version="1" TransactionIdentifier="6172037375195" MessageContentCode="6" xmlns="http://www.opentravel.org/OTA/2003/05">
<AvailStatusMessages HotelCode="TEST">
<AvailStatusMessage >
<StatusApplicationControl Start="2022-01-16" End="2022-01-16" InvTypeCode="KING" RatePlanCode="RGWEB" Mon="true" Tue="true" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true" />
<RestrictionStatus Status="Open" Restriction="Master"/> <!-- ”Master”, “Arrival”, “Departure.”-->
<UniqueID Type="16" ID="1" />
</AvailStatusMessage>
</AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
</soap:Body>
</soap:Envelope>
<!--
If @InvTypeCode is present then restrictions need to be posted at Room Level
If @RatePlanCode is present then restrictions need to be posted at RateCode Level
If @InvTypeCode and @RatePlanCode is present then restrictions need to be posted at Room-RateCode Level
If @InvTypeCode and @RatePlanCode is not present then restrictions need to be posted at Property/House Level
-->
OTA_HotelAvailNotifRQ (Set LOS) Elements & Attributes
Element | @Attribute | Num | Description/Contents | Origin | Value |
OTA_HotelAvailNotifRQ | 1 | Root element of the message. |
|
@EchoToken | 0..1 | Optional, going to send the EchoToken value. |
|
@TimeStamp | 1 | Time of the transaction. |
|
@Version | 1 | Version for the Availbility message. |
|
@TransactionIdentifier |
| It is not used to pass for ESB and CRS. |
|
@MessageContentCode | 1 | Mandatory, MessageContentCode= 6 is process to CRS and ESB for the Restriction message update, Dont pass the MessageContentCode =7, its for LRV data and we dont used for the GenRMS. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages | 1 | Container for AvailStatusMessage elements have the Hotelcode in it to process the message and apply the to CRS and ESB |
|
@HotelCode | 1 | Hotel Code for which the AvailStatusMessages apply |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage | 1 | AvailStatusMessages is an Array element of Availbility message element to apply the Availbility message in CRS and ESB endpoint, This AvailStatusMessage will be repeated to apply for more AvailStatusMessage to update. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl | 1 | The StatusApplicationControl element have the content like Begin date , End date , InvTypeCode (RoomTypecode), RatePlancode, Dayofweek days. It allows to apply the Restruction on roomType and Ratecode for the given Daterange or alos apply for the specific Day of week, The Day of week (Mon="true" Tue="false" Weds="true" Thur="true" Fri="false" Sat="true" Sun="true") is Optional. |
|
@Start | 1 | The Start date in which the availability update is being send. |
|
@End | 1 | The End date in which the availability update is being send. |
|
@InvTypeCode | 1 | This is the room type code for which the availability update is being send. |
|
@Mon ,@Tue,@Weds,@Thur,@Fri ,@Sat,@Sun | 0..1 | The day of the week indicators are used to communicate which days of the week the update pertains to. If one is sent, they must all be sent. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay | 1 | The LengthOfStay will be set for the Possible values SetMinLOS, SetMaxLOS, RemoveMaxLOS, RemoveMinLOS for the TimeUnit in Day. |
|
@ArrivalDateBased | 1 | Indicator for if the LOS is Arrival-based, Based on the True and False we set the Restriction Update Type, If ArrivalDateBased = false then we will set the S_MaxLOS and S_MinLOS based on the LengthofStayMessageType. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay / LengthOfStay | 1 | The LengthOfStay will be set for the Possible values SetMinLOS, SetMaxLOS, RemoveMaxLOS, RemoveMinLOS for the TimeUnit in Day. |
|
@MinMaxMessageType | 0..1 | Indicator for which operation is taking place for the SetMinLOS,SetMaxLOS,RemoveMaxLOS,RemoveMinLOS | SetMinLOS, SetMaxLOS, RemoveMaxLOS, RemoveMinLOS |
@Time | 0..1 | The Time element value count is in Days apply to the LengthOfStay |
|
@TimeUnit | 0..1 | Inside 'LengthsOfStay' element, only 'Day' is supported for TimeUnit. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / UniqueID | 1 | The UniqueID attributes have the Element Type and ID that will post to ESB to identify the AvailMessage. |
|
@Type | 1 | Refers to OTA code list UIT – nr 16 = Reference. This is used to identify each single rate plan message |
|
@ID | 1 | ID is a unique incremental number for each RoomType or Rateplan message that identifies the specific message. |
|
OTA_HotelAvailNotifRQ (Set LOS) Sample
OTA_HotelAvailNotifRQ (Set Restriction) Elements & Attributes
Element | @Attribute | Num | Description/Contents | Origin | Value |
OTA_HotelAvailNotifRQ | 1 | Root element of the message. |
|
@EchoToken | 0..1 | Optional, going to send the EchoToken value. |
|
@TimeStamp | 1 | Time of the transaction. |
|
@Version | 1 | version for the Availbility message. |
|
@TransactionIdentifier |
| It is not used to pass for ESB and CRS. |
|
@MessageContentCode | 1 | Mandatory, MessageContentCode= 6 is process to CRS and ESB for the Restriction message update, Dont pass the MessageContentCode =7, its for LRV data and we dont used for the GenRMS. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages | 1 | Container for AvailStatusMessage elements have the Hotelcode in it to process the message and apply the to CRS and ESB |
|
@HotelCode | 1 | Hotel Code for which the AvailStatusMessages apply |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage | 1 | AvailStatusMessages is an Array element of Availbility message element to apply the Availbility message in CRS and ESB endpoint, This AvailStatusMessage will be repeated to apply for more AvailStatusMessage to update. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl | 1 | The StatusApplicationControl element have the content like Begin date , End date , InvTypeCode (RoomTypecode), RatePlancode, Dayofweek days. It allows to apply the Restruction on roomType and Ratecode for the given Daterange or alos apply for the specific Day of week, The Day of week (Mon="true" Tue="false" Weds="true" Thur="true" Fri="false" Sat="true" Sun="true") is Optional. |
|
@Start | 1 | The Start date in which the availability update is being send. |
|
@End | 1 | The End date in which the availability update is being send. |
|
@InvTypeCode | 1 | This is the room type code for which the availability update is being send. |
|
@RatePlanCode | 1 | This is the RatePlancode for which the availability update is being send. |
|
@Mon ,@Tue,@Weds,@Thur,@Fri ,@Sat,@Sun | 0..1 | The day of the week indicators are used to communicate which days of the week the update pertains to. If one is sent, they must all be sent. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / RestrictionStatus | 1 | RestrictionStatus is an Array element of Availbility message element to apply the Availbility message in CRS and ESB endpoint, This AvailStatusMessage will be repeated to apply for more AvailStatusMessage to update. |
|
@Status | 1 | It used to described the Staus of the Restriction to be apply The Status is either Open or close and same will be posted on CRS and ESB. |
|
@Restriction | 1 | The Restriction element is used to set the Restriction at Master,Arrival Departure level for RoomType or Ratecode, it will be post to ESB and CRS to apply Restrciton update. | Master, Arrival, Departure |
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / UniqueID | 1 | The UniqueID attributes have the Element Type and ID that will post to ESB to identify the AvailMessage |
|
@Type | 1 | Refers to OTA code list UIT – nr 16 = Reference. This is used to identify each single rate plan message |
|
@ID | 1 | ID is a unique incremental number for each RoomType or Rateplan message that identifies the specific message. |
|
OTA_HotelAvailNotifRQ (Set Restriction) Sample
OTA_HotelAvailNotifRQ (Set Restriction - Combined) Elements & Attributes
Element | @Attribute | Num | Description/Contents | Origin | Value |
OTA_HotelAvailNotifRQ | 1 | Root element of the message. |
|
@EchoToken | 0..1 | Optional, going to send the EchoToken value. |
|
@TimeStamp | 1 | Time of the transaction |
|
@Version | 1 | Version for the Availbility message. |
|
@TransactionIdentifier | 1 | It is not used to pass for ESB and CRS. |
|
@MessageContentCode | 1 | Mandatory, MessageContentCode= 6 is process to CRS and ESB for the Restriction message update, Dont pass the MessageContentCode =7, its for LRV data and we dont used for the GenRMS |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages | 1 | Container for AvailStatusMessage elements have the Hotelcode in it to process the message and apply the to CRS and ESB. |
|
@HotelCode | 1 | Hotel Code for which the AvailStatusMessages apply |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage | 1 | AvailStatusMessages is an Array element of Availbility message element to apply the Availbility message in CRS and ESB endpoint, This AvailStatusMessage will be repeated to apply for more AvailStatusMessage to update. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl | 1 | The StatusApplicationControl element have the content like Begin date , End date , InvTypeCode (RoomTypecode), RatePlancode, Dayofweek days. It allows to apply the Restruction on roomType and Ratecode for the given Daterange or alos apply for the specific Day of week, The Day of week (Mon="true" Tue="false" Weds="true" Thur="true" Fri="false" Sat="true" Sun="true") is Optional. |
|
@Start | 1 | The startdate in which the availability update is being send. |
|
@End | 1 | The startdate in which the availability update is being send. |
|
@InvTypeCode | 1 | This is the RoomType Code for which the availability update is being send. |
|
@RatePlanCode | 1 | This is the RatePlancode for which the availability update is being send. |
|
@Mon ,@Tue,@Weds,@Thur,@Fri ,@Sat,@Sun | 0..1 | The day of the week indicators are used to communicate which days of the week the update pertains to. If one is sent, they must all be sent. |
|
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / RestrictionStatus | 1 | RestrictionStatus is an Array element of Availbility message element to apply the Availbility message in CRS and ESB endpoint, This AvailStatusMessage will be repeated to apply for more AvailStatusMessage to update. |
|
@Status | 1 | It used to described the Staus of the Restriction to be apply The Status is either Open or close and same will be posted on CRS and ESB. |
|
@Restriction | 1 | The Restriction element is used to set the Restriction at Master,Arrival Departure level for RoomType or Ratecode, it will be post to ESB and CRS to apply Restrciton update. | Master, Arrival, Departure |
OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / UniqueID | 1 | The UniqueID attributes have the Element Type and ID that will post to ESB to identify the AvailMessage |
|
@Type | 1 | Refers to OTA code list UIT – nr 16 = Reference. This is used to identify each single rate plan message |
|
@ID | 1 | ID is a unique incremental number for each RoomType or Rateplan message that identifies the specific message |
|
OTA_HotelAvailNotifRQ (Set Restriction - Combined) Sample
OTA_HotelAvailNotifRS Sample (Success)
OTA_HotelAvailNotifRS Sample (Error)
OTA_HotelAvailNotifRS Sample (Warning)