> 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/content/content-retrieve/content-retrieval-request.md). Agents can also search and read this documentation through its [MCP server](https://developer.rategain.com/~gitbook/mcp).

# Content Retrieval Request

| **Element**                  | **Level**   | **Attribute** | <p><strong>R</strong></p><p><strong>O</strong></p><p><strong>C</strong></p> | **Example** | **Usage**                                                                                                                                                                      | **Description**                                                                                                                                                                                                                                                                                                                         |
| ---------------------------- | ----------- | ------------- | --------------------------------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| OTA\_HotelDescriptiveInfoR Q | <p><br></p> | <p><br></p>   | R                                                                           | <p><br></p> | Only One instance is allowed per                                                                                                                                               | <p><br></p>                                                                                                                                                                                                                                                                                                                             |
| <p><br></p>                  | <p><br></p> | Version       | R                                                                           | 1           | <p><br></p>                                                                                                                                                                    | <p>Version 1 should always be used.</p><p><br></p><p>Required for OTA\_HotelDescriptiveI nfoRQ element.</p>                                                                                                                                                                                                                             |
| <p><br></p>                  | <p><br></p> | PrimaryLangID | R                                                                           | EN          | <p>Valid values:<br>EN=English<br>FR=French<br>ES=Spanish<br>DE=German<br>NL=Dutch<br>IT=Italian<br>ZH=Chinese<br>JA=Japanese<br>PT=Portugese<br>(Brazilian)<br>RU=Russian</p> | <p>Standard ISO Language identifier.</p><p><br></p><p>This attribute defines the content language requested and will determine the encoding that will be used in the text fields of the response. All properties will have data loaded in English. All other languages are subject to what the hotel has elected to provide in HCD.</p> |
| HotelDescriptiveInfos        | 1           | <p><br></p>   | R                                                                           | <p><br></p> | <p><br></p>                                                                                                                                                                    | <p><br></p>                                                                                                                                                                                                                                                                                                                             |
| HotelDescriptiveInfo         | 2           | <p><br></p>   | R                                                                           | <p><br></p> | <p><br></p>                                                                                                                                                                    | <p><br></p>                                                                                                                                                                                                                                                                                                                             |
| <p><br></p>                  | <p><br></p> | BrandCode     | R                                                                           | XX          | 2 to 6 char                                                                                                                                                                    | Hotel brand code.                                                                                                                                                                                                                                                                                                                       |
| <p><br></p>                  | <p><br></p> | HotelCode     | R                                                                           | 1234        | 1---10 char                                                                                                                                                                    | Hotel property identification code.                                                                                                                                                                                                                                                                                                     |

#### Example <a href="#contentretrievalrequest-example" id="contentretrievalrequest-example"></a>

```xml
<OTA_HotelDescriptiveInfoRQ PrimaryLangID="en" Version="1" xmlns="
http://www.opentravel.org/OTA/2003/05
">
                <HotelDescriptiveInfos>
                                <HotelDescriptiveInfo BrandCode="ZZ" HotelCode="CHDEMO2"/>
                </HotelDescriptiveInfos>
</OTA_HotelDescriptiveInfoRQ>
```


---

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.rategain.com/content/content-retrieve/content-retrieval-request.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
