Shopping

Create a search request

A requestId will be returned given a valid search request. This requestId is required for polling for search results later on.

post/searches

Request body

type'OW' | 'RT'

This is the trip type, where OW is for one-way trip and RT is for round trip.

adultAmountinteger required

This is the number of adult passengers

childAmountinteger

This is the number of child passengers

infantAmountinteger

This is the number of infant passengers

fareClass'Economy' | 'PremiumEconomy' | 'Business' | 'First' | 'All'

This is the fare class, which is one of Economy, PremiumEconomy, Business, First and All, where All means query for all fare classes.

Example request

{
  "queries": [
    {
      "depAirport": "LON",
      "arrAirport": "CGN",
      "date": "20210401"
    }
  ]
}

Response

OK

resultCodeinteger

The result code is always 200 for accepted request.

requestIdstring

This value should be included in the polling later on.

Example response

{
  "requestId": "OW|Economy|1-0-0|UnlimitedStarter-UnlimitedCandidate|20210901:@YTO:@AMS"
}

Changes