APIs to perform search, checkout and book an air pnr
API reference
/Air
/- Get Special Service Requests (SSR) for a Category
Get air itineraries
Get flight attributes
Get selected itinerary
Get Airlines Information (Air)
Get flight checkout details
Get flight seat map
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)
Returns the Air Raw Fare Rules for a Segment or Pnr
Get Special Service Reque...
Air API (v2)
Download OpenAPI description
Languages
Servers
Sandbox URL
https://api-ext-sboxmeta.partners.spotnana.com/
Spotnana mock server
https://developer.spotnana.com/_mock/openapi/airapi/
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/air/special-service-requests
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/airapi/v2/air/special-service-requests
- curl
- JavaScript
- Node.js
- Python
curl -i -X GET \
https://api-ext-sboxmeta.partners.spotnana.com/v2/air/special-service-requests \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "specialServiceRequests": [ { … } ] }
Request
Returns the list of Special Service Requests (SSR) for a selected category. Every category type can contain multiple service requests. For example, the category: MEAL includes service requests such as a vegetarian meal, baby/infant meal, gluten free meal, and so on. These service requests are displayed as subCategory fields within the category: MEAL. To learn more about a selected category such as its subCategory values, category code, and other relevant information, run this API using the category type as the query parameter.
Security
Bearer
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/air/special-service-requests/categories
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/airapi/v2/air/special-service-requests/categories
- curl
- JavaScript
- Node.js
- Python
curl -i -X GET \
'https://api-ext-sboxmeta.partners.spotnana.com/v2/air/special-service-requests/categories?category=SPECIAL_ASSISTANCE_WHEELCHAIR' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "specialServiceRequests": [ { … } ] }
Bodyapplication/jsonrequired
The unique ID (identifying the current workflow) returned by the backend in the air search results response (AirSearchResponse.searchId) of the previous leg. If set, the rateOptionId and userId must also be specified.
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/air/fare-rules/fetch
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/airapi/v2/air/fare-rules/fetch
- curl
- JavaScript
- Node.js
- Python
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v2/air/fare-rules/fetch \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"searchId": "string",
"rateOptionId": "string",
"pnrId": "1213124111",
"userId": "4974a66b-7493-4f41-908c-58ba81093947"
}'Response
application/json
{ "legRuleInfos": [ { … } ] }