GET api/v1/Flights?flightNumber={flightNumber}&isArrival={isArrival}&scheduledDateTime={scheduledDateTime}&accountCode={accountCode}&airportCode={airportCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional 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 Flight
NameDescriptionTypeAdditional 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-04-23T13:15:20.0859728+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-04-23T13:15:20.0859728+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-04-23T13:15:20.0859728+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-04-23T13:15:20.0859728+00:00",
      "terminal": "sample string 6",
      "gate": "sample string 7"
    },
    "airlineName": "sample string 1",
    "status": "sample string 2",
    "legs": 3,
    "isValid": true
  }
]