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 Charges Request is used to get information about cancel penalty for the selected offer.

OTA_HotelChargesRQ*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

PrimaryLangID

RequestedCurrency

ChargesRequestSegments/ChargesRequestSegment/ RoomStayCandidates/RoomStayCandidate*

Describes guests for accommodation.

1...1

RPH*

integer

Must be equal to RoomStayCandidateRPH from availability response.

1...1

BookingCode*

string

Must be equal to BookingCode from availability response.

1...1

 Hotel Charges Request Sample XML
<OTA_HotelChargesRQ EchoToken="tok1" Version="2" PrimaryLangID="en" RequestedCurrency="EUR">
   <POS>
      <Source>
         <RequestorID ID="client" MessagePassword="pwd" Type="22"/>
         <BookingChannel Type="7" PriceDomain="1"/>
      </Source>
   </POS>
   <ChargesRequestSegments>
      <ChargesRequestSegment>
         <RoomStayCandidates>
            <RoomStayCandidate RPH="1" BookingCode="12f5081c50"/>
         </RoomStayCandidates>
      </ChargesRequestSegment>
   </ChargesRequestSegments>
</OTA_HotelChargesRQ>
  • No labels