Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Hotel Price Breakdown is the request to get detailed daily price information for selected offer.

It is based on Availability request but goes along with attribute RateRangeOnly="true". Also, for this request you do not need to specify search criteria.

In order to perform Hotel Price Breakdown request you need to set the following values to the attributes in Hotel Aviability request:

  • AvailRatesOnly - must be "false" in that case (otherwise system will filter rooms to return only available and if any of requested rooms is "on request" - it will not be returned).

  • RateRangeOnly - must be "true" in that case.

OTA_HotelAvailRQ:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

PrimaryLangID

RequestedCurrency

ChargesRequestSegments/ ChargesRequestSegment/ RoomStayCandidates/RoomStayCandidate*

Describes guests for accommodation. Multiple RoomStayCandidate elements must be defined to perform multi search for different rooms.

1...*

RPH*

integer

A special identifier of requested rooms. If the multi search is performed, the RPHs should be unique for each room.

1...1

BookingCode*

string

Must be equal to BookingCode from availability response.

1...1

 Price Breakdown Request Sample XML
<OTA_HotelAvailRQ AvailRatesOnly="false" EchoToken="tok1" PrimaryLangID="en" RateRangeOnly="true" RequestedCurrency="EUR" Version="2">
   <POS>
      <Source>
         <RequestorID ID="client" MessagePassword="pwd" Type="22"/>
         <BookingChannel Type="7" PriceDomain="1"/>
      </Source>
   </POS>
   <AvailRequestSegments>
      <AvailRequestSegment>
         <RoomStayCandidates>
            <RoomStayCandidate RPH="1" BookingCode="1001"/>
         </RoomStayCandidates>
      </AvailRequestSegment>
   </AvailRequestSegments>
</OTA_HotelAvailRQ>
  • No labels