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

City Pairs API

POST
/route/export.do
The "City pairs API" can be used to download the city pairs supported by Atlas as well as by the airlines.
The customer can use this structured data and transfer the city pair information into their mid-back office systems.
This API is only available in the production environment.
Dependency
There is no dependency for this call.
Endpoint:
https://sandbox.atriptech.com/route/export.do

Request

Header Params

Body Params application/json

Example
{
    "routeType": 1,
    "fromCity": "LON",
    "fromCountry": "GB",
    "toCity": "AMS",
    "toCountry": "NL"
}

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/route/export.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 '{
    "routeType": 1,
    "fromCity": "LON",
    "fromCountry": "GB",
    "toCity": "AMS",
    "toCountry": "NL"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "data": [
        {
            "airlines": [
                "U2"
            ],
            "fromCity": "LON",
            "fromCountry": "GB",
            "toCity": "AMS",
            "toCountry": "NL",
            "isDirect": null,
            "scheduleStart": null,
            "scheduleEnd": null,
            "updateDate": "20250408"
        },
        {
            "airlines": [
                "DS"
            ],
            "fromCity": "LON",
            "fromCountry": "GB",
            "toCity": "AMS",
            "toCountry": "NL",
            "isDirect": null,
            "scheduleStart": null,
            "scheduleEnd": null,
            "updateDate": "20250408"
        },
        {
            "airlines": [
                "EC"
            ],
            "fromCity": "LON",
            "fromCountry": "GB",
            "toCity": "AMS",
            "toCountry": "NL",
            "isDirect": null,
            "scheduleStart": null,
            "scheduleEnd": null,
            "updateDate": "20250408"
        },
        {
            "airlines": [
                "DH"
            ],
            "fromCity": "LON",
            "fromCountry": "GB",
            "toCity": "AMS",
            "toCountry": "NL",
            "isDirect": null,
            "scheduleStart": null,
            "scheduleEnd": null,
            "updateDate": "20250402"
        },
        {
            "airlines": [
                "D8"
            ],
            "fromCity": "LON",
            "fromCountry": "GB",
            "toCity": "AMS",
            "toCountry": "NL",
            "isDirect": null,
            "scheduleStart": null,
            "scheduleEnd": null,
            "updateDate": "20250402"
        },
        {
            "airlines": [
                "LE"
            ],
            "fromCity": "LON",
            "fromCountry": "GB",
            "toCity": "AMS",
            "toCountry": "NL",
            "isDirect": null,
            "scheduleStart": null,
            "scheduleEnd": null,
            "updateDate": "20250402"
        },
        {
            "airlines": [
                "DY"
            ],
            "fromCity": "LON",
            "fromCountry": "GB",
            "toCity": "AMS",
            "toCountry": "NL",
            "isDirect": null,
            "scheduleStart": null,
            "scheduleEnd": null,
            "updateDate": "20250402"
        },
        {
            "airlines": [
                "6E"
            ],
            "fromCity": "LON",
            "fromCountry": "GB",
            "toCity": "AMS",
            "toCountry": "NL",
            "isDirect": null,
            "scheduleStart": null,
            "scheduleEnd": null,
            "updateDate": "20241210"
        },
        {
            "airlines": [
                "GQ"
            ],
            "fromCity": "LON",
            "fromCountry": "GB",
            "toCity": "AMS",
            "toCountry": "NL",
            "isDirect": null,
            "scheduleStart": null,
            "scheduleEnd": null,
            "updateDate": "20250217"
        }
    ],
    "status": 0,
    "msg": null
}
Modified at 2025-09-02 06:13:45
Previous
Get Balance
Next
Email List
Built with