API reference
/Air
/- Get flight seat map
Get air itineraries
Get flight attributes
Get selected itinerary
Get Airlines Information (Air)
Get flight checkout details
Initiate booking
Validate air itinerary
Validate air itinerary (interim)
Create air pnr
Cancel Air Pnr
Get PNR exchange details
Modify Search
Modify Book
Edit PNR
Get Special Service Requests (SSR)
Get Special Service Requests (SSR) for a Category
Returns the Air Raw Fare Rules for a Segment or Pnr
Accept schedule change
Get flight seat map
Get seat map for the flights in the given itinerary.
Security
Bearer
One of:
The itinerary for which the seat map needs to be returned.
Information about the travelers on the itinerary.
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/air/seat-map
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/airapi/v2/air/seat-map
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v2/air/seat-map \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"itinerary": {
"airItineraryId": {
"searchId": "Xjdks78X",
"itineraryId": "ijdks78X"
}
},
"travelerInfos": [
{
"travelerType": "ADULT",
"travelerAge": {
"numYears": 22
},
"travelerInfo": {
"userId": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
},
"loyaltyInfos": [
{
"flightId": "flight_0",
"loyaltyInfos": [
{
"appliedTo": [
null
],
"id": "firstId",
"issuedBy": "firstIssuedBy",
"type": "AIR",
"linked": false,
"tier": "GOLD"
}
]
}
]
}
],
"indexes": [
{
"legIndex": 0,
"flightIndex": [
0
]
}
]
}'OK
Unique identifier for this seat map response, which would need to be passed on in subsequent booking APIs.
Example:"seat1234"
Seat information of the whole itinerary from RouteHappy data.
Response
{ "seatMapResponseId": "seat1234", "travelerSeatMaps": [ { … } ], "seatMaps": [ { … } ], "itinerarySeatInformation": { "flightSeatInformation": [ … ] }, "planeFeatures": [ { … } ] }