GET api/v1/Flights?flightNumber={flightNumber}&isArrival={isArrival}&scheduledDateTime={scheduledDateTime}&accountCode={accountCode}&airportCode={airportCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
flightNumber | string |
Required |
|
isArrival | boolean |
Required |
|
scheduledDateTime | string |
Required |
|
accountCode | string |
Required |
|
airportCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of FlightName | Description | Type | Additional information |
---|---|---|---|
Arrival |
Arrival Information |
FlightLocation |
None. |
Departure |
Departure Information |
FlightLocation |
None. |
AirlineName |
The Name of the Airline |
string |
None. |
Status |
The flight status. |
string |
None. |
Legs |
Number of flight legs. |
integer |
None. |
IsValid |
Whether the flight has been successfully validated or not. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "arrival": { "airportName": "sample string 1", "airportCode": "sample string 2", "city": "sample string 3", "country": "sample string 4", "date": "2024-11-21T10:12:26.6259467+00:00", "terminal": "sample string 6", "gate": "sample string 7" }, "departure": { "airportName": "sample string 1", "airportCode": "sample string 2", "city": "sample string 3", "country": "sample string 4", "date": "2024-11-21T10:12:26.6259467+00:00", "terminal": "sample string 6", "gate": "sample string 7" }, "airlineName": "sample string 1", "status": "sample string 2", "legs": 3, "isValid": true }, { "arrival": { "airportName": "sample string 1", "airportCode": "sample string 2", "city": "sample string 3", "country": "sample string 4", "date": "2024-11-21T10:12:26.6259467+00:00", "terminal": "sample string 6", "gate": "sample string 7" }, "departure": { "airportName": "sample string 1", "airportCode": "sample string 2", "city": "sample string 3", "country": "sample string 4", "date": "2024-11-21T10:12:26.6259467+00:00", "terminal": "sample string 6", "gate": "sample string 7" }, "airlineName": "sample string 1", "status": "sample string 2", "legs": 3, "isValid": true } ]