# XML Usage specification

| <p> </p><p><strong>Element/@Attribute</strong></p>                                                                                                                                                                | <p><strong>Description</strong></p><p><strong>Parent XPath</strong></p>                                                                                                                                                                                  | **Occurrences** |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- |
| <p>@TimeStamp</p><p> <strong>/OTA\_HotelResNotifRS</strong></p>                                                                                                                                                   | <p> </p><p>Response Time Stamp</p>                                                                                                                                                                                                                       | 1               |
| <p>@Version</p><p> <strong>/OTA\_HotelResNotifRS</strong></p>                                                                                                                                                     | <p> </p><p>Mandatory</p>                                                                                                                                                                                                                                 | 1               |
| <p>HotelReservations</p><p><strong>/OTA\_HotelResNotifRS</strong></p>                                                                                                                                             | Must be present in case of Success response                                                                                                                                                                                                              | 1               |
| <p>HotelReservation</p><p> <strong>/OTA\_HotelResNotifRS/ HotelReservations</strong></p>                                                                                                                          | One for each reservation notification received in the request                                                                                                                                                                                            | 1               |
| <p>ResGlobalInfo</p><p><strong>/OTA\_HotelResNotifRS/HotelReservations/HotelReservation</strong></p>                                                                                                              | <p> </p><p>A container for various information that affects the Reservation as a whole</p>                                                                                                                                                               | 1               |
| <p>HotelReservationIDs</p><p><strong>/OTA\_HotelResNotifRS/HotelReservations/HotelReservation/ResGlobalInfo</strong></p>                                                                                          | A Collection of HotelReservationID objects for a given reservation.                                                                                                                                                                                      | 1               |
| <p> </p><p>HotelReservationID</p><p><strong>/OTA\_HotelResNotifRS/HotelReservations/HotelReservation/ResGlobalInfo/</strong></p><p><strong>HotelReservationIDs</strong></p>                                       | The HotelReservationID object contains various unique(ReservationID)  and non-unique (ConfirmationID, CancellationID) identifiers that the trading partners associate with a given reservation. Both the PMS and RG Bridge Booking ID will be returned . | 2..3            |
| <p> @ResID\_Type</p><p> </p><p><strong>/OTA\_HotelResNotifRS/</strong></p><p><strong>HotelReservations/HotelReservation/ResGlobalInfo/</strong></p><p><strong>HotelReservationIDs/HotelReservationID</strong></p> | <p>Defines the type of Reservation ID(e.g. reservation number, cancellation number).</p><p>Refer to Open Travel Code List UniqueID</p><p>Type (UIT) 3 for PMS Confirm ID and 14 for RG BridgeID</p>                                                      | 1               |
| <p>@ResID\_Value</p><p> </p><p><strong>/OTA\_HotelResNotifRS/</strong></p><p><strong>HotelReservations/HotelReservation/ResGlobalInfo/</strong></p><p><strong>HotelReservationIDs/HotelReservationID</strong></p> | Actual value associated with ResID\_Type as generated by the system that is the source of the ResID\_Type                                                                                                                                                | 1               |
| <p>Errors</p><p> </p><p><strong>/OTA\_HotelResNotifRS</strong></p>                                                                                                                                                | Included in response only if there are errors in processing                                                                                                                                                                                              | 0..1            |
| <p>Error</p><p> <strong>/OTA\_HotelResNotifRS/Errors</strong></p>                                                                                                                                                 | Response will include as many errors as required. At least one Error element must be present if the response contains Errors.                                                                                                                            | 1               |
| <p>@Code</p><p> </p><p><strong>/OTA\_HotelResNotifRS/Errors/Error</strong></p>                                                                                                                                    | Error code should be one of the codes listed in Error Codes below.                                                                                                                                                                                       | 1               |
| <p>@ShortText</p><p> </p><p><strong>/OTA\_HotelResNotifRS/Errors/Error</strong></p>                                                                                                                               | <p> </p><p>Free Text</p>                                                                                                                                                                                                                                 | 1               |
| <p>@Status</p><p> </p><p><strong>/OTA\_HotelResNotifRS/Errors/Error</strong></p>                                                                                                                                  | <p> </p><p>Should be set to String “<em>NotProcessed</em>”</p>                                                                                                                                                                                           | 1               |
| <p>Success</p><p> </p><p><strong>/OTA\_HotelResNotifRS</strong></p>                                                                                                                                               | Presence of this element indicates a successful Response and in case of a success Response the Error element should not be present.                                                                                                                      | 0..1            |
| <p>Warnings</p><p> </p><p><strong>/OTA\_HotelResNotifRS</strong></p>                                                                                                                                              | Response may include warnings along with a Success response. Warnings are not allowed with a response that contains errors.                                                                                                                              | 0..1            |
| <p> Warning</p><p> </p><p><strong>/OTA\_HotelResNotifRS/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.                                                                                                                     | 1               |
| <p>@Code</p><p> </p><p><strong>/OTA\_HotelResNotifRS/Warnings/Warning</strong></p>                                                                                                                                | All Warnings will have the code set as “3000”                                                                                                                                                                                                            | 1               |
| <p>@ShortText</p><p> </p><p><strong>/OTA\_HotelResNotifRS/Warnings/Warning</strong></p>                                                                                                                           | <p> </p><p>Free Text</p>                                                                                                                                                                                                                                 | 1               |
| <p>@Status</p><p> </p><p><strong>/OTA\_HotelResNotifRS/Warnings/Warning</strong></p>                                                                                                                              | <p> </p><p>Should be set to String <em>“Processed</em>”.</p>                                                                                                                                                                                             | 0..1            |


---

# 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-supply-push/interface-specifications-reservation-notification-service/operations/reservation-notification/xml-usage-specification-1.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.
