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

NodeAttributeDescriptionValue typeAlways presentRepetitive
OTA_HotelDescriptiveInfoRS   yesno
 PrimaryLangIDThe primary language preference for the message encoded as ISO 639-3.Language  
 AltLangIDThe alternate language for a customer or message encoded as ISO 639-3.Language  
 RetransmissionIndicatorWhen true, indicates the message is being re-sent after a failure.Boolean  
 TimeStampISO 8601 encoded timestamp indicating the creation date and time of the message.DateTime  
 TargetTest or Production target system indicator.Target_Type  
 VersionThe OpenTravel message version indicated by a decimal value.xs:decimal  
 CorrelationIDAllows 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. nono
HotelDescriptiveContents A collection of hotel descriptive information. yesno
HotelDescriptiveContent Hotel descriptive information. yesno
HotelInfo Contains descriptive information about a hotel. nono
Languages A collection of language items yesno

Language

 A language item yesyes
 LanguageThe language identifier encoded as ISO 639-3. yesno
Descriptions Collection of hotel information. nono
MultimediaDescriptions A collection of multimedia items nono
MultimediaDescription A multimedia item noyes
 AdditionalDetailCodeUsed 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 noyes
TextItem A text item yesyes

Description

 Text description of the code given in the AdditionalDetailCode attribute of MultimediaDescription element yesno
Services Collection of hotel services and/or amenities available. nono
Service A hotel service or amenity available to the guest such as a business center, concierge, valet parking, massage, newspapers, etc. yesyes
 CodeThe code for a service or amenity. Refer to OpenTravel Code List Hotel Amenity Code (HAC).OTA_CodeType  
 CodeDetailThe description of the amenity or serviceStringLength1to128  

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 serviceStringLength1to128