# 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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.rategain.com/our-products/channel-manager/rg-bridge-reservation-retrieval-pull/operations/reservation-confirmation/xml-usage-specification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
