> 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-reservation-retrieval-pull/operations/reservation-confirmation/xml-usage-specification.md). Agents can also search and read this documentation through its [MCP server](https://developer.rategain.com/~gitbook/mcp).

# XML Usage specification

**Reservation confirmation request; XML Usage**

| <p><strong>Element/@Attribute</strong></p><p><strong>Parent XPath</strong></p>                                                                                                                                                        | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>@TimeStamp</p><p><strong>/OTA\_NotifReportRQ</strong></p>                                                                                                                                                                          | Time of the transaction in xml schema date-time format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p>@Version</p><p><strong>/OTA\_NotifReportRQ</strong></p>                                                                                                                                                                            | The OTA schema version. Mandatory. Use “3.000”.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p>@Target</p><p><strong>/OTA\_NotifReportRQ</strong></p>                                                                                                                                                                             | Set to “Production”.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p>NotifDetails</p><p><strong>/OTA\_NotifReportRQ</strong></p>                                                                                                                                                                        | Details of the notification.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p>HotelNotifReport</p><p><strong>/OTA\_NotifReportRQ/NotifDetails</strong></p>                                                                                                                                                       | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p>HotelReservations</p><p><strong>/OTA\_NotifReportRQ/NotifDetails/HotelNotifReport</strong></p>                                                                                                                                     | Contains the reservations.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <p>HotelReservation</p><p><strong>/OTA\_NotifReportRQ/NotifDetails/HotelNotifReport /HotelReservations</strong></p>                                                                                                                   | One for each reservation retrieved.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <p>POS</p><p> </p><p><strong>/OTA\_NotifReportRQ/NotifDetails/HotelNotifReport</strong></p><p><strong>/HotelReservations/HotelReservation</strong></p>                                                                                | <p>Element for including the channel from which booking had been received. This information was provided in /OTA\_HotelResNotifRQ/POS</p><p><strong>A simple source record would look like this:</strong></p><p>\<POS></p><p>  \<Source></p><p>    \<BookingChannel></p><p>      \<CompanyName Code=”LTA1”> Famous OTA</p><p>      \</CompanyName></p><p>    \</BookingChannel></p><p>\</Source></p><p><br></p><p>This indicates that the reservation was retrieved from the OTA “Famous OTA” whose CG Bridge code is LTA1.</p> |
| <p>ResGlobalInfo</p><p><strong>/OTA\_NotifReportRQ/NotifDetails/HotelNotifReport</strong></p><p><strong>/HotelReservations/HotelReservation</strong></p>                                                                              | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p>HotelReservationIDs</p><p><br></p><p><strong>/OTA\_NotifReportRQ/NotifDetails/HotelNotifReport /HotelReservations/HotelReservation/ResGlobalInfo</strong></p>                                                                      | Reservations IDs. Both the PMS and RGBridge Booking IDs should be included.                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p>HotelReservationID</p><p><strong>/OTA\_NotifReportRQ/NotifDetails/HotelNotifReport</strong></p><p><strong>/HotelReservations/HotelReservation/ResGlobalInfo/ HotelReservationIDs</strong></p>                                      | Reservations ID element.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <p>@ResID\_Type</p><p><strong>/OTA\_NotifReportRQ/NotifDetails/HotelNotifReport</strong></p><p><strong>/HotelReservations/HotelReservation/ResGlobalInfo/</strong></p><p><strong>HotelReservationIDs/HotelReservationID</strong></p>  | 3 for PMS Confirm ID and 14 for RGBridge ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p>@ResID\_Value</p><p><strong>/OTA\_NotifReportRQ/NotifDetails/HotelNotifReport</strong></p><p><strong>/HotelReservations/HotelReservation/ResGlobalInfo/</strong></p><p><strong>HotelReservationIDs/HotelReservationID</strong></p> | Reservation ID.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p>Errors</p><p><strong>/OTA\_NotifReportRQ</strong></p>                                                                                                                                                                              | Included in response only if there are errors in processing. If there are errors in the processing of reservations, it is suggested that an OTA\_NotifReportRQ message is sent for each reservation that could not be processed. The RGBridge reservation ID must also be set in the HotelReservationIDs node under NotifDetails.                                                                                                                                                                                               |
| <p>Error</p><p><strong>/OTA\_NotifReportRQ/Errors</strong></p>                                                                                                                                                                        | Response will include as many Errors as required. At least one Error element must be present if the response contains Errors                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p>@Type</p><p><strong>/OTA\_NotifReportRQ/Errors/Error</strong></p>                                                                                                                                                                  | Error Type. Should be one of the codes listed in Error Types below.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <p>@Code</p><p><strong>/OTA\_NotifReportRQ/Errors/Error</strong></p>                                                                                                                                                                  | Error code. Should be one of the codes listed in Error Codes below.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <p>@ShortText</p><p><strong>/OTA\_NotifReportRQ/Errors/Error</strong></p>                                                                                                                                                             | Free Text                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <p>@Status</p><p><strong>/OTA\_NotifReportRQ/Errors/Error</strong></p>                                                                                                                                                                | Should be set to String “*NotProcessed*”                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <p>Success</p><p><strong>/OTA\_NotifReportRQ</strong></p>                                                                                                                                                                             | Presence of this element indicates a successful Response and in case of a Success Response the Error element should not be present.                                                                                                                                                                                                                                                                                                                                                                                             |
| <p>Warnings</p><p><strong>/OTA\_NotifReportRQ</strong></p>                                                                                                                                                                            | Response may include warnings along with a Success response. Warnings are not allowed with a response that contains Errors.                                                                                                                                                                                                                                                                                                                                                                                                     |
| <p>Warning</p><p><strong>/OTA\_NotifReportRQ/Warnings</strong></p>                                                                                                                                                                    | Response may include as many Warning as required. At least one Warning element must be present in a response that contains Warnings.                                                                                                                                                                                                                                                                                                                                                                                            |
| <p>@Code</p><p><strong>/OTA\_NotifReportRQ/Warnings/Warning</strong></p>                                                                                                                                                              | All Warnings will have the code set as “3000”                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <p>@ShortText</p><p><strong>/OTA\_NotifReportRQ/Warnings/Warning</strong></p>                                                                                                                                                         | Free Text                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <p>@Status</p><p><strong>/OTA\_NotifReportRQ/Warnings/Warning</strong></p>                                                                                                                                                            | Should be set to *“Processed*”.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |


---

# 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-reservation-retrieval-pull/operations/reservation-confirmation/xml-usage-specification.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.
