Service Description
services.avinor.no
Avinor Daily Traffic Survey Service
Until this note is removed the documentation is a work in progress, and revisions to the documentation will not be tracked.
Namespace: http://services.avinor.no/webservices/1.0/AvinorDailyTrafficSurveyService
Document revisions
Date | Description | Author |
---|---|---|
yyyy-mm-dd | First complete version of the documentation |
- 1. Introduction
- 2. Service overview
- 3. Service operations
- 4. Data entities
- 4.1. DTSData
- 4.2. ResponseStatus
- 4.3. ResponseStatus
- 4.4. TransData
- 5. XML Usage
- 6. WSDL and XSDs
- 7. Examples
1. Introduction
1.1. Overview
This service description defines one service with a one operation to set DTS (Daily Traffic Survey) data. All operators on any Avinor airport are required to make DTS data available to Avinor, as defined in the "Forskrift om avgifter for bruk av lufthavner drevet av Avinor AS"
All data elements are defined by the Airport Data Dictionary.
The service is primarily designed to be used by airlines and handlers.
NB! This is an Avinor specific service to support invoicing of airlines. It is not expected to be implemented by other airport owners.
1.2. Implementation
The service is implemented by Avinor and is available upon request.
1.3. Purpose of this service description
This service description has the following purpose:
-
-
- Describe the service so that a client (of this service) developer can use it.
- Make available the WSDL and XSD files necessary to use the service.
- Make it possible for relevant people at airports, airlines, handlers and other aviation partners to understand the available functionality and then to decide if to use it or not.
-
1.4. Intended readership
-
- IT architects
- Developers
- Business architects
- Interested parties in the aviation community
2. Service overview
The figure below shows the available operations on the AvinorDailyTrafficSurveyService. The operations are described in detail in Service operations.
3. Service operations
3.1. SubmitDTSData( transData : TransData, dtsData : DTSData)
Submits the DTS (Daily Traffic Survey) data for further processing.
4. Data entities
4.1. DTSData
The DTSData entity must contain either the IATA based keys (FlightId, DepartureAirportIATA, ArrivalAirportIATA) or the ICAO based keys (Callsign, DepartureAirportICAO, ArrivalAirportICAO), or both. Both data sets are preferred. Please provide as much data as possible.
DTSData describes one flight leg with the following information (high level):
- Identification of the flight leg
- Identification of the aircraft
- Information about which kind of flight this is
- Number of passengers and crew on board at departure
- Number of passengers boarding and number of passengers disembarking at the arrival airport
- Number of passengers that sat in the aircraft from the previous flight leg (transit passengers)
- The weight of cargo and mail loaded onto the aircraft at the departure airport
- The weight of cargo and mail unloaded at the arrival airport. This might be different from loaded on multi leg flights.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4.2. ResponseStatus
4.3. ResponseStatus
|
|
4.4. TransData
|
|
5. XML Usage
5.1. Nil Values in Schema
For any particular data element, there is an important distinction between the following cases:
(a) the element is missing
(b) the element is present but has a 'nil' attribute assigned to it
In the first case, this means that the sender is supplying no information about the element. This would typically be because no information is available, or because there has been no change in the value of the element. A recipient would not be expected to take any action as a result of this. In particular, it would not be expected to clear any existing value.
In the second case, this means that the sender has explicitly cleared the element. As a result of this, a recipient would typically clear any value that it had previously stored for this element.
The following table shows an example sequence of messages, and the expected actions taken by the data recipient. It should be noted, however, that the action is up to the recipient. The message from the sender is a notification, and not a command for the recipient to take action.
Message contents |
Expected action by recipient |
---|---|
aircraftRegistration element missing |
Does not set or change aircraft registration value |
<aircraftRegistration>ABC123</aircraftRegistration> |
Sets the value to ABC123 |
aircraftRegistration element missing |
Does not change the value |
<aircraftRegistration xs:nil=’true’> |
Clears the aircraftRegistration value |
Note that the sender should not use blank data elements such as <aircraftRegistration/> or <aircraftRegistration></aircraftRegistration> as these may cause validation errors. For example, if the schema specifies a format or a minimum length for an element, then a zero-length element will be invalid. This problem does not occur if using the nil attribute.
Note - Where a field is defined as mandatory in the schema, it must not contain a nil value.
6. WSDL and XSDs
File | Created | Comment |
---|---|---|
2021-04-22 14:43 |
7. Examples
7.1. Introduction
The following are example invocations of the service.
7.2. Example SOAP templates
7.2.1. xxxx SOAP template
<soapenv:Envelope </soapenv:Envelope>