Availabilities

An availability represents an operator’s ability to service a tour or attraction for a given number of guests (capacity) at a specific time. Availabilities play a critical role in the Booking API, as they are required to book any RESERVED-type Rates.

Any Booking API user can fetch availabilities through the Booking API for suppliers, products or rates bound to their channel. All availabilities are fetched through the Redeam Availability Cache, which ensures that queries are returned to clients in a timely manner.

Redeam Availability Cache

Redeam’s Availability Cache serves two primary functions: guarantee a maximum response time on requests, and decrease network traffic to reservation systems.

Availability requests are always serviced by the availability cache:

  • If no cached availability exists for the request, the client receives an empty response.
  • If availabilities are present in the cache that satisfy the request & are less than five minutes old, they are returned to the client.
  • If any cached availability that satisfies the request is older than five minutes, the request is forwarded to the reservation system.

If the reservation system takes longer than two seconds to respond, Redeam will return all available cached data to the client, and update the cache once the reservation system responds.

Flow Diagram

FAQ

What is byProduct in the Availability response

The byProduct list in the Availability response is no longer used; availabilities will always be returned under the byRate list.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard