The figure below shows the available operations on the FlightDataRequestServiceExtended. The operations are described in detail in Service operations.
The operations can retrieve the following types of data:
- Flight leg (departure and arrival) vith extended passenger and baggage data.
Standard parameters for the request operations
All request operations use the same parameters, only the results are different.
All parameters are optional.
All operations follow the same pattern: GetXXX( UniqueFlightLegId, FlightId, OperatingAirlineIATA, AirportIATA, hoursBefore, hoursAfter, startTime, endTime, onlyUpdatedAfter): YYYY
The semantics of each parameter are described in the table below.
Parameter | Comments |
---|---|
uniqueFlightLegId : UniqueFlightLegId | Invalidates all other parameters if used. |
flightId : FlightId | Ignored if UniqueFlightLegId is used. Return flight leg data with matching FlightId. |
operatingAirlineIATA : OperatingAirlineIATA | Ignored if UniqueFlightLegId is used. Return flight leg data with matching OperatingAirlineIATA. |
airportIATA : AirportIATA | Ignored if UniqueFlightLegId is used. Return flight leg data where
If missing, indicates that flight leg data for all airports supported by the provider should be returned. |
hoursBefore : Count | Ignored if UniqueFlightLegId or startTime/endTime is used. 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:
Default: 1 |
hoursAfter : Count | The number of hours after the current time for which data is wanted. Default: 7 |
startTime : DateTimeUTC | Ignored if UniqueFlightLegId is used. Invalidates hoursBefore/hoursAfter. Only flight leg data for flights with SOBT/SIBT or EOBT/EIBT after startTime is returned. Other times might be used depending on the implementation. See also "hoursBefore". |
endTime : DateTimeUTC | Ignored if UniqueFlightLegId is used. Invalidates hoursBefore/hoursAfter. Default: startTime +24h Error if used without startTime. |
onlyUpdatedAfter : DateTimeUTC | Only flight legs that have been updated after "onlyUpdatedAfter" is returned. |
HTTP Return Codes
Defined HTTP return codes. The service might use one or more of them. Return codes "expected" are listed for each operation.