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
- ALWAYS call this before creating reservation
- Cache for very short time (5-10 minutes max)
- Handle price changes gracefully
- 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 Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_GetPropertyAvbPrice_RQ | C | Root element | |
| Pull_GetPropertyAvbPrice_RQ/Authentication | C, M | Authentication details | |
| Pull_GetPropertyAvbPrice_RQ/Authentication/AccessKey | String(100) | M | Access key |
| Pull_GetPropertyAvbPrice_RQ/Authentication/SecretKey | String(100) | M | Secret key |
| Pull_GetPropertyAvbPrice_RQ/PropertyID | String | M | Unique property ID |
| Pull_GetPropertyAvbPrice_RQ/DateFrom | String(10) | M | Arrival date (YYYY-MM-DD format) |
| Pull_GetPropertyAvbPrice_RQ/DateTo | String(10) | M | Departure date (YYYY-MM-DD format) |
| Pull_GetPropertyAvbPrice_RQ/NOP | Integer | M | Number of guests. If it's provided the response will include the price details for the specified number of guests only |
| Pull_GetPropertyAvbPrice_RQ/Currency | String(3) | O | Currency 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/QuotePMS | Boolean | O | Flag, 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/AllowLongstays | Boolean | O | Setting this flag to true allows to quote for longer datespans than 120 days. Default value of this flag is false |
| Pull_GetPropertyAvbPrice_RQ/CouponCode | String | O | Optional 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 Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_GetPropertyAvbPrice_RS | C | Root element | |
| Pull_GetPropertyAvbPrice_RS/Status | String(100) | M | See ListStatuses |
| Pull_GetPropertyAvbPrice_RS/Status@ID | Integer | M | See ListStatuses |
| Pull_GetPropertyAvbPrice_RS/ResponseID | String(32) | M | Unique response ID |
| Pull_GetPropertyAvbPrice_RS/PropertyPrices | C, O | A collection of the final property prices depending on the number of guests | |
| Pull_GetPropertyAvbPrice_RS/PropertyPrices@PropertyID | String | M | Unique property ID |
| Pull_GetPropertyAvbPrice_RS/PropertyPrices@Currency | String(3) | M | Currency. 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@Units | Integer | M | Number of units available |
| Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice | Decimal (19,2) | M | Final property price depending on the number of guests |
| Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@NOP | Integer | M | Number of guest for which the price is valid |
| Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@Cleaning | Decimal (19,2) | M | Cleaning fee (included in PropertyPrice) |
| Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@ExtraPersonPrice | Decimal (19,2) | M | Extra person fee (included in PropertyPrice) |
| Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@Deposit | Decimal (19,2) | M | The required deposit |
| Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@SecurityDeposit | Decimal (19,2) | M | Refundable security deposit paid by the client directly to the property owner upon arrival |
| Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@Taxes | Decimal (19,2) | M | Only taxes that were included in the final property price |
| Pull_GetPropertyAvbPrice_RS/PropertyPrices/PropertyPrice@Fees | Decimal (19,2) | M | Only 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/ReservationsBreakdowns | C, O | A collection of reservation breakdown details, each for specified number of guests | |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown | M | A container object for the reservation price breakdown details for specified number of guests | |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown@NOP | Integer | M | Number of guests for which the breakdown is calculated |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown | C, M | A 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/DayPrices | C, M | A collection of objects containing price information for each day of the reservation | |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices@Date | String(10) | M | Daily date (in the YYYY-MM-DD format) for which the price breakdown is displayed |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Rent | Decimal(19,2) | M | The value of the base rent for specific day |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Taxes | C, O | A collection of taxes for specific DayPrices@Date of the reservation | |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Taxes/Tax@AlreadyIncluded | Boolean | M | Information if the tax value is included in Rent |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Taxes/Tax@Amount | Decimal(19,2) | M | The amount of tax for the particular stay date |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Taxes/Tax@Name | String(50) | M | Tax description |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Fees | C, O | A collection of fees for specific DayPrices@Date of the reservation | |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Fees/Fee@AlreadyIncluded | Boolean | M | Information if the fee value is included in Rent |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Fees/Fee@Amount | Decimal(19,2) | M | The amount of fee for the particular stay date |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/DayPrices/Fees/Fee@Name | String(50) | M | Fee description |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/TotalFeesTaxes | C,M | A container objects for fees and taxes applied for the whole stay | |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/TotalFeesTaxes/TotalFeeTax@AlreadyIncluded | Boolean | M | Information if the total tax/fee amount of one type is included in Rent |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/TotalFeesTaxes/TotalFeeTax@Amount | Decimal(19,2) | M | The 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@Name | String(50) | M | Tax/fee description |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/Total | Decimal(19,2) | M | The overall value of rent, fees and taxes of the whole stay |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/RUBreakdown/Rent | Decimal(19,2) | M | The value of rent for the whole stay |
| Pull_GetPropertyAvbPrice_RS/ReservationsBreakdowns/ReservationBreakdown/ChannelBreakdown | C,M | A container object for the reservation price breakdown as received from the sales channel | |
| Pull_GetPropertyAvbPrice_RS/AppliedCoupon | C, O | Present 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/CouponCode | String | M | Applied coupon code |
| Pull_GetPropertyAvbPrice_RS/AppliedCoupon/Title | String | M | Coupon title from the source |
| Pull_GetPropertyAvbPrice_RS/AppliedCoupon/Amount | C, M | Discount amounts for this coupon | |
| Pull_GetPropertyAvbPrice_RS/AppliedCoupon/Amount/Rent | Decimal | M | Discount applied to rent |
| Pull_GetPropertyAvbPrice_RS/AppliedCoupon/Amount/Taxes | Decimal | M | Discount applied to taxes |
| Pull_GetPropertyAvbPrice_RS/AppliedCoupon/Amount/Total | Decimal | M | Total discount (Rent + Taxes) |