You are viewing an old version of this content. View the current version.
Compare with Current
View Version History
« Previous
Version 5
Next »
Hotel Price Breakdown Response contains information about price changes for each day of the requested stay.
OTA_HotelAvailRS:
*mandatory
OTA_HotelResRS/HotelReservations/HotelReservation/RoomStays/RoomStay:
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. | 1...1 |
OTA_HotelResRS/HotelReservations/HotelReservation/RoomStays/RoomStay/RoomRates/RoomRate*:
Contains the same information as in Hotel Aviability Response, but Rates block contain 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 |
Price Breakdown Response Sample XML
<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 EffectiveDate="2020-10-20" ExpireDate="2020-10-25" RateTimeUnit="Day" UnitMultiplier="5" AgeQualifyingCode="10" RateSource="Hotel">
<Total AmountAfterTax="100.00" CurrencyCode="EUR"/>
<TotalRetail AmountAfterTax="105.00" CurrencyCode="EUR" IsMin="true" IsMax="true"/>
</Rate>
<Rate EffectiveDate="2020-10-20" ExpireDate="2020-10-25" RateTimeUnit="Day" UnitMultiplier="5" AgeQualifyingCode="10" RateSource="Hotel">
<Total AmountAfterTax="100.00" CurrencyCode="EUR"/>
<TotalRetail AmountAfterTax="105.00" CurrencyCode="EUR" IsMin="true" IsMax="true"/>
</Rate>
<Rate EffectiveDate="2020-10-20" ExpireDate="2020-10-25" RateTimeUnit="Day" UnitMultiplier="5" AgeQualifyingCode="8" RateSource="Hotel">
<Total AmountAfterTax="20.00" CurrencyCode="EUR"/>
<TotalRetail AmountAfterTax="20.00" CurrencyCode="EUR" IsMin="true" IsMax="true"/>
</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="660.00" 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>
Price Breakdown Response Calculated Sample XML
<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-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-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-31" ExpireDate="2020-02-05" RateSource="Calculated" RateTimeUnit="Day" UnitMultiplier="5">
<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="660.00" 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>
Price Breakdown Response Additional Services Sample XML
<OTA_HotelAvailRS EchoToken="tok1" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
<Success/>
<RoomStays>
<RoomStay RoomStayCandidateRPH="1">
<RoomTypes>
<RoomType RoomTypeCode="9b257b44" SupplierRoomTypeCode="19818">
<RoomDescription Name="Апартаменты">
<Text>Апартаменты, double</Text>
</RoomDescription>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="1e72882a">
<RatePlanDescription>
<Text>Только комната</Text>
</RatePlanDescription>
<MealsIncluded Breakfast="false" Dinner="false" Lunch="false" MealPlanCodes="14"/>
</RatePlan>
</RatePlans>
<RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1c6bf357" IsSharedRoom="false" NonRefundable="false" NumberOfUnits="1" RoomTypeCode="9b257b44" RatePlanCode="1e72882a">
<Rates>
<Rate RateSource="Hotel" RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2020-02-01" ExpireDate="2020-02-02" AgeQualifyingCode="10">
<Total AmountAfterTax="5975.00" CurrencyCode="RUB"/>
</Rate>
<Rate RateSource="Hotel" RateTimeUnit="Day" UnitMultiplier="3" EffectiveDate="2020-02-02" ExpireDate="2020-02-05" AgeQualifyingCode="10">
<Total AmountAfterTax="4425.00" CurrencyCode="RUB"/>
</Rate>
<Rate RateSource="Hotel" RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2020-02-01" ExpireDate="2020-02-02" AgeQualifyingCode="10">
<Total AmountAfterTax="5975.00" CurrencyCode="RUB"/>
</Rate>
<Rate RateSource="Hotel" RateTimeUnit="Day" UnitMultiplier="3" EffectiveDate="2020-02-02" ExpireDate="2020-02-05" AgeQualifyingCode="10">
<Total AmountAfterTax="4425.00" CurrencyCode="RUB"/>
</Rate>
</Rates>
<Services>
<Service Inclusive="false" IsPerRoom="true" ServiceRPH="1" SpecialServiceType="Meal">
<Price>
<Base AmountAfterTax="4400.00" CurrencyCode="RUB"/>
</Price>
<ServiceDetails ShortName="Завтрак шведский стол">
<ServiceDescription>
<Text>Завтрак шведский стол</Text>
</ServiceDescription>
</ServiceDetails>
</Service>
<Service Inclusive="false" IsPerRoom="true" ServiceRPH="2" SpecialServiceType="Meal">
<Price>
<Base AmountAfterTax="6000.00" CurrencyCode="RUB"/>
</Price>
<ServiceDetails ShortName="Ужин">
<ServiceDescription>
<Text>Ужин</Text>
</ServiceDescription>
</ServiceDetails>
</Service>
</Services>
<Total AmountAfterTax="38500.00" CommissionAmount="3850.00" CurrencyCode="RUB"/>
</RoomRate>
</RoomRates>
<TimeSpan End="2020-02-05" Start="2020-02-01"/>
<BasicPropertyInfo HotelCityCode="6" HotelCode="1145" HotelCodeContext="bronevik" HotelName="Empire Belarus (ex. HELIOPARK) ">
<CategoryCodes>
<HotelCategory Code="3" GroupCode="Category" CodeDetail="3"/>
</CategoryCodes>
<Award Provider="Hotel" Rating="3"/>
</BasicPropertyInfo>
</RoomStay>
</RoomStays>
</OTA_HotelAvailRS>