# XML Usage Description

**Rate change response XML usage**

| <p><strong>Element/@Attribute</strong></p><p><strong>Parent XPath</strong></p>                                                                                                                                         | **Description**                                                                                                                                                                                                                                                                                                                                                                                           | **Occurrences** |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- |
| <p>@TimeStamp</p><p><strong>/OTA\_HotelRateAmountNotifRQ</strong></p>                                                                                                                                                  | <p> </p><p>Time of the transaction in xml schema date-time format</p>                                                                                                                                                                                                                                                                                                                                     | 1               |
| <p>@EchoToken</p><p><strong>/OTA\_HotelRateAmountNotifRQ</strong></p>                                                                                                                                                  | <p> </p><p> </p><p>Unique identifier to track RQ/RS message</p>                                                                                                                                                                                                                                                                                                                                           | 1               |
| <p>@Target </p><p><strong>/OTA\_HotelRateAmountNotifRQ</strong></p>                                                                                                                                                    | <p> </p><p> </p><p>Always set to “Production”</p>                                                                                                                                                                                                                                                                                                                                                         | 1               |
| <p>@Version</p><p> <strong>/OTA\_HotelRateAmountNotifRQ</strong></p>                                                                                                                                                   | <p> </p><p> </p><p>Always set to “1.0”</p>                                                                                                                                                                                                                                                                                                                                                                | 1               |
| <p>RateAmountMessages</p><p> <strong>/OTA\_HotelRateAmountNotifRQ</strong></p>                                                                                                                                         | Contains list of rate changes messages (RateAmountMessage)                                                                                                                                                                                                                                                                                                                                                | 1               |
| <p>@HotelCode</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p>                                                                                                                               | <p> </p><p>Hotel code of the property whose rate is</p><p>being updated</p>                                                                                                                                                                                                                                                                                                                               | 1               |
| <p>RateAmountMessage</p><p> <strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p>                                                                                                                       | <p> </p><p>The rate change to be made</p>                                                                                                                                                                                                                                                                                                                                                                 | 1..n            |
| <p>StatusApplicationControl</p><p> <strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p><p><strong>/RateAmountMessage</strong></p>                                                                      | The date range, room type code and rate code for which this notification is sent is specified in this element                                                                                                                                                                                                                                                                                             | 1               |
| <p>@Start</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p><p> </p><p><strong>/RateAmountMessage/StatusApplicationControl</strong></p>                                                        | The start date which the availability update is being set                                                                                                                                                                                                                                                                                                                                                 | 1               |
| <p>@End</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages/</strong></p><p><strong>RateAmountMessage/StatusApplicationControl</strong></p>                                                                  | <p> </p><p>The end date for which the availability update is being set</p>                                                                                                                                                                                                                                                                                                                                | 1               |
| <p>@InvCode</p><p> <strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p><p><strong>/RateAmountMessage/StatusApplicationControl</strong></p>                                                             | Identifies the room type for which the availability is being updated. The room type code + rate code identify a unique product for which this update applies.                                                                                                                                                                                                                                             | 1               |
| <p>@RatePlanCode</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p><p><strong>/RateAmountMessage/StatusApplicationControl</strong></p>                                                         | Identifies the rate for which the availability is being updated. If the rate code is not sent, the availability is updated for all the products that have the room type code specified above.                                                                                                                                                                                                             | 1               |
| <p><br></p><p>@Mon @Tue @Weds @Thur @Fri @Sat</p><p>@Sun</p><p> <strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p><p><strong>/RateAmountMessage/StatusApplicationControl</strong></p>                | <p>The day of the week indicators is used to communicate which days of the week the</p><p>update pertains to. For example, if Mon, Tue and Weds are set to"1", and the other days are set to "0", the availability will only be</p><p>updated for Mondays, Tuesdays and Wednesdays.</p><p>Optional. If not set, all are assumed to be set to true. </p><p>NOTE: If one is sent they must all be sent.</p> | 0..1            |
| <p>Rates</p><p> <strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages/RateAmountMessage/</strong></p>                                                                                                                | <p> </p><p>Contains the rate details</p>                                                                                                                                                                                                                                                                                                                                                                  | 1               |
| <p>Rate</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages/RateAmountMessage/Rates</strong></p>                                                                                                             | <p> </p><p>Thechangedratewhich has necessitated this update</p>                                                                                                                                                                                                                                                                                                                                           | 1..n            |
| <p>@CurrencyCode</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages/RateAmountMessage/Rates/Rate</strong></p>                                                                                               | <p> </p><p>Standard 3-character currency code of the rate eg "USD"</p>                                                                                                                                                                                                                                                                                                                                    | 1               |
| <p>BaseByGuestAmts</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages/RateAmountMessage/ Rates/Rate</strong></p>                                                                                            | Contains information about the rates.                                                                                                                                                                                                                                                                                                                                                                     | 1               |
| <p>BaseByGuestAmt</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p><p> </p><p><strong>/RateAmountMessage/ Rates/Rate / BaseByGuestAmts</strong></p>                                           | <p> </p><p> </p><p> </p><p>Contains the rate amounts per guest</p>                                                                                                                                                                                                                                                                                                                                        | 1..n            |
| <p>@AmountBeforeTax</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p><p><strong>/RateAmountMessage/Rates/Rate/BaseByGuestAmts/</strong></p><p><strong>BaseByGuestAmt</strong></p>             | <p> </p><p> </p><p>AmountBeforeTax to be present for rate updates.</p>                                                                                                                                                                                                                                                                                                                                    | 0..1            |
| <p>@AmountAfterTax</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p><p><strong>/RateAmountMessage/Rates/Rate/BaseByGuestAmts/</strong></p><p><strong>BaseByGuestAmt</strong></p>              | <p> </p><p> </p><p>AmountAfterTax to be present for rate updates.</p>                                                                                                                                                                                                                                                                                                                                     | 0..1            |
| <p> </p><p>@AgeQualifyingCode</p><p> <strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p><p><strong>/RateAmountMessage/ Rates/Rate/BaseByGuestAmts/</strong></p><p><strong>BaseByGuestAmt</strong></p> | <p>Optional and valid if required that Product rates to be configured per guest count wise:</p><p>“10” for Adult</p><p> “8” for Children</p><p> </p><p>Represent the Guest type to which the rate is applied.</p>                                                                                                                                                                                         | 0..1            |
| <p>@NumberOfGuests</p><p> <strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p><p><strong>/RateAmountMessage/ Rates/Rate/ BaseByGuestAmts/</strong></p><p><strong>BaseByGuestAmt</strong></p>           | <p> Representtheguestcounttowhichtherate</p><p>is applied.</p>                                                                                                                                                                                                                                                                                                                                            | 1               |
| <p>AdditionalGuestAmounts</p><p> <strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong></p><p><strong>/RateAmountMessage/Rates/Rate</strong></p>                                                             | <p> </p><p>Contains information about the Additional rates.</p>                                                                                                                                                                                                                                                                                                                                           | 0..1            |
| <p>AdditionalGuestAmount</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong> <strong>/RateAmountMessage/Rates/Rate/AdditionalGuestAm ounts</strong></p>                                             | <p> </p><p>Contains the additional rate amounts per guest type.</p>                                                                                                                                                                                                                                                                                                                                       | 1..n            |
| <p>@AgeQualifyingCode</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong> <strong>/RateAmountMessage/Rates/Rate/AdditionalGuestAmounts/ AdditionalGuestAmount</strong></p>                          | <p>Optional and valid if required that Product rates to be configured per guest count wise:</p><p>“10” for Adult</p><p> </p><p>“8” for Children</p><p> </p><p>Represent the Guest type to which the rate is applied.</p>                                                                                                                                                                                  | 1               |
| <p>@Amount</p><p><strong>/OTA\_HotelRateAmountNotifRQ/RateAmountMessages</strong> <strong>/RateAmountMessage/Rates/Rate/AdditionalGuestAm ounts/ AdditionalGuestAmount</strong></p>                                    | Required if AdditionGuestAmount is present. Represent the rate applied to the additional guest.                                                                                                                                                                                                                                                                                                           | 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-availability-and-rates-notification-service/operations/rate-change-notification/xml-usage-description.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.
