Invoking the Property Details API
The Property Details API provides the name, address, features, amenities, taxes, rates, minimum-stay requirements, photo URLs, and other information specific to a Bookerville property.
The URL to use for invoking the Property Details API is:
You will of course replace the "s3cr3tK3y" parameter with your own Bookerville API access token. If you don't have one, you may apply for one here:
Request API Token
Note: for testing purposes it is fine to pass your API access token using simple query string parameters in the URL as in the sample above. Once you have completed testing, it is far better to pass it as an HTTP POST (form) parameter instead, because that is more secure.
The
bkvPropertyId parameter must be an integer and is the unique identifier for the property within Bookerville. This value is obtained from the
Summary API.
Property Details API Results
The results of a successful Property Details API call will appear as the following example XML:
Note: a missing XML field, or a field which has nothing in it, should not be interpreted as "deleting" the existing value in your system, nor overwriting it with blank, null, or zero. If we want to communicate a delete, or overwrite with blank, etc. then it will be positively expressed as such in the XML feed.
Best practice for missing or empty XML fields is to simply ignore them - take no action updating your data for it.
<CheckIn> and
<CheckOut>: These times will be specified in European/Military format, i.e. "3:30 PM" will be expressed as "15:30".
<Rates>: Bookerville provides a very large degree of flexibility to managers in setting rates. There can be an arbitrary number of <Rate> stanzas, each representing a date-range for which the rates apply. These <Rate> stanzas will never overlap each other though.
Rates are calculated for bookings as follows:
- If monthly rates are specified, price each 28-day contiguous block, starting with the check-in date, with the monthly rate.
- If weekly rates are specified, price each remaining 7-day contiguous block with the weekly rate.
- Remaining days are each priced with weekday & weekend daily rates. (Fri. and Sat. are weekend nights.)
<FreeGuests>: This is the
expected number of guests for the standard rates. A booking which has more than this number of guests will be subject to the over-occupancy surcharges. Please note: if zero, then it means this property has no limit to the number of guests which qualify to be covered by the nominal rates. In other words: if this value is zero, simply ignore it.
<PerPersonPerNight>: This is the over-occupancy surcharge if the total number of guests for a booking exceeds the expected occupancy (see <FreeGuests> above). The formula for calculating over-occupancy surcharges is: (total guests - <FreeGuests>) * <PerPersonPerNight>
<MultiDayDiscounts>: Multi-Day Discounts are applied only to
remaining days left after monthly and weekly rates have been applied. Only one Multi-Day Discount may be applied per booking: choose the greatest discount that applies.
<AutoDiscounts>: Bookerville's Auto-Discounter allows managers to specify a schedule of increasing discounts as vacant dates get closer. Only one Auto-Discount may be applied per booking: choose the greatest Auto-Discount that applies.
<SecurityDeposit>: This is a potential security deposit. If <Required> is "yes" then it is required, otherwise it is not.
- <Type>: "Refundable" or "Waiver". If "Waiver", then it is not refundable and the amount will be included in the booking total.
- <Amount>: Amount of the refundable security deposit.
- <AmountType>: "Flat Amount" or "Percent of Rent" - how to interpret the <Amount> field.
- <WaiverAmount>: If waiver (or guest option to choose) this will be the (non-refundable) waiver amount.
- <GuestChoice>: "yes" or "no". If "yes" then the guest is presented with a choice of either the Refundable Security Desposit, or the non-refundable waiver. Your system may or may not provide such guest options during booking, so you and/or your property manager customer will have to make a decision about what the default security deposit policy will be in your system.
<bookAheadDays>: This is the minimum number of days ahead that a guest must book in advance of arriving. A value of zero means they can book the same day as arrival. A value of 1 means guests must book at least one day before the arrival date; 2 means guests must book at least two days before the arrival date, etc.
<MinStays>: these work just like <Rates> - There can be an arbitrary number of <MinStay> stanzas, each representing a date-range for which the minimum-stay applies. These <MinStay> stanzas will never overlap each other though. Please note: the default should be understood to be 1-night min-stay. Any dates for which no MinStay records are shown should be considered to have a 1-night minimum stay.
<BookAheadDays>: The minimum numbver of days in advance of the arrival date that bookings must be made.
<Fees>: These are additional fees to be included in the booking total. Can be optional or mandatory. The Cost "type" can be any of these values:
- Flat Fee
- Flat Fee Per Night
- Percent of Rent
- Flat Fee Per Night Per Guest
- Percent of Total
There can only be one "Percent of Total" fee. This has been created to handle Travel Insurance, which is typically calculated as a percent of the absolute total of the booking.
<PrePayment>: This stanza contains any pre-payment required to secure a booking.