postBookingAncillarySearch.do
function should be called prior to this one.Procedure: 1.Copy the Session ID into the request body. 2.Type the passenger information and "product code" selected from the response in "postBookingAncillarySearch.do".
{
"sessionId": "2cf48a2a-231e-40f6-aabd-95d4e7c5e68c",
"ancillaryCategory": "BAGGAGE",
"ticketOrderNo": "ANGXV20250721232014646",
"passengers": [
{
"name": "************",
"passengerType": 0,
"ancillaries": [
{
"productCode": "SCI_BAG_1PC_15KG",
"segmentIndex": 1
}
]
}
],
"payment": {
"cardType": "Mastercard"
}
}
curl --location --request POST 'https://sandbox.atriptech.compostBookingAncillaryOrder.do' \
--header 'Accept: application/json' \
--header 'Accept;' \
--header 'Accept-Encoding: gzip' \
--header 'Accept-Encoding;' \
--header 'x-atlas-client-id: <YOUR_CLIENT_ID>' \
--header 'x-atlas-client-id;' \
--header 'x-atlas-client-secret: <YOUR_CLIENT_SECRET>' \
--header 'x-atlas-client-secret;' \
--header 'Content-Type: application/json' \
--data-raw '{
"sessionId": "2cf48a2a-231e-40f6-aabd-95d4e7c5e68c",
"ancillaryCategory": "BAGGAGE",
"ticketOrderNo": "ANGXV20250721232014646",
"passengers": [
{
"name": "************",
"passengerType": 0,
"ancillaries": [
{
"productCode": "SCI_BAG_1PC_15KG",
"segmentIndex": 1
}
]
}
],
"payment": {
"cardType": "Mastercard"
}
}'
{
"status": 0,
"msg": null,
"sessionId": "2cf48a2a-231e-40f6-aabd-95d4e7c5e68c",
"orderNo": "BZYPU20250805170848969",
"totalPrice": 23.07,
"totalTransactionFee": 0.75,
"currency": "USD",
"vendorTotalPrice": 84.70,
"vendorCurrency": "AED",
"tktLimitTime": "2025-08-05 17:24:48",
"paxTicketInfos": [
{
"name": "************",
"passengerType": 0,
"birthday": "********",
"gender": "*",
"cardNum": "*********",
"cardType": "**",
"cardIssuePlace": "**",
"cardExpired": "********",
"nationality": "**",
"ticketNos": null,
"airlinePNRs": null,
"contactEmails": null,
"contactPhones": null,
"ancillaries": [
{
"productCode": "SCI_BAG_1PC_15KG",
"segmentIndex": 1,
"ancillaryPrice": 23.07,
"currency": "USD",
"auxBaggageElement": {
"piece": 1,
"weight": 15,
"isAllWeight": true,
"size": null
},
"displayPrice": 85.54,
"displayCurrency": "PLN"
}
]
}
],
"paymentOptions": [
{
"paymentMethod": 3,
"serviceFee": {
"amount": 0.75,
"currency": "USD",
"deductFrom": "DEPOSIT",
"displayAmount": null,
"displayCurrency": null
},
"ticketFare": {
"amount": 84.70,
"currency": "AED",
"deductFrom": "CARD",
"displayAmount": null,
"displayCurrency": null
},
"paymentFee": null,
"cardType": null
}
],
"ticketOrderNo": "ANGXV20250721232014646"
}