orderList
.true
: Show the full details of main order and post-booking orderfalse
: Only show the details of given orderYYYYMMDD
M
: MaleF
: FemaleYYYYMMDD
.YYYYMMDD
.{
"orderNo": "string",
"pnrCode": "string",
"airlinePNR": "string",
"carrier": "string",
"isCompletedOrder": false,
"airlineBookings": {
"depDate": "string",
"depAirport": "string",
"arrAirport": "string"
},
"passengers": [
{
"name": "string",
"passengerType": 0,
"gender": "string",
"birthday": "string",
"cardType": "PP",
"cardNum": "string",
"cardIssuePlace": "string",
"cardExpired": "string",
"nationality": "string"
}
],
"routing": {
"fromSegments": [
{
"segmentIndex": 0,
"carrier": "string",
"flightNumber": "string",
"depAirport": "string",
"arrAirport": "string",
"fareFamily": "string",
"stopCities": "string",
"fromDate": "string",
"retDate": "string"
}
],
"retSegments": [
{
"segmentIndex": 0,
"carrier": "string",
"flightNumber": "string",
"depAirport": "string",
"arrAirport": "string",
"fareFamily": "string",
"stopCities": "string",
"fromDate": "string",
"retDate": "string"
}
]
}
}
curl --location --request POST 'https://sandbox.atriptech.com/queryOrderDetails.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 '{
"orderNo": "string",
"pnrCode": "string",
"airlinePNR": "string",
"carrier": "string",
"isCompletedOrder": false,
"airlineBookings": {
"depDate": "string",
"depAirport": "string",
"arrAirport": "string"
},
"passengers": [
{
"name": "string",
"passengerType": 0,
"gender": "string",
"birthday": "string",
"cardType": "PP",
"cardNum": "string",
"cardIssuePlace": "string",
"cardExpired": "string",
"nationality": "string"
}
],
"routing": {
"fromSegments": [
{
"segmentIndex": 0,
"carrier": "string",
"flightNumber": "string",
"depAirport": "string",
"arrAirport": "string",
"fareFamily": "string",
"stopCities": "string",
"fromDate": "string",
"retDate": "string"
}
],
"retSegments": [
{
"segmentIndex": 0,
"carrier": "string",
"flightNumber": "string",
"depAirport": "string",
"arrAirport": "string",
"fareFamily": "string",
"stopCities": "string",
"fromDate": "string",
"retDate": "string"
}
]
}
}'
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 to0
at any time.isCompletedOrder
=false
, this will benull
.0
: Unpaid1
: Ticketing-in-Process2
: Ticketed-3
: Cancelled0
: Ticket not issued1
: Ticket issuedyyyy-MM-dd HH:mm:ss
0
: Unpaid1
: Ticketing-in-Process2
: Ticketed-3
: CancelledisCompletedOrder
=true
, this will benull
0
: Ticket not issued1
: Ticket issuedisCompletedOrder
=true
, this will benull
yyyy-MM-dd HH:mm:ss
isCompletedOrder
=true
, this will benull
isCompletedOrder
=true
, this will benull
vendorCurrency
). We will only display the actual amount charged by the airline if the order supports VCC passthrough or BYOA, otherwise, this field will benull
.isCompletedOrder
=true
, this will benull
isCompletedOrder
=true
, this will always benull
isCompletedOrder
=true
, this will benull
isCompletedOrder
=true
, this will benull
isCompletedOrder
=true
, this will benull
isCompletedOrder
=true
, this will benull
isCompletedOrder
=true
, this will benull
isCompletedOrder
=true
, this will benull
1
: Prepayment Only3
: Both Credit Card Payment and Prepayment AvailablesupportPaymentMethods
instead.isCompletedOrder
=true
, this will benull
null
.isCompletedOrder
=true
, this will benull
supportPaymentMethods
instead.null
or[]
. Each item in this array is one of the following:infantPrice
and infantTax
will never be null
, when the fare does not support infants or is free for infants, both infantPrice
and infantTax
display 0
. In this case, you need this field to distinguish which situation it is.true
: infants is supported by this fare, infantPrice
and infantTax
will >= 0
false
: infants is not supported by this fare, infantPrice
and infantTax
will be displayed as 0
childMandatorySeatingFee
field displays this discounted fee.null
.childMandatorySeatingFee
for their seat.transactionFee
and transactionFeeMode
.transactionFeeMode
. The following lists the calculation methods for the final technical service fee in various situations.transactionFeeMode
=PER_SEGMENT
:transactionFee
* number of passengers * number of segments.transactionFeeMode
=PER_TICKET
:transactionFee
* number of passengers * number of orders on airline side.transactionFeeMode
=PER_PAX
:transactionFee
* number of passengers.transactionFeeMode
=PER_BOOKING
:transactionFee
.null
or []
.supportPaymentMethods
contains3
or4
.yyyy-MM-dd'T'HH:mm:ss'Z'
.yyyy-MM-dd'T'HH:mm:ss'Z'
.displayCurrency
for the search or verify is not specified, then this node will benull
.luggage
seat
: You can carry out the subsequent seat selection process through our seat map interface.null
will be displayed.errorCode
.errorCode
./
) to which the rule applies, .null
means that it is applicable to all passenger types.ADT
CHD
INF
CashBackToOriginalPayment
isCompletedOrder
=true
, this will benull
isCompletedOrder
=true
, this will benull
isCompletedOrder
=true
, this will benull
null
.true
: Atlas has previously initiated a payment operation with the airline.false
: Atlas has not initiated a payment operation with the airline.null
: meaninglesstrue
only indicates that Atlas has previously initiated a payment operation with the airline, and does not represent the payment result (successful or failed){
"orderNo": "TESTA20250210154142832",
"orderList": null,
"pnrCode": "XVOCMN",
"orderStatus": "2",
"ticketStatus": "1",
"paxTicketInfos": [
{
"name": "aaaaa/aaaaaabs",
"passengerType": 0,
"birthday": "19900101",
"gender": "M",
"cardNum": "636940383",
"cardType": "NATIONAL_ID_CARD",
"cardIssuePlace": "PT",
"cardExpired": "20250101",
"nationality": "US",
"ticketNos": [
"S77182"
],
"airlinePNRs": [
"S77182"
],
"contactEmails": [
"jane.smith@example.com"
],
"contactPhones": [
"0001-982736245"
],
"ancillaries": []
}
],
"totalPrice": 114.99,
"currency": "USD",
"tktLimitTime": "2025-02-11 16:31:43",
"vendorTotalPrice": 1281.90,
"vendorCost": 1346.00,
"vendorTotalAncillaryPrice": 0.00,
"vendorCurrency": "NOK",
"adultTotalFare": 114.99,
"childTotalFare": 114.99,
"infantTotalFare": 96.74,
"totalAncillaryPrice": 0.00,
"totalTransactionFee": 5.00,
"paymentFee": null,
"supportPaymentMethod": 3,
"supportPaymentMethods": [
1,
3,
5
],
"paymentMethod": 5,
"routing": {
"fid": "GH7Ocx7LrfhROrFuXZQHggfA6RzTZN8j78tgiZo7oov65liiJrMlVDDkUJyzEF4e0e1DbTgUIErtUgd549cNMlecNXzNQzSa",
"routingIdentifier": "TE9OX0tSS18xXzIwMjUwMjIwX18xXzBfMHxsZmFsdTUyOTkyfDF8MTE0Ljk5XzExNC45OV85Ni43NF81LjAwXzMzMS43Ml9VU0R8TE9OX0tSS18xXzIwMjUwMjIwX18xXzBfMF5MR1ctRDgzNTExLVAtQ1BILTIwMjUwMjIwMDg0NS0yMDI1MDIyMDExMzUtTG93RmFyZSstMS0jQ1BILUQ4MzU2Mi1QLUtSSy0yMDI1MDIyMDE4MDAtMjAyNTAyMjAxOTMwLUxvd0ZhcmUrLTEtXjExNC45OV8xMTQuOTlfOTYuNzRfNS4wMF8zMzEuNzJeQURZX0FEWV5eQURZMUxPTktSSzIwMDIwMjUwMjIwXk5PS3wxfDIwMjUwMjEwMTU0MTQyfDB8MTczOTE3MzMwMjg4OWZrOWR3fHx8fHw1LjAwfDJ8MHw=.jZ+abYYscDB8Hxa1pbKAD0FXS4W/8ZIQNG8M2JW2e1g=",
"supportCreditTransPayment": "1",
"supportPaymentMethods": [
1,
3,
5
],
"currency": "USD",
"adultPrice": 81.86,
"adultTax": 33.13,
"adultDetails": null,
"childPrice": 81.86,
"childTax": 33.13,
"childDetails": null,
"infantPrice": 96.74,
"infantTax": 0.00,
"infantDetails": null,
"infantAllowed": true,
"transactionFeePerPax": 5.00,
"transactionFee": 5.00,
"transactionFeeMode": "PER_TICKET",
"nationalityType": 0,
"nationality": "",
"suitAge": "",
"PaxType": "ADT",
"fromSegments": [
{
"segmentIndex": 1,
"carrier": "D8",
"flightNumber": "D83511",
"depAirport": "LGW",
"depTime": "202502200845",
"arrAirport": "CPH",
"arrTime": "202502201135",
"stopCities": "",
"duration": 110,
"codeShare": false,
"cabin": "P",
"cabinClass": 1,
"seatCount": 9,
"aircraftCode": "73H",
"depTerminal": "",
"arrTerminal": "",
"operatingCarrier": "",
"operatingFlightnumber": "",
"fareFamily": "LowFare+"
},
{
"segmentIndex": 2,
"carrier": "D8",
"flightNumber": "D83562",
"depAirport": "CPH",
"depTime": "202502201800",
"arrAirport": "KRK",
"arrTime": "202502201930",
"stopCities": "",
"duration": 90,
"codeShare": false,
"cabin": "P",
"cabinClass": 1,
"seatCount": 9,
"aircraftCode": "73H",
"depTerminal": "",
"arrTerminal": "",
"operatingCarrier": "",
"operatingFlightnumber": "",
"fareFamily": "LowFare+"
}
],
"retSegments": [],
"combineIndexs": [],
"rule": {
"hasBaggage": 1,
"baggageElements": [
{
"segmentNo": 1,
"baggageType": "StandardCheckInBaggage",
"passengerType": 0,
"baggagePiece": 1,
"baggageWeight": 23,
"baggageSize": ""
},
{
"segmentNo": 1,
"baggageType": "StandardCheckInBaggage",
"passengerType": 1,
"baggagePiece": 1,
"baggageWeight": 23,
"baggageSize": ""
},
{
"segmentNo": 1,
"baggageType": "StandardCheckInBaggage",
"passengerType": 2,
"baggagePiece": 0,
"baggageWeight": 0,
"baggageSize": ""
},
{
"segmentNo": 2,
"baggageType": "StandardCheckInBaggage",
"passengerType": 0,
"baggagePiece": 1,
"baggageWeight": 23,
"baggageSize": ""
},
{
"segmentNo": 2,
"baggageType": "StandardCheckInBaggage",
"passengerType": 1,
"baggagePiece": 1,
"baggageWeight": 23,
"baggageSize": ""
},
{
"segmentNo": 2,
"baggageType": "StandardCheckInBaggage",
"passengerType": 2,
"baggagePiece": 0,
"baggageWeight": 0,
"baggageSize": ""
},
{
"segmentNo": 1,
"baggageType": "CabinBaggageOverheadLocker",
"passengerType": 0,
"baggagePiece": 1,
"baggageWeight": 10,
"baggageSize": "55*40*23cm"
},
{
"segmentNo": 1,
"baggageType": "CabinBaggageOverheadLocker",
"passengerType": 1,
"baggagePiece": 1,
"baggageWeight": 10,
"baggageSize": "55*40*23cm"
},
{
"segmentNo": 1,
"baggageType": "CabinBaggageOverheadLocker",
"passengerType": 2,
"baggagePiece": 0,
"baggageWeight": 0,
"baggageSize": "55*40*23cm"
},
{
"segmentNo": 2,
"baggageType": "CabinBaggageOverheadLocker",
"passengerType": 0,
"baggagePiece": 1,
"baggageWeight": 10,
"baggageSize": "55*40*23cm"
},
{
"segmentNo": 2,
"baggageType": "CabinBaggageOverheadLocker",
"passengerType": 1,
"baggagePiece": 1,
"baggageWeight": 10,
"baggageSize": "55*40*23cm"
},
{
"segmentNo": 2,
"baggageType": "CabinBaggageOverheadLocker",
"passengerType": 2,
"baggagePiece": 0,
"baggageWeight": 0,
"baggageSize": "55*40*23cm"
}
],
"refundRules": [
{
"refundType": 0,
"refundStatus": "T",
"refundMethod": null,
"refundFee": 0.0,
"currency": "NOK",
"refNoshow": "T",
"refNoShowCondition": 0,
"refNoshowFee": 0.0,
"ruleDetailList": [
{
"ruleId": 4137,
"status": "T",
"refundMethod": null,
"startMinute": 525600,
"endMinute": 0,
"amount": 0.0,
"currency": "NOK"
},
{
"ruleId": 4138,
"status": "T",
"refundMethod": null,
"startMinute": 0,
"endMinute": -525600,
"amount": 0.0,
"currency": "NOK"
}
]
}
],
"changesRules": [
{
"changesType": 0,
"changesStatus": "H",
"changesFee": 650.0,
"currency": "NOK",
"revNoshow": "T",
"revNoShowCondition": 0,
"revNoshowFee": 0.0,
"ruleDetailList": [
{
"ruleId": 4143,
"status": "H",
"refundMethod": null,
"startMinute": 525600,
"endMinute": 0,
"amount": 650.0,
"currency": "NOK"
},
{
"ruleId": 4144,
"status": "T",
"refundMethod": null,
"startMinute": 0,
"endMinute": -525600,
"amount": 0.0,
"currency": "NOK"
}
]
}
],
"serviceElements": [
{
"hasFreeSeat": 2,
"hasFreeMeal": 0
}
]
},
"ancillaryProductElements": [
{
"segmentIndex": 1,
"endSegmentIndex": null,
"productCode": "SCI_BAG_1PC_23KG",
"productName": "StandardCheckInBaggage",
"productType": 1,
"canPurchaseWithTicket": 1,
"canPurchasePostTicket": 0,
"price": 22.22,
"currency": "USD",
"vendorPrice": 247.69,
"vendorCurrency": "NOK",
"clientTechnicalServiceFee": 0,
"clientTechnicalServiceFeeMode": null,
"auxBaggageElement": {
"piece": 1,
"weight": 23,
"isAllWeight": true,
"size": ""
},
"offerId": null,
"maxQty": 1,
"minQty": 1,
"categoryCode": "StandardCheckInBaggage",
"ancillaryCode": "SCI_BAG_1PC_23KG",
"auxSeatElement": null,
"displayPrice": null,
"displayCurrency": null
},
{
"segmentIndex": 2,
"endSegmentIndex": null,
"productCode": "SCI_BAG_1PC_23KG",
"productName": "StandardCheckInBaggage",
"productType": 1,
"canPurchaseWithTicket": 1,
"canPurchasePostTicket": 0,
"price": 22.03,
"currency": "USD",
"vendorPrice": 245.55,
"vendorCurrency": "NOK",
"clientTechnicalServiceFee": 0,
"clientTechnicalServiceFeeMode": null,
"auxBaggageElement": {
"piece": 1,
"weight": 23,
"isAllWeight": true,
"size": ""
},
"offerId": null,
"maxQty": 1,
"minQty": 1,
"categoryCode": "StandardCheckInBaggage",
"ancillaryCode": "SCI_BAG_1PC_23KG",
"auxSeatElement": null,
"displayPrice": null,
"displayCurrency": null
}
],
"vendorFare": {
"vendorAdultPrice": 912.60,
"vendorAdultTax": 369.30,
"vendorChildPrice": 912.60,
"vendorChildTax": 369.30,
"vendorInfantPrice": 1078.46,
"vendorInfantTax": 0.00,
"vendorCurrency": "NOK"
},
"bundleOptions": [],
"links": [],
"separateBookings": false,
"refreshTime": null,
"expireTime": null,
"displayFare": null,
"ancillarySupported": [
"seat",
"luggage"
],
"cardChargeList": null
},
"airlineBookings": [
{
"airlineCode": "D8",
"airlineName": "Norwegian Air Sweden",
"airlinePnr": "S77182",
"airlineWebSiteAddress": "https://www.norwegian.com",
"mmbEmail": "jane.smith@example.com",
"tailDigitsOfPaymentCard": null,
"extras": [
{
"name": "email",
"remark": "email",
"value": "jane.smith@example.com"
}
]
}
],
"itineraryDownload": "http://121.40.236.223:8081/itineraryDownload.do?orderNo=FKEm34znpwya%2FiJBirhBW5YFgj2M7dX4",
"contact": {
"name": "Smith/Jane",
"address": "189, Sky Garden Walk/London/US/US",
"postcode": "EC3M 8AF",
"email": "jane.smith@example.com",
"mobile": "0001-982736245"
},
"ancillaryBuyMethod": null,
"errorCode": null,
"errorMessage": null,
"airlineMessage": null,
"locale": "",
"refundRules": [
{
"airline": "D8",
"ruleType": "1",
"passengerType": "",
"penaltyAmount": null,
"penaltyPercent": null,
"penaltyPercentBase": null,
"airlineFee": null,
"taxRefundable": false,
"fareRefundable": false,
"refundableAncillaries": null,
"startMinute": 525600,
"endMinute": 0,
"refundMethod": "CashBackToOriginalPayment"
},
{
"airline": "D8",
"ruleType": "1",
"passengerType": "",
"penaltyAmount": null,
"penaltyPercent": null,
"penaltyPercentBase": null,
"airlineFee": null,
"taxRefundable": false,
"fareRefundable": false,
"refundableAncillaries": null,
"startMinute": 0,
"endMinute": -525600,
"refundMethod": "CashBackToOriginalPayment"
},
{
"airline": "D8",
"ruleType": "0",
"passengerType": "",
"penaltyAmount": "0",
"penaltyPercent": 0,
"penaltyPercentBase": null,
"airlineFee": "0",
"taxRefundable": true,
"fareRefundable": true,
"refundableAncillaries": [],
"startMinute": 525600,
"endMinute": 300,
"refundMethod": "CashBackToOriginalPayment"
},
{
"airline": "D8",
"ruleType": "0",
"passengerType": "",
"penaltyAmount": "0",
"penaltyPercent": 0,
"penaltyPercentBase": null,
"airlineFee": "0",
"taxRefundable": true,
"fareRefundable": true,
"refundableAncillaries": [],
"startMinute": 525600,
"endMinute": -525600,
"refundMethod": "CashBackToOriginalPayment"
},
{
"airline": "D8",
"ruleType": "0",
"passengerType": "",
"penaltyAmount": null,
"penaltyPercent": null,
"penaltyPercentBase": null,
"airlineFee": null,
"taxRefundable": false,
"fareRefundable": false,
"refundableAncillaries": null,
"startMinute": 300,
"endMinute": -300,
"refundMethod": "CashBackToOriginalPayment"
},
{
"airline": "D8",
"ruleType": "0",
"passengerType": "",
"penaltyAmount": "0",
"penaltyPercent": 0,
"penaltyPercentBase": null,
"airlineFee": "0",
"taxRefundable": true,
"fareRefundable": true,
"refundableAncillaries": [],
"startMinute": -300,
"endMinute": -525600,
"refundMethod": "CashBackToOriginalPayment"
}
],
"ifSeatOccupied": "SIMILAR_SEAT",
"displayCurrency": null,
"displayTotalPrice": null,
"displayTotalAncillaryPrice": null,
"vccStatus": "0",
"paymentOptions": null,
"payment": {
"paymentMethod": 5,
"serviceFee": {
"amount": 5.00,
"currency": "USD",
"deductFrom": "DEPOSIT",
"displayAmount": null,
"displayCurrency": null
},
"ticketFare": {
"amount": 111.41,
"currency": "EUR",
"deductFrom": "CARD",
"displayAmount": null,
"displayCurrency": null
},
"paymentFee": {
"amount": 4.80,
"currency": "EUR",
"deductFrom": "CARD",
"displayAmount": null,
"displayCurrency": null
},
"cardType": null
},
"paymentAttempted": null,
"status": 0,
"msg": "success"
}