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:
- 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). - Hotels Async API
The Hotels Async API - extends the functionality of the standard Hotels search by incorporating asynchronous search capabilities. - Wrapper (B2C) Async API
The Wrapper B2C Async API - extends the functionality of the B2C Wrapper API search by incorporating asynchronous search capabilities.
Updated 3 months ago