> 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/ultradirect/ultradirect-transaction-sets-xml/booking-transactions/request-message-format-modify.md).

# Request message format - Modify

<table data-header-hidden><thead><tr><th valign="top">Element Path</th><th>Attribute</th><th>Occ</th><th>Type</th><th>Notes</th></tr></thead><tbody><tr><td valign="top"><p> </p><p>HotelML/Head/Process</p></td><td> </td><td><p> </p><p>1</p></td><td> </td><td> </td></tr><tr><td valign="top"> </td><td><p> </p><p>DataPath</p></td><td><p> </p><p>1</p></td><td><p> </p><p>Char</p></td><td><p> </p><p>Set to "/HotelML/Form/ModifyReservation”</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>Function</p></td><td><p> </p><p>1</p></td><td><p> </p><p>Char</p></td><td><p> </p><p>Set to “TI_ModifyReservationV1_1”</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>Token</p></td><td><p> </p><p>1</p></td><td><p> </p><p>Char</p></td><td><p> </p><p>Unique ID for the transaction generated by the system sending the transaction.</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Head/Route</p></td><td> </td><td><p> </p><p>1</p></td><td> </td><td> </td></tr><tr><td valign="top"> </td><td><p> </p><p>Source</p></td><td><p> </p><p>1</p></td><td><p> </p><p>Char 2-3</p></td><td><p> </p><p>Identifies the organization sending the transaction. The value to use will be provided during the implementation project.</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>Destination</p></td><td><p> </p><p>1</p></td><td><p> </p><p>Char 2</p></td><td><p> </p><p>Always set to “00” (i.e. zero zero).</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Form/ModifyReservation</p></td><td> </td><td> </td><td> </td><td> </td></tr><tr><td valign="top"> </td><td><p> </p><p>Session</p></td><td><p> </p><p>0..1</p></td><td><p> </p><p>Enum</p></td><td><p> </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></td></tr><tr><td valign="top"><p> </p><p>HotelML/Form/ModifyReservation/Res ervation</p></td><td> </td><td><p> </p><p>1</p></td><td> </td><td><p> </p><p>The Reservation element is used to identify the booking to be modified. This includes the confirmation number plus other information to verify the booking (e.g. arrival/departure dates, guest name etc.)</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>Confirmation Number</p></td><td><p> </p><p>1</p></td><td><p> </p><p>Char 6-80</p></td><td><p> </p><p>CRS confirmation number</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>InDate</p></td><td><p> </p><p>1</p></td><td><p> </p><p>Date</p></td><td><p> </p><p>Arrival date</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>OutDate</p></td><td><p> </p><p>1</p></td><td><p> </p><p>Date</p></td><td><p> </p><p>Departure date</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>PropertyCode</p></td><td><p> </p><p>1</p></td><td><p> </p><p>Char 10</p></td><td><p> </p><p>Chain and property code – e.g. “UI;12345”</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Form/ModifyReservation/ Locale</p></td><td> </td><td><p> </p><p>0..1</p></td><td> </td><td><p> </p><p>This is used to request the response in a specific language.</p><p> </p><p>Note: It can only be included if requesting a language other than English.</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>Language</p></td><td><p> </p><p>1</p></td><td><p> </p><p>Char 2</p></td><td><p> </p><p>Language code – e.g. “FR”</p></td></tr></tbody></table>

<br>

&#x20;

&#x20;

&#x20;

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th><th valign="top"></th><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top"> </td><td valign="top"><p> </p><p>Country</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char</p></td><td valign="top"><p> </p><p>Optional country name – e.g. “France”.</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Form/ModifyReservation/ Reservation/Guest</p></td><td valign="top"> </td><td valign="top"><p> </p><p>1</p></td><td valign="top"> </td><td valign="top"><p> </p><p>Name of primary guest</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>FirstName</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Char 99</p></td><td valign="top"><p> </p><p>Guest’s first name or initials. Total length of FirsName + LastName cannot exceed 99 characters</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>LastName</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Char 99</p></td><td valign="top"><p> </p><p>Guest’s last name</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Form/ModifyReservation/ UpdateReservation</p></td><td valign="top"> </td><td valign="top"><p> </p><p>1</p></td><td valign="top"> </td><td valign="top"><p> </p><p>The UpdateReservation element contains a full recap of the booking, containing both changed and unchanged information. The content of this element and all child elements is exactly the same as the BookReservation element (and so not repeated here) except that the PropertyCode and Session attributes are not used.</p></td></tr></tbody></table>


---

# 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 dynamically by asking a question.

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

```
GET https://developer.rategain.com/ultradirect/ultradirect-transaction-sets-xml/booking-transactions/request-message-format-modify.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
