latestOpenAPI 3.0.12026-08-102668257.3 KB
8e9a8f8010ab
Shopping and Ticketing
Get Luggage
In a booking process, please call the 'getLuggage' API to get precise baggage quotes after price verification via 'verify' or 'getOffer'. Steps:
- API sequence
- Search - Verify- getLuggage - Order - Pay
- getOffer - getLuggage - Order - Pay
- For exact baggage prices, request 'getLuggage'.
- Pass 'offerId' in 'getLuggage' requests:
- From 'verify': Use sessionId as offerId
- From 'getOffer': Use its offerId directly.
- 'getLuggage' returns all flight segments' baggage data, each identified by a unique productCode.
- In the Order step, use the productCode to add specific baggage products to the ticket order.
post/getLuggage.do
Headers
x-atlas-client-idstring required
api access id
x-atlas-client-secretstring required
api access secret
Accept-Encodingstring
建议设置该请求头,能很大程度地减小网络传输报文的大小
Acceptstring required
Content-Typestring required