AI-generated Key Takeaways
- 
          The OTA_HotelAvailNotifRQmessage is used to update room rate availability and restrictions.
- 
          The message uses a standard XML structure with specific elements for defining availability, restrictions, and the scope of these updates. 
- 
          Key attributes within the message specify details such as the property, date range, room type, rate plan, and the type of restriction or availability being applied. 
- 
          Updates are applied as deltas, meaning new restrictions are added or existing ones are replaced without affecting others. 
- 
          The OTA_HotelAvailNotifRSmessage is the response, indicating either success or listing any errors encountered during the update process.
Requests
Syntax
The OTA_HotelAvailNotifRQ message uses the following syntax:
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="message_ID"
                       TimeStamp="timestamp"
                       Version="3.0">
  <POS>
    <Source>
      <RequestorID ID="partner_key"/>
    </Source>
  </POS>
  <AvailStatusMessages HotelCode="HotelID">
    <AvailStatusMessage BookingLimit="integer">
      <StatusApplicationControl Start="YYYY-MM-DD"
                                End="YYYY-MM-DD"
                                Mon="boolean"
                                Tue="boolean"
                                Weds="boolean"
                                Thur="boolean"
                                Fri="boolean"
                                Sat="boolean"
                                Sun="boolean"
                                InvTypeCode="RoomID"/>
    </AvailStatusMessage>
    <AvailStatusMessage>
      <StatusApplicationControl Start="YYYY-MM-DD"
                                End="YYYY-MM-DD"
                                Mon="boolean"
                                Tue="boolean"
                                Weds="boolean"
                                Thur="boolean"
                                Fri="boolean"
                                Sat="boolean"
                                Sun="boolean"
                                InvTypeCode="RoomID"
                                RatePlanCode="PackageID"/>
      <LengthsOfStay FixedPatternLength="integer">
        <LengthOfStay Time="integer"
                      TimeUnit="[Day]"
                      MinMaxMessageType="[SetMaxLOS|SetMinLOS|SetForwardMaxStay|
                      SetForwardMinStay|FullPatternLOS]">
          <LOS_Pattern FullPatternLOS="pattern"/>
        </LengthOfStay>
      </LengthsOfStay>
      <RestrictionStatus Status="[Close|Open]"
                         Restriction="[Arrival|Departure|Master]"
                         MaxAdvancedBookingOffset="integer_or_duration"
                         MinAdvancedBookingOffset="integer_or_duration"/>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
Each <OTA_HotelAvailNotifRQ> message is treated as a delta update.
For each property, date, room, and package specified in
<StatusApplicationControl>, an update to any previously defined restriction
only replaces the value of the same restriction, whereas adding new restriction
does not affect other previously defined restrictions. For example, if a minimum
length of stay for 2 days was previously defined and then a new message
containing only a maximum length of stay for 7 days was updated, then this
action wouldn't erase the previous minimum length of stay value.
Elements and Attributes
The OTA_HotelAvailNotifRQ message has the following elements and attributes:
| Element / @Attribute | Occurrences | Type | Description | 
|---|---|---|---|
| OTA_HotelAvailNotifRQ | 1 | Complex element | The root element for a message that defines room rate availability. | 
| OTA_HotelAvailNotifRQ / @xmlns | 0..1 | string (URI) | The XML namespace. | 
| OTA_HotelAvailNotifRQ / @EchoToken | 1 | string | A unique identifier for this request message. This value is returned
        in the response message. Allowed characters are a-z,A-Z,0-9,_(underscore),
        and-(dash). | 
| OTA_HotelAvailNotifRQ / @TimeStamp | 1 | DateTime | The creation date and time of this message. | 
| OTA_HotelAvailNotifRQ / @Version | 1 | decimal | The OpenTravel message version. | 
| OTA_HotelAvailNotifRQ / POS | 0..1 | POS | A container for specifying the partner account for this message. It is typically used if your backend provides price feeds for multiple partner accounts. | 
| OTA_HotelAvailNotifRQ / POS/ Source | 1 | Source | Required if <POS>is present. A container for the<RequestorID>. | 
| OTA_HotelAvailNotifRQ / POS / RequestorID | 1 | RequestorID | Required if <POS>is present. Defines the partner
        account. | 
| OTA_HotelAvailNotifRQ / POS / RequestorID / @ID | 1 | string | The partner account for this message. This string value is the Partner keyvalue listed on the 
        Account settings page in Hotel Center.Note: If you have a backend that provides feeds for multiple
          accounts, this value needs to match the  | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages | 1 | AvailStatusMessages | A container for one or more <AvailStatusMessage>elements. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / @HotelCode | 1 | string | The unique identifier for the property. This value must match the Hotel ID specified using <id> in the <listing> element in the Hotel List Feed. The Hotel ID is also listed in Hotel Center. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage | 1..n | AvailStatusMessage | Defines room rate availability and restrictions for different time ranges for a single property. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / @BookingLimit | 1 | integer | Note: The 
        OTA_HotelInvCountNotifRQ message is preferred over setting this
        attribute.  The number of remaining rooms that can be booked for the
        date range in  Must be equal to or greater than 0. Defaults to 0 if negative or not provided. Note: To establish room availability for a given
         | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl | 1 | StatusApplicationControl | Defines the date range, as well as the identifiers for the room type
        — InvTypeCodeand rate plan
        —RatePlanCode. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl / @Start | 1 | Date | The starting date based on the property's time zone that is inclusive of the date range. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl / @End | 1 | Date | The ending date (based on the property's time zone), inclusive of the
        date range. Must be equal or greater than the startvalue.
        Ifstartandendare equal, the update applies
        to that date. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl / @Mon | 0..1 | boolean | Set to trueor1to explicitly include Mondays.If set to  | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl / @Tue | 0..1 | boolean | Set to trueor1to explicitly include Tuesdays.If set to  | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl / @Weds | 0..1 | boolean | Set to trueor1to explicitly include Wednesdays.If set to  | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl / @Thur | 0..1 | boolean | Set to trueor1to explicitly include Thursdays.If set to  | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl / @Fri | 0..1 | boolean | Set to trueor1to explicitly include Fridays.If set to  | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl / @Sat | 0..1 | boolean | Set to trueor1to explicitly include Saturdays.If set to  | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl / @Sun | 0..1 | boolean | Set to trueor1to explicitly include Sundays.If set to  | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl / @InvTypeCode | 1 | string | The unique identifier for the inventory (room type). This value maps
        to <RoomID>in a Transactions
        (Property Data) message. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / StatusApplicationControl / @RatePlanCode | 0..1 | string | A unique identifier for the rate plan. This identifier maps to the
        value of the <PackageID>in a Transaction (Property Data)
        message. The rate plan is further defined and referred to
        in<StatusApplicationControl>in both<OTA_HotelRateAmountNotifRQ>and<OTA_HotelAvailNotifRQ>messages.The  | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay | 0..1 | LengthsOfStay | A container for defining LOS restrictions. Must not be present if <AvailStatusMessage>includes theBookingLimitattribute. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay / @FixedPatternLength | 0..1 | integer | The length of the pattern defined in FullPatternLOS.Note: This attribute must be set when using
         | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay / LengthOfStay | 1..n | LengthOfStay | Defines restrictions on the length of stay. When using more than one <LengthOfStay>element, each one must specify a
        differentMinMaxMessageTypevalue. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay / LengthOfStay / @Time | 0..1 | integer | Unit value of the length of stay measurement. Note that a value of
        zero is treated as no restriction. For example, <LengthOfStay
        Time="0" MinMaxMessageType="SetMaxLOS">means no maximum
        length of stay.Note: This attribute must be set unless using
         | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay / LengthOfStay / @TimeUnit | 0..1 | enum | The time unit. Defaults to "Day"if not provided. Valid
      value is:
 "Day"unit is equal to 1 night stay. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay / LengthOfStay / @MinMaxMessageType | 1 | enum | Various types of length of stay restrictions. SetMaxLOS,SetMinLOS, andFullPatternLOSare arrival
        based.SetForwardMinStayand
        SetForwardMaxStayare stay-through based. Maximum values must be
        greater than or equal to minimum values. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay / LengthOfStay / LOS_Pattern | 0..1 | LOS_Pattern | Defines the length of stay restriction pattern. Note: This element must be present when using
         | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / LengthsOfStay / LengthOfStay / LOS_Pattern / @FullPatternLOS | 1 | string | A sequence of YandNcharacters indicating
        whether each length of stay is allowed, from one night to the value inFixedPatternLength. Any length of stay greater than
        FixedPatternLengthinherits the value at the final position. For
        example, withFixedPatternLength="4"and
        FullPatternLOS="YNYN", only lengths of stay 1 and 3 are allowed. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / RestrictionStatus | 0..1 | RestrictionStatus | Defines itinerary restrictions. Must not be present if <AvailStatusMessage>includes theBookingLimitattribute. | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / RestrictionStatus / @Status | 0..1 | enum | Indicates whether the type of restriction specified by the Restrictionattribute is open or closed. Valid values
        are:
 
 OpenandClosewithArrival:
          This combination specifies which dates in the itinerary are available
          for check-inOpenandClosewithDeparture:
          This combination specifies which dates in the itinerary are available
          for check-outThe  For example, for a stay from April 1st-4th where April 2nd-4th is closed to arrival is still bookable. Note: 
 | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / RestrictionStatus / @Restriction | 0..1 | enum | This attribute is required if  Valid values are: 
 Both  For example, for a three-night stay with an arrival date of
          April 1st, the full itinerary is April 1st-4th. The  Note: If the  | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / RestrictionStatus / @MinAdvancedBookingOffset | 0..1 | integer or duration | Minimum duration before the arrival date (in the property's local
        time) for which this room rate can be booked. Valid value types are: 
 | 
| OTA_HotelAvailNotifRQ / AvailStatusMessages / AvailStatusMessage / RestrictionStatus / @MaxAdvancedBookingOffset | 0..1 | integer or duration | Maximum duration before the arrival date (in the property's local
        time) for which this room rate can be booked. Valid value types are: 
 | 
Examples
LoS arrival date
Set minimum and maximum lengths of stay (based on arrival date).
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-07-26"
                                End="2023-07-31"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <LengthsOfStay>
        <LengthOfStay Time="5" MinMaxMessageType="SetMaxLOS"/>
        <LengthOfStay Time="2" MinMaxMessageType="SetMinLOS"/>
      </LengthsOfStay>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
LoS duration
Set minimum and maximum lengths of stay (based on stay-through).
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-07-26"
                                End="2023-07-31"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <LengthsOfStay>
        <LengthOfStay Time="5" MinMaxMessageType="SetForwardMaxStay"/>
        <LengthOfStay Time="2" MinMaxMessageType="SetForwardMinStay"/>
      </LengthsOfStay>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
Remove LoS restrictions
Setting Time="0" on <LengthOfStay> indicates that there are no
restrictions for the specified length of stay. For example,
<LengthOfStay Time="0" MinMaxMessageType="SetMaxLOS"/> means there is no
maximum length of stay restriction.
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2024-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2024-07-26"
                                End="2024-07-31"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <LengthsOfStay>
        <LengthOfStay Time="0" MinMaxMessageType="SetMaxLOS"/>
      </LengthsOfStay>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
Departure restriction
Set a closed-to-departure restriction. (This prevents itineraries with check-out on specified dates.)
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-07-26"
                                End="2023-07-31"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <RestrictionStatus Status="Close" Restriction="Departure"/>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
Arrival Restriction
Set a closed-to-arrival restriction. (This prevents itineraries with check-in on specified dates.)
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-07-26"
                                End="2023-07-31"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <RestrictionStatus Status="Close" Restriction="Arrival"/>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
Open availability dates
Open availability for a room type and rate plan on specified dates.
Note: nightly rates are also needed, along with an inventory count greater than 0 for the room type, before prices are completely available.
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-07-26"
                                End="2023-07-31"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <RestrictionStatus Status="Open" Restriction="Master"/>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
Close availability dates
Close availability for a room type and rate plan on specified dates. (This is also known as a "stop sell.")
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-07-26"
                                End="2023-07-31"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <RestrictionStatus Status="Close" Restriction="Master"/>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
Advance booking restrictions
Set minimum and maximum advanced booking window restrictions, applied only on weekends.
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-01-01"
                                End="2023-06-30"
                                Mon=”false”
                                Tue=”false”
                                Weds=”false”
                                Thur=”false”
                                Fri=”false”
                                Sat=”true”
                                Sun=”true”
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <RestrictionStatus MaxAdvancedBookingOffset="30"
                         MinAdvancedBookingOffset="2"/>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
Cutoff booking
Apply a cutoff for booking on the arrival date at 18:00 in the hotel's local time.
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-01-01"
                                End="2023-06-30"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <RestrictionStatus MinAdvancedBookingOffset="P0DT6H0M"/>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
Multiple restrictions
Set multiple restrictions over the same dates for a room type and rate plan.
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-07-26"
                                End="2023-07-31"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <RestrictionStatus Status="Open" Restriction="Master"/>
    </AvailStatusMessage>
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-07-26"
                                End="2023-07-31"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <RestrictionStatus Status="Close" Restriction="Arrival"/>
    </AvailStatusMessage>
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-07-26"
                                End="2023-07-31"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <RestrictionStatus Status="Close" Restriction="Departure"/>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
Booking limit
Set inventory counts for a room type over specified dates.
Note: The OTA_HotelInvCountNotifRQ message is preferred over setting this attribute.
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage BookingLimit="5">
      <!-- Note: RatePlanCode must not be specified here when setting inventory counts. -->
      <StatusApplicationControl Start="2023-07-26"
                                End="2023-07-31"
                                InvTypeCode="RoomID_1"/>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
FullPatternLoS
Set a full pattern length-of-stay restriction.
For a check-in on July 26, 2023, only lengths-of-stay of 2, 4, and 6 are allowed. Lengths of stay 1, 3, 5, and 7+ are unavailable.
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
                       EchoToken="12345678"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <AvailStatusMessages HotelCode="Property_1">
    <AvailStatusMessage>
      <StatusApplicationControl Start="2023-07-26"
                                End="2023-07-26"
                                InvTypeCode="RoomID_1"
                                RatePlanCode="PackageID_1"/>
      <LengthsOfStay FixedPatternLength="7">
        <LengthOfStay MinMaxMessageType="FullPatternLOS">
          <LOS_Pattern FullPatternLOS="NYNYNYN"/>
        </LengthOfStay>
      </LengthsOfStay>
    </AvailStatusMessage>
  </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>
Responses
Syntax
The OTA_HotelAvailNotifRS message uses the following syntax:
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRS xmlns="http://www.opentravel.org/OTA/2003/05"
                       TimeStamp="timestamp"
                       EchoToken="echo_token"
                       Version="3.0">
  <!-- Either Success or Errors will be populated. -->
  <Success/>
  <Errors>
    <Error Type="12" Status="NotProcessed" ShortText="issue_code">issue_description</Error>
  </Errors>
</OTA_HotelAvailNotifRS>
Elements and Attributes
The OTA_HotelAvailNotifRS message has the following elements and attributes:
| Element / @Attribute | Occurrences | Type | Description | 
|---|---|---|---|
| OTA_HotelAvailNotifRS | 1 | Complex element | The root element for a response to an availability message. | 
| OTA_HotelAvailNotifRS / @TimeStamp | 1 | DateTime | The creation date and time of this message. | 
| OTA_HotelAvailNotifRS / @EchoToken | 1 | string | The unique identifier from the associated OTA_HotelAvailNotifRQmessage. | 
| OTA_HotelAvailNotifRS / Success | 0..1 | Success | Indicates that the OTA_HotelAvailNotifRQmessage was
        processed successfully.Either  | 
| OTA_HotelAvailNotifRS / Errors | 0..1 | Errors | A container for one or more issues encountered while processing the OTA_HotelAvailNotifRQmessage.Either  | 
| OTA_HotelAvailNotifRS / Errors / Error | 1..n | Error | The description of an error encountered while processing the OTA_HotelAvailNotifRQmessage. Details on these errors can
        be found in 
        Feed Status Error Messages. | 
| OTA_HotelAvailNotifRS / Errors / Error / @Type | 1 | integer | The OpenTravel Alliance EWT (Error Warning Type) associated with the
      error. Only the value 12 (Processing exception)is used. | 
| OTA_HotelAvailNotifRS / Errors / Error / @Code | 1 | integer | The OpenTravel Alliance ERR (Error Code) associated with the error.
      Only the value 450 (Unable to process)is used. | 
| OTA_HotelAvailNotifRS / Errors / Error / @Code | 1 | enum | The status of the original request. Only the value NotProcessedis used. | 
| OTA_HotelAvailNotifRS / Errors / Error / @ShortText | 1 | string | The Google identifier for the issue. Details on these errors can be found in Feed Status Error Messages. | 
Examples
Success
The following is a response to a successfully processed OTA_HotelAvailNotifRQ message.
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRS xmlns="http://www.opentravel.org/OTA/2003/05"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <Success/>
</OTA_HotelAvailNotifRS>
Errors
The following is a response to a OTA_HotelAvailNotifRQ message not processed due to errors.
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelAvailNotifRS xmlns="http://www.opentravel.org/OTA/2003/05"
                       TimeStamp="2023-07-21T20:50:37-05:00"
                       Version="3.0">
  <Errors>
    <Error Type="12" Code="450" Status="NotProcessed" ShortText="8001">Example</Error>
  </Errors>
</OTA_HotelAvailNotifRS>