Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: cancelpenalty is mandatory according tanya comment in HUB-6573 20/07/2021

In Hotel Charges Response you will get information about cancellation cost and cancellation rules for the requested offer.

There could be several ranges in response depending on how late the booking is canceled. If the booking is canceled before the start date of the earliest range from the response, then it will be canceled for free.

OTA_HotelChargesRS*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

Success

 

 

For more information see Common Data Description section in Glossary.

 

Warnings/Warning

For more information see Common Data Description section in Glossary.

RoomStay*

Provide details on the room stay.

1...1

OTA_HotelChargesRS/RoomStay*:

Element

Attribute

Type

Description

Min…Max occurs

RoomStayCandidateRPH

integer

ID of room requested. Must be equal to RoomStayCandidateRPH from availability response Hotel Availability Response.

1...1

CancelPenalties/CancelPenalty*

Describes penalties on booking cancellation.

1...*

Total*

The total price of the offer (after discount, if any has been applied).

1...1

Expand
titleHotel Charges Response Sample XML
Code Block
languagexml
<OTA_HotelChargesRS Version="2.00" EchoToken="tok1">
   <Success/>
   <HotelCharges>
      <RoomStay RoomStayCandidateRPH="1">
         <CancelPenalties>
            <CancelPenalty Start="2020-10-17T00:00:00+02:00" End="2020-10-20T00:00:00+02:00">
               <AmountPercent Amount="99.00" CurrencyCode="EUR"/>
            </CancelPenalty>
            <CancelPenalty Start="2020-10-20T00:00:00+02:00" PolicyCode="NoShow" End="2020-09-25T00:00:00+02:00">
               <AmountPercent Amount="99.00" CurrencyCode="EUR"/>
            </CancelPenalty>
         </CancelPenalties>
         <Total AmountAfterTax="660.00" CurrencyCode="EUR"/>
      </RoomStay>
   </HotelCharges>
</OTA_HotelChargesRS>

...