Skip to main content

Get Availability & Price - Pull_GetPropertyAvbPrice

This method returns a final price calculation for a given stay. You will receive an empty response when the property is either not available or there are no seasonal rates set. In both cases a reservation cannot be created.

Use Cases​

  • Critical: Check before creating reservation
  • Display pricing on search results
  • Calculate booking costs
  • Validate availability

Best Practices​

  1. ALWAYS call this before creating reservation
  2. Cache for very short time (5-10 minutes max)
  3. Handle price changes gracefully
  4. Show complete price breakdown to guests

Request​

XML request​

<Pull_GetPropertyAvbPrice_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<PropertyID>1</PropertyID>
<DateFrom>2014-01-04</DateFrom>
<DateTo>2014-01-07</DateTo>
<CouponCode>OFF10</CouponCode>
</Pull_GetPropertyAvbPrice_RQ>

Request fields​

XML PathData TypeTypeDescription
Pull_GetPropertyAvbPrice_RQCRoot element
Pull_GetPropertyAvbPrice_RQ/AuthenticationC, MAuthentication details
Pull_GetPropertyAvbPrice_RQ/Authentication/AccessKeyString(100)MAccess key
Pull_GetPropertyAvbPrice_RQ/Authentication/SecretKeyString(100)MSecret key
Pull_GetPropertyAvbPrice_RQ/PropertyIDStringMUnique property ID
Pull_GetPropertyAvbPrice_RQ/DateFromString(10)MArrival date (YYYY-MM-DD format)
Pull_GetPropertyAvbPrice_RQ/DateToString(10)MDeparture date (YYYY-MM-DD format)
Pull_GetPropertyAvbPrice_RQ/NOPIntegerMNumber of guests. If it's provided the response will include the price details for the specified number of guests only
Pull_GetPropertyAvbPrice_RQ/CurrencyString(3)OCurrency in which a property price should be presented. This may lead to currency conversion, when the property's currency is different than the one provided in this field
Pull_GetPropertyAvbPrice_RQ/QuotePMSBooleanOFlag, which determines whether the PMS should be quoted for the price. Default value of this flag is false. This setting works only for Rentals United.
Pull_GetPropertyAvbPrice_RQ/AllowLongstaysBooleanOSetting this flag to true allows to quote for longer datespans than 120 days. Default value of this flag is false
Pull_GetPropertyAvbPrice_RQ/CouponCodeStringOOptional guest promo coupon code. Omit for an undiscounted quote

Response​

Property available​

<Pull_GetPropertyAvbPrice_RS>
<Status ID="0">Success</Status>
<ResponseID>60f6ee655ac14200a067dc74abdbac4e</ResponseID>
<PropertyPrices PropertyID="1" Currency="EUR" Units="1">
<PropertyPrice NOP="1" Cleaning="0.00" ExtraPersonPrice="0.00" Deposit="922.00" SecurityDeposit="336.00" AdditionalFees="122.00" Taxes="10.00" Fees="112.00">922.00</PropertyPrice>
<PropertyPrice NOP="2" Cleaning="0.00" ExtraPersonPrice="160.00" Deposit="1082.00" SecurityDeposit="336.00" AdditionalFees="122.00" Taxes="10.00" Fees="112.00">1082.00</PropertyPrice>
<PropertyPrice NOP="3" Cleaning="0.00" ExtraPersonPrice="240.00" Deposit="1162.00" SecurityDeposit="336.00" AdditionalFees="122.00" Taxes="10.00" Fees="112.00">1162.00</PropertyPrice>
</PropertyPrices>
<ReservationsBreakdowns>
<ReservationBreakdown NOP="1">
<RUBreakdown>
<DayPrices Date="2014-01-04">
<Rent>200.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>221.75</Price>
</DayPrices>
<DayPrices Date="2014-01-05">
<Rent>200.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>221.75</Price>
</DayPrices>
<DayPrices Date="2014-01-06">
<Rent>200.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>221.75</Price>
</DayPrices>
<DayPrices Date="2014-01-07">
<Rent>200.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>221.75</Price>
</DayPrices>
<TotalFeesTaxes>
<TotalFeeTax AlreadyIncluded="false" Amount="12.0" Name="Pet fee"/>
<TotalFeeTax AlreadyIncluded="false" Amount="40.0" Name="Parking Fee" />
<TotalFeeTax AlreadyIncluded="false" Amount="35.0" Name="Cleaning Fee" />
<TotalFeeTax AlreadyIncluded="false" Amount="10.0" Name="Tourist Tax" />
<TotalFeeTax AlreadyIncluded="false" Amount="25.0" Name="Gas Fee" />
</TotalFeesTaxes>
<Total>922.00</Total>
<Rent>800.0</Rent>
</RUBreakdown>
<ChannelBreakdown />
</ReservationBreakdown>
<ReservationBreakdown NOP="2">
<RUBreakdown>
<DayPrices Date="2014-01-04">
<Rent>240.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>261.75</Price>
</DayPrices>
<DayPrices Date="2014-01-05">
<Rent>240.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>261.75</Price>
</DayPrices>
<DayPrices Date="2014-01-06">
<Rent>240.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>261.75</Price>
</DayPrices>
<DayPrices Date="2014-01-07">
<Rent>240.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>261.75</Price>
</DayPrices>
<TotalFeesTaxes>
<TotalFeeTax AlreadyIncluded="false" Amount="12.0" Name="Pet fee"/>
<TotalFeeTax AlreadyIncluded="false" Amount="40.0" Name="Parking Fee" />
<TotalFeeTax AlreadyIncluded="false" Amount="35.0" Name="Cleaning Fee" />
<TotalFeeTax AlreadyIncluded="false" Amount="10.0" Name="Tourist Tax" />
<TotalFeeTax AlreadyIncluded="false" Amount="25.0" Name="Gas Fee" />
</TotalFeesTaxes>
<Total>1082.00</Total>
<Rent>960.0</Rent>
</RUBreakdown>
<ChannelBreakdown />
</ReservationBreakdown>
<ReservationBreakdown NOP="3">
<RUBreakdown>
<DayPrices Date="2014-01-04">
<Rent>260.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>281.75</Price>
</DayPrices>
<DayPrices Date="2014-01-05">
<Rent>260.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>281.75</Price>
</DayPrices>
<DayPrices Date="2014-01-06">
<Rent>260.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>281.75</Price>
</DayPrices>
<DayPrices Date="2014-01-07">
<Rent>260.0</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="10.0" Name="Parking Fee" />
<Tax AlreadyIncluded="false" Amount="2.5" Name="Tourist Tax" />
<Tax AlreadyIncluded="false" Amount="6.25" Name="Gas Fee" />
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="3.0" Name="Pet fee"/>
</Fees>
<Price>281.75</Price>
</DayPrices>
<TotalFeesTaxes>
<TotalFeeTax AlreadyIncluded="false" Amount="12.0" Name="Pet fee"/>
<TotalFeeTax AlreadyIncluded="false" Amount="40.0" Name="Parking Fee" />
<TotalFeeTax AlreadyIncluded="false" Amount="35.0" Name="Cleaning Fee" />
<TotalFeeTax AlreadyIncluded="false" Amount="10.0" Name="Tourist Tax" />
<TotalFeeTax AlreadyIncluded="false" Amount="25.0" Name="Gas Fee" />
</TotalFeesTaxes>
<Total>1162.00</Total>
<Rent>1040.0</Rent>
</RUBreakdown>
<ChannelBreakdown />
</ReservationBreakdown>
</ReservationsBreakdowns>
<AppliedCoupon>
<CouponCode>OFF10</CouponCode>
<Title>Off season discount</Title>
<Amount>
<Rent>-200</Rent>
<Taxes>-34</Taxes>
<Total>-234</Total>
</Amount>
</AppliedCoupon>
</Pull_GetPropertyAvbPrice_RS>

Property unavailable​

<Pull_GetPropertyAvbPrice_RS>
<Status ID="1">Property is not available for the specified dates</Status>
</Pull_GetPropertyAvbPrice_RS>

Response fields​

XML PathData TypeTypeDescription
Pull_GetPropertyAvbPrice_RSCRoot element
Pull_GetPropertyAvbPrice_RS/StatusString(100)MSee ListStatuses
Pull_GetPropertyAvbPrice_RS/Status@IDIntegerMSee ListStatuses
Pull_GetPropertyAvbPrice_RS/ResponseIDString(32)MUnique response ID
Pull_GetPropertyAvbPrice_RS/PropertyPricesC, OA collection of the final property prices depending on the number of guests
Pull_GetPropertyAvbPrice_RS/PropertyPrices@PropertyIDStringMUnique property ID
Pull_GetPropertyAvbPrice_RS/PropertyPrices@CurrencyString(3)MCurrency. If currency was passed as an argument to the request, all the prices will be displayed in that currency, otherwise the property currency will be shown, see ListCurrencies
Pull_GetPropertyAvbPrice_RS/PropertyPrices@UnitsIntegerMNumber of units available
Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPriceDecimal (19,2)MFinal property price depending on the number of guests
Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@NOPIntegerMNumber of guest for which the price is valid
Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@CleaningDecimal (19,2)MCleaning fee (included in PropertyPrice)
Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@ExtraPersonPriceDecimal (19,2)MExtra person fee (included in PropertyPrice)
Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@DepositDecimal (19,2)MThe required deposit
Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@SecurityDepositDecimal (19,2)MRefundable security deposit paid by the client directly to the property owner upon arrival
Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@AdditionalFeesDecimal (19,2)MAll fees and taxes that were included in final property price. Cleaning fee is excluded from this value and presented separately Do not use this attribute value in code. Please use PropertyPrice@Taxes and PropertyPrice@Fees attributes.
Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@TaxesDecimal (19,2)MOnly taxes that were included in the final property price
Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@FeesDecimal (19,2)MOnly fees that were included in the final property price. Note that the cleaning fee is excluded from this value and presented separately
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdownsC, OA collection of reservation breakdown details, each for specified number of guests
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdownMA container object for the reservation price breakdown details for specified number of guests
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown@NOPIntegerMNumber of guests for which the breakdown is calculated
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdownC, MA container object for the reservation price breakdown details calculated on the basis of the property fees and taxes setup as it is in Rentals United
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPricesC, MA collection of objects containing price information for each day of the reservation
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices@DateString(10)MDaily date (in the YYYY-MM-DD format) for which the price breakdown is displayed
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/RentDecimal(19,2)MThe value of the base rent for specific day
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/TaxesC, OA collection of taxes for specific DayPrices@Date of the reservation
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Taxes/Tax@AlreadyIncludedBooleanMInformation if the tax value is included in Rent
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Taxes/Tax@AmountDecimal(19,2)MThe amount of tax for the particular stay date
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Taxes/Tax@NameString(50)MTax description
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/FeesC, OA collection of fees for specific DayPrices@Date of the reservation
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Fees/Fee@AlreadyIncludedBooleanMInformation if the fee value is included in Rent
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Fees/Fee@AmountDecimal(19,2)MThe amount of fee for the particular stay date
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Fees/Fee@NameString(50)MFee description
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/TotalFeesTaxesC,MA container objects for fees and taxes applied for the whole stay
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/TotalFeesTaxes/TotalFeeTax@AlreadyIncludedBooleanMInformation if the total tax/fee amount of one type is included in Rent
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/TotalFeesTaxes/TotalFeeTax@AmountDecimal(19,2)MThe overall value of taxes and fees of the whole stay.The maximum accepted value is 214748.36
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/TotalFeesTaxes/TotalFeeTax@NameString(50)MTax/fee description
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/TotalDecimal(19,2)MThe overall value of rent, fees and taxes of the whole stay
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/RentDecimal(19,2)MThe value of rent for the whole stay
Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/ChannelBreakdownC,MA container object for the reservation price breakdown as received from the sales channel
Pull_GetPropertyAvbPrice_RS/AppliedCouponC, OPresent when a coupon was sent and applied. Omitted when no coupon was sent or none was applied. Payable totals already reflect the discount
Pull_GetPropertyAvbPrice_RS/AppliedCoupon/CouponCodeStringMApplied coupon code
Pull_GetPropertyAvbPrice_RS/AppliedCoupon/TitleStringMCoupon title from the source
Pull_GetPropertyAvbPrice_RS/AppliedCoupon/AmountC, MDiscount amounts for this coupon
Pull_GetPropertyAvbPrice_RS/AppliedCoupon/Amount/RentDecimalMDiscount applied to rent
Pull_GetPropertyAvbPrice_RS/AppliedCoupon/Amount/TaxesDecimalMDiscount applied to taxes
Pull_GetPropertyAvbPrice_RS/AppliedCoupon/Amount/TotalDecimalMTotal discount (Rent + Taxes)