# Response message

The following sections describe in detail the message structure returned from the HCD XML Update Interface.

The payload for transactions returned by ENTERPRISE CONNECTIVITY will follow the schema defined for the OTA\_HotelDescriptiveContentNotifRS message.

| **Element**                          | **Level**   | **Attribute** | <p><strong>R</strong></p><p><strong>O</strong></p><p><strong>C</strong></p> | **Example**                                | **Usage**                               | **Description**                                                                                                                                                                                |
| ------------------------------------ | ----------- | ------------- | --------------------------------------------------------------------------- | ------------------------------------------ | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| OTA\_HotelDescriptiveCo ntentnotifRS | 0           | <p><br></p>   | R                                                                           | <p><br></p>                                | <p><br></p>                             | <p><br></p>                                                                                                                                                                                    |
| <p><br></p>                          | <p><br></p> | Version       | R                                                                           | 4.000                                      | <p><br></p>                             | <p>Version 4.000 should always be used.</p><p><br></p><p>Required for</p><p>OTA\_HotelDescriptiveCo ntentnotifRS element.</p>                                                                  |
| <p><br></p>                          | <p><br></p> | PrimaryLangID | R                                                                           | EN                                         | Refer to the Appendix B for valid codes | Mimic the ID found in the inbound XML message.                                                                                                                                                 |
| Success                              | 1           | <p><br></p>   | C                                                                           | <p><br></p>                                | <p><br></p>                             | <p>Either a Success or a Success with Warnings can be present in the response.</p><p><br></p><p>If a Success Element is present, the property message was successfully submitted into HCD.</p> |
| Warnings                             | 1           | <p><br></p>   | C                                                                           | <p><br></p>                                | <p><br></p>                             | <p><br></p>                                                                                                                                                                                    |
| Warning                              | 2           | <p><br></p>   | C                                                                           | <p><br></p>                                | <p><br></p>                             | Will be present if an Warnings element is present                                                                                                                                              |
| <p><br></p>                          | <p><br></p> | Type          | R                                                                           | 3                                          | Refer to the Appendix for valid codes   | <p>Due to limited warning types, this code can be a</p><p>ENTERPRISE CONNECTIVITY generated code.</p>                                                                                          |
| <p><br></p>                          | <p><br></p> | ShortText     | R                                                                           | Invalid Property would result from update. | 64 Char                                 | <p>A short description of the error</p><p><br></p><p>Required for Warning element.</p>                                                                                                         |
| <p><br></p>                          | <p><br></p> | Code          | O                                                                           | 3                                          | Refer to the Appendix for valid codes   | <p>Due to limited warning types, this code can be a</p><p>ENTERPRISE CONNECTIVITY generated code.</p>                                                                                          |
| Errors                               | 1           | <p><br></p>   | C                                                                           | <p><br></p>                                | <p><br></p>                             | Either a Success or an Errors element will be present in the response                                                                                                                          |
| Error                                | 2           | <p><br></p>   | C                                                                           | <p><br></p>                                | <p><br></p>                             | Will be present if an Errors element is present                                                                                                                                                |
| <p><br></p>                          | <p><br></p> | Type          | R                                                                           | 3                                          | Refer to the Appendix for valid codes   | <p>Due to limited warning types, this code can be a</p><p>ENTERPRISE CONNECTIVITY generated code.</p>                                                                                          |
| <p><br></p>                          | <p><br></p> | ShortText     | R                                                                           | Invalid Property would result from update. | 64 Char                                 | <p>A short description of the error</p><p><br></p><p>Required for Error element.</p>                                                                                                           |
| <p><br></p>                          | <p><br></p> | Code          | O                                                                           | 3                                          | Refer to the Appendix for valid codes   | <p>Due to limited error types, this code can be a</p><p>ENTERPRISE CONNECTIVITY generated code.</p>                                                                                            |
| UniqueID                             | 1           | <p><br></p>   | R                                                                           | <p><br></p>                                | <p><br></p>                             | <p><br></p>                                                                                                                                                                                    |
| <p><br></p>                          | <p><br></p> | ID            | R                                                                           | RecordID00 1                               | 32 Char                                 | Mimic the MessageID within the inbound XML message.    The ID will be appended with a sequence number.                                                                                         |
| <p><br></p>                          | <p><br></p> | Type          | R                                                                           | 1                                          | Always displays as 1.                   | <p>Unique ID Type (UIT)</p><p><br></p><p>Required for UniqueID element.</p>                                                                                                                    |

**Schema design view**

<figure><img src="/files/Gr4zhZB9qCRO72xEatta" alt=""><figcaption></figcaption></figure>

**Example transaction**

**The following is a standard Success response.**

```xml
<env:Envelope xmlns:env="
http://schemas.xmlsoap.org/soap/envelope/
"
env:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
" xmlns:enc="
http://schemas.xmlsoap.org/soap/encoding/
" xmlns:ns0="
http://webservices.pegs.com/HCD/update_interface/HotelDescriptiveContentWS/types/HotelDescriptiveContentW
 S" xmlns:xsd="
http://www.w3.org/2001/XMLSchema
"  xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
"> <env:Body>
<ans1:processResponse
xmlns:ans1="
http://webservices.pegs.com/HCD/update_interface/HotelDescriptiveContentWS/HotelDescriptiveContentWS
">
<result xsi:type="xsd:string"><?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OTA_HotelDescriptiveContentNotifRS PrimaryLangID="en" Version="4.000" xmlns="
http://www.opentravel.org/OTA/2003/05
">
<Success/>
<UniqueID ID="BORWIG00001" Type="1"/>
</OTA_HotelDescriptiveContentNotifRS>
</result>
</ans1:processResponse>
</env:Body>
</env:Envelope>
```

**The following is a standard Error response.**

```xml
<env:Envelope xmlns:env="
http://schemas.xmlsoap.org/soap/envelope/
"
env:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
" xmlns:enc="
http://schemas.xmlsoap.org/soap/encoding/
" xmlns:ns0="
http://webservices.pegs.com/HCD/update_interface/HotelDescriptiveContentWS/types/HotelDescriptiveConte
 ntWS" xmlns:xsd="
http://www.w3.org/2001/XMLSchema
" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-
 instance"><env:Body><ans1:processResponse xmlns:ans1="
http://webservices.pegs.com/HCD/update_interface/HotelDescriptiveContentWS/HotelDescriptiveContentWS
"
><result xsi:type="xsd:string"><?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OTA_HotelDescriptiveContentNotifRS PrimaryLangID="en" Version="4.000" xmlns="
http://www.opentravel.org/OTA/2003/05
">
<Errors>
<Error Code="XML002" ShortText="XML parsing error" Type="7">ERROR:Line=1:cvc-pattern-valid: Value
'4000000' is not facet-valid with respect to pattern '[0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1}' for type
'OTA_CodeType'.</Error>
<Error Code="XML002" ShortText="XML parsing error" Type="7">ERROR:Line=1:cvc-attribute.3: The value '4000000' of attribute 'Code' on element 'LocationCategory' is not valid with respect to its type, 'OTA_CodeType'.</Error>
</Errors>
<UniqueID ID="BORWIG00001" Type="1"/>
</OTA_HotelDescriptiveContentNotifRS></result></ans1:processResponse></env:Body></env:Envelope>
```


---

# 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/content/content-update-1/transaction-specifications/response-message.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.
