Retrieve Flights by Booking ID
GET /[context]/[contextId]/Flights
Context in Request URI should be 'bookings'
ContextId in Request URI should be Booking ID
Flight list
Airfare ID
Name of flight
Airline code
From country
From airport code
To country
To airport code
Gross price
Flight sectors
URI used to retrieve all customers on flight
Key/value pairs indicating the number of customers per status on the flight; e.g.: { ''confirmed'': 2, ''cancelled'': 1 }
List of customer statuses along with url for each customer on that status
Currency
Airline booking reference
Total gross price for all customers on flight
ID of the resource
URI of the resource
Sequence of product
Flight number
Fare class
Departure date
Arrival date
Departure airport code
Arrival airport code
Estimated time of departure
Estimated time of arrival
Operator airline code
Terminal number
Sector status
Departure airport name
Arrival airport name
Operator airline name
Start city of the flight
End city of the flight
Customers status
Url of Customers in relevant status
URI of the resource
{
"flights": [
{
"fareId": "41",
"flightName": "MEL-CMB",
"airline": "SQ",
"fromCountry": "Singapore",
"fromAirportCode": "SIN",
"toCountry": "Australia",
"toAirportCode": "MEL",
"grossPrice": 100.0,
"flightSectors": [
{
"flightNo": "EK11",
"class": "Y",
"departureDate": "2016-12-10",
"arrivalDate": "2016-12-11",
"origin": "MEL",
"destination": "AMM",
"eTD": "0800",
"eTA": "2100",
"operator": "EK",
"terminal": "4",
"sectorStatus": "Confirmed",
"originAirportName": "Melbourne",
"destinationAirportName": "Melbourne",
"operatorAirline": "EK",
"startCity": "Melbourne",
"endCity": "Singapore"
},
{
"flightNo": "EK11",
"class": "Y",
"departureDate": "2016-12-10",
"arrivalDate": "2016-12-11",
"origin": "MEL",
"destination": "AMM",
"eTD": "0800",
"eTA": "2100",
"operator": "EK",
"terminal": "4",
"sectorStatus": "Confirmed",
"originAirportName": "Melbourne",
"destinationAirportName": "Melbourne",
"operatorAirline": "EK",
"startCity": "Melbourne",
"endCity": "Singapore"
}
],
"customers": {
"href": "/flights/887124/customers"
},
"customerStatuses": {
"confirmed": 2,
"tentative": 1
},
"customerStatusIds": [
{
"status": "tentative",
"customers": [
{
"href": "/context/5057124/customers/4945398"
},
{
"href": "/context/5057124/customers/4945398"
}
]
},
{
"status": "tentative",
"customers": [
{
"href": "/context/5057124/customers/4945398"
},
{
"href": "/context/5057124/customers/4945398"
}
]
}
],
"currency": "AUD",
"reloc": "SIN",
"totalPrice": 150.0,
"id": 887124,
"href": "context/contextid/flights/887124",
"sequence": "202403312359580000"
},
{
"fareId": "41",
"flightName": "MEL-CMB",
"airline": "SQ",
"fromCountry": "Singapore",
"fromAirportCode": "SIN",
"toCountry": "Australia",
"toAirportCode": "MEL",
"grossPrice": 100.0,
"flightSectors": [
{
"flightNo": "EK11",
"class": "Y",
"departureDate": "2016-12-10",
"arrivalDate": "2016-12-11",
"origin": "MEL",
"destination": "AMM",
"eTD": "0800",
"eTA": "2100",
"operator": "EK",
"terminal": "4",
"sectorStatus": "Confirmed",
"originAirportName": "Melbourne",
"destinationAirportName": "Melbourne",
"operatorAirline": "EK",
"startCity": "Melbourne",
"endCity": "Singapore"
},
{
"flightNo": "EK11",
"class": "Y",
"departureDate": "2016-12-10",
"arrivalDate": "2016-12-11",
"origin": "MEL",
"destination": "AMM",
"eTD": "0800",
"eTA": "2100",
"operator": "EK",
"terminal": "4",
"sectorStatus": "Confirmed",
"originAirportName": "Melbourne",
"destinationAirportName": "Melbourne",
"operatorAirline": "EK",
"startCity": "Melbourne",
"endCity": "Singapore"
}
],
"customers": {
"href": "/flights/887124/customers"
},
"customerStatuses": {
"confirmed": 2,
"tentative": 1
},
"customerStatusIds": [
{
"status": "tentative",
"customers": [
{
"href": "/context/5057124/customers/4945398"
},
{
"href": "/context/5057124/customers/4945398"
}
]
},
{
"status": "tentative",
"customers": [
{
"href": "/context/5057124/customers/4945398"
},
{
"href": "/context/5057124/customers/4945398"
}
]
}
],
"currency": "AUD",
"reloc": "SIN",
"totalPrice": 150.0,
"id": 887124,
"href": "context/contextid/flights/887124",
"sequence": "202403312359580000"
}
]
}