Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

For more information see Common Data Description section in Glossary.

0...1

RequestedCurrency

0...1

ChargesRequestSegments/ChargesRequestSegment/ RoomStayCandidates/RoomStayCandidate*

Describes guests for accommodation.

1...1

RPH*

integer

Must be equal to RoomStayCandidateRPH from availability response Hotel Availability Response.

1...1

BookingCode*

string

Must be equal to BookingCode from availability response Hotel Availability Response.

1...1

Expand
titleHotel Charges Request Sample XML
Code Block
languagexml
<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>