Hotel descriptive info
General informations about the request / response for HotelDescriptiveContent:
Specifying what datas are needed:
- Awards (and rating) information
- Contact information
- General hotel information
- Generic hotel information
- Guestrooms information
- Multimedia descriptions
Endpoints
- HTTP RAW POST
Request
XSD File : OTA_HotelDescriptiveInfoRQ.xsd
Request
<?xml version="1.0" encoding="UTF-8"?> <OTA_HotelDescriptiveInfoRQ xmlns="http://www.opentravel.org/OTA/2003/05" PrimaryLangID="fr" AltLangID="de" RetransmissionIndicator="0" TimeStamp="2014-12-15T14:30:00+01:00" Target="Test" Version="1.000"> <POS> <Source> <RequestorID ID="YOURUSERNAME" MessagePassword="YOURPASSWORD" Type="13" /> </Source> </POS> <HotelDescriptiveInfos> <HotelDescriptiveInfo HotelCode="YOURHOTELCODE"> ... </HotelDescriptiveInfo> </HotelDescriptiveInfos> </OTA_HotelDescriptiveInfoRQ>
Details
Node | Attribute | Description | Value type | Required | Repetitive |
---|---|---|---|---|---|
OTA_HotelDescriptiveInfoRQ | yes | no | |||
PrimaryLangID | The primary language preference for the message encoded as ISO 639-3. | Language | yes | ||
AltLangID | The alternate language for a customer or message encoded as ISO 639-3. | Language | yes | ||
TimeStamp | ISO 8601 encoded timestamp indicating the creation date and time of the message. | DateTime | yes | ||
Target | Test or Production target system indicator. | Target_Type | yes | ||
Version | The OpenTravel message version indicated by a decimal value. | Decimal | yes | ||
POS | The point-of-sale data, contained in the POS element, communicates the information that allows the receiving system to identify the trading partner that is sending the request or the response message. Point of Sale (POS) identifies the party or connection channel making the request. | yes | no | ||
Source | This holds the details about the requestor. It may be repeated to also accommodate the delivery systems.Provides information on the source of a request. | yes | no | ||
RequestorID | An identifier of the entity making the request (e.g. ATA/IATA/ID number, Electronic Reservation Service Provider (ERSP), Association of British Travel Agents.(ABTA)). | yes | no | ||
ID | A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation. | StringLength1to32 | yes | ||
MessagePassword | This password provides an additional level of security that the recipient can use to validate the sending party's authority to use the message. | StringLength1to16 | yes | ||
Type | Mandatory field to identify the ID, when datas are send in a request to the CRS, the value is 13. | OTA_CodeType | yes | ||
HotelDescriptiveInfos | Collection of items for data from multiple hotels. | yes | no | ||
HotelDescriptiveInfo | This allows the requestor to indicate which specific information is requested if complete hotel details are not required. | yes | no | ||
HotelCode | The code that uniquely identifies a single hotel property. | StringLength1to16 | yes |
Response
XSD File : OTA_HotelDescriptiveInfoRQ.xsd
Response
<?xml version="1.0" encoding="UTF-8"?> <OTA_HotelDescriptiveInfoRS xmlns="http://www.opentravel.org/OTA/2003/05" PrimaryLangID="fr" AltLangID="de" RetransmissionIndicator="0" TimeStamp="2015-09-07T16:44:26+02:00" Target="Test" Version="1.0" CorrelationID=""> <Success></Success> <HotelDescriptiveContents> <HotelDescriptiveContent HotelName="YOURHOTELNAME" AreaUnitOfMeasureCode="14" DistanceUnitOfMeasureCode="1" TimeZone="+01:00" WeightUnitOfMeasureCode="16" CurrencyCode="CHF"> ... </HotelDescriptiveContent> </HotelDescriptiveContents> </OTA_HotelDescriptiveInfoRS>
Details
Node | Attribute | Description | Value type | Always present | Repetitive |
---|---|---|---|---|---|
OTA_HotelDescriptiveInfoRS | yes | no | |||
PrimaryLangID | The primary language preference for the message encoded as ISO 639-3. | Language | |||
AltLangID | The alternate language for a customer or message encoded as ISO 639-3. | Language | |||
RetransmissionIndicator | When true, indicates the message is being re-sent after a failure. | Boolean | |||
TimeStamp | ISO 8601 encoded timestamp indicating the creation date and time of the message. | DateTime | |||
Target | Test or Production target system indicator. | Target_Type | |||
Version | The OpenTravel message version indicated by a decimal value. | xs:decimal | |||
CorrelationID | Allows end-to-end correlation of log messages with the corresponding Web service message throughout the processing of the Web service message. | StringLength1to64 | |||
Success | The presence of the empty Success element explicitly indicates that the OpenTravel message succeeded.Returning an empty element of this type indicates the successful processing of an OpenTravel message. This is used in conjunction with the Warning Type to report any warnings or business errors. | no | no | ||
HotelDescriptiveContents | A collection of hotel descriptive information. | yes | no | ||
HotelDescriptiveContent | Hotel descriptive information. | yes | no | ||
HotelName | A text field used to communicate the proper name of the hotel. | StringLength1to128 | |||
AreaUnitOfMeasureCode | Provides the unit of measure in which area is provided in this message. Refer to OpenTravel Code List Unit of Measure (UOM). | OTA_CodeType | |||
DistanceUnitOfMeasureCode | Provides the unit of measure in which distance is provided in this message. Refer to OpenTravel Code List Unit of Measure (UOM). | OTA_CodeType | |||
TimeZone | Describes the local time zone in which the hotel is located. This could include additional information regarding time zones (e.g., Daylight Saving Time observed), a proprietary code, the difference between the local time and GMT. | StringLength1to64 | |||
WeightUnitOfMeasureCode | Provides the unit of measure in which weight is provided in this message. Refer to OpenTravel Code List Unit of Measure (UOM). | OTA_CodeType | |||
CurrencyCode | An ISO 4217 (3) alpha character code that specifies a monetary unit. | CurrencyCode_Type |