Generic hotel information

Generic hotel information

In order to retrieve information about the available details for all hotels, a query without any specific hotel identifier can be send to the system.

The response give all the configured piece of information that are accessible using the current RequestorID. That does not mean that the information will be present for all hotels: this depends on the completeness of the information supplied by the hotelier.

Request

XSD File : OTA_HotelDescriptiveInfoRQ.xsd

<?xml version="1.0" encoding="UTF-8"?> <OTA_HotelDescriptiveInfoRQ xmlns:ns="http://www.opentravel.org/OTA/2003/05" PrimaryLangID="en" TimeStamp="2016-05-11T09:49:09+02:00" Target="Test" Version="1.0"> <POS> <Source> <RequestorID ID="YOURUSERNAME" MessagePassword="YOURPASSWORD" /> </Source> </POS> <HotelDescriptiveInfos> <HotelDescriptiveInfo /> </HotelDescriptiveInfos> </OTA_HotelDescriptiveInfoRQ>

Note: An emtpy HotelDescriptiveInfo element is expected.

Response

XSD File : OTA_HotelDescriptiveInfoRQ.xsd

<?xml version="1.0" encoding="UTF-8"?> <OTA_HotelDescriptiveInfoRS xmlns="http://www.opentravel.org/OTA/2003/05" PrimaryLangID="en" TimeStamp="2016-05-11T09:49:09+02:00" Target="Test" Version="1.0" CorrelationID="0025732e3f5ea937"> <Success></Success> <HotelDescriptiveContents> <HotelDescriptiveContent> <HotelInfo> <Languages> <Language Language="en"/> <Language Language="fr"/> <Language Language="de"/> ... </Languages> <Descriptions> <MultimediaDescriptions> <MultimediaDescription AdditionalDetailCode="2"> <TextItems> <TextItem> <Description>Property description</Description> </TextItem> </TextItems> </MultimediaDescription> <MultimediaDescription AdditionalDetailCode="3"> <TextItems> <TextItem> <Description>Property location</Description> </TextItem> </TextItems> </MultimediaDescription> ... </MultimediaDescriptions> </Descriptions> <Services> <Service Code="003.OTA" CodeDetail="24-hour security"/> <Service Code="005.OTA" CodeDetail="Air conditioning"/> <Service Code="015.OTA" CodeDetail="Car rental desk"/> ... </Services> </HotelInfo> <FacilityInfo> <GuestRooms> <GuestRoom> <MultimediaDescriptions> <MultimediaDescription AdditionalDetailCode="4"> <TextItems> <TextItem> <Description>Room information</Description> </TextItem> </TextItems> </MultimediaDescription> ... </MultimediaDescriptions> <Amenities> <Amenity RoomAmenityCode="007.OTA" CodeDetail="Balcony / Lanai / Terrace"/> <Amenity RoomAmenityCode="058.OTA" CodeDetail="King bed"/> <Amenity RoomAmenityCode="086.OTA" CodeDetail="Queen bed"/> ... </Amenities> </GuestRoom> </GuestRooms> </FacilityInfo> </HotelDescriptiveContent> </HotelDescriptiveContents> </OTA_HotelDescriptiveInfoRS>

 

Details

Node

Attribute

Description

Value type

Always present

Repetitive

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

HotelInfo

 

Contains descriptive information about a hotel.

 

no

no

Languages

 

A collection of language items

 

yes

no

Language

 

A language item

 

yes

yes

 

Language

The language identifier encoded as ISO 639-3.

 

yes

no

Descriptions

 

Collection of hotel information.

 

no

no

MultimediaDescriptions

 

A collection of multimedia items

 

no

no

MultimediaDescription

 

A multimedia item

 

no

yes

 

AdditionalDetailCode

Used to designate a particular type of additional information.Refer to OpenTravel Code List Additional Detail Type (ADT).

OTA_CodeType

 

 

TextItems

 

A collection of text items

 

no

yes

TextItem

 

A text item

 

yes

yes

Description

 

Text description of the code given in the AdditionalDetailCode attribute of MultimediaDescription element

 

yes

no

Services

 

Collection of hotel services and/or amenities available.

 

no

no

Service

 

A hotel service or amenity available to the guest such as a business center, concierge, valet parking, massage, newspapers, etc.

 

yes

yes

 

Code

The code for a service or amenity. Refer to OpenTravel Code List Hotel Amenity Code (HAC).

OTA_CodeType

 

 

 

CodeDetail

The description of the amenity or service

StringLength1to128

 

 

FacilityInfo

 

Provides information pertaining to the hotel facitilty itself.The FacilityInfo class that describes the facilities provided at the hotel, including meeting rooms and restaurants.

 

no

no

GuestRooms

 

Collection of guest room types.

 

no

no

GuestRoom

 

A guest room type item.

 

yes

yes

MultimediaDescriptions

 

Multimedia information about the guest room. The content structure of this element is the same than the one given at the HotelInfo level for the hotel description.

 

no

no

 

...

 

 

 

 

Amenities

 

Collection of room amenity items available.

 

no

yes

Amenity

 

Room amenity item.

 

yes

yes

 

RoomAmenityCode

Refer to OpenTravel Code List Room Amenity Type (RMA).

OTA_CodeType

 

 

 

CodeDetail

The description of the amenity or service

StringLength1to128