Atlas API-Sabre
  1. Shopping and Ticketing
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. Shopping and Ticketing

Seat Availability

POST
/seatAvailability.do
The seat map API is divided into independent mode and non-independent mode.
Independent mode means it can be used standalone without relying on other APIs.
Non-independent mode depends on the price verification API or the get offer API.

Request

Header Params
Accept
string 
required
Example:
application/json
Content-Type
string 
required
Example:
application/json
Accept-Encoding
string 
required
Example:
gzip
x-atlas-client-id
string 
required
Example:
<YOUR_CLIENT_ID>
x-atlas-client-secret
string 
required
Example:
<YOUR_CLIENT_SECRET>
Body Params application/json
sessionId
string 
required
ThesessionIdreturned by price verification api(verify.do). Only required in Non-independent mode.
offerId
string 
required
TheofferIDreturned by get offer api(getOffers.do). Only required in Non-independent mode.
carrier
string 
required
The IATA code of MSC(known as Most Significant Carrier) of the itinerary.
outboundSegments
array[object (Seat-Map-Flight) {6}] 
required
Outbound segments. All segments of the itinerary must be specified. Segments should be arranged in the order of takeoff.
>= 1 items
segmentIndex
integer 
required
This is the segment number, which starts from 1 and increments in the order of takeoff of each segment.
>= 1
Example:
1
flightNumber
string 
required
Marketing flight number(with airline code prefix).
Example:
W62340
depAirport
string 
required
3-letter iata code for the airport at which the segment is scheduled to depart.
Example:
LON
arrAirport
string 
required
3-letter iata code for the arrival airport at which the segment is scheduled to arrive.
Example:
PAR
depTime
string 
required
The datetime at which the segment is scheduled to depart, in the departure airport timezone. The format isYYYYMMDD.
Example:
202510101630
cabinClass
enum<integer> 
required
Cabin class
Allowed values:
1234
Example:
1
inboundSegments
array[object (Seat-Map-Flight) {6}]  | null 
optional
Inbound segments. All segments of the itinerary must be specified. Segments should be arranged in the order of takeoff.
>= 1 items
segmentIndex
integer 
required
This is the segment number, which starts from 1 and increments in the order of takeoff of each segment.
>= 1
Example:
1
flightNumber
string 
required
Marketing flight number(with airline code prefix).
Example:
W62340
depAirport
string 
required
3-letter iata code for the airport at which the segment is scheduled to depart.
Example:
LON
arrAirport
string 
required
3-letter iata code for the arrival airport at which the segment is scheduled to arrive.
Example:
PAR
depTime
string 
required
The datetime at which the segment is scheduled to depart, in the departure airport timezone. The format isYYYYMMDD.
Example:
202510101630
cabinClass
enum<integer> 
required
Cabin class
Allowed values:
1234
Example:
1
Example
{
	"carrier": "W6",
	"outboundSegments": [{
		"flightNumber": "W62340",
		"segmentIndex": 1,
		"depAirport": "FCO",
		"arrAirport": "BUD",
		"cabinClass": "1",
		"depTime": "202501250825"
	}],
	"inboundSegments": [{
		"flightNumber": "W62341",
		"segmentIndex": 2,
		"depAirport": "BUD",
		"arrAirport": "FCO",
		"cabinClass": "1",
		"depTime": "202501301915"
	}]
}

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/seatAvailability.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 '{
	"carrier": "W6",
	"outboundSegments": [{
		"flightNumber": "W62340",
		"segmentIndex": 1,
		"depAirport": "FCO",
		"arrAirport": "BUD",
		"cabinClass": "1",
		"depTime": "202501250825"
	}],
	"inboundSegments": [{
		"flightNumber": "W62341",
		"segmentIndex": 2,
		"depAirport": "BUD",
		"arrAirport": "FCO",
		"cabinClass": "1",
		"depTime": "202501301915"
	}]
}'

Responses

🟢200Success
application/json
Body
status
enum<integer> 
required
214: Session ID invalid or expired.
215: Segment index missing.
216: Seat selection failed.
217: Unknown error.
218: The airline don’t support seat selection currently.
219: The route don’t support seat selection currently.
220: illegal request parameter.
221: Fare family is empty and not configured with lowest price fare family.
223: The ratio of seat quotation requests to payment orders has exceeded the allowed threshold.
Allowed values:
214215216217218219220221223
msg
optional
Any of
It serves as an additional description of the response result. Especially when the interface reports an error (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 to0at any time.
cabins
array [object {2}]  | null 
optional
An array containing all cabins and the seat layouts within them.
segmentIndex
integer 
required
The segment index to which the cabin belongs
cabin
object 
required
An object used to describe the seat layout within a cabin.
Example
{
	"cabins": [{
			"segmentIndex": 1,
			"cabin": {
				"deck": "main",
				"cabinClass": 1,
				"cabinLayout": {
					"columns": [{
							"designator": "A",
							"characteristics": "W"
						},
						{
							"designator": "B",
							"characteristics": "M"
						},
						{
							"designator": "C",
							"characteristics": "A"
						},
						{
							"designator": "D",
							"characteristics": "W"
						},
						{
							"designator": "E",
							"characteristics": "M"
						},
						{
							"designator": "F",
							"characteristics": "A"
						}
					],
					"rows": {
						"first": 4,
						"last": 20
					},
					"exitRowPositions": [{
							"first": 4,
							"last": 5
						},
						{
							"first": 10,
							"last": 11
						},
						{
							"first": 20,
							"last": 20
						}
					]
				},
				"rows": [{
					"number": 4,
					"seats": [{
							"column": "A",
							"seatStatus": "F",
							"seatCharacteristics": [
								"W",
								"L",
								"E"
							],
							"price": 26.29,
							"currency": "USD",
							"vendorPrice": 26.29,
							"vendorCurrency": "USD",
							"productCode": "SCI_SEAT_4A_W6_FCO_BUD",
							"displayCurrency": null,
							"displayPrice": null
						},
						{
							"column": "B",
							"seatStatus": "F",
							"seatCharacteristics": [
								"M",
								"L",
								"E"
							],
							"price": 10.79,
							"currency": "USD",
							"vendorPrice": 10.79,
							"vendorCurrency": "USD",
							"productCode": "SCI_SEAT_4B_W6_FCO_BUD",
							"displayCurrency": null,
							"displayPrice": null
						},
						{
							"column": "C",
							"seatStatus": "F",
							"seatCharacteristics": [
								"A",
								"L",
								"E"
							],
							"price": 30.13,
							"currency": "USD",
							"vendorPrice": 30.13,
							"vendorCurrency": "USD",
							"productCode": "SCI_SEAT_4C_W6_FCO_BUD",
							"displayCurrency": null,
							"displayPrice": null
						},
						{
							"column": "D",
							"seatStatus": "F",
							"seatCharacteristics": [
								"W",
								"L",
								"E"
							],
							"price": 88.43,
							"currency": "USD",
							"vendorPrice": 88.43,
							"vendorCurrency": "USD",
							"productCode": "SCI_SEAT_4D_W6_FCO_BUD",
							"displayCurrency": null,
							"displayPrice": null
						},
						{
							"column": "E",
							"seatStatus": "F",
							"seatCharacteristics": [
								"M",
								"L",
								"E"
							],
							"price": 56.78,
							"currency": "USD",
							"vendorPrice": 56.78,
							"vendorCurrency": "USD",
							"productCode": "SCI_SEAT_4E_W6_FCO_BUD",
							"displayCurrency": null,
							"displayPrice": null
						},
						{
							"column": "F",
							"seatStatus": "F",
							"seatCharacteristics": [
								"A",
								"L",
								"E"
							],
							"price": 29.47,
							"currency": "USD",
							"vendorPrice": 29.47,
							"vendorCurrency": "USD",
							"productCode": "SCI_SEAT_4F_W6_FCO_BUD",
							"displayCurrency": null,
							"displayPrice": null
						}
					]
				}]
			}
		},
		{
			"segmentIndex": 2,
			"cabin": {
				"deck": "main",
				"cabinClass": 1,
				"cabinLayout": {
					"columns": [{
							"designator": "A",
							"characteristics": "W"
						},
						{
							"designator": "B",
							"characteristics": "M"
						},
						{
							"designator": "C",
							"characteristics": "A"
						},
						{
							"designator": "D",
							"characteristics": "W"
						},
						{
							"designator": "E",
							"characteristics": "M"
						},
						{
							"designator": "F",
							"characteristics": "A"
						}
					],
					"rows": {
						"first": 4,
						"last": 20
					},
					"exitRowPositions": [{
							"first": 4,
							"last": 5
						},
						{
							"first": 10,
							"last": 11
						},
						{
							"first": 20,
							"last": 20
						}
					]
				},
				"rows": [

					{
						"number": 5,
						"seats": [{
								"column": "A",
								"seatStatus": "F",
								"seatCharacteristics": [
									"W",
									"L",
									"E"
								],
								"price": 34.25,
								"currency": "USD",
								"vendorPrice": 34.25,
								"vendorCurrency": "USD",
								"productCode": "SCI_SEAT_5A_W6_BUD_FCO",
								"displayCurrency": null,
								"displayPrice": null
							},
							{
								"column": "B",
								"seatStatus": "F",
								"seatCharacteristics": [
									"M",
									"L",
									"E"
								],
								"price": 26.42,
								"currency": "USD",
								"vendorPrice": 26.42,
								"vendorCurrency": "USD",
								"productCode": "SCI_SEAT_5B_W6_BUD_FCO",
								"displayCurrency": null,
								"displayPrice": null
							},
							{
								"column": "C",
								"seatStatus": "F",
								"seatCharacteristics": [
									"A",
									"L",
									"E"
								],
								"price": 25.53,
								"currency": "USD",
								"vendorPrice": 25.53,
								"vendorCurrency": "USD",
								"productCode": "SCI_SEAT_5C_W6_BUD_FCO",
								"displayCurrency": null,
								"displayPrice": null
							},
							{
								"column": "D",
								"seatStatus": "F",
								"seatCharacteristics": [
									"W",
									"L",
									"E"
								],
								"price": 22.75,
								"currency": "USD",
								"vendorPrice": 22.75,
								"vendorCurrency": "USD",
								"productCode": "SCI_SEAT_5D_W6_BUD_FCO",
								"displayCurrency": null,
								"displayPrice": null
							},
							{
								"column": "E",
								"seatStatus": "F",
								"seatCharacteristics": [
									"M",
									"L",
									"E"
								],
								"price": 68.06,
								"currency": "USD",
								"vendorPrice": 68.06,
								"vendorCurrency": "USD",
								"productCode": "SCI_SEAT_5E_W6_BUD_FCO",
								"displayCurrency": null,
								"displayPrice": null
							},
							{
								"column": "F",
								"seatStatus": "F",
								"seatCharacteristics": [
									"A",
									"L",
									"E"
								],
								"price": 29.83,
								"currency": "USD",
								"vendorPrice": 29.83,
								"vendorCurrency": "USD",
								"productCode": "SCI_SEAT_5F_W6_BUD_FCO",
								"displayCurrency": null,
								"displayPrice": null
							}
						]
					}
				]
			}
		}
	],
	"status": 0,
	"msg": "success"
}
Modified at 2025-07-18 06:59:10
Previous
Get Offer
Next
Get Luggage
Built with