# Cancel Reservation Request Message Format

| **Element Path**                                                     | **Attribute**                         | **Occ**                | **Type**                    | **Notes**                                                                                                                                                                                                                                                              |
| -------------------------------------------------------------------- | ------------------------------------- | ---------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><br></p><p>HotelML/Head/Process</p>                               | <p><br></p>                           | <p><br></p><p>1</p>    | <p><br></p>                 | <p><br></p>                                                                                                                                                                                                                                                            |
| <p><br></p>                                                          | <p><br></p><p>DataPath</p>            | <p><br></p><p>1</p>    | <p><br></p><p>Char</p>      | <p><br></p><p>Set to "/HotelML/Form/CancelReservation”</p>                                                                                                                                                                                                             |
| <p><br></p>                                                          | <p><br></p><p>Function</p>            | <p><br></p><p>1</p>    | <p><br></p><p>Char</p>      | <p><br></p><p>Set to “TI\_CancelReservationV1\_1”</p>                                                                                                                                                                                                                  |
| <p><br></p>                                                          | <p><br></p><p>Token</p>               | <p><br></p><p>1</p>    | <p><br></p><p>Char</p>      | <p><br></p><p>Unique ID for the transaction generated by the system sending the transaction.</p>                                                                                                                                                                       |
| <p><br></p><p>HotelML/Head/Route</p>                                 | <p><br></p>                           | <p><br></p><p>1</p>    | <p><br></p>                 | <p><br></p>                                                                                                                                                                                                                                                            |
| <p><br></p>                                                          | <p><br></p><p>Source</p>              | <p><br></p><p>1</p>    | <p><br></p><p>Char 2-3</p>  | <p><br></p><p>Identifies the organization sending the transaction. The value to use will be provided during the implementation project.</p>                                                                                                                            |
| <p><br></p>                                                          | <p><br></p><p>Destination</p>         | <p><br></p><p>1</p>    | <p><br></p><p>Char 2</p>    | <p><br></p><p>Always set to “00” (i.e. zero zero).</p>                                                                                                                                                                                                                 |
| <p><br></p><p>HotelML/Form/CancelReservation</p>                     | <p><br></p>                           | <p><br></p>            | <p><br></p>                 | <p><br></p>                                                                                                                                                                                                                                                            |
| <p><br></p>                                                          | <p><br></p><p>Confirmation Number</p> | <p><br></p><p>1</p>    | <p><br></p><p>Char 6-80</p> | <p><br></p><p>CRS confirmation number</p>                                                                                                                                                                                                                              |
| <p><br></p>                                                          | <p><br></p><p>InDate</p>              | <p><br></p><p>1</p>    | <p><br></p><p>Date</p>      | <p><br></p><p>Arrival date</p>                                                                                                                                                                                                                                         |
| <p><br></p>                                                          | <p><br></p><p>OutDate</p>             | <p><br></p><p>1</p>    | <p><br></p><p>Date</p>      | <p><br></p><p>Departure date</p>                                                                                                                                                                                                                                       |
| <p><br></p>                                                          | <p><br></p><p>PropertyCode</p>        | <p><br></p><p>1</p>    | <p><br></p><p>Char 10</p>   | <p><br></p><p>Chain and property code – e.g. “UI;12345”</p>                                                                                                                                                                                                            |
| <p><br></p>                                                          | <p><br></p><p>Session</p>             | <p><br></p><p>0..1</p> | <p><br></p><p>Enum</p>      | <p><br></p><p>Set to “New” if using active session control (i.e. booking will not be confirmed until committed using the SessionControl message). Otherwise, omit the attribute.</p><p><br></p><p>Not applicable inthe  passive session control booking mechanism.</p> |
| <p><br></p><p>HotelML/Form/CancelReservation/Locale</p>              | <p><br></p>                           | <p><br></p><p>0..1</p> | <p><br></p>                 | <p><br></p><p>This is used to request the response in a specific language.</p><p><br></p><p>Note: It can only be included if requesting a language other than English.</p>                                                                                             |
| <p><br></p>                                                          | <p><br></p><p>Language</p>            | <p><br></p><p>1</p>    | <p><br></p><p>Char 2</p>    | <p><br></p><p>Language code – e.g. “FR”</p>                                                                                                                                                                                                                            |
| <p><br></p>                                                          | <p><br></p><p>Country</p>             | <p><br></p><p>0..1</p> | <p><br></p><p>Char</p>      | <p><br></p><p>Optional country name – e.g. “France”.</p>                                                                                                                                                                                                               |
| <p><br></p><p>HotelML/Form/ CancelReservation /Reservation/Guest</p> | <p><br></p>                           | <p><br></p><p>1</p>    | <p><br></p>                 | <p><br></p><p>Name of the primary guest</p>                                                                                                                                                                                                                            |
| <p><br></p>                                                          | <p><br></p><p>FirstName</p>           | <p><br></p><p>1</p>    | <p><br></p><p>Char 99</p>   | <p><br></p><p>Guest’s first name or initials. The total length of FirsName + LastName cannot exceed 99 characters</p>                                                                                                                                                  |
| <p><br></p>                                                          | <p><br></p><p>LastName</p>            | <p><br></p><p>1</p>    | <p><br></p><p>Char 99</p>   | <p><br></p><p>Guest’s last name</p>                                                                                                                                                                                                                                    |

<br>


---

# 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/smart-distribution/book-and-cancel-reservation/book-api/cancel-reservation-request-message-format.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.
