Home
Amadeus
Flight Choice Prediction Flight Offer Example
Flight Choice Prediction Flight Offer Example
Travel Travel Technology Reservations Flights Hotels Airlines Hospitality Tours and Activities Cars and Transfers Destination Content Itinerary Management Trip Planning Artificial Intelligence Market Insights
Flight Choice Prediction Flight Offer Example is an example object payload from Amadeus, with 17 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
type id choiceProbability source instantTicketingRequired disablePricing nonHomogeneous oneWay paymentCardRequired lastTicketingDate numberOfBookableSeats itineraries price pricingOptions validatingAirlineCodes travelerPricings fareRules
Example Payload
{
"type": "flight-offer",
"id": "1",
"choiceProbability": "0.42",
"source": "GDS",
"instantTicketingRequired": false,
"disablePricing": false,
"nonHomogeneous": false,
"oneWay": false,
"paymentCardRequired": false,
"lastTicketingDate": "2018-06-19T00:00:00.000Z",
"numberOfBookableSeats": 9,
"itineraries": [
{
"duration": "PT2H10M",
"segments": []
}
],
"price": {},
"pricingOptions": {
"fareType": [
"PUBLISHED"
],
"corporateCodes": [
"123456"
],
"includedCheckedBagsOnly": true,
"refundableFare": true,
"noRestrictionFare": true,
"noPenaltyFare": true
},
"validatingAirlineCodes": [
"AF"
],
"travelerPricings": [
{
"travelerId": "1",
"fareOption": "STANDARD",
"travelerType": "ADULT",
"associatedAdultId": "12345",
"price": {
"currency": "USD",
"total": "932.70",
"base": "632.70",
"fees": [],
"taxes": []
},
"fareDetailsBySegment": [
{
"segmentId": "1",
"cabin": "PREMIUM_ECONOMY",
"fareBasis": "ANNNNF4K",
"brandedFare": "LIGHTONE",
"class": "A",
"isAllotment": true,
"allotmentDetails": {
"tourName": "Sample Name",
"tourReference": "string-value"
},
"sliceDiceIndicator": "LOCAL_AVAILABILITY",
"includedCheckedBags": {},
"additionalServices": {
"chargeableSeatNumber": "33D",
"otherServices": [
"PRIORITY_BOARDING"
]
}
}
]
}
],
"fareRules": {
"currency": "EUR",
"rules": [
{
"category": "EXCHANGE",
"circumstances": "string-value",
"notApplicable": true,
"maxPenaltyAmount": "199.50",
"descriptions": []
}
]
}
}