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

Search Ancillary

POST
/postBookingAncillarySearch.do
Dependency:
No preceding function needs to be carried out. The order should be ticketed and the departure date should be in the future.
Please note the below "Rules & Restrictions" while initiating a post-ticketing transaction.
1.
Single Booking Limit: Check-in baggage and Carry-on baggage can be added to the segment of passenger either in-booking or post-booking phase altogether or separately, but each type of baggage can only be added one time for the given segment throughout the whole flow. This rule aims to simplify the baggage booking flow for customers by sending the query only one time to book multiple baggages.
2.
Product Code: "Product code" contains various baggage offerings in aspects of baggage pieces and weights for each airline.
3.
Restrictions for Infants: Baggage ancillary is not allowed to be booked for infant passenger.
4.
Post-Booking Baggage Additions: It is not allowed to add the same type of post-booking baggage to a ticketed order the second time unless the first purchase fails in payment. Please refer to the below scenarios:
a. When the post-booking order is in "ticket-in-process" and "ticketed" status, it's not allowed to order another one. If any query is called, API will respond with an error message.
b. When the post-booking order is in "cancelled" status, the customer can create another order.
c. When the post-booking order is in "unpaid" status, the customer can create another order. However, if one of the orders completes the payment and moves to "ticketing-in-process" status, the other orders will stop processing the payment.
5.
Existing Baggage Policies: In case the air ticket order already contains free baggage, it’s subject to airline’s ancillary policy whether additional baggage is allowed to be purchase either at the booking flow or the post-booking flow.
6.
Consistent Product Codes in Connecting Flights: Same “product code” for baggage is mandatory to be added to each segment in connecting flights. If the "product code" is different for each of the segment (in the same direction) or not added for all the sectors, the API will respond with an error message.
7.
Round-Trip Baggage Rule: Rule No.6 doesn't work for round trip flights. This means that the outbound and inbound segments can have different product codes. For example, outbound journey may have a product code of 1PC and 10KG while the inbound journey may have a product code of 20KG. This is allowed.
8.
API Request Information: The details of only the passenger for whom the ancillary needs to be added must be sent in the API RQ.
Endpoint:
https://sandbox.atriptech.com/postBookingAncillarySearch.do

Request

Header Params

Body Params application/json

Example
{
    "airlinePNR": "89105616",
    "ancillaryCategory": "BAGGAGE",
    "carrier": "3O",
    "displayCurrency": "PLN",
    "paymentMethod": 3
}

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.com/postBookingAncillarySearch.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 '{
    "airlinePNR": "89105616",
    "ancillaryCategory": "BAGGAGE",
    "carrier": "3O",
    "displayCurrency": "PLN",
    "paymentMethod": 3
}'

Responses

🟢200Success
application/json
Body

Example
{
    "status": 0,
    "msg": "success",
    "sessionId": "2cf48a2a-231e-40f6-aabd-95d4e7c5e68c",
    "ticketOrderNo": "ANGXV20250721232014646",
    "currency": "USD",
    "fromSegments": [
        {
            "arrAirport": "TNG",
            "arrTerminal": "",
            "arrTime": "202509141600",
            "cabin": "1",
            "cabinClass": 1,
            "carrier": "3O",
            "codeShare": false,
            "depAirport": "BCN",
            "depTerminal": "",
            "depTime": "202509141505",
            "duration": 115,
            "fareFamily": "Basic",
            "flightNumber": "3O378",
            "operatingCarrier": "3O",
            "operatingFlightnumber": "",
            "seatCount": 0,
            "segmentIndex": 1,
            "stopCities": ""
        }
    ],
    "retSegments": [],
    "ancillaryProductElements": [
        {
            "ancillaryCode": "SCI_BAG_1PC_15KG",
            "auxBaggageElement": {
                "allWeight": true,
                "piece": 1,
                "weight": 15
            },
            "canPurchasePostTicket": 1,
            "canPurchaseWithTicket": 0,
            "categoryCode": "StandardCheckInBaggage",
            "clientTechnicalServiceFee": 0.75,
            "clientTechnicalServiceFeeMode": "PER_TICKET",
            "currency": "USD",
            "displayCurrency": "PLN",
            "displayPrice": 85.54,
            "maxQty": 1,
            "minQty": 1,
            "price": 23.07,
            "productCode": "SCI_BAG_1PC_15KG",
            "segmentIndex": 1,
            "vendorCurrency": "AED",
            "vendorPrice": 84.70
        },
        {
            "ancillaryCode": "SCI_BAG_1PC_20KG",
            "auxBaggageElement": {
                "allWeight": true,
                "piece": 1,
                "weight": 20
            },
            "canPurchasePostTicket": 1,
            "canPurchaseWithTicket": 0,
            "categoryCode": "StandardCheckInBaggage",
            "clientTechnicalServiceFee": 0.75,
            "clientTechnicalServiceFeeMode": "PER_TICKET",
            "currency": "USD",
            "displayCurrency": "PLN",
            "displayPrice": 106.93,
            "maxQty": 1,
            "minQty": 1,
            "price": 28.84,
            "productCode": "SCI_BAG_1PC_20KG",
            "segmentIndex": 1,
            "vendorCurrency": "AED",
            "vendorPrice": 105.88
        },
        {
            "ancillaryCode": "SCI_BAG_1PC_25KG",
            "auxBaggageElement": {
                "allWeight": true,
                "piece": 1,
                "weight": 25
            },
            "canPurchasePostTicket": 1,
            "canPurchaseWithTicket": 0,
            "categoryCode": "StandardCheckInBaggage",
            "clientTechnicalServiceFee": 0.75,
            "clientTechnicalServiceFeeMode": "PER_TICKET",
            "currency": "USD",
            "displayCurrency": "PLN",
            "displayPrice": 128.31,
            "maxQty": 1,
            "minQty": 1,
            "price": 34.60,
            "productCode": "SCI_BAG_1PC_25KG",
            "segmentIndex": 1,
            "vendorCurrency": "AED",
            "vendorPrice": 127.05
        },
        {
            "ancillaryCode": "SCI_BAG_1PC_30KG",
            "auxBaggageElement": {
                "allWeight": true,
                "piece": 1,
                "weight": 30
            },
            "canPurchasePostTicket": 1,
            "canPurchaseWithTicket": 0,
            "categoryCode": "StandardCheckInBaggage",
            "clientTechnicalServiceFee": 0.75,
            "clientTechnicalServiceFeeMode": "PER_TICKET",
            "currency": "USD",
            "displayCurrency": "PLN",
            "displayPrice": 149.69,
            "maxQty": 1,
            "minQty": 1,
            "price": 40.36,
            "productCode": "SCI_BAG_1PC_30KG",
            "segmentIndex": 1,
            "vendorCurrency": "AED",
            "vendorPrice": 148.22
        },
        {
            "ancillaryCode": "SCI_BAG_1PC_40KG",
            "auxBaggageElement": {
                "allWeight": true,
                "piece": 1,
                "weight": 40
            },
            "canPurchasePostTicket": 1,
            "canPurchaseWithTicket": 0,
            "categoryCode": "StandardCheckInBaggage",
            "clientTechnicalServiceFee": 0.75,
            "clientTechnicalServiceFeeMode": "PER_TICKET",
            "currency": "USD",
            "displayCurrency": "PLN",
            "displayPrice": 192.46,
            "maxQty": 1,
            "minQty": 1,
            "price": 51.90,
            "productCode": "SCI_BAG_1PC_40KG",
            "segmentIndex": 1,
            "vendorCurrency": "AED",
            "vendorPrice": 190.57
        }
    ],
    "supportPaymentMethods": [
        3
    ],
    "supportCreditTransPayment": "1",
    "cardChargeList": []
}
Modified at 2025-09-02 05:57:06
Previous
Get Luggage
Next
Order Ancillary
Built with