FlightFilter

 

 Describe usage here, definitions below.

flightId : FlightId

Invalidates airline and service type, the rest apply

airport : AirportIATA [0..n]

 Either end of a flight leg

Table with AirportIATA codes. '*' as the first airport indicates all supported by the provider.
Default: '*'

airline : AirlineIATA [0..n]

Table with AirlineIATA codes. '*' as the first airline indicates all supported by the provider.

Default: '*'

flightServiceTypeIATA : FlightServiceTypeIATA 
hoursBefore : Count [0..1]

The number of hours before the current time for which data is wanted. What is compared to the current time can vary with implementations. It will typically be:

  • SIBT / SOBT when that is the only available information
  • EIBT / EOBT when they exist
  • AIBT / AOBT when they exist
  • Implementations can also use landing/take off times.

Default: 1 

hoursAfter : Count[0..1]

The number of hours after the current time for which data is wanted.
See also description above. 

Default: 7

startTime : DateTimeUTC 
endTime : DateTimeUTC  

onlyUpdatedAfter : DateTimeUTC [0..1]

Only data that has been updated after "onlyUpdatedAfter" is returned.

 Include definitions of terms and types here

FlightId

IATA based identifier for this flight, usually issued long before the flight actually takes place.

FlightId is normally the concatenation of OperatingAirlineIATA, FlightNumber and OperationalSuffix.

FlightId typically identifies a flight to the majority of systems, but it is not unique across time. It's unique only in conjunction with FlightDepartureDate.

Exception: Some airlines use their ICAO code (OperatingAirlineICAO) instead of OperatingAirlineIATA. This might be because they aren't an IATA member or because they just prefer the ICAO code. Regardless, this means that it is allowed to use OperatingAirlineICAO as part of FlightId.

FlightId is then defined as the concatenation of AirlineIATAorICAO, FlightNumber and OperationalSuffix.

  • No labels