latestOpenAPI 3.0.12026-08-102668257.3 KB
8e9a8f8010ab
Shopping and Ticketing
Price Compare Search
Purpose: Search comparable fares for a route/date/airline filter. The endpoint performs synchronous smart search and is intended for fare comparison scenarios.
Dependency: No preceding function needs to be called before this API.
Important notes:
- The returned settlement currency is determined by client configuration or the optional currency request field.
- Total payable amount for one adult passenger is normally adultPrice + adultTax + transactionFeePerPax.
- When supportCreditTransPayment = 1, vendorFare contains the airline/vendor-side fare. When pass-through payment is not supported, supportCreditTransPayment = 0 and vendorFare may be null or omitted.
- ancillaryProductElements depends on client configuration and airline support.
- links may include airline terms and conditions.
- When status = 0 but routings is empty, check noResultReason for the business reason and possible recent available flight dates.
- Display-currency values are for display only and should not be used for settlement, fare comparison, or accounting.
post/priceCompareSearch.do
Headers
Acceptstring required
Expected response media type. Use application/json.
Content-Typestring required
Request body media type. Use application/json.
Accept-Encodingstring required
Enable gzip response compression when supported.
x-atlas-client-idstring required
Atlas client ID. The server uses this value as the request customer identifier.
x-atlas-client-secretstring required
Atlas client secret for authentication. Use the secret assigned to the client ID.
Request body
Response
Successful HTTP response. Business success or failure is indicated by the status field in the response body.