Shopping
Poll for search results
A requestId is needed for polling for search results corresponding to its search request.
post/polls
Request body
Example request
{
"requestId": "OW|Economy|1-0-0|UnlimitedStarter-UnlimitedCandidate|20210901:@YTO:@AMS"
}Response
OK
Example response
{
"resultCode": 200,
"message": "Any error message goes here.",
"currencyCode": "EUR",
"trips": [
{
"flights": [
{
"segments": [
{
"depDate": "20210401",
"depTime": "12:45",
"depAirport": "LON",
"arrDate": "20210401",
"arrTime": "17:50",
"arrAirport": "CGN",
"flightNo": "AC103",
"carrier": "AC"
}
]
}
],
"prices": {
"ADT": {
"price": 123.45,
"tax": 6.78,
"totalPrice": 130.23,
"seatsStatus": "ENOUGH",
"currencyCode": "EUR"
},
"CHD": {
"price": 123.45,
"tax": 6.78,
"totalPrice": 130.23,
"seatsStatus": "ENOUGH",
"currencyCode": "EUR"
},
"INF": {
"price": 123.45,
"tax": 6.78,
"totalPrice": 130.23,
"seatsStatus": "ENOUGH",
"currencyCode": "EUR"
},
"ALL": {
"price": 123.45,
"tax": 6.78,
"totalPrice": 130.23,
"seatsStatus": "ENOUGH",
"currencyCode": "EUR"
}
}
}
]
}