Versions Compared

Key

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

Hotel Price Breakdown Response contains information about price changes for each day of the requested stay.

OTA_HotelAvailRS:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

Success

 

 

For more information see Common Data Description section in Glossary.

 

Warnings/WarningFor more information see Common Data Description section in Glossary.

RoomStays/RoomStay

Provide details on the room stay.

0...1

...

Element

Attribute

Type

Description

Min…Max occurs

RoomStayCandidateRPH*

integer (default 1)

ID of room requested. The value corresponds to RoomStayCandidate RPH attribute of request, so that you can easily find what room from response corresponds to what room in request as depicted below.

1...1

RoomTypes/RoomType*

A collection of Room Types associated with a particular Room Stay.

1...*

RatePlans/RatePlan*

 

 

A collection of Rate Plans associated with a particular Room Stay.

1...1

RoomRates/RoomRate*

Contains room offer description including availability, room type, meal type, discount and price.

1...*

TimeSpan*

 

 

For more information see Common Data Description section in Glossary.

 

BasicPropertyInfo*

Provide basic hotel information.

Info

Note: elements are the same as in Hotel Availability Response, but at Hotel Price Breakdown Service element is not presented.

1...1

OTA_HotelResRS/HotelReservations/HotelReservation/RoomStays/RoomStay/RoomRates/RoomRate*:

Contains the same information as in Hotel Aviability Availability Response, but Rates block contain contains several Rate elements for the room price changes during the requested stay. Within each element there're the following parameters:

Element

Attribute

Type

Description

Min…Max occurs

Rates/Rate*

Сontains price breakdown by pax type. There will be a Rate element for each person in the booking.

1...*

EffectiveDate*

yyyy-mm-dd

Date range when this price is valid.

1...1

ExpireDate*

yyyy-mm-dd

1...1

RateTimeUnit*

string ("Year", "Month", "Week", "Day", "Hour", "Second", "FullDuration")

Contains information in what units the rate is nominated. Mostly it will be set to "Day".

1...1

UnitMultiplier*

integer

Amount of units to which this rate applies.

1...1

...

Expand
titlePrice Breakdown Response Calculated Sample XML
Code Block
languagexml
<OTA_HotelAvailRS Version="2.00" EchoToken="tok1" xmlns:ota="http://www.opentravel.org/OTA/2003/05">
   <Success/>
   <RoomStays>
      <RoomStay RoomStayCandidateRPH="1">
         <RoomTypes>
            <RoomType RoomTypeCode="2,3" SupplierRoomTypeCode="2" SupplierRoomCategoryCode="3">
               <RoomDescription Name="Double">
                  <Text>Double sea view</Text>
               </RoomDescription>
            </RoomType>
         </RoomTypes>
         <RatePlans>
            <RatePlan RatePlanCode="AB,1" SupplierRatePlanCode="AB" SupplierContractCode="1">
               <MealsIncluded Breakfast="true" Dinner="false" Lunch="false" MealPlanCodes="3"/>
               <AdditionalDetails>
                  <AdditionalDetail Code="AB" Type="15">
                     <DetailDescription Language="en">
                        <Text>American Breakfast</Text>
                     </DetailDescription>
                  </AdditionalDetail>
               </AdditionalDetails>
            </RatePlan>
         </RatePlans>
         <RoomRates>
            <RoomRate NumberOfUnits="1" RatePlanCode="AB,1" RoomTypeCode="2,3" AvailabilityStatus="AvailableForSale" BookingCode="1001">
               <Rates>
                  <Rate AgeQualifyingCode="10" EffectiveDate="2020-0110-3020" ExpireDate="2020-0110-3121" RateSource="Calculated" RateTimeUnit="Day" UnitMultiplier="1">
                     <Total AmountAfterTax="102.62" CurrencyCode="EUR"/>
                  </Rate>
                  <Rate AgeQualifyingCode="10" EffectiveDate="2020-01-31" ExpireDate="2020-02-05" RateSource="Calculated" RateTimeUnit="Day" UnitMultiplier="5">
                     <Total AmountAfterTax="102.65" CurrencyCode="EUR"/>
                  </Rate>
                  <Rate AgeQualifyingCode="10" EffectiveDate="2020-01-30" ExpireDate="2020-01-31" RateSource="Calculated" RateTimeUnit="Day" UnitMultiplier="1">
                     <Total AmountAfterTax="102.62" CurrencyCode="EUR"/>
                  </Rate>
                  <Rate AgeQualifyingCode="10" EffectiveDate="2020-01-3110-21" ExpireDate="2020-0210-0525" RateSource="Calculated" RateTimeUnit="Day" UnitMultiplier="54">
                     <Total AmountAfterTax="102.65" CurrencyCode="EUR"/>
                  </Rate>
               </Rates>
               <Discount AmountAfterTax="90.00" CurrencyCode="EUR">
                  <DiscountReason>
                     <Text>Special offer</Text>
                  </DiscountReason>
               </Discount>
               <Services>
                  <Service Inclusive="false" IsPerRoom="true" ServiceRPH="1000136" SpecialServiceType="Meal">
                     <Price>
                        <Base AmountAfterTax="17.22" CurrencyCode="GBP"/>
                     </Price>
                     <ServiceDetails ShortName="Continental Breakfast">
                        <ServiceDescription>
                           <Text>Continental Breakfast</Text>
                        </ServiceDescription>
                     </ServiceDetails>
                  </Service>
               </Services>
               <Total AmountAfterTax="660513.0022" CurrencyCode="EUR"/>
               <TotalRetail AmountAfterTax="700.00" CurrencyCode="EUR" IsMin="true" IsMax="true"/>
            </RoomRate>
         </RoomRates>
         <TimeSpan Start="2020-10-20" End="2020-10-25"/>
         <BasicPropertyInfo HotelCityCode="312" HotelCode="3837" HotelCodeContext="supplierCode" HotelName="Pullman Skipper" ChainCode="PLMN" ChainName="Pullman" BrandCode="ACR" BrandName="ACCOR">
            <Award Provider="Hotel" Rating="4"/>
            <RelativePosition Name="CityCenter" Nearest="true"/>
         </BasicPropertyInfo>
      </RoomStay>
   </RoomStays>
</OTA_HotelAvailRS>

...