Skip to content

Get flight attributes

Request

Get Flight attributes, amenities and fare rules for the given search response id. Returns the full air search response along with attribute details.

Security
Bearer
Bodyapplication/jsonrequired
searchIdstringrequired

The unique ID for the search response for which the attributes are being requested.

Example:"ChBjZDg3ZjRjZmRmMTFmMWFiEhBjZDg3Z"
curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/air/flight-attributes \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "searchId": "ChBjZDg3ZjRjZmRmMTFmMWFiEhBjZDg3Z"
  }'

Responses

OK

Bodyapplication/json
searchIdstringrequired

The unique ID for this search response. This value must be passed on in the subsequent booking API calls.

Example:"ChBjZDg3ZjRjZmRmMTFmMWFiEhBjZDg3Z"
itineraryDetailsobject(ItineraryInfo)required

The list of itineraries in the search response.

paginationParamsobject(PaginationResponseParams)

Pagination parameters for response.

metadataobject(AirMetadata)

Metadata associated with the air search response.

currSelectedItineraryobject(AirItin)

Currently selected itinerary for exchange or modify flows.

unusedCreditsArray of objects(UnusedCreditInfo)

Applicable unused airline credits based on the search.

cheapestOptionsArray of objects(AirItin)

List of cheapest itineraries after applying filters.

waiverApplicabilityTypestring(WaiverApplicabilityType)

Type of waiver applicable to an exchange:

  • WAIVER_APPLICABILITY_UNKNOWN: No waiver is applicable.
  • AIRLINE_DISRUPTION_WAIVER: Airline-issued disruption waiver is applicable.
Enum:"WAIVER_APPLICABILITY_UNKNOWN""AIRLINE_DISRUPTION_WAIVER"
Response
{ "searchId": "ChBjZDg3ZjRjZmRmMTFmMWFiEhBjZDg3Z", "itineraryDetails": { "itineraries": [ … ], "flightData": [ … ] }, "paginationParams": { "numResults": 0, "numPages": 0, "currentPageNumber": 0, "currentPageSize": 0 }, "metadata": { "airlineInfo": [ … ], "applicableAlliances": [ … ], "legBylegPricing": true, "enableFareCategories": [ … ], "isExpressSearch": true, "availableConnectingAirports": [ … ], "flightRestrictions": [ … ], "paymentMetadata": { … }, "logicalFareStatistics": [ … ], "shelfInfo": [ … ], "vendorPrograms": [ … ], "currentItinerary": { … }, "fareCategoryView": "UNKNOWN" }, "currSelectedItinerary": { "itineraryId": "kjdUjak8hX", "legs": [ … ], "travelers": [ … ], "fareInfo": { … }, "ticketType": "SINGLE", "policyInfos": { … }, "posInfo": [ … ], "publicFare": { … }, "allowedFopRules": [ … ], "fareAttributes": { … }, "additionalTotalFares": [ … ], "changeFee": { … }, "hasApplicableCredits": true, "applicableCreditIndices": [ … ], "showRawFareRules": true, "cloneInfo": { … }, "airline": "string", "isUnselectable": true, "inPolicyAmount": { … }, "checkoutApprovalInfo": { … }, "allowedFop": [ … ] }, "unusedCredits": [ { … } ], "cheapestOptions": [ { … } ], "waiverApplicabilityType": "WAIVER_APPLICABILITY_UNKNOWN" }