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
      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

Extract PNR

POST
/extractPnr.do
This API is used to directly connect to airlines and extract PNR information.

Request

Header Params
Accept
string 
required
Default:
application/json
Content-Type
string 
required
Default:
application/json
Accept-Encoding
string 
required
Default:
gzip
x-atlas-client-id
string 
required
Default:
<YOUR_CLIENT_ID>
x-atlas-client-secret
string 
required
Default:
<YOUR_CLIENT_SECRET>
Body Params application/json
airlinePnr
string 
required
The airline PNR
carrier
string 
required
2-letter IATA code for the airline
passengers
array [object {2}] 
required
firstName
string 
required
lastName
string 
required
contact
object 
required
email
string 
required
Contact email.
routing
object 
required
The original flight segment information at the time of order generation
fromSegments
array [object {5}] 
required
retSegments
array [object {5}]  | null 
optional
timeout
integer  | null 
optional
The maximum response duration, in milliseconds. Note: This time is estimated due to the impact of network transmission.
Default:
15000
Example
{
    "airlinePnr": "string",
    "carrier": "string",
    "passengers": [
        {
            "firstName": "string",
            "lastName": "string"
        }
    ],
    "contact": {
        "email": "string"
    },
    "routing": {
        "fromSegments": [
            {
                "arrAirport": "string",
                "arrTime": "string",
                "dptAirport": "string",
                "depTime": "string",
                "flightNumber": "string"
            }
        ],
        "retSegments": [
            {
                "arrAirport": "string",
                "arrTime": "string",
                "dptAirport": "string",
                "depTime": "string",
                "flightNumber": "string"
            }
        ]
    },
    "timeout": 15000
}

Request 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/extractPnr.do' \
--header 'Accept;' \
--header 'Accept-Encoding;' \
--header 'x-atlas-client-id;' \
--header 'x-atlas-client-secret;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "airlinePnr": "string",
    "carrier": "string",
    "passengers": [
        {
            "firstName": "string",
            "lastName": "string"
        }
    ],
    "contact": {
        "email": "string"
    },
    "routing": {
        "fromSegments": [
            {
                "arrAirport": "string",
                "arrTime": "string",
                "dptAirport": "string",
                "depTime": "string",
                "flightNumber": "string"
            }
        ],
        "retSegments": [
            {
                "arrAirport": "string",
                "arrTime": "string",
                "dptAirport": "string",
                "depTime": "string",
                "flightNumber": "string"
            }
        ]
    },
    "timeout": 15000
}'

Responses

🟢200Success
application/json
Body
status
enum<integer> 
required
Allowed values:
990059900699007
msg
string  | null 
optional
airlinePnr
string 
required
Airline PNR(not Atlas)
Example:
BSG768
pnrStatus
enum<string> 
required
Allowed values:
OnHoldTicketedCancelledUnknown
Example:
Ticketed
currency
string  | null 
optional
The currency of fare
Example:
USD
totalPrice
string  | null 
optional
routing
object 
required
The current flight schedule. It may be different from that at the time of booking (flight schedule change).
fromSegments
array [object {13}] 
required
retSegments
array [object {13}]  | null 
optional
paxTicketInfos
array [object {5}] 
required
Ticket information for each passenger.
name
string 
required
Echo the passenger's name, in the format of last name/first name
ticketNos
array[string]
required
Ticket numbers. There may be two tickets for the round trip, in which case the number of arrays is two.
airlinePNRs
array[string]
required
A list containing airline PNR. There may be two PNRs for the round trip, in which case the number of arrays is two.
ancillaries
array [object {10}]  | null 
optional
Ancillaries selection for the specific passenger
ticketStatus
string 
required
Ticket status
contact
object 
required
email
string  | null 
optional
Contact email.
companyName
string  | null 
optional
Company name
Example
{
    "status": 99005,
    "msg": "string",
    "airlinePnr": "BSG768",
    "pnrStatus": "OnHold",
    "currency": "USD",
    "totalPrice": "string",
    "routing": {
        "fromSegments": [
            {
                "aircraftCode": "string",
                "arrAirport": "string",
                "arrTerminal": "string",
                "arrTime": "string",
                "carrier": "string",
                "codeShare": true,
                "depAirport": "string",
                "depTerminal": "string",
                "depTime": "string",
                "duration": 0,
                "flightNumber": "string",
                "operatingCarrier": "string",
                "operatingFlightnumber": "string"
            }
        ],
        "retSegments": [
            {
                "aircraftCode": "string",
                "arrAirport": "string",
                "arrTerminal": "string",
                "arrTime": "string",
                "carrier": "string",
                "codeShare": true,
                "depAirport": "string",
                "depTerminal": "string",
                "depTime": "string",
                "duration": 0,
                "flightNumber": "string",
                "operatingCarrier": "string",
                "operatingFlightnumber": "string"
            }
        ]
    },
    "paxTicketInfos": [
        {
            "name": "string",
            "ticketNos": [
                "string"
            ],
            "airlinePNRs": [
                "string"
            ],
            "ancillaries": [
                {
                    "productCode": "string",
                    "segmentIndex": 0,
                    "currency": "string",
                    "ancillaryPrice": 0,
                    "auxBaggageElement": {
                        "isAllWeight": true,
                        "piece": 0,
                        "size": "string",
                        "weight": 0
                    },
                    "auxSeatElement": {
                        "row": "27",
                        "column": "A"
                    },
                    "vendorCurrency": "string",
                    "vendorPrice": 0,
                    "displayCurrency": "string",
                    "displayPrice": 0
                }
            ],
            "ticketStatus": "string"
        }
    ],
    "contact": {
        "email": "string",
        "companyName": "string"
    }
}
Modified at 2025-07-18 06:59:52
Previous
Email List
Next
getAtripToken
Built with