latestOpenAPI 3.0.12026-08-102668257.3 KB

8e9a8f8010ab

Shopping and Ticketing

Confirm Baggage Price Change

Purpose: Confirm acceptance of the airline baggage price increase for an OTA order that is waiting for baggage price change confirmation.

Prerequisite: The order must have received baggage price change error 3011 and must still be within the configured confirmation period.

Endpoint: https://sandbox.atriptech.com/confirmBaggageLoss.do

The client identity is obtained from the authentication headers. Do not send cid, sub-order number, or a separate confirmation flag in the request body.

post/confirmBaggageLoss.do

Headers

Acceptstring required
Content-Typestring required
Accept-Encodingstring required
x-atlas-client-idstring required
x-atlas-client-secretstring required

Request body

orderNostring required

Atlas main order number that is waiting for baggage price change confirmation.

Response

status0 | 336 | 337 | 800 | 902 | 9999 required
  • 0: Confirmation accepted.
  • 336: No pending baggage price change confirmation exists for this order.
  • 337: Confirmation period has expired.
  • 800: Order does not exist.
  • 902: The order does not belong to the authenticated client.
  • 9999: Internal error.
msgstring required

It serves as an additional description of the response result. Especially when the interface reports an error (status !=0), it is usually a human-readable error message. Note: Do not use this field in any programming scenarios. For example, do not judge whether the interface responds successfully based on this field. Instead, you should only determine it by checking whether the status is equal to0at any time.

requestIdstring nullable

Atlas request identifier.

clientRequestIdstring nullable

Client request identifier, when supplied by the caller.