Atlas API-Sabre
  1. Other Functions
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. Other Functions

Regenerate Order

POST
/regenerateOrder.do
Dependency:
Order function should be called in prior to this call.
Endpoint:
https://sandbox.atriptech.com/regenerateOrder.do

Request

Header Params

Body Params application/json

Example
{
    "originalOrderNo": "AAYDY20250816162229555"
}

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/regenerateOrder.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 '{
    "originalOrderNo": "AAYDY20250816162229555"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "sessionId": "b4eabebb-c95f-4721-b3ac-65e7a553047a",
    "offerId": null,
    "orderNo": "AAWPQ20250816170913493",
    "originalOrderNo": "AAYDY20250816162229555",
    "ticketOrderNo": null,
    "totalPrice": 954.02,
    "totalTransactionFee": 7.18,
    "currency": "CNY",
    "vendorTotalPrice": 498.21,
    "vendorCurrency": "SAR",
    "tktLimitTime": "2025-08-16 17:39:13",
    "pnrCode": "FNCHLR",
    "includeExtraBaggage": 0,
    "paxTicketInfos": [
        {
            "serialVersionUID": 6508292362378020379,
            "name": "********",
            "passengerType": 0,
            "birthday": "********",
            "gender": "*",
            "cardNum": "*********",
            "cardType": "**",
            "cardIssuePlace": "**",
            "cardExpired": "********",
            "nationality": "**",
            "ticketNos": null,
            "airlinePNRs": null,
            "contactEmails": null,
            "contactPhones": null,
            "ticketStatus": null,
            "ancillaries": []
        }
    ],
    "routing": {
        "fid": "gxI2eU5jg8ny09kiTvZIxSgoO6cfIMz-Yl3QHGlIDERl7pomn85KJb1Jt6TNGiwV",
        "routingIdentifier": "UlVIX0RYQl8xXzIwMjUwODE3X18xXzBfMHxCR1M5NDIzMV9hcGlfMnwxfDk1NC4wMl85NTQuMDJfMzE0LjU4XzcuMThfMjIyOS44MF9DTll8UlVIX0RYQl8xXzIwMjUwODE3X18xXzBfMF5SVUgtWFkyMDUtLURYQi0yMDI1MDgxNzEyMjAtMjAyNTA4MTcxNTI1LVZBTDEtMS1eOTU0LjAyXzk1NC4wMl8zMTQuNThfNy4xOF8yMjI5LjgwXkFYWUFQSV9BWFleXkFYWTFSVUhEWEIyMDAyMDI1MDgxN15TQVJeNDk4LjIxXjQ5OC4yMV4xNjQuMjheMHwxfDIwMjUwODE2MTcwOTEzfDB8MTc1NTMzNTM1Mzc4M05aOGkxfHx8fHw3LjE4fDN8MHx8bm9ybWFsfGZhbHNl.GoNoudYJMU+2AiNREqc0xu6TNa3oT+PMg48hY/iKa/g=",
        "supportCreditTransPayment": "1",
        "supportPaymentMethods": [
            1,
            3
        ],
        "currency": "CNY",
        "adultPrice": 534.65,
        "adultTax": 419.37,
        "adultDetails": [
            {
                "code": "apiChannelFee",
                "type": "fee",
                "amount": 17.64,
                "description": ""
            },
            {
                "code": "farePrice",
                "type": "base",
                "amount": 517.01,
                "description": ""
            },
            {
                "code": "tax",
                "type": "tax",
                "amount": 419.37,
                "description": ""
            }
        ],
        "childPrice": 534.65,
        "childTax": 419.37,
        "childDetails": [
            {
                "code": "apiChannelFee",
                "type": "fee",
                "amount": 17.64,
                "description": ""
            },
            {
                "code": "farePrice",
                "type": "base",
                "amount": 517.01,
                "description": ""
            },
            {
                "code": "tax",
                "type": "tax",
                "amount": 419.37,
                "description": ""
            }
        ],
        "infantPrice": 314.58,
        "infantTax": 0.00,
        "infantDetails": [
            {
                "code": "apiChannelFee",
                "type": "fee",
                "amount": 8.19,
                "description": ""
            },
            {
                "code": "farePrice",
                "type": "base",
                "amount": 306.39,
                "description": ""
            },
            {
                "code": "tax",
                "type": "tax",
                "amount": 0,
                "description": ""
            }
        ],
        "childMandatorySeatingFee": null,
        "infantAllowed": true,
        "transactionFeePerPax": 7.18,
        "transactionFee": 7.18,
        "transactionFeeMode": "PER_PAX",
        "nationalityType": 0,
        "nationality": "",
        "suitAge": "",
        "PaxType": "ADT",
        "fromSegments": [
            {
                "segmentIndex": 1,
                "carrier": "XY",
                "flightNumber": "XY205",
                "depAirport": "RUH",
                "depTime": "202508171220",
                "arrAirport": "DXB",
                "arrTime": "202508171525",
                "stopCities": "",
                "duration": 125,
                "codeShare": false,
                "cabin": "",
                "cabinClass": 1,
                "seatCount": 2,
                "aircraftCode": "",
                "depTerminal": "",
                "arrTerminal": "",
                "operatingCarrier": "",
                "operatingFlightnumber": "",
                "fareFamily": "VAL1"
            }
        ],
        "retSegments": [],
        "combineIndexs": [],
        "rule": {
            "hasBaggage": 1,
            "baggageElements": [
                {
                    "segmentNo": 1,
                    "baggageType": "StandardCheckInBaggage",
                    "passengerType": 0,
                    "baggagePiece": 1,
                    "baggageWeight": 20,
                    "baggageSize": "75*50*33cm"
                },
                {
                    "segmentNo": 1,
                    "baggageType": "StandardCheckInBaggage",
                    "passengerType": 1,
                    "baggagePiece": 1,
                    "baggageWeight": 20,
                    "baggageSize": "75*50*33cm"
                },
                {
                    "segmentNo": 1,
                    "baggageType": "StandardCheckInBaggage",
                    "passengerType": 2,
                    "baggagePiece": 0,
                    "baggageWeight": 0,
                    "baggageSize": "75*50*33cm"
                },
                {
                    "segmentNo": 1,
                    "baggageType": "CabinBaggageOverheadLocker",
                    "passengerType": 0,
                    "baggagePiece": 1,
                    "baggageWeight": 7,
                    "baggageSize": "56*36*23cm"
                },
                {
                    "segmentNo": 1,
                    "baggageType": "CabinBaggageOverheadLocker",
                    "passengerType": 1,
                    "baggagePiece": 1,
                    "baggageWeight": 7,
                    "baggageSize": "56*36*23cm"
                },
                {
                    "segmentNo": 1,
                    "baggageType": "CabinBaggageOverheadLocker",
                    "passengerType": 2,
                    "baggagePiece": 0,
                    "baggageWeight": 0,
                    "baggageSize": "56*36*23cm"
                }
            ],
            "refundRules": [
                {
                    "refundType": 0,
                    "refundStatus": "T",
                    "refundMethod": "CASH_BACK_TO_ORIGINAL_PAYMENT",
                    "refundFee": 0.0,
                    "currency": "SAR",
                    "refNoshow": "T",
                    "refNoShowCondition": 0,
                    "refNoshowFee": 0.0,
                    "ruleDetailList": [
                        {
                            "ruleId": 56740,
                            "status": "T",
                            "refundMethod": "CashBackToOriginalPayment",
                            "startMinute": 525600,
                            "endMinute": 0,
                            "amount": 0.0,
                            "currency": "SAR"
                        },
                        {
                            "ruleId": 56741,
                            "status": "T",
                            "refundMethod": "CashBackToOriginalPayment",
                            "startMinute": 0,
                            "endMinute": -525600,
                            "amount": 0.0,
                            "currency": "SAR"
                        }
                    ],
                    "ruleList": [
                        {
                            "rowId": 56740,
                            "gmtCreate": 1747638757000,
                            "gmtModified": 1747638757000,
                            "creator": null,
                            "modifier": null,
                            "isDeleted": "N",
                            "airline": "XY",
                            "ruleType": "self_refund",
                            "ruleName": "self_refund_XY_38_lp3bh5",
                            "ruleKey": "self_refund_XY_2025051915123738",
                            "priority": 20,
                            "validBeginTime": 1570464000000,
                            "validEndTime": 11468966399000,
                            "depCity": null,
                            "arrCity": null,
                            "depCountry": null,
                            "arrCountry": null,
                            "bookingCode": null,
                            "fareFamily": "VAL1",
                            "cabinClass": null,
                            "timingMode": "depTime",
                            "timeLeft": null,
                            "timeRight": 0,
                            "travelBeginDate": null,
                            "travelEndDate": null,
                            "productType": null,
                            "ruleExtend": {
                                "ruleKey": "self_refund_XY_2025051915123738",
                                "canRefund": "N",
                                "canChange": null,
                                "canRefundTax": "N",
                                "canRefundPkg": null,
                                "canRefundCoupon": null,
                                "canMakeUpDiff": null,
                                "canNoShowRefund": null,
                                "amount": null,
                                "amountCurrency": "SAR",
                                "pricePercent": null,
                                "priceItem": null,
                                "taxItem": null,
                                "charge": null,
                                "chargeCurrency": null,
                                "canExemptSameDay": null,
                                "exemptDuration": null,
                                "ticketBeginTime": null,
                                "ticketEndTime": null,
                                "applyBeginTime": null,
                                "applyEndTime": null,
                                "travelBeginTime": null,
                                "travelEndTime": null
                            }
                        },
                        {
                            "rowId": 56741,
                            "gmtCreate": 1747638757000,
                            "gmtModified": 1747638757000,
                            "creator": null,
                            "modifier": null,
                            "isDeleted": "N",
                            "airline": "XY",
                            "ruleType": "self_refund",
                            "ruleName": "self_refund_XY_39_v7314B",
                            "ruleKey": "self_refund_XY_2025051915123739",
                            "priority": 20,
                            "validBeginTime": 1570464000000,
                            "validEndTime": 11468966399000,
                            "depCity": null,
                            "arrCity": null,
                            "depCountry": null,
                            "arrCountry": null,
                            "bookingCode": null,
                            "fareFamily": "VAL1",
                            "cabinClass": null,
                            "timingMode": "depTime",
                            "timeLeft": 0,
                            "timeRight": null,
                            "travelBeginDate": null,
                            "travelEndDate": null,
                            "productType": null,
                            "ruleExtend": {
                                "ruleKey": "self_refund_XY_2025051915123739",
                                "canRefund": "N",
                                "canChange": null,
                                "canRefundTax": "N",
                                "canRefundPkg": null,
                                "canRefundCoupon": null,
                                "canMakeUpDiff": null,
                                "canNoShowRefund": null,
                                "amount": null,
                                "amountCurrency": "SAR",
                                "pricePercent": null,
                                "priceItem": null,
                                "taxItem": null,
                                "charge": null,
                                "chargeCurrency": null,
                                "canExemptSameDay": null,
                                "exemptDuration": null,
                                "ticketBeginTime": null,
                                "ticketEndTime": null,
                                "applyBeginTime": null,
                                "applyEndTime": null,
                                "travelBeginTime": null,
                                "travelEndTime": null
                            }
                        }
                    ]
                }
            ],
            "changesRules": [
                {
                    "changesType": 0,
                    "changesStatus": "T",
                    "changesFee": 0.0,
                    "currency": "SAR",
                    "revNoshow": "T",
                    "revNoShowCondition": 0,
                    "revNoshowFee": 0.0,
                    "ruleList": [
                        {
                            "rowId": 35011,
                            "gmtCreate": 1722605504000,
                            "gmtModified": 1722605504000,
                            "creator": null,
                            "modifier": null,
                            "isDeleted": "N",
                            "airline": "XY",
                            "ruleType": "self_change",
                            "ruleName": "self_change_XY_28_8JxpOW",
                            "ruleKey": "self_change_XY_2024080221314328",
                            "priority": 10,
                            "validBeginTime": 1570464000000,
                            "validEndTime": 11468966399000,
                            "depCity": null,
                            "arrCity": null,
                            "depCountry": null,
                            "arrCountry": null,
                            "bookingCode": null,
                            "fareFamily": "VAL1",
                            "cabinClass": null,
                            "timingMode": "depTime",
                            "timeLeft": null,
                            "timeRight": -240,
                            "travelBeginDate": null,
                            "travelEndDate": null,
                            "productType": null,
                            "ruleExtend": {
                                "ruleKey": "self_change_XY_2024080221314328",
                                "canRefund": "Y",
                                "canChange": null,
                                "canRefundTax": "N",
                                "canRefundPkg": null,
                                "canRefundCoupon": null,
                                "canMakeUpDiff": null,
                                "canNoShowRefund": null,
                                "amount": 150.00,
                                "amountCurrency": "SAR",
                                "pricePercent": null,
                                "priceItem": null,
                                "taxItem": null,
                                "charge": null,
                                "chargeCurrency": null,
                                "canExemptSameDay": null,
                                "exemptDuration": null,
                                "ticketBeginTime": null,
                                "ticketEndTime": null,
                                "applyBeginTime": null,
                                "applyEndTime": null,
                                "travelBeginTime": null,
                                "travelEndTime": null
                            }
                        },
                        {
                            "rowId": 35012,
                            "gmtCreate": 1722605504000,
                            "gmtModified": 1722605504000,
                            "creator": null,
                            "modifier": null,
                            "isDeleted": "N",
                            "airline": "XY",
                            "ruleType": "self_change",
                            "ruleName": "self_change_XY_29_OSEUU8",
                            "ruleKey": "self_change_XY_2024080221314329",
                            "priority": 10,
                            "validBeginTime": 1570464000000,
                            "validEndTime": 11468966399000,
                            "depCity": null,
                            "arrCity": null,
                            "depCountry": null,
                            "arrCountry": null,
                            "bookingCode": null,
                            "fareFamily": "VAL1",
                            "cabinClass": null,
                            "timingMode": "depTime",
                            "timeLeft": -240,
                            "timeRight": 0,
                            "travelBeginDate": null,
                            "travelEndDate": null,
                            "productType": null,
                            "ruleExtend": {
                                "ruleKey": "self_change_XY_2024080221314329",
                                "canRefund": "N",
                                "canChange": null,
                                "canRefundTax": "N",
                                "canRefundPkg": null,
                                "canRefundCoupon": null,
                                "canMakeUpDiff": null,
                                "canNoShowRefund": null,
                                "amount": null,
                                "amountCurrency": "SAR",
                                "pricePercent": null,
                                "priceItem": null,
                                "taxItem": null,
                                "charge": null,
                                "chargeCurrency": null,
                                "canExemptSameDay": null,
                                "exemptDuration": null,
                                "ticketBeginTime": null,
                                "ticketEndTime": null,
                                "applyBeginTime": null,
                                "applyEndTime": null,
                                "travelBeginTime": null,
                                "travelEndTime": null
                            }
                        },
                        {
                            "rowId": 35013,
                            "gmtCreate": 1722605504000,
                            "gmtModified": 1722605504000,
                            "creator": null,
                            "modifier": null,
                            "isDeleted": "N",
                            "airline": "XY",
                            "ruleType": "self_change",
                            "ruleName": "self_change_XY_30_dVZtPh",
                            "ruleKey": "self_change_XY_2024080221314330",
                            "priority": 10,
                            "validBeginTime": 1570464000000,
                            "validEndTime": 11468966399000,
                            "depCity": null,
                            "arrCity": null,
                            "depCountry": null,
                            "arrCountry": null,
                            "bookingCode": null,
                            "fareFamily": "VAL1",
                            "cabinClass": null,
                            "timingMode": "depTime",
                            "timeLeft": 0,
                            "timeRight": null,
                            "travelBeginDate": null,
                            "travelEndDate": null,
                            "productType": null,
                            "ruleExtend": {
                                "ruleKey": "self_change_XY_2024080221314330",
                                "canRefund": "N",
                                "canChange": null,
                                "canRefundTax": "N",
                                "canRefundPkg": null,
                                "canRefundCoupon": null,
                                "canMakeUpDiff": null,
                                "canNoShowRefund": null,
                                "amount": null,
                                "amountCurrency": "SAR",
                                "pricePercent": null,
                                "priceItem": null,
                                "taxItem": null,
                                "charge": null,
                                "chargeCurrency": null,
                                "canExemptSameDay": null,
                                "exemptDuration": null,
                                "ticketBeginTime": null,
                                "ticketEndTime": null,
                                "applyBeginTime": null,
                                "applyEndTime": null,
                                "travelBeginTime": null,
                                "travelEndTime": null
                            }
                        }
                    ],
                    "ruleDetailList": [
                        {
                            "ruleId": 35011,
                            "status": "H",
                            "refundMethod": null,
                            "startMinute": 525600,
                            "endMinute": 240,
                            "amount": 219.0,
                            "currency": "SAR"
                        },
                        {
                            "ruleId": 35012,
                            "status": "T",
                            "refundMethod": null,
                            "startMinute": 240,
                            "endMinute": 0,
                            "amount": 0.0,
                            "currency": "SAR"
                        },
                        {
                            "ruleId": 35013,
                            "status": "T",
                            "refundMethod": null,
                            "startMinute": 0,
                            "endMinute": -525600,
                            "amount": 0.0,
                            "currency": "SAR"
                        }
                    ]
                }
            ],
            "serviceElements": [
                {
                    "hasFreeSeat": 2,
                    "hasFreeMeal": 0
                }
            ]
        },
        "ancillaryProductElements": [
            {
                "segmentIndex": 1,
                "endSegmentIndex": null,
                "productCode": "SCI_BAG_1PC_25KG",
                "productName": "StandardCheckInBaggage",
                "productType": 1,
                "canPurchaseWithTicket": 1,
                "canPurchasePostTicket": 1,
                "price": 478.74,
                "currency": "CNY",
                "vendorPrice": 250.00,
                "vendorCurrency": "SAR",
                "clientTechnicalServiceFee": 0,
                "clientTechnicalServiceFeeMode": null,
                "auxBaggageElement": {
                    "piece": 1,
                    "weight": 25,
                    "isAllWeight": true,
                    "size": ""
                },
                "offerId": null,
                "maxQty": 1,
                "minQty": 1,
                "categoryCode": "StandardCheckInBaggage",
                "ancillaryCode": "SCI_BAG_1PC_25KG",
                "auxSeatElement": null,
                "displayPrice": null,
                "displayCurrency": null
            },
            {
                "segmentIndex": 1,
                "endSegmentIndex": null,
                "productCode": "SCI_BAG_1PC_15KG",
                "productName": "StandardCheckInBaggage",
                "productType": 1,
                "canPurchaseWithTicket": 1,
                "canPurchasePostTicket": 1,
                "price": 201.07,
                "currency": "CNY",
                "vendorPrice": 105.00,
                "vendorCurrency": "SAR",
                "clientTechnicalServiceFee": 0,
                "clientTechnicalServiceFeeMode": null,
                "auxBaggageElement": {
                    "piece": 1,
                    "weight": 15,
                    "isAllWeight": true,
                    "size": ""
                },
                "offerId": null,
                "maxQty": 1,
                "minQty": 1,
                "categoryCode": "StandardCheckInBaggage",
                "ancillaryCode": "SCI_BAG_1PC_15KG",
                "auxSeatElement": null,
                "displayPrice": null,
                "displayCurrency": null
            },
            {
                "segmentIndex": 1,
                "endSegmentIndex": null,
                "productCode": "SCI_BAG_1PC_20KG",
                "productName": "StandardCheckInBaggage",
                "productType": 1,
                "canPurchaseWithTicket": 1,
                "canPurchasePostTicket": 1,
                "price": 344.69,
                "currency": "CNY",
                "vendorPrice": 180.00,
                "vendorCurrency": "SAR",
                "clientTechnicalServiceFee": 0,
                "clientTechnicalServiceFeeMode": null,
                "auxBaggageElement": {
                    "piece": 1,
                    "weight": 20,
                    "isAllWeight": true,
                    "size": ""
                },
                "offerId": null,
                "maxQty": 1,
                "minQty": 1,
                "categoryCode": "StandardCheckInBaggage",
                "ancillaryCode": "SCI_BAG_1PC_20KG",
                "auxSeatElement": null,
                "displayPrice": null,
                "displayCurrency": null
            }
        ],
        "vendorFare": {
            "vendorAdultPrice": 279.21,
            "vendorAdultTax": 219.00,
            "vendorChildPrice": 279.21,
            "vendorChildTax": 219.00,
            "vendorInfantPrice": 164.28,
            "vendorInfantTax": 0.00,
            "vendorCurrency": "SAR"
        },
        "bundleOptions": [],
        "links": [],
        "separateBookings": false,
        "refreshTime": null,
        "expireTime": null,
        "displayFare": null,
        "ancillarySupported": [
            "seat",
            "luggage"
        ],
        "cardChargeList": null,
        "tags": null,
        "riskSellout": false
    },
    "duplicateOrders": null,
    "paymentOptions": [
        {
            "paymentMethod": 1,
            "serviceFee": {
                "amount": 7.18,
                "currency": "CNY",
                "deductFrom": "DEPOSIT",
                "displayAmount": null,
                "displayCurrency": null
            },
            "ticketFare": {
                "amount": 954.02,
                "currency": "CNY",
                "deductFrom": "DEPOSIT",
                "displayAmount": null,
                "displayCurrency": null
            },
            "paymentFee": {
                "amount": 0.00,
                "currency": "CNY",
                "deductFrom": "CARD",
                "displayAmount": null,
                "displayCurrency": null
            },
            "cardType": null
        },
        {
            "paymentMethod": 3,
            "serviceFee": {
                "amount": 7.18,
                "currency": "CNY",
                "deductFrom": "DEPOSIT",
                "displayAmount": null,
                "displayCurrency": null
            },
            "ticketFare": {
                "amount": 498.21,
                "currency": "SAR",
                "deductFrom": "CARD",
                "displayAmount": null,
                "displayCurrency": null
            },
            "paymentFee": null,
            "cardType": null
        }
    ],
    "status": 0,
    "msg": null,
    "requestId": null,
    "clientRequestId": null
}
Modified at 2025-09-02 06:08:43
Previous
Query Refund Status
Next
Stop Ticket Issuance
Built with