latestOpenAPI 3.0.12026-08-102668257.3 KB
8e9a8f8010ab
Shopping and Ticketing
Smart Search(Only For TMC)
Advantages of Smart Search:
- Supports real-time search for booking windows and routes not covered in "Search API".
- Enhances search result rate and overall coverage.
Points to note:
- Smart Search will be activated "on demand". Please contact your account manager or sales director if you want this feature to be activated.
- The ist response will return the results from the cache. if the "smartEnd"=false, send the subsequent requests until if the "smartEnd"=true to get all the results from the LIVE search.
- <span style="color:rgb(255, 140, 0)">Use production endpoint being used for APls other than search APl.</span>
Workflow:
- Send the "Smart Search" request(called First Request) and receive the response, which includes an ID (requestId) used to identify the entire search process, and may also contain part of the flight data(routings).
- After receiving the response, if thesmartEnd=false, then send another request (called Subsequent Request) only with therequestId.
- Follow this flow untilsmartEnd=true. This means that the smart search has been completed.
post/smartSearch.do
Headers
Acceptstring required
Content-Typestring required
Accept-Encodingstring required
x-atlas-client-idstring required
x-atlas-client-secretstring required