> 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).

# 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 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/content/content-retrieve/content-retrieval-request.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.
