Async Flows

Overview

Asynchronous search is a process where the search operation continues in the background after the initial set of hotels is returned and presented to the user, allowing the main program to display results within seconds without waiting for the full search to complete, thereby enhancing efficiency and responsiveness.

The "Hotels - Async Flows" section documents and explains the various asynchronous flows in HSP, specifically:

  1. One (Async) API
    The One API triggers an asynchronous API request for a specific HotelID , which is created from existing requests (Search, GetPackages, Cxl-policy, and PreBook).
  2. Hotels Async API
    The Hotels Async API - extends the functionality of the standard Hotels search by incorporating asynchronous search capabilities.
  3. Wrapper (B2C) Async API
    The Wrapper B2C Async API - extends the functionality of the B2C Wrapper API search by incorporating asynchronous search capabilities.