Retrieve Flight by ID
GET /Flights/[id]
ID of the flight
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
URI of the resource
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
{
"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": "flights/887124",
"sequence": "202403312359580000"
}