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

Extract PNR

POST
/extractPnr.do
This API is used to directly connect to airlines and extract PNR information.
Endpoint:
https://sandbox.atriptech.com/extractPnr.do

Request

Header Params

Body Params application/json

Example
{
    "airlinePnr": "0419",
    "carrier": "BC",
    "passengers": [
        {
            "firstName": "***",
            "lastName": "*****",
            "passengerType": null
        }
    ],
    "contact": {
        "email": "*********************"
    },
    "routing": {
        "fromSegments": [
            {
                "dptAirport": "UKB",
                "arrAirport": "HND",
                "flightNumber": "BC108",
                "depTime": "2025-07-27 13:00",
                "arrTime": "2025-07-27 14:15"
            }
        ],
        "retSegments": null
    },
    "timeout": 15000,
    "requestSource": null,
    "channel": null,
    "mainChannel": null,
    "subChannelID": null,
    "requestOwner": null,
    "requestId": "50fbfd16ec2c4bfa8f604f8788565311",
    "clientRequestId": null
}

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/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": "0419",
    "carrier": "BC",
    "passengers": [
        {
            "firstName": "***",
            "lastName": "*****",
            "passengerType": null
        }
    ],
    "contact": {
        "email": "*********************"
    },
    "routing": {
        "fromSegments": [
            {
                "dptAirport": "UKB",
                "arrAirport": "HND",
                "flightNumber": "BC108",
                "depTime": "2025-07-27 13:00",
                "arrTime": "2025-07-27 14:15"
            }
        ],
        "retSegments": null
    },
    "timeout": 15000,
    "requestSource": null,
    "channel": null,
    "mainChannel": null,
    "subChannelID": null,
    "requestOwner": null,
    "requestId": "50fbfd16ec2c4bfa8f604f8788565311",
    "clientRequestId": null
}'

Responses

🟢200Success
application/json
Body

Example
{
    "airlinePnr": "0419",
    "pnrStatus": "Ticketed",
    "currency": "JPY",
    "totalPrice": 37650.0,
    "routing": {
        "fromSegments": [
            {
                "segmentIndex": null,
                "carrier": "",
                "flightNumber": "BC108",
                "depAirport": "UKB",
                "depTime": "202507271300",
                "arrAirport": "HND",
                "arrTime": "202507271415",
                "stopCities": null,
                "duration": 75,
                "codeShare": false,
                "cabin": null,
                "cabinClass": 0,
                "seatCount": 0,
                "aircraftCode": "",
                "depTerminal": "",
                "arrTerminal": "",
                "operatingCarrier": "",
                "operatingFlightnumber": "",
                "fareFamily": null
            }
        ],
        "retSegments": []
    },
    "paxTicketInfos": [
        {
            "serialVersionUID": 6508292362378020379,
            "name": "*********",
            "passengerType": 0,
            "birthday": null,
            "gender": null,
            "cardNum": null,
            "cardType": null,
            "cardIssuePlace": null,
            "cardExpired": null,
            "nationality": null,
            "ticketNos": null,
            "airlinePNRs": null,
            "contactEmails": null,
            "contactPhones": null,
            "ticketStatus": null,
            "ancillaries": null
        }
    ],
    "contact": {
        "serialVersionUID": 8167709986730331954,
        "name": null,
        "address": null,
        "postcode": null,
        "email": "*********************",
        "mobile": null,
        "companyName": null
    },
    "gatewayRequestIds": [
        "EXT_DEFAULT_f9a8b39163d848c989537187be288f38"
    ],
    "pnrUsed": null,
    "status": 0,
    "msg": null,
    "clientRequestId": null
}
Modified at 2025-09-02 06:14:50
Previous
Email List
Next
getAtripToken
Built with