> For the complete documentation index, see [llms.txt](https://developer.rategain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.rategain.com/our-products/channel-manager/rg-bridge-supply-push/interface-specifications-availability-and-rates-notification-service/operations/availability-notification/ota_hotelavailnotifrs.md). Agents can also search and read this documentation through its [MCP server](https://developer.rategain.com/~gitbook/mcp).

# OTA\_HotelAvailNotifRS

When RG Bridge processes a `OTA_HotelAvailNotifRQ` message, it responds with a `OTA_HotelAvailNotifRS` message. Here’s a summary of the response handling process:

1. **Normal Response**:
   * **OTA\_HotelAvailNotifRS**: Sent in response to the request, confirming receipt and processing of the availability update.
2. **Exception Handling**:
   * **REST Fault**: If a REST-level fault occurs, a REST fault message is sent.
   * **Application Level Validation**: If RG Bridge cannot validate a message at the application level, it still returns an `OTA_HotelAvailNotifRS`.
3. **Screening for Business Rules**:
   * Messages are screened for conformance to basic business rules.
   * RG Bridge ensures that the message pertains to a hotel that is enabled on RG Bridge.
   * Values are screened to ensure they meet specified business constraints.
4. **Failure Indication**:
   * Response messages indicating failures will contain at least one error element.
   * Multiple error elements may be returned if there are several issues.
5. **Successful Receipt**:
   * If the request is received correctly and screened for consistency, RG Bridge returns an `OTA_HotelAvailNotifRS` a message with a single `Success` element.
   * Note: Receiving a success message does not guarantee that updates will be made on all OTAs. Errors may still occur due to business rules at RG, OTA, or communication failures.

**Table D: Response indicating success**

```xml
<OTA_HotelAvailNotifRS xmlns="
http://www.opentravel.org/OTA/2003/05

"
 
Version="1.100"
EchoToken="879791878"
Target="Production"
TimeStamp="2011-10-01T16:56:20-05:00">


 <Success/>
</OTA_HotelAvailNotifRS>
```

**Table E: Response indicating failure**

```xml
 <OTA_HotelAvailNotifRS xmlns="
http://www.opentravel.org/OTA/2003/05

"
 
Version="1.100"
EchoToken="879791878"
Target="Production"
TimeStamp="2011-10-01T16:56:20-05:00">
 <Errors>
 <Error Type="3"
            Code="320"
            RecordID="A1K">
         Invalid Data in RestrictionStatus Field
 </Error>
 </Errors>
</OTA_HotelAvailNotifRS>
```

Hotels can access the Request logs to view the status of each update received through the RG Bridge interface on the RG user interface. Here are the key points:

* **Request Log**: Displays the overall status of the message.
* **Channel-Level Processing Logs**: It is possible to view detailed logs of the channel-level processing.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.rategain.com/our-products/channel-manager/rg-bridge-supply-push/interface-specifications-availability-and-rates-notification-service/operations/availability-notification/ota_hotelavailnotifrs.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
