Atlas API-Sabre
  1. Post Ticketing Service
Atlas API-Sabre
  • Shopping and Ticketing
    • Search
      POST
    • Verify
      POST
    • Order
      POST
    • Order Commit
      POST
    • Payment
      POST
    • Retrieve Booking
      POST
    • Smart Search(Only For TMC)
      POST
    • Get Offer
      POST
    • Seat Availability
      POST
    • Get Luggage
      POST
  • Post Ticketing Service
    • Search Ancillary
      POST
    • Order Ancillary
      POST
  • Notifications and Webhook
    • Register Webhook
      POST
    • Incident List
      POST
  • Refund
    • Refund Quotation
      POST
    • Make a Refund
      POST
    • Query Refund Status
      POST
  • Other Functions
    • Regenerate Order
      POST
    • Stop Ticket Issuance
      POST
    • Order List
      POST
    • PNR Claim
      POST
    • Get Balance
      POST
    • City Pairs API
      POST
    • Email List
      POST
    • Extract PNR
      POST
    • getAtripToken
      POST
  1. Post Ticketing Service

Order Ancillary

POST
postBookingAncillaryOrder.do
Dependency:
The 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".
Endpoint:
https://sandbox.atriptech.com/postBookingAncillaryOrder.do

Request

Header Params

Body Params application/json

Example
{
    "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"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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"
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "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"
}
Modified at 2025-09-02 05:57:38
Previous
Search Ancillary
Next
Register Webhook
Built with