You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Parameters for the request operations

All parameters are optional except parameter airport.
NB! All the parameters and its values are case-sensitive.
The semantics of each parameter are described in the table below.

ParameterValuesDescription / CommentsFor example
airportRequired
max: 3-4 characters
value, ex. OSL, BGO, TOS
The operating airport that considers the flight leg orientations.
Formatting is given as IATA airport code and must written in uppercase letters. Parameter is required!
airport=OSL
PeriodFromOptional
If not set, defaults to 1 month back
The date of operation from for which data is wanted. If PeriodFrom is omitted flights with date of operation on ‘periodto’ and before are included in the result.PeriodFrom=2023-01-19Z
PeriodToOptional
Accepts format: yyyy-MM-ddZ ex: 2023-03-21Z If not set, defaults to value: all future
The date of operation to for which data is wanted. If PeriodTo is omitted flights with date of operation on ‘periodfrom’ and after are included in the result.
If both PeriodFrom and PeriodTo are omitted, then all flights are included in the result.
PeriodTo=2023-01-21Z
directionOptional
Accepts: A or D
If not set, defaults to both flight-directions.
The flight leg orientation. Data can be filtered by A=Arrivals or D=Departures. If parameter direction is not set then fetch all flight leg data for both orientations.direction=A or direction=D
designatorOptional
Accepts between 1 to 4 characters.
If not sety, defaults to all designators.
Flight identifier consists of the parameters ‘designator’ and ‘number’. Parameter ’designator’ should contain the airline designator part of the flight identifier. Airline code can be given as 2-signs IATA or 3-signs ICAO code. Airline code is max 3 signs.designator=SK
numberOptional
Accepts number between 3 and 4 digits.
Parameter ’number’ should contain the flight number part of the flight identifier. Flight number is number between 3 and 4 digits.number=236

Please note that if incorrect syntax is used on a parameter, that parameter will be left out and its default values will be used.

Examples where all the parameters are used in url:

Prod:

https://services.avinor.no/XmlFeedScheduled/v1?airport=OSL&direction=A&PeriodFrom=2023-01-20Z&PeriodTo=2023-01-21Z&designator=SK&number=236

Alternatively use this link:

https://flydata.avinor.no/XmlFeedScheduled.asp?airport=OSL&direction=A&PeriodFrom=2023-01-20Z&PeriodTo=2023-01-21Z&designator=SK&number=236

Test:
https://services-test.avinor.no/XmlFeedScheduled/v1?airport=OSL&direction=A&PeriodFrom=2023-01-20Z&PeriodTo=2023-01-21Z&designator=SK&number=236

XML schema file.

The XML schema files for the LETIS based service is obtained from the URL:

Service Response Elements

Service termADD termComment
airline.designatorOperatingAirlineIata (part of FlightId)
flight.numberFlightNumber (part of FlightId)Derived from flight_id
operational.suffixOperationalSuffix (part of FlightId)Derived from flight_id
date.of.operationFlightDepartureDate
departure.stationDepartureAirportIATA
stdSOBTSTD - ‘Scheduled time of departure (off-block)’. Date and time when a flight is scheduled to depart from the departure stand.
variation.stdN/ADerived: by FlightDepartureDate and SOBT
arrival.stationArrivalAirportIATA
staSIBT
variation.staN/ADerived: by FlightDepartureDate and SIBT
aircraft.configurationAircraftConfigVersion
aircraft.ownerOperatingAirlineIata
aircraft.typeAircraftIATAType
service.typeFlightServiceTypeIATA
creationN/ADerived: Shall be SSM
cancelledFlightLegStatus
routeFlightRouteIATA

Time specifications:

All times are listed in UTC format and are in the format ISO 8601 (Wikipedia: ISO 8601-format) [YYYY]-[MM]-[DD]T[hh]:[mm]:[ss]Z. Please make sure to adjust for time zone and summer time as required.

Example: 2009-12-31T16:00:00 corresponds to 31. Descember 2009 17:00 o'clock local time in Norway (CET), while 2009-06-23T16:00:00 correcsponds to 23. June 2009 18:00 o'clock local time in Norway (Summertime).

References:

  • No labels