Awards (and rating) information

Request

Request
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelDescriptiveInfoRQ xmlns:ns="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="10" />
	</Source>
  </POS>
  <HotelDescriptiveInfos>
	<HotelDescriptiveInfo HotelCode="YOURHOTELCODE">
	  <AffiliationInfo SendAwards="true" />
	</HotelDescriptiveInfo>
  </HotelDescriptiveInfos>
</OTA_HotelDescriptiveInfoRQ>

Response

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-09T11:48:42+02:00" Target="Test" Version="1.0" CorrelationID="1">
  <Success></Success>
  <HotelDescriptiveContents>
    <HotelDescriptiveContent HotelName="YOURHOTELNAME">
      <AffiliationInfo>
        <Awards>
          <Award Provider="" Rating=""/>
        </Awards>
      </AffiliationInfo>
    </HotelDescriptiveContent>
  </HotelDescriptiveContents>
</OTA_HotelDescriptiveInfoRS>
NodeAttributeDescriptionValue typeAlways presentRepetitive

AffiliationInfo

 

Provides information regarding affiliations, loyalty programs and award ratings.The AffiliationInfo object is used to identify the brand or franchise affiliations of the hotel.

 

no

no

Awards

 

A collection of Award elements.

 

yes

no

Award

 

Provides detailed information regarding each award for this hotel.

 

yes

yes
 

Provider

The name of the award or ratings provider (e.g., Michelin, American Automobile Association (AAA)).

String

  
 

Rating

The actual award or rating received by the hotel facility (e.g. 4 stars, 3 diamonds).String  

Use cases

Use case #1: a 3 stars hotel

<Awards>
  <Award Provider="HotelAssociation" Rating="3" />
</Awards>

Use case #2: a 3 stars hotel with a TripAdvisor rating of 3.5

<Awards>
  <Award Provider="HotelAssociation" Rating="3" />
  <Award Provider="TripAdvisor" Rating="3.5" />
</Awards>