- Previous: GET /ticket-conditions with Reservation ID
- Up: Offers API
- Next: POST /shopping-carts
GET /ticket-conditions with Trip Parameters
GET /ticket-conditions with Trip Parameters
The TicketConditions endpoint provides the ticket conditions that match the provided query parameters. It includes the number of FB miles that can be earned.
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 Order API.
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.klm.com/travel/offers/v1/ticket-conditions/{tripIdentifier*}
* Trip identifier is build according to these rules:
- = separator for Connections
> = separator for Segments
: = separator for properties of Segment (specified at departure airport) @ order is departureDateTime (yyyymmdd@hhmm local time), flightnumber (AA####), selling/booking class (A), farebase (AAAAAAAA)
EXAMPLES :
{{httpType:}}//{{masheryHost}}/travel/offers/v1/ticket-conditionsticket-conditions/AMS:20151203@1620:KL1234:Y:YSRNL>CDG:20151203@2025:AF5432:Y>BCN-BCN:20151210@1245:KL8628:Y:YSRNL >AMS
{{httpType:}}//{{masheryHost}}/travel/offers/v1/ticket-conditions/YCD=1+GVA:20181219@1030:AF1643:R:RFFSW>CDG-CDG:20181221@1830:AF1042:L:L3FFSW>GVA
QUERY PARAMETERS
Level | Name | Type | Multiplicity | Description |
1 | discountCode | String | 0-1 | Code for IDC discount. |
1 | ticketedDate | String | 0-1 | Date that the reservation was made. |
1 | bookingFlow | String | 0-1 | booking Flow (LEISURE, CORPORATE, REWARD) |
1 | paxInfos | Object | 0..n | pax type informations - if empty 1 ADT is used |
2 | paxType | String | 1 | passennger type : ADT, CHD, INF, YCD, YTH, C14 |
2 | number of pax | Integer | 1 | number of passengers with this pax type |
RESPONSE PARAMETERS
See GET /Ticket-conditions.
- Previous: GET /ticket-conditions with Reservation ID
- Up: Offers API
- Next: POST /shopping-carts
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