- Previous: GET /search-context v1
- Up: Offers API
- Next: GET /lowest-fare-offers v1
POST /lowest-fare-offers v1
POST /LOWEST-FARE-OFFERS V1
The LowestFareOffers endpoint provides the available flight offers with the lowest fare based on a certain period (Overall, Months or Days).
How to use ?
The POST method should be used to start a search for lowest fare offers.
Use case flow can then be followed by the consumer by requesting the GET methods (for LowestFareOffers & AvailableOffers) supplied as HATEOAS link in the POST response body.
The GET method returns the same response data structure as the POST method.
Headers to use for request
Parameter |
Value |
Authorization |
Bearer {{token}} |
Content-Type |
application/json |
Accept |
application/hal+json;charset=utf8 |
Accept-Language |
{{language}}-{{country}} |
AFKL-TRAVEL-Host |
KL or AF |
AFKL-TRAVEL-Country |
Country (overrides Accept-Language country) |
POST
POST https://api.airfranceklm.com/opendata/offers/v1/lowest-fare-offers
QUERY PARAMETERS
n/a
POST PARAMETERS
Level |
Name |
Type |
Multiplicity |
Description |
1 | type | String |
Indicates the type of request being fired. OVERALL, MONTH or DAY. |
|
1 |
commercialCabins |
List of string |
1 |
Code for requested commercialCabins |
1 |
currency |
String |
0-1 |
Indicates the currency to be used for prices in response. Three letter currency code according to ISO 4217. This can be used to override the setting for the default currency of the country of the origin airport (also known as Point of Sale). |
1 |
discountCode |
String |
0-1 |
code for IDC discount. |
1 |
displayPriceContent |
Enumeration |
0-1 |
Content of displayPrice in response. - If empty : displayPrice is the price for 1adt, not rounding, following display rules from Generic Admi Tool Possible values: ALL_PAX_ROUNDED, ALL_PAX - ALL_PAX_ROUNDED : displayPrice is the price for all pax, rounded to superior integer, following display rules from Generic Admi Tool - ALL_PAX : displayPrice is the price for all pax, not rounded, following display rules from Generic Admi Tool |
1 | shortest | Boolean | 0-1 |
Special filter to recommende the fewest connections even if it's not the cheapest one. Possible value: TRUE/FALSE Default value: FALSE |
1 |
includeCarriers |
Array of Strings |
0-n |
List of marketing carriers to include in the request. When shortest=true, includeCarriers cannot be supplied |
1 |
reservationId |
String |
0-1 |
Identification of the reservation for which a rebooking is requested. Only supplied for Rebooking a ticket. reservationId is the conversation state identifier. |
1 |
bookingFlow |
String |
0-1 |
Can contain LEISURE, CORPORATE, REWARD Default value: LEISURE |
1 | fareOption | String | 0-1 |
Option in order to set particular fares Can contain CORSICA, FAMILY |
1 |
customer |
Object |
1 |
The specification of the customer information |
2 |
profileId |
String |
1 |
Id of the Profile stored in resource store. It is the one received from searchContext. To be used in all our services to get FB details. To use in association with the contractKey to get the fare associated to the contract. |
2 |
corporateContractKey |
Integer |
1 |
Key of the contract stored in resource store. It is the one received from searchContext. To use in association with the ProfileID in order to get the fare associated to the contract |
1 |
passengerCount |
Object |
0-1 |
The specification of the passengers for which the offer is requested. It will soon be deprecated |
2 |
ADT |
Integer |
0-1 |
Number of adults. 16 years and older. |
2 |
CHD |
Integer |
0-1 |
Number of children. 2-11 years. |
2 |
INF |
Integer |
0-1 |
Number of infants. Under 2 years. |
2 |
YTH |
Integer |
0-1 |
Number of young. 12-18 years. |
2 |
YCD |
Integer |
0-1 |
Number of seniors. +65 years. |
2 |
C14 |
Integer |
0-1 |
Number of young adults. 12-15 years. Only available from UK |
2 | B12 | Integer | 0-1 | Number of young adults. 12 years. Only available from UK |
2 | B13 | Integer | 0-1 | Number of young adults. 13 years. Only available from UK |
2 | B14 | Integer | 0-1 | Number of young adults. 14 years. Only available from UK |
2 | B15 | Integer | 0-1 | Number of young adults. 15 years. Only available from UK |
1 | passengers | Object | 0-1 |
The specification of the passengers with birthdate for which the offer is requested For passengers details, it is the one to be used. |
2 | id | Integer | 1 | Contain the Id of the passenger |
2 | type | String | 1 | Can contain one of the following passenger types : ADT,CHD, INF, C14,YTH, YCD. |
2 | birthDate | Object | 0-1 | Contain the birthdate of the passenger type |
2 | minAge | Integer | 0-1 | Contain the minimum age of the passenger type |
2 | maxAge | Integer | 0-1 | Contain the maximum age of the passenger type |
1 |
requestedConnections |
Array of Objects |
1 |
A chronologically ordered list of connections for which the lowest fare offers is requested. |
2 |
dateInterval |
Object |
0-1 |
String representing a date interval. Format is: "YYYY-MM-DD/YYYY-MM-DD". Date interval describes the range of dates that should be used to find lowest fares for the Connection. The 2 dates of the interval need to be set on a chronological way. Conditional: Must be supplied for at least 1 connection. |
2 | duration | Integer | 0-1 | Corresponds to the duration of the flight. This field is not mandatory for outbound flight but it is for inbound flight. |
2 | DepartureDate | Object | 0-1 | Object representing the departure date requested for the Connection |
2 | farebasis | String | 0-1 |
The fare basis of the connection. Conditional: Must not be supplied when origin & destination are supplied. Can be supplied when segments are supplied. In case it is supplied, the selling class must also be supplied in segments. |
2 |
fareFamilyCode |
String |
0-1 |
The fare family of the connection. Conditional: Must not be supplied when origin & destination are supplied. Can be supplied when segments are supplied. |
2 |
minDaysOfStay |
Integer |
0-1 |
Minimum days of stay between this and next connection. Conditional: Either both or none of min/maxStayOfDays must be supplied. |
2 |
maxDaysOfStay |
Integer |
0-1 |
Maximum days of stay between this and next connection. Conditional: Either both or none of min/maxStayOfDays must be supplied. |
2 |
origin |
Object |
0-1 |
The origin station of the connection. Conditional: Either origin & destination are supplied or segments are supplied. |
3 |
city |
Object |
0-1 |
The city of origin. Conditional: Either city or airport must be supplied. |
4 |
code |
String |
1 |
IATA location code of the city. |
3 |
airport |
Object |
0-1 |
The airport of origin. Conditional: Either city or airport must be supplied. |
4 |
code |
String |
1 |
IATA location code of the airport. |
2 |
destination |
Object |
0-1 |
The destination station of the connection. Conditional: Either origin & destination are supplied or segments are supplied. |
3 |
city |
Object |
0-1 |
The city of destination. Conditional: Either city or airport must be supplied. |
4 |
code |
String |
1 |
IATA location code of the city. |
3 |
airport |
Object |
0-1 |
The airport of destination. Conditional: Either city or airport must be supplied. |
4 |
code |
String |
1 |
IATA location code of the airport. |
2 |
segments |
Array of Objects |
0-12 |
A chronologically ordered list of segments that describe the Connection requested. Conditional: Either origin & destination are supplied or segments are supplied. |
3 | arrivalDateTime | Object | 0-1 |
DateTime of arrival of the segment flight. It is specified as local time at destination of the segment. For example: YYYY-MM-DDTHH:MM:SS |
3 | operatingCarrier | String | 0-1 |
IATA airline code for the operating carrier of the flight. Mandatory field only when we research an inbound flight. We will remember the informations selected in the outbound flight. |
3 |
origin |
Object |
0-1 |
The origin airport of the connection. |
4 |
code |
String |
1 |
IATA location code of the airport. |
3 |
destination |
Object |
0-1 |
The destination airport of the connection. |
4 |
code |
String |
1 |
IATA location code of the airport. |
3 |
departureDateTime |
Object |
1 |
DateTime of departure of the segment flight. It is specified as local time at origin of the segment. |
3 | equipmentType | String | 0-1 | Operating carrier of the flight. |
3 | marketingCarrier | Object | 1 | IATA airline code for the marketing carrier of the flight |
3 | aircraftOwner | String | 0-1 |
Name of the carrier returned by the data source. Mandatory field only when we research an inbound flight. We will remember the informations selected in the outbound flight. |
3 | dateVariation | integer | 0-1 | Date variation between the departure and the arrival of each segment. It is mandatory for inbound query. |
3 | marketingFlightNumber |
String | 1 |
The marketing flight number for the segment. Max of four digits, when less than 3 then prefix with zeroes up till 3 digits. For example: 006, 022, 1001. |
RESPONSE PARAMETERS
Level | Name | Type | Multiplicity | Description |
1 | disclaimer | Object | 1 | The texts to be shown as legal disclaimers regarding fare, tax, fee, credit card surcharges etc. |
2 | displayPriceText | String | 1 | The disclaimer text to be shown when display price is shown to the customer. |
2 | totalPriceText | String | 1 | The disclaimer text to be shown when total price is shown to the customer. |
2 | fareMilesText | String | 1 | The disclaimer text to be shown when price in Miles is shown to the customer. |
1 | itineraries | Array of Objects | 0-n | List of itineraries matching the lowest fare offers request. |
2 | connections | Array of Objects | 1--6 | A chronologically ordered list of connections the lowest fare offer applies to. |
3 | dateInterval | String | 0-1 | String representing a date interval. Format is: "YYYY-MM-DD/YYYY-MM-DD". Date interval describes the range of dates for the Connection that the lowest fare applies to. Conditional: Must be supplied for at least 1 connection. |
3 | departureDate | String | 0-1 | String representing a departure date. Format is: "YYYY-MM-DD ". Possible departure date where the fare can applied. |
3 | origin | Object | 0-1 | The origin station of the connection (matching the request). |
4 | city | Object | 0-1 | The city of origin (matching the request). |
5 | code | String | 1 | IATA location code of the city. |
5 | name | String | 1 | Name of the station in the language as specified in ContentLanguage header. |
4 | airport | Object | 0-1 | The airport of origin (matching the request). |
5 | code | String | 1 | IATA location code of the airport. |
5 | name | String | 1 | Name of the station in the language as specified in ContentLanguage header. |
3 | destination | Object | 0-1 | The destination station of the connection (matching the request). |
5 | name | String | 1 | Name of the station in the language as specified in ContentLanguage header. |
4 | airport | Object | 0-1 | The airport of destination (matching the request). |
5 | code | String | 1 | IATA location code of the airport. |
5 | name | String | 1 | Name of the station in the language as specified in ContentLanguage header. |
3 | duration | integer | 0-1 | Corresponds to the duration of the flight. This field is not mandatory for outbound flight but it is for inbound flight. |
2 | flightProducts | Array of Object | 1--7 | Flight product for the itinerary. |
3 | type | String | 1 | Indicates the type of response (matching requested type). OVERALL, MONTH or DAY. |
3 | calculationTimestamp | Object | 0-1 | Timestamp of fare calculation. Only specified when fare comes from static cache of TripPlanner. |
3 | passengers | Array of Objects | 1-n | List of passengers associated to the product (matching requested passenger count). |
4 | id | integer | 1 | Integer to uniquely identify a passenger within a product. |
4 | type | String | 1 | Type of the passenger. ADT, C14, CHD, INF, YCD or YTH, B12, B13, B14, B15 |
3 | price | Object | 0-1 | Price specification for the product. |
4 | displayPrice | Number | 1 | Price to be displayed. Applies to a single adult. Depending on the displayType it includes taxes and/or fees. |
4 | totalPrice | Number | 1 | Total price. Price for all passengers including taxes and fees. |
4 | currency | String | 1 | The currency used for prices in response. Three letter currency code according to ISO 4217. |
4 | accuracy | Integer | 1 | The accuracy of the prices supplied. Accuracy is a percentage of the fares for a specific O&D delivered through TripPlanner (GetData or GetBudgetSearch) that match (within a certain range) the fares delivered through FlexPricer (Upsell). |
4 | displayType | String | 0-1 | Indicates the rules used for the display price. TAX, FARE or FEE |
4 | dynamicWaiver | Boolean | 0-1 | Indicates whether a dynamic waiver applies to rebooking the ticket. Only applies to Rebooking a ticket. |
4 | flexibilityWaiver | Boolean | 0-1 | Indicates whether a flexibility waiver applies to rebooking the ticket. Only applies to Rebooking a ticket. |
4 | surcharges | Array of object | 0-n | Surcharges applicable per PNR. Conditional: Surcharge applies either to passenger or to PNR. |
5 | code | String | 1 | Code of the surcharge. E.g. to indicate it is a booking fee. |
5 | amount | String | 1 | Amount applicable to the Surcharge. |
4 | pricePerPassengerTypes | Array of Objects | 1-4 | Price specification per passenger type. |
5 | passengerType | String | 1 | Type of the passenger. ADT, C14, CHD, INF, YCD or YTH, B12, B13, B14, B15 |
5 | fare | Number | 1 | The fare price as applicable for the Passenger Type. |
5 | taxes | Number | 1 | The taxes price as applicable for the Passenger Type. |
5 | penalty | Number | 0-1 | The penalty price as applicable for the Passenger Type. Only applies to Rebooking a ticket. |
5 | surcharges | Array of object | 0-n | Surcharges applicable per passenger. Conditional: Surcharge applies either to passenger or to PNR. |
6 | code | String | 1 | Code of the surcharge. e.g. to indicate it is a booking fee. |
6 | amount | Number | 1 | Amount applicable to the Surcharge. |
3 | priceInMiles | Object | 0-1 | Price specification for the product (In Miles) |
4 | displayPrice | Number | 1 |
Price to be displayed. Depending of displayPriceContent it is for one adult or for all pax rounded. |
4 | totalPrice | Number | 1 | Total price in Miles. Price for all passengers |
4 | currency | String | 1 |
The currency used for prices in response. For priceInMiles, it will be always set to MILES |
4 | displayType | String |
0-1 |
Indicates the rules used for the display price. For priceInMiles, it will be always set to FARE_MILES |
4 | pricePerPassengerTypes | Array of Objects | 1-4 | Price specification per passenger type. |
5 | passengerType | String | 1 | Type of the passenger. ADT, C14, CHD, INF, YCD, YTH, B12, B13, B14, B15 |
5 | fare | Number | 1 | The fare price as applicable for the Passenger Type. |
3 | taxDetails | Object |
0-1 | Taxes price specification for the product |
4 | totalPrice | Number | 1 | Total taxes price. Taxes price for all passengers |
4 | currency | String | 1 |
The currency used for prices in response. Three letter currency code according to ISO 4217. |
4 | pricePerPassengerTypes | Array of Objects | 1-4 | Price specification per passenger type. |
5 | passengerType | String | 1 | Type of the passenger. ADT, C14, CHD, INF, YCD, YTH, B12, B13, B14, B15. |
5 | taxes | Number | 1 | The taxes price as applicable for the Passenger Type. |
5 | surcharges | Object | 0-n |
Surcharges applicable per passenger. Conditional: Surcharge applies either to passenger or to PNR. |
6 | code | String | 1 | Code of the surcharge. e.g. to indicate it is a booking fee. |
6 | amount | Number | 1 | Amount applicable to the Surcharge |
3 | connections | Array of Objects | 1-6 | A chronologically ordered list of connections the lowest fare offer applies to. |
4 | numberOfSeatsAvailable | Integer | 0-1 | The number of seats available for the lowest fare for this connection. |
4 | fareBasis | Object | 1 | Fare basis applicable to the connection as selected. |
5 | code | String | 1 | Fare basis code for the connection. |
4 | negotiatedFare | Boolean | 0-1 | It is set to TRUE only if the fare is a Negotiated one. |
4 | commercialCabin | String | 1 | CommercialCabin applicable for the fare for the connection, ECONOMY or PREMIUM or BUSINESS or FIRST |
4 | price | Object | 0-1 | Price per connection |
5 | displayPrice | Number | 1 | Price to be displayed. Applies to a single adult. Depending on the displayType it includes taxes and/or fees. Depending of displayPriceContent it is for one adult or for all pax rounded |
5 | totalPrice | Number | 1 | Total price per connection. Price for all passengers including taxes and fees. |
5 | currency | String | 1 | The currency used for prices in response. Three letter currency code according to ISO 4217. |
5 | accuracy | Integer | 1 | The accuracy of the prices supplied. Accuracy is a percentage of the fares for a specific O&D delivered through TripPlanner (GetData or GetBudgetSearch) that match (within a certain range) the fares delivered through FlexPricer (Upsell). |
5 | displayType | String | 0-1 | Indicates the rules used for the display price. TAX, FARE or FEE, FARE_MILES |
5 | dynamicWaiver | Boolean | 0-1 | Indicates whether a dynamic waiver applies to rebooking the ticket. Only applies to Rebooking a ticket. |
5 | flexibilityWaiver | Boolean | 0-1 | Indicates whether a flexibility waiver applies to rebooking the ticket. Only applies to Rebooking a ticket. |
5 | surcharges | Object | 0-n | Surcharges applicable per PNR. Conditional: Surcharge applies either to passenger or to PNR. The amount of the surcharge is applied only for the Inbound. No surcharge is applied on the outbound. |
6 | code | String | 1 | Code of the surcharge. E.g. to indicate it is a booking fee. |
6 | amount | String | 1 | Amount applicable to the Surcharge. |
5 | pricePerPassengerTypes | Array of Objects | 1-4 | Price specification per passenger type and per connection |
6 | passengerType | String | 1 | Type of the passenger. ADT, C14, CHD, INF, YCD or YTH, B12, B13, B14, B15 |
6 | fare | Number | 1 | The fare price as applicable for the Passenger Type. |
6 | taxes | Number | 1 | The taxes price as applicable for the Passenger Type. |
6 | penalty | Number | 1 | The penalty price as applicable for the Passenger Type. Only applies to Rebooking a ticket. |
6 | surcharges | Array of object | 0-n | Surcharges applicable per passenger. Conditional: Surcharge applies either to passenger or to PNR. |
7 | code | String | 1 | Code of the surcharge. e.g. to indicate it is a booking fee. |
7 | amount | Number | 1 | Amount applicable to the Surcharge. |
4 | priceInMiles | Object | 0-1 | Price specification for the product (In Miles) |
5 | displayPrice | Number | 1 |
Price to be displayed. Depending of displayPriceContent it is for one adult or for all pax rounded |
5 | totalPrice | Number | 1 | Total price in Miles. Price for all passengers. |
5 | currency | String | 1 |
The currency used for prices in response. For priceInMiles, it will be always set to MILES |
5 | displayType | String | 0-1 |
Indicates the rules used for the display price. For priceInMiles, it will be always set to FARE_MILES |
5 | pricePerPassengerTypes | Array of Objects | 1-4 | Price specification per passenger type. |
6 | passengerType | String | 1 | Type of the passenger. ADT, C14, CHD, INF, YCD, YTH, B12, B13, B14, B15. |
6 | fare | Number | 1 | The fare price as applicable for the Passenger Type. |
4 | taxDetails | Object | 0-1 | Taxes price specification for the product |
5 | totalPrice | Number | 1 | Total taxes price. Taxes price for all passengers. |
5 | currency | String |
The currency used for prices in response. Three letter currency code according to ISO 4217. |
|
5 | pricePerPassengerTypes | Array of Objects | 1-4 | Price specification per passenger type. |
6 | passengerType | String | 1 | Type of the passenger. ADT, C14, CHD, INF, YCD, YTH, B12, B13, B14, B15. |
6 | taxes | Number | 1 | The taxes price as applicable for the Passenger Type. |
6 | surcharges | Array of Objects | 0-n | Surcharges applicable per passenger. Conditional: Surcharge applies either to passenger or to PNR. |
7 | code | String | 1 | Code of the surcharge. e.g. to indicate it is a booking fee |
7 | amount | Number | 1 | Amount applicable to the Surcharge. |
4 | segments | Array of Objects | 0-6 | A chronologically ordered list of segments that describe the Connection. Conditional: Either matching the request or specified when expand-suggested-flights=true. |
5 | cabin | Object | 1 | Cabin for the segment into the connection |
6 | class | String | 1 | Cabin code. Can be: M == Economy C == Business W == Premium Economy F == First (La Premiere) |
5 | sellingClass | Object | 1 | Selling class for the segment |
6 | code | String | 1 | Selling class code |
5 | fareBasis | Object | 1 | Fare basis applicable to the segment as selected. |
6 | code | String | 1 | Fare basis code for the segment. |
4 | _links | Object | 1 | Container for all HATEOAS links |
5 | availableOffers | HATEOAS LINK | 0-1 | Represents a HATEOAS link to request the available offers on the date(s) of the connections of this flight product. Supports the use case where a consumer selects an outbound date and continues finding the list of flights on that same date. Conditional: Only supplied for type=DAY. |
3 | promotion | Object | 0-1 | Applicable promotion. Can be linked to discountCode in input or to promotion configured in PromoTool. All segments must match the promo fare basis. |
4 | id | Integer | 1 | Identification of the promotion. |
4 | title | String | 1 | Title of the promotion in the language as specified in ContentLanguage header. |
2 | locationSpecificRemarks | Array of Object | 0-n | List of location specific remarks that apply to the connection. |
3 | remarkCode | String | 1 | Code of the location specific remark. |
3 | remarkText | String | 1 | Text of the remark in the language as specified in ContentLanguage header. |
1 | warning | Object | 0-99 | Warning details |
2 | code | Number | 1 | Functional warning codes (1000-1999) |
2 | name | String | 1 | Name of the warning. Ex: OFA/FUNCTIONAL/INVALID_VALUE |
2 | description | String | 1 | Description of the warning |
3 | errorinInputPath | String | 1 | Description of the input Path where the warning occured |
1 | errors | Object | 0-1 | Error details |
2 | code | Number | 1 | Functional error codes (1000-1999) Technical error codes (2000-2999) Internal error codes (3000-3999) |
2 | name | String | 1 | Name of the error. Ex: OFA/TECHNICAL/INVALID_VALUE - logger/Typology/name |
2 | description | String | 1 | Description of the error |
3 | errorinInputPath | String | 1 | Description of the input Path where the error occured |
HTTP STATUS CODES
HTTP status |
Type |
200 | OK |
400 |
FOA/DISCOUNT_CODE_INELIGIBLE |
500 |
FOA/INTERNAL_SERVER_ERROR/UNSUPPORTED_CAPABILITY |
500 |
INTERNAL_SERVER_ERROR |
SAMPLE POST REQUEST
{ "type": "DAY", "commercialCabins": [ "BUSINESS" ], "passengerCount": { "ADT": 1, "C14": 0, "CHD": 0, "INF": 0, "YTH": 0, "YCD": 0 }, "requestedConnections": [ { "departureDate": "2019-04-20", "dateInterval": "2019-04-17/2019-04-23", "origin": { "airport": { "code": "BEG" } }, "destination": { "airport": { "code": "LBV" } } }, { "dateInterval": "2019-04-27/2019-05-03", "origin": { "airport": { "code": "LBV" } }, "destination": { "airport": { "code": "BEG" } } } ], "displayPriceContent": "ALL_PAX_ROUNDED", "bookingFlow": "LEISURE", "customer": {} }
SAMPLE POST RESPONSE
{ "itineraries": [ { "flightProducts": [ { "passengers": [ { "id": 1, "type": "ADT" } ], "price": { "displayPrice": 3927, "totalPrice": 3926.79, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 3486, "taxes": 440.79 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "connections": [ { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "_links": { "availableOffers": { "href": "https://api.ute1.klm.com/travel/offers/v1/available-offers?d=q0bJbTBDMXNUNNhfsRhBDvS5laEO0EtWBjpATwFJoOOAJNAuEOkMFKlFZLLqWkR4gq3HEUfVaFnNyMDQUtfARNfICDV_VcNKkmpI6eDjFKZUWwtLK-iyTq7uIFlEbMfCUnksMFiwWmkKRPithBqKw0qog7BaGVsLAA=={&minimumAccuracy,displayPriceContent}", "templated": true } } }, { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" } } ], "type": "DAY" } ], "connections": [ { "dateInterval": "2019-04-22/2019-04-22", "departureDate": "2019-04-22", "destination": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } }, "origin": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } } }, { "departureDate": "2019-05-05", "destination": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } }, "origin": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } } } ] }, { "flightProducts": [ { "passengers": [ { "id": 1, "type": "ADT" } ], "price": { "displayPrice": 3927, "totalPrice": 3926.79, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 3486, "taxes": 440.79 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "connections": [ { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "_links": { "availableOffers": { "href": "https://api.ute1.klm.com/travel/offers/v1/available-offers?d=q0bJbTBDMXNUNNhfsRhBDvS5laEO0EtWBjpATwFJoOOAJNAuEOkMFKlFZLLqWkR4gq3HEUfVaFnNyMDQUtfARNfIEDV_VcNKkmpI6eDjFKZUWwtLK-iyTq7uIFlEbMfCUnksMFiwWmkKtBW_lVBDcVgJdRBWK2NrAQ=={&minimumAccuracy,displayPriceContent}", "templated": true } } }, { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" } } ], "type": "DAY" } ], "connections": [ { "dateInterval": "2019-04-21/2019-04-21", "departureDate": "2019-04-21", "destination": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } }, "origin": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } } }, { "departureDate": "2019-05-04", "destination": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } }, "origin": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } } } ] }, { "flightProducts": [ { "passengers": [ { "id": 1, "type": "ADT" } ], "price": { "displayPrice": 3927, "totalPrice": 3926.79, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 3486, "taxes": 440.79 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "connections": [ { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "_links": { "availableOffers": { "href": "https://api.ute1.klm.com/travel/offers/v1/available-offers?d=q0bJbTBDMXNUNNhfsRhBDvS5laEO0EtWBjpATwFJoOOAJNAuEOkMFKlFZLLqWkR4gq3HEUfVaFnNyMDQUtfARNfQAjV_VcNKkmpI6eDjFKZUWwtLK-iyTq7uIFlEbMfCUnksMFiwWmmqa2CI30qooTishDoIq5WxtQA={&minimumAccuracy,displayPriceContent}", "templated": true } } }, { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" } } ], "type": "DAY" } ], "connections": [ { "dateInterval": "2019-04-18/2019-04-18", "departureDate": "2019-04-18", "destination": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } }, "origin": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } } }, { "departureDate": "2019-05-01", "destination": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } }, "origin": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } } } ] }, { "flightProducts": [ { "passengers": [ { "id": 1, "type": "ADT" } ], "price": { "displayPrice": 3927, "totalPrice": 3926.79, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 3486, "taxes": 440.79 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "connections": [ { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "_links": { "availableOffers": { "href": "https://api.ute1.klm.com/travel/offers/v1/available-offers?d=q0bJbTBDMXNUNNhfsRhBDvS5laEO0EtWBjpATwFJoOOAJNAuEOkMFKlFZLLqWkR4gq3HEUfVaFnNyMDQUtfARNfIADV_VcNKkmpI6eDjFKZUWwtLK-iyTq7uIFlEbMfCUnksMFiwWmmqa2CM30qooTishDoIq5WxtQA={&minimumAccuracy,displayPriceContent}", "templated": true } } }, { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" } } ], "type": "DAY" } ], "connections": [ { "dateInterval": "2019-04-20/2019-04-20", "departureDate": "2019-04-20", "destination": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } }, "origin": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } } }, { "departureDate": "2019-05-03", "destination": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } }, "origin": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } } } ] }, { "flightProducts": [ { "passengers": [ { "id": 1, "type": "ADT" } ], "price": { "displayPrice": 3927, "totalPrice": 3926.79, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 3486, "taxes": 440.79 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "connections": [ { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "_links": { "availableOffers": { "href": "https://api.ute1.klm.com/travel/offers/v1/available-offers?d=q0bJbTBDMXNUNNhfsRhBDvS5laEO0EtWBjpATwFJoOOAJNAuEOkMFKlFZLLqWkR4gq3HEUfVaFnNyMDQUtfARNfQHDV_VcNKkmpI6eDjFKZUWwtLK-iyTq7uIFlEbMfCUnksMFhwWGlsgN9KqKE4rIQ6CKuVsbUA{&minimumAccuracy,displayPriceContent}", "templated": true } } }, { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" } } ], "type": "DAY" } ], "connections": [ { "dateInterval": "2019-04-17/2019-04-17", "departureDate": "2019-04-17", "destination": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } }, "origin": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } } }, { "departureDate": "2019-04-30", "destination": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } }, "origin": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } } } ] }, { "flightProducts": [ { "passengers": [ { "id": 1, "type": "ADT" } ], "price": { "displayPrice": 4202, "totalPrice": 4201.79, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 3761, "taxes": 440.79 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "connections": [ { "numberOfSeatsAvailable": 3, "fareBasis": { "code": "ISFAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "I" }, "fareBasis": { "code": "ISFAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "I" }, "fareBasis": { "code": "ISFAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 2239, "totalPrice": 2238.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 2018, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "_links": { "availableOffers": { "href": "https://api.ute1.klm.com/travel/offers/v1/available-offers?d=q0bJbTBDMXNUNNhfsRhBDvS5laEO0EtWBjpATwFJoOOAJNAuEOkMFKlFZLLqWkR4gq3HEUfVaFnNyMDQUtfARNfIGDV_VcNKkmpI6eDjFKZUWwtLK-iyTq7uIFlEbMfCUnksMFiwWmmqa2CG30qooTishDoIq5WxtQA={&minimumAccuracy,displayPriceContent}", "templated": true } } }, { "numberOfSeatsAvailable": 3, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" } } ], "type": "DAY" } ], "connections": [ { "dateInterval": "2019-04-23/2019-04-23", "departureDate": "2019-04-23", "destination": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } }, "origin": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } } }, { "departureDate": "2019-05-06", "destination": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } }, "origin": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } } } ] }, { "flightProducts": [ { "passengers": [ { "id": 1, "type": "ADT" } ], "price": { "displayPrice": 3927, "totalPrice": 3926.79, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 3486, "taxes": 440.79 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "connections": [ { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" }, "_links": { "availableOffers": { "href": "https://api.ute1.klm.com/travel/offers/v1/available-offers?d=q0bJbTBDMXNUNNhfsRhBDvS5laEO0EtWBjpATwFJoOOAJNAuEOkMFKlFZLLqWkR4gq3HEUfVaFnNyMDQUtfARNfQEjV_VcNKkmpI6eDjFKZUWwtLK-iyTq7uIFlEbMfCUnksMFiwWmmqa2CE30qooTishDoIq5WxtQA={&minimumAccuracy,displayPriceContent}", "templated": true } } }, { "numberOfSeatsAvailable": 4, "fareBasis": { "code": "ZLSAT" }, "segments": [ { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } }, { "cabin": { "class": "C" }, "sellingClass": { "code": "Z" }, "fareBasis": { "code": "ZLSAT" } } ], "commercialCabin": "BUSINESS", "price": { "displayPrice": 1964, "totalPrice": 1963.4, "pricePerPassengerTypes": [ { "passengerType": "ADT", "fare": 1743, "taxes": 220.4 } ], "flexibilityWaiver": false, "currency": "EUR", "displayType": "TAX" } } ], "type": "DAY" } ], "connections": [ { "dateInterval": "2019-04-19/2019-04-19", "departureDate": "2019-04-19", "destination": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } }, "origin": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } } }, { "departureDate": "2019-05-02", "destination": { "airport": { "name": "Nikola Tesla Airport", "code": "BEG" } }, "origin": { "airport": { "name": "Libreville Leon M'ba", "code": "LBV" } } } ] } ], "disclaimer": { "displayPriceText": "All amounts are in EUR. Taxes and surcharges are included. No booking fee is applicable. Prices shown may vary depending on fare availability. You will see the final amount when selecting your payment method.", "totalPriceText": "All amounts are in EUR. Taxes and surcharges are included. No booking fee is applicable. Prices shown may vary depending on fare availability. You will see the final amount when selecting your payment method." } }
- Previous: GET /search-context v1
- Up: Offers API
- Next: GET /lowest-fare-offers v1
Docs Navigation
- Air France-KLM Documentation
- Open Data
- Baggage allowance API Process flow - Pre-booking (inspiration) context
- Introduction
- Data scope
- Quick peak
- How to use
- Services overview
- Header
- GET All Allowances without Loyalty
- V1- All Allowances without Loyalty- Request
- V1- All Allowances without Loyalty- Response
- GET Base Allowances
- V1- Base Allowance - Request
- V1- Base Allowance - Response
- GET Loyalty Allowances
- V1- Loyalty Allowance - Request
- V1- Loyalty Allowance - Response
- GET Paid Options with Loyalty
- V1- GET Paid Options with Loyalty - Request
- V1- GET Paid Options with Loyalty - Response
- GET Paid Options without Loyalty
- V1- GET Paid Options without Loyalty - Request
- V1- GET Paid Options without Loyalty - Response
- GET All Allowances with Loyalty
- V1- All Allowances with Loyalty- Request
- V1- All Allowances with Loyalty- Response
- Get Started
- Offers API
- GET /reference-data v1
- GET /reference-data/deals v1
- GET /search-context v1
- POST /lowest-fare-offers v1
- GET /lowest-fare-offers v1
- POST /available-offers v1
- GET /available-offers v1
- GET /flightDetails
- POST /upsell-offers v1
- GET /upsell-offers v1
- GET /priceDetails v1
- GET /tax-breakdown
- GET /ticket-conditions
- GET /ticket-conditions with Reservation ID
- GET /ticket-conditions with Trip Parameters
- POST /shopping-carts
- GET /related-products
- POST /related-products/shopping-carts
- POST /mail-my-search
- POST /flights-availability v1
- POST /best-fare-offers v1
- POST/ bestOffers/feed
- Errors Code
- POST /available-offers/all v1
- POST /best-fare-offers/all-deals v1
- Inspire API / Amenities
- Flight Status API
- Network and Schedule API
- Baggage allowance API Process flow - Pre-booking (inspiration) context
- Metasearch API
- Cargo API
- All Other APIS