Previously, the “getbookings” function allowed limited ability to request reservations for specific dates. Now, since version 3.1 (released April 3, 2011), new selection criteria have been added to query reservations by 1) booking date, 2) modification date, or 3) guest arrival date. See section 3.3 of the API Guide.
Additionally, several important new features have been added to the “setallocation” and “getroomtypes” functions.
- Promotional discounts for advance booking – a discount to be applied to the base rate if a reservation is booked early (i.e., at least the specified “days” prior to arrival date).
- Promotional discounts for lengthy stays – a discount to be applied to the base rate if a reservation is longer than the specified minimum # days.
- Enhanced Minimum Stay function – The minimum stay functionality now allows the user to apply specific stay limits for various date ranges. Because of these enhancements the former <minstay>, <minstay_weekend>, and <maxstay> elements have been deprecated, and will no longer be available after September 30, 2011. Version 3.2 introduces the new <minstays> element, which replaces the former functionality.
For more information about these enhanced features, please see section 3.1.1 and 3.2.1.c of the new guide.
As a reminder, the Instant World Booking XML API also includes a full White Label Affiliate Program API (see section 2.0). This API enables users to implement a complete white-label online booking solution on their website, suitable for booking hotels, hostels, and B&B inns.