- Previous: GET /available-offers v1
- Up: Offers API
- Next: POST /upsell-offers v1
GET /flightDetails
GET /flight-Details
The FlightDetails endpoint provides the details of the flight related toi the connection.
HOW TO USE?
Use case flow can be followed by the consumer by requesting the GET method supplied as HATEOAS link in the response body of AvailableOffers.
HEADERS TO USE FOR REQUESTS
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) |
GET
GET https://api.airfranceklm.com/opendata/offers/v1/flight-details/{id}
Query Parameters
N/A
RESPONSE PARAMETERS
Level | Name | Type | Multiplicity | Description |
1 | connection | Object | 1 | The connection applied to Availble Offer. |
2 | segments |
Array of Objects | 0-6 |
A chronologically ordered list of segments that describe the Connection.
|
3 |
origin |
Object | 0-1 | The date and time where the validity of the time to think product will end. |
4 | code | String | 1 | IATA location code of the airport. |
4 | city | Object | 0-1 | The city the airport is located in. |
5 | code | String | 1 | IATA location code of the city. |
3 | destination | Number | 1 | The origin airport of the connection. |
4 | code | String | 1 | IATA location code of the airport. |
4 | city | Object | 0-1 | The city the airport is located in. |
5 | code | String | 1 | IATA location code of the city. |
3 | commercialCabin | Object | 1 |
CommercialCabin applicable for the fare for the segment ECONOMY or PREMIUM or BUSINESS or FIRST |
HTTP STATUS CODE
HTTP status |
Type |
200 | OK |
500 |
INTERNAL_SERVER_ERROR |
SAMPLE RESPONSE
{ "connection": { "segments": [ { "destination": { "city": { "code": "PAR" }, "code": "ORY" }, "origin": { "city": { "code": "NCE" }, "code": "NCE" }, "commercialCabin": "ECONOMY" }, { "destination": { "city": { "code": "NYC" }, "code": "JFK" }, "origin": { "city": { "code": "PAR" }, "code": "CDG" }, "commercialCabin": "ECONOMY" } ] } }
- Previous: GET /available-offers v1
- Up: Offers API
- Next: POST /upsell-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