Blocking Search API

The Blocking Search API is useful when the user's wait time for viewing the results is not a concern. Unlike the Asynchronous Search API, where a search request returns a token used to poll for results later, the Blocking Search API provides both the token and the result set in the same response.

Note: The request structure for both the Asynchronous Search API and Blocking Search API is identical.

Blocking Search API details:
HTTP: POST
Endpoint:{baseEndpoint}/api/hotel/availability

FAQs

Does the blocking search return the complete set of results, or do we have to perform polling as we do in asynchronous flow?
Yes, the blocking search returns the complete set of results in the response.

Error Codes

Error CodeError Message
4001Invalid data in request - Please refer to the fields[] for more details.
5000Your request failed due to an unknown system error. Please contact support team with the correlationId.