v2

latestSwagger 2.0LHraw.githubusercontent.com2017-07-1416046.5 KB
Offers

Deep Links

Returns valid deep links for the provided input parameters

get/offers/fares/deeplink

Query parameters

cataloguesstring required

Carrier for which the deep link will be created (e.g. 'LH')

trackingidstring required

Deep link tracking ID

countrystring required

2-letter ISO 3166-1 country code

langstring required

2-letter ISO 3166-1 language code

originstring

Journey origin. 3-letter IATA airport or city code (e.g. 'FRA')

origin-namestring

Journey origin airport or city name (e.g. 'frankfurt')

destinationstring

Journey destination. 3-letter IATA airport or city code (e.g. 'MAD')

destination-namestring

Journey destination airport or city name (e.g. 'madrid')

travel-datestring

Journey travel-date (YYYY-MM-DD)

return-datestring

Journey return-date (YYYY-MM-DD)

cabin-classstring

Cabin class: 'economy', 'premium_economy', 'business', 'first' (Acceptable values are: "", "economy", "premium_economy", "business", "first")

outbound-segmentsstring

Outbound flight segments in the sequence of travel (e.g. 'LH096;LH480')

return-segmentsstring

Flight segments in the sequence of travel (e.g. 'LH7465;LH431')

travelersstring

Type and number of travelers (e.g. '(adult=2;child=2;infant=1)')

farestring

Travel fare (e.g. '1341.45')

net-farestring

Travel net fare. Total fare less taxes and charges (e.g. '1140')

fare-currencystring

Fare currency (e.g. 'EUR')

partneridstring

Deep link partner id (e.g. '1247')

encryption-keystring

Deep link encryption-key

Headers

Acceptstring required

http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml")

Response

OK

string required