- Publish Flight Information - ACRIS API
- Publish Flight Information - AIDX API
- Overview
- AIDX Schema
- Revision History
- Introduction
- Error Response
- AIDX Update Service Structure
- Contact Us
- Publish Flight Information - SITA API
- SITA Flight Connection API
- SITA Flight Duration API
- SITA Flight Follower API
- SITA Flight Schedule API
- SITA Flight Status API
- SITA Flight Status Notification API
- SITA Historical Flight Status API
- SITA On Time Performance API
Overview
Aviation Information Data Exchange (AIDX) is the global XML messaging standard for exchanging flight data between airlines, airports, and any third party consuming operational data.
AIDX is endorsed as a standard by:
- IATA Recommended Practice 1797A
- ACI Recommended Practice 501A07
- ATA Recommended Practice 30.201A
The AIDX API allows Airports and Airlines to publish flight information to SITA Flight Information service using the IATA AIDX specification.
More information about AIDX Standards can be found on the AIDX IATA Website.
AIDX Schema
The SITA AIDX API supports v21.2 schema.
AIDX Update Service
Revision History
Date | Version | Description |
---|---|---|
|
|
|
|
|
|
Introduction
The SITA AIDX Service is a REST (XML) service which facilitates the publishing of flight information to the SITA Flight Status system using the AIDX specification.
The updated flight details can then be retrieved via the SITA Flight Status API.
2.1 Registration and API Sign Up
To access the APIs you will need a registration key, also known as an API key. These can be obtained by creating an account on https://www.developer.aero/ and registering your interest for access to the API.
2.2 Authentication
To access the APIs an OAuth access token must be supplied in an Authorization header in the request. To obtain an OAuth token a request must be sent to the https://sitaopen.api.aero/update/aidx/oauth/token endpoint using the OAuth2 Client Credential flow.Use your API key as the client_id, and your consumer secret as the client_secret these should be base64 encoded in an Authorization header when sent to the OAuth endpoint.
Please note the OAuth tokens have an expiry of one hour after the token has been retrieved, after the token has expired you will need to re-issue a request to get a new token.
curl --location 'https://sitaopen.api.aero/update/aidx/oauth/token' \--header 'Authorization: Basic YWJjZGVmZ2hpamtsbW5vcC5xcnN0dXY='
You should then see your OAuth token in the response.
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOJIUzI1NiJ9.eyJyZWZyZXNoX3Rva2VuX2V4cGlyZXNfaW4iOiIzNTk5Iiwic3ViIjoic2l0YSIsImFwaV9cm9kdWN0X2xpc3QiOiJbRE9UUy1GbGlnaHQtQ29ubmVjdGlvbi1JbnRlcm5hbF0iLCJpc3MiOiJ1cm46XC9cL2FwaWdlZS1lZdlLUpXVC1wb2xpY3ktdGVzdCIsImFwaV9hY2Nlc3NfdG9rZW4iOiIweXlIZHduSUdtOGo5WlN6WWtuYTBsWG9ZNTFvIiwiYXBpX3JlZnJlc2hfdG9rZW4iOiJraHNlaXN2T3JwSHBUd2NuUVRHdXdBdVdicXNpamNQTyIsImFwaV9zY29wZSI6IiIsImF1ZCI6ImFwaWdlZS1hcGkiLCJleHAiOj3MzAyOTI3MzIsImFwcF9pZCI6IjIxYzI5NTgyLTIwZTktNDkwMS1hNjExLTVkM2UwM2QxNzFkYiIsImV4cGlyZXNfaW4iOiIzNTk5IiwiaWF0IjoxNzMwMjg5MTMyLCJqdGkiOiI3ZmEzNTU4Mi0xNDhmLTRiMmEtODYxMS0wNWI4NDg5YjFjYmMifQ.g_dFH-08DGADOX9HIk7wzX5edxXejVsnCen27A25TQ0'
Once an access token has been obtained, it can be placed in the Authorization HTTP header as a bearer token, for example:
curl --location 'https://update-flifo-qa.api.aero/update/aidx/flights/update' \ --header 'Content-Type: application/xml' \ --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOJIUzI1NiJ9.eyJyZWZyZXNoX3Rva2VuX2V4cGlyZXNfaW4iOiIzNTk5Iiwic3ViIjoic2l0YSIsImFwaV9cm9kdWN0X2xpc3QiOiJbRE9UUy1GbGlnaHQtQ29ubmVjdGlvbi1JbnRlcm5hbF0iLCJpc3MiOiJ1cm46XC9cL2FwaWdlZS1lZdlLUpXVC1wb2xpY3ktdGVzdCIsImFwaV9hY2Nlc3NfdG9rZW4iOiIweXlIZHduSUdtOGo5WlN6WWtuYTBsWG9ZNTFvIiwiYXBpX3JlZnJlc2hfdG9rZW4iOiJraHNlaXN2T3JwSHBUd2NuUVRHdXdBdVdicXNpamNQTyIsImFwaV9zY29wZSI6IiIsImF1ZCI6ImFwaWdlZS1hcGkiLCJleHAiOj3MzAyOTI3MzIsImFwcF9pZCI6IjIxYzI5NTgyLTIwZTktNDkwMS1hNjExLTVkM2UwM2QxNzFkYiIsImV4cGlyZXNfaW4iOiIzNTk5IiwiaWF0IjoxNzMwMjg5MTMyLCJqdGkiOiI3ZmEzNTU4Mi0xNDhmLTRiMmEtODYxMS0wNWI4NDg5YjFjYmMifQ.g_dFH-08DGADOX9HIk7wzX5edxXejVsnCen27A25TQ0" --data '<?xml version="1.0" encoding="UTF-8"?> <ns:IATA_AIDX_FlightLegNotifRQ xmlns="http://www.iata.org/IATA/2007/00" xmlns:ns="http://www.iata.org/IATA/2007/00" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" AltLangID="en-us" PrimaryLangID="en-us" Target="Test" Version="15.1" TimeStamp="2015-06-03T14:29:53.147Z" TransactionIdentifier="FLT:RTOR" SequenceNmbr="2072"> ... ... ... </ns:IATA_AIDX_FlightLegNotifRQ>
2.3 Security
- All incoming requests will be REST over HTTPS.
- Users are authenticated using their API key.
- Each user api key will have a list of airports associated with it for which the user may submit flight creation/update/delete requests.
Error Response
Response fields
Path | Type | Description |
---|---|---|
|
| Root element |
|
| Object that holds the error information |
|
| Array of errors |
|
| Error Code |
|
| Error Description |
HTTP response
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 221
<?xml version="1.0" encoding="UTF-8"?>
<IATA_AIDX_FlightLegRS xmlns="http://www.iata.org/IATA/2007/00">
<Errors>
<Error ShortText="Service Exception" Code="1007"/>
</Errors>
</IATA_AIDX_FlightLegRS>
2.5 Rate Limiting
All incoming requests are subject to a rate limiting restriction. The following headers are included in HTTP responses:
Header | Description |
---|---|
| The total number of requests allowed in the current time window |
| The number of requests left for the current time window |
| The policy describing how many request per time window are allowed |
| The number of seconds remaining in the current time window. Header not displayed after rate limit has been exceeded |
| The epoch timestamp at which the current rate limit window resets. Header only displayed after rate limit has been exceeded |
AIDX Update Service Structure
The scheme, domain and high level path parameters portion of the URL is:
Function | Method | Description |
---|---|---|
|
|
|
|
|
|
|
|
|
4 Resources
This section describes the SITA AIDX API service in regard to:
- Detailed API structure
- Example requests and responses
- XML schema for request and responses
- Error response codes and formats
4.1 POST Create Flight
Request headers
Name | Optional | Description |
---|---|---|
Content-Type | false | Content type of this request. Required value is 'application/xml' |
Authorization | false | Authorization header that contains the access token. |
Request fields
Path | Type | Description |
---|---|---|
|
| Root element. |
|
| The originator of the message. |
|
| Identifies the IATA 2-3 character airline code. |
|
| Identifies the context of the identifying code, such as DUNS, IATA or internal code, etc. |
|
| Used to provide the company common name. |
|
| Used to specify all the information for a flight leg. |
|
| Flight leg information. |
|
| Aircraft information for the the flight leg. |
|
| The IATA or ICAO aircraft type. Use SSIM Appendix A. |
|
| Number of bags for a destination type and cabin class in a specified location. |
|
| The location of the baggage count on the aircraft., i.e. Bin name or ULD ID. Repeating group to cover the different bins and total. |
|
| Weight of baggage loaded on the aircraft. |
|
| Unit of weight measurement. |
|
| The aircraft registration number as assigned by the aircraft manufacturer. |
|
| The planned and actual airport resources. |
|
| The airport resource for a departure or arrival. |
|
| Terminal where the aircraft is located. Refer to SSIM Appendix D. |
|
| The number or name of the assigned baggage reclaim unit. |
|
| Defines the location of the assigned Baggage claim device. |
|
| Close time. |
|
| Open time. |
|
| Defines the type of the Baggage claim device assigned. |
|
| The segregation name for sub-sortation. |
|
| Terminal where the aircraft is located. Refer to SSIM Appendix D. |
|
| Identifies an order for a repeating item. |
|
| The runway. |
|
| Associated flight leg routing for the physical aircraft. |
|
| The operating airline code. |
|
| Specifies the context of the airline code, such as IATA or ICAO. Refer to IATA PADIS Code List for data element 3055. |
|
| The scheduled arrival airport. |
|
| The scheduled departure airport. |
|
| The actual flight number. |
|
| The scheduled flight origin date based on the flight not the flight leg. This date must not change once intialized in an AIDX message. |
|
| The repeat or departure attempt number. |
|
| Time information related to an arrival or departure. |
|
| Used to specify if the OperationQualifier is from IATA PADIS Code List 2005 or 9750. |
|
| The type of time and date value. Refer to IATA PADIS Code List for data element 2005 and 9750. |
|
| Identifies a repeating item. |
|
| Used to specify the type of operation time. Refer to IATA PADIS Code List for data element 2005. |
|
| Flight leg information. |
|
| Aircraft owner information. |
|
| The aircraft owner code. |
|
| A list of flight leg statuses that can be displayed to the public. Refer to IATA PADIS Code List for data element 1245 and 2005. |
|
| Used to specify if the operational status code is from IATA PADIS Code List for data element 1245 or 2005. |
|
| The IATA flight service type of the operating flight. Use SSIM service types. |
|
| Uniquely identify a flight leg. |
|
| The operating airline code. |
|
| The scheduled arrival airport. |
|
| Specifies the context of the airport code, such as IATA or ICAO. Refer to IATA PADIS Code List for data element 3055. |
|
| The scheduled departure airport. |
|
| Specifies the context of the airport code, such as IATA or ICAO. Refer to IATA PADIS Code List for data element 3055. |
|
| The actual flight number. |
|
| The operational suffix for the flight. |
|
| The scheduled flight origin date based on the flight not the flight leg. This date must not change once intialized in an AIDX message. |
|
| The repeat or departure attempt number. |
|
| The originator of the message. |
|
| Identifies the IATA 2-3 character airline code. |
|
| Identifies the context of the identifying code, such as DUNS, IATA or internal code, etc. |
|
| Used to provide the company common name. |
Response fields
Path | Type | Description |
---|---|---|
|
| Root element |
|
| Success indicator |
Curl request
$ curl 'https://flifo.api.aero/flights/update' -i -X POST \
-H 'Authorization: Bearer eyJkb2N1bWVudGF0aW9uIiwidG9rZW4ifQ...' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
-d '<?xml version="1.0" encoding="UTF-8"?>
<IATA_AIDX_FlightLegNotifRQ xmlns="http://www.iata.org/IATA/2007/00" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="21.2">
<Originator CompanyShortName="BA"/>
<DeliveringSystem CompanyShortName="BA"/>
<FlightLeg>
<LegIdentifier>
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1484</FlightNumber>
<DepartureAirport CodeContext="3">LHR</DepartureAirport>
<ArrivalAirport CodeContext="3">GLA</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
<RepeatNumber>1</RepeatNumber>
</LegIdentifier>
<LegData>
<OperationalStatus RepeatIndex="1" CodeContext="1245">SCH</OperationalStatus>
<OperationalStatus RepeatIndex="2" CodeContext="1245">SCH</OperationalStatus>
<ServiceType>J</ServiceType>
<OwnerAirline>
<Airline>BA</Airline>
</OwnerAirline>
<AssociatedFlightLegAircraft RepeatIndex="1">
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1479</FlightNumber>
<DepartureAirport CodeContext="3">GLA</DepartureAirport>
<ArrivalAirport CodeContext="3">LHR</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
<RepeatNumber>1</RepeatNumber>
</AssociatedFlightLegAircraft>
<AssociatedFlightLegAircraft RepeatIndex="2">
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1489</FlightNumber>
<DepartureAirport CodeContext="3">GLA</DepartureAirport>
<ArrivalAirport CodeContext="3">LHR</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
</AssociatedFlightLegAircraft>
<AirportResources Usage="Actual">
<Resource DepartureOrArrival="Departure">
<Runway/>
<AircraftTerminal>5</AircraftTerminal>
<PublicTerminal RepeatIndex="1">5</PublicTerminal>
</Resource>
<Resource DepartureOrArrival="Arrival">
<Runway/>
<AircraftTerminal>M</AircraftTerminal>
<PublicTerminal RepeatIndex="1">M</PublicTerminal>
</Resource>
</AirportResources>
<OperationTime CodeContext="9750" RepeatIndex="1" TimeType="TAR" OperationQualifier="SRT" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="2" TimeType="SCT" OperationQualifier="OFB">2015-06-03T12:15:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="3" TimeType="CAL" OperationQualifier="OFB">2015-06-03T12:15:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="4" TimeType="CAL" OperationQualifier="TKO">2015-06-03T12:35:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="5" TimeType="TAR" OperationQualifier="TKO" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="6" TimeType="ACT" OperationQualifier="TKO" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="7" TimeType="ACT" OperationQualifier="TDN" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="8" TimeType="SCT" OperationQualifier="ONB">2015-06-03T13:35:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="9" TimeType="CAL" OperationQualifier="ONB">2015-06-03T13:35:00Z</OperationTime>
<AircraftInfo>
<AircraftType>321</AircraftType>
<Registration>GEUXH</Registration>
</AircraftInfo>
</LegData>
</FlightLeg>
</IATA_AIDX_FlightLegNotifRQ>
'
Request body
<?xml version="1.0" encoding="UTF-8"?>
<IATA_AIDX_FlightLegNotifRQ xmlns="http://www.iata.org/IATA/2007/00" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="21.2">
<Originator CompanyShortName="BA"/>
<DeliveringSystem CompanyShortName="BA"/>
<FlightLeg>
<LegIdentifier>
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1484</FlightNumber>
<DepartureAirport CodeContext="3">LHR</DepartureAirport>
<ArrivalAirport CodeContext="3">GLA</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
<RepeatNumber>1</RepeatNumber>
</LegIdentifier>
<LegData>
<OperationalStatus RepeatIndex="1" CodeContext="1245">SCH</OperationalStatus>
<OperationalStatus RepeatIndex="2" CodeContext="1245">SCH</OperationalStatus>
<ServiceType>J</ServiceType>
<OwnerAirline>
<Airline>BA</Airline>
</OwnerAirline>
<AssociatedFlightLegAircraft RepeatIndex="1">
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1479</FlightNumber>
<DepartureAirport CodeContext="3">GLA</DepartureAirport>
<ArrivalAirport CodeContext="3">LHR</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
<RepeatNumber>1</RepeatNumber>
</AssociatedFlightLegAircraft>
<AssociatedFlightLegAircraft RepeatIndex="2">
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1489</FlightNumber>
<DepartureAirport CodeContext="3">GLA</DepartureAirport>
<ArrivalAirport CodeContext="3">LHR</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
</AssociatedFlightLegAircraft>
<AirportResources Usage="Actual">
<Resource DepartureOrArrival="Departure">
<Runway/>
<AircraftTerminal>5</AircraftTerminal>
<PublicTerminal RepeatIndex="1">5</PublicTerminal>
</Resource>
<Resource DepartureOrArrival="Arrival">
<Runway/>
<AircraftTerminal>M</AircraftTerminal>
<PublicTerminal RepeatIndex="1">M</PublicTerminal>
</Resource>
</AirportResources>
<OperationTime CodeContext="9750" RepeatIndex="1" TimeType="TAR" OperationQualifier="SRT" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="2" TimeType="SCT" OperationQualifier="OFB">2015-06-03T12:15:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="3" TimeType="CAL" OperationQualifier="OFB">2015-06-03T12:15:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="4" TimeType="CAL" OperationQualifier="TKO">2015-06-03T12:35:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="5" TimeType="TAR" OperationQualifier="TKO" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="6" TimeType="ACT" OperationQualifier="TKO" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="7" TimeType="ACT" OperationQualifier="TDN" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="8" TimeType="SCT" OperationQualifier="ONB">2015-06-03T13:35:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="9" TimeType="CAL" OperationQualifier="ONB">2015-06-03T13:35:00Z</OperationTime>
<AircraftInfo>
<AircraftType>321</AircraftType>
<Registration>GEUXH</Registration>
</AircraftInfo>
</LegData>
</FlightLeg>
</IATA_AIDX_FlightLegNotifRQ>
HTTP response
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 148
<?xml version="1.0" encoding="UTF-8"?>
<IATA_AIDX_FlightLegRS xmlns="http://www.iata.org/IATA/2007/00">
<Success/>
</IATA_AIDX_FlightLegRS>
4.2 PUT Update Flight
Request headers
Name | Optional | Description |
---|---|---|
Content-Type | false | Content type of this request. Required value is 'application/xml' |
Authorization | false | Authorization header that contains the access token. |
Request fields
Path | Type | Description |
---|---|---|
|
| Root element. |
|
| The originator of the message. |
|
| Identifies the IATA 2-3 character airline code. |
|
| Identifies the context of the identifying code, such as DUNS, IATA or internal code, etc. |
|
| Used to provide the company common name. |
|
| Used to specify all the information for a flight leg. |
|
| Flight leg information. |
|
| Aircraft information for the the flight leg. |
|
| The IATA or ICAO aircraft type. Use SSIM Appendix A. |
|
| Number of bags for a destination type and cabin class in a specified location. |
|
| The location of the baggage count on the aircraft., i.e. Bin name or ULD ID. Repeating group to cover the different bins and total. |
|
| Weight of baggage loaded on the aircraft. |
|
| Unit of weight measurement. |
|
| The aircraft registration number as assigned by the aircraft manufacturer. |
|
| The planned and actual airport resources. |
|
| The airport resource for a departure or arrival. |
|
| Terminal where the aircraft is located. Refer to SSIM Appendix D. |
|
| The number or name of the assigned baggage reclaim unit. |
|
| Defines the location of the assigned Baggage claim device. |
|
| Close time. |
|
| Open time. |
|
| Defines the type of the Baggage claim device assigned. |
|
| The segregation name for sub-sortation. |
|
| Terminal where the aircraft is located. Refer to SSIM Appendix D. |
|
| Identifies an order for a repeating item. |
|
| The runway. |
|
| Associated flight leg routing for the physical aircraft. |
|
| The operating airline code. |
|
| Specifies the context of the airline code, such as IATA or ICAO. Refer to IATA PADIS Code List for data element 3055. |
|
| The scheduled arrival airport. |
|
| The scheduled departure airport. |
|
| The actual flight number. |
|
| The scheduled flight origin date based on the flight not the flight leg. This date must not change once intialized in an AIDX message. |
|
| The repeat or departure attempt number. |
|
| Time information related to an arrival or departure. |
|
| Used to specify if the OperationQualifier is from IATA PADIS Code List 2005 or 9750. |
|
| The type of time and date value. Refer to IATA PADIS Code List for data element 2005 and 9750. |
|
| Identifies a repeating item. |
|
| Used to specify the type of operation time. Refer to IATA PADIS Code List for data element 2005. |
|
| Flight leg information. |
|
| Aircraft owner information. |
|
| The aircraft owner code. |
|
| A list of flight leg statuses that can be displayed to the public. Refer to IATA PADIS Code List for data element 1245 and 2005. |
|
| Used to specify if the operational status code is from IATA PADIS Code List for data element 1245 or 2005. |
|
| The IATA flight service type of the operating flight. Use SSIM service types. |
|
| Uniquely identify a flight leg. |
|
| The operating airline code. |
|
| The scheduled arrival airport. |
|
| Specifies the context of the airport code, such as IATA or ICAO. Refer to IATA PADIS Code List for data element 3055. |
|
| The scheduled departure airport. |
|
| Specifies the context of the airport code, such as IATA or ICAO. Refer to IATA PADIS Code List for data element 3055. |
|
| The actual flight number. |
|
| The operational suffix for the flight. |
|
| The scheduled flight origin date based on the flight not the flight leg. This date must not change once intialized in an AIDX message. |
|
| The repeat or departure attempt number. |
|
| The originator of the message. |
|
| Identifies the IATA 2-3 character airline code. |
|
| Identifies the context of the identifying code, such as DUNS, IATA or internal code, etc. |
|
| Used to provide the company common name. |
Response fields
Path | Type | Description |
---|---|---|
|
| Root element |
|
| Success indicator |
Curl request
$ curl 'https://flifo.api.aero/flights/update' -i -X PUT \
-H 'Authorization: Bearer eyJkb2N1bWVudGF0aW9uIiwidG9rZW4ifQ...' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
-d '<?xml version="1.0" encoding="UTF-8"?>
<IATA_AIDX_FlightLegNotifRQ xmlns="http://www.iata.org/IATA/2007/00" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="21.2">
<Originator CompanyShortName="BA"/>
<DeliveringSystem CompanyShortName="BA"/>
<FlightLeg>
<LegIdentifier>
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1484</FlightNumber>
<DepartureAirport CodeContext="3">LHR</DepartureAirport>
<ArrivalAirport CodeContext="3">GLA</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
<RepeatNumber>1</RepeatNumber>
</LegIdentifier>
<LegData>
<OperationalStatus RepeatIndex="1" CodeContext="9750">OFB</OperationalStatus>
<OperationalStatus RepeatIndex="2" CodeContext="9750">OFB</OperationalStatus>
<ServiceType>J</ServiceType>
<OwnerAirline>
<Airline>BA</Airline>
</OwnerAirline>
<AssociatedFlightLegAircraft RepeatIndex="1">
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1479</FlightNumber>
<DepartureAirport CodeContext="3">GLA</DepartureAirport>
<ArrivalAirport CodeContext="3">LHR</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
<RepeatNumber>1</RepeatNumber>
</AssociatedFlightLegAircraft>
<AssociatedFlightLegAircraft RepeatIndex="2">
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1489</FlightNumber>
<DepartureAirport CodeContext="3">GLA</DepartureAirport>
<ArrivalAirport CodeContext="3">LHR</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
</AssociatedFlightLegAircraft>
<AirportResources Usage="Actual">
<Resource DepartureOrArrival="Departure">
<Runway/>
<AircraftTerminal>5</AircraftTerminal>
<PublicTerminal RepeatIndex="1">5</PublicTerminal>
</Resource>
<Resource DepartureOrArrival="Arrival">
<Runway/>
<AircraftTerminal>M</AircraftTerminal>
<PublicTerminal RepeatIndex="1">M</PublicTerminal>
</Resource>
</AirportResources>
<OperationTime CodeContext="9750" RepeatIndex="1" TimeType="TAR" OperationQualifier="SRT" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="2" TimeType="SCT" OperationQualifier="OFB">2015-06-03T12:15:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="3" TimeType="ACT" OperationQualifier="OFB">2015-06-03T12:15:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="4" TimeType="CAL" OperationQualifier="TKO">2015-06-03T12:35:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="5" TimeType="TAR" OperationQualifier="TKO" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="6" TimeType="ACT" OperationQualifier="TKO" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="7" TimeType="ACT" OperationQualifier="TDN" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="8" TimeType="SCT" OperationQualifier="ONB">2015-06-03T13:35:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="9" TimeType="CAL" OperationQualifier="ONB">2015-06-03T13:35:00Z</OperationTime>
<AircraftInfo>
<AircraftType>321</AircraftType>
<Registration>GEUXH</Registration>
</AircraftInfo>
</LegData>
</FlightLeg>
</IATA_AIDX_FlightLegNotifRQ>
'
Request body
<?xml version="1.0" encoding="UTF-8"?>
<IATA_AIDX_FlightLegNotifRQ xmlns="http://www.iata.org/IATA/2007/00" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="21.2">
<Originator CompanyShortName="BA"/>
<DeliveringSystem CompanyShortName="BA"/>
<FlightLeg>
<LegIdentifier>
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1484</FlightNumber>
<DepartureAirport CodeContext="3">LHR</DepartureAirport>
<ArrivalAirport CodeContext="3">GLA</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
<RepeatNumber>1</RepeatNumber>
</LegIdentifier>
<LegData>
<OperationalStatus RepeatIndex="1" CodeContext="9750">OFB</OperationalStatus>
<OperationalStatus RepeatIndex="2" CodeContext="9750">OFB</OperationalStatus>
<ServiceType>J</ServiceType>
<OwnerAirline>
<Airline>BA</Airline>
</OwnerAirline>
<AssociatedFlightLegAircraft RepeatIndex="1">
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1479</FlightNumber>
<DepartureAirport CodeContext="3">GLA</DepartureAirport>
<ArrivalAirport CodeContext="3">LHR</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
<RepeatNumber>1</RepeatNumber>
</AssociatedFlightLegAircraft>
<AssociatedFlightLegAircraft RepeatIndex="2">
<Airline CodeContext="3">BA</Airline>
<FlightNumber>1489</FlightNumber>
<DepartureAirport CodeContext="3">GLA</DepartureAirport>
<ArrivalAirport CodeContext="3">LHR</ArrivalAirport>
<OriginDate>2015-06-03</OriginDate>
</AssociatedFlightLegAircraft>
<AirportResources Usage="Actual">
<Resource DepartureOrArrival="Departure">
<Runway/>
<AircraftTerminal>5</AircraftTerminal>
<PublicTerminal RepeatIndex="1">5</PublicTerminal>
</Resource>
<Resource DepartureOrArrival="Arrival">
<Runway/>
<AircraftTerminal>M</AircraftTerminal>
<PublicTerminal RepeatIndex="1">M</PublicTerminal>
</Resource>
</AirportResources>
<OperationTime CodeContext="9750" RepeatIndex="1" TimeType="TAR" OperationQualifier="SRT" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="2" TimeType="SCT" OperationQualifier="OFB">2015-06-03T12:15:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="3" TimeType="ACT" OperationQualifier="OFB">2015-06-03T12:15:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="4" TimeType="CAL" OperationQualifier="TKO">2015-06-03T12:35:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="5" TimeType="TAR" OperationQualifier="TKO" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="6" TimeType="ACT" OperationQualifier="TKO" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="7" TimeType="ACT" OperationQualifier="TDN" xsi:nil="true"/>
<OperationTime CodeContext="9750" RepeatIndex="8" TimeType="SCT" OperationQualifier="ONB">2015-06-03T13:35:00Z</OperationTime>
<OperationTime CodeContext="9750" RepeatIndex="9" TimeType="CAL" OperationQualifier="ONB">2015-06-03T13:35:00Z</OperationTime>
<AircraftInfo>
<AircraftType>321</AircraftType>
<Registration>GEUXH</Registration>
</AircraftInfo>
</LegData>
</FlightLeg>
</IATA_AIDX_FlightLegNotifRQ>
HTTP response
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 148
<?xml version="1.0" encoding="UTF-8"?>
<IATA_AIDX_FlightLegRS xmlns="http://www.iata.org/IATA/2007/00">
<Success/>
</IATA_AIDX_FlightLegRS>
4.3 DELETE Delete Flight
Request headers
Name | Optional | Description |
---|---|---|
Content-Type | false | Content type of this request. Required value is 'application/xml' |
Authorization | false | Authorization header that contains the access token. |
Request fields
Path | Type | Description |
---|---|---|
|
| Root element. |
|
| The originator of the message. |
|
| Identifies the IATA 2-3 character airline code. |
|
| Identifies the context of the identifying code, such as DUNS, IATA or internal code, etc. |
|
| Used to provide the company common name. |
|
| Used to specify all the information for a flight leg. |
|
| Flight leg information. |
|
| Aircraft information for the the flight leg. |
|
| The IATA or ICAO aircraft type. Use SSIM Appendix A. |
|
| Number of bags for a destination type and cabin class in a specified location. |
|
| The location of the baggage count on the aircraft., i.e. Bin name or ULD ID. Repeating group to cover the different bins and total. |
|
| Weight of baggage loaded on the aircraft. |
|
| Unit of weight measurement. |
|
| The aircraft registration number as assigned by the aircraft manufacturer. |
|
| The planned and actual airport resources. |
|
| The airport resource for a departure or arrival. |
|
| Terminal where the aircraft is located. Refer to SSIM Appendix D. |
|
| The number or name of the assigned baggage reclaim unit. |
|
| Defines the location of the assigned Baggage claim device. |
|
| Close time. |
|
| Open time. |
|
| Defines the type of the Baggage claim device assigned. |
|
| The segregation name for sub-sortation. |
|
| Terminal where the aircraft is located. Refer to SSIM Appendix D. |
|
| Identifies an order for a repeating item. |
|
| The runway. |
|
| Associated flight leg routing for the physical aircraft. |
|
| The operating airline code. |
|
| Specifies the context of the airline code, such as IATA or ICAO. Refer to IATA PADIS Code List for data element 3055. |
|
| The scheduled arrival airport. |
|
| The scheduled departure airport. |
|
| The actual flight number. |
|
| The scheduled flight origin date based on the flight not the flight leg. This date must not change once intialized in an AIDX message. |
|
| The repeat or departure attempt number. |
|
| Time information related to an arrival or departure. |
|
| Used to specify if the OperationQualifier is from IATA PADIS Code List 2005 or 9750. |
|
| The type of time and date value. Refer to IATA PADIS Code List for data element 2005 and 9750. |
|
| Identifies a repeating item. |
|
| Used to specify the type of operation time. Refer to IATA PADIS Code List for data element 2005. |
|
| Flight leg information. |
|
| Aircraft owner information. |
|
| The aircraft owner code. |
|
| A list of flight leg statuses that can be displayed to the public. Refer to IATA PADIS Code List for data element 1245 and 2005. |
|
| Used to specify if the operational status code is from IATA PADIS Code List for data element 1245 or 2005. |
|
| The IATA flight service type of the operating flight. Use SSIM service types. |
|
| Uniquely identify a flight leg. |
|
| The operating airline code. |
|
| The scheduled arrival airport. |
|
| Specifies the context of the airport code, such as IATA or ICAO. Refer to IATA PADIS Code List for data element 3055. |
|
| The scheduled departure airport. |
|
| Specifies the context of the airport code, such as IATA or ICAO. Refer to IATA PADIS Code List for data element 3055. |
|
| The actual flight number. |
|
| The operational suffix for the flight. |
|
| The scheduled flight origin date based on the flight not the flight leg. This date must not change once intialized in an AIDX message. |
|
| The repeat or departure attempt number. |
|
| The originator of the message. |
|
| Identifies the IATA 2-3 character airline code. |
|
| Identifies the context of the identifying code, such as DUNS, IATA or internal code, etc. |
|
| Used to provide the company common name. |
Response fields
Path | Type | Description |
---|---|---|
|
| Root element |
|
| Success indicator |
Curl request
$ curl 'https://flifo.api.aero/flights/update' -i -X DELETE \
-H 'Authorization: Bearer eyJkb2N1bWVudGF0aW9uIiwidG9rZW4ifQ...' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
-d '<?xml version="1.0" encoding="UTF-8"?>
<IATA_AIDX_FlightLegNotifRQ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ba="http://baplc.com/extensionSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:thread="java:java.lang.Thread" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns="http://www.iata.org/IATA/2007/00" AltLangID="en-us" PrimaryLangID="en-us" Target="Test" Version="15.1" TimeStamp="2015-06-05T00:32:07.48Z" TransactionIdentifier="FLD" SequenceNmbr="9717">
<Originator CompanyShortName="BA"/>
<DeliveringSystem CompanyShortName="BA"/>
<FlightLeg>
<LegIdentifier>
<Airline CodeContext="3">BA</Airline>
<FlightNumber>6589</FlightNumber>
<DepartureAirport CodeContext="3">LGA</DepartureAirport>
<ArrivalAirport CodeContext="3">ORD</ArrivalAirport>
<OriginDate>2015-07-17</OriginDate>
<RepeatNumber>1</RepeatNumber>
</LegIdentifier>
<LegData/>
</FlightLeg>
</IATA_AIDX_FlightLegNotifRQ>
'
Request body
<?xml version="1.0" encoding="UTF-8"?>
<IATA_AIDX_FlightLegNotifRQ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ba="http://baplc.com/extensionSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:thread="java:java.lang.Thread" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns="http://www.iata.org/IATA/2007/00" AltLangID="en-us" PrimaryLangID="en-us" Target="Test" Version="15.1" TimeStamp="2015-06-05T00:32:07.48Z" TransactionIdentifier="FLD" SequenceNmbr="9717">
<Originator CompanyShortName="BA"/>
<DeliveringSystem CompanyShortName="BA"/>
<FlightLeg>
<LegIdentifier>
<Airline CodeContext="3">BA</Airline>
<FlightNumber>6589</FlightNumber>
<DepartureAirport CodeContext="3">LGA</DepartureAirport>
<ArrivalAirport CodeContext="3">ORD</ArrivalAirport>
<OriginDate>2015-07-17</OriginDate>
<RepeatNumber>1</RepeatNumber>
</LegIdentifier>
<LegData/>
</FlightLeg>
</IATA_AIDX_FlightLegNotifRQ>
HTTP response
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 148
<?xml version="1.0" encoding="UTF-8"?>
<IATA_AIDX_FlightLegRS xmlns="http://www.iata.org/IATA/2007/00">
<Success/>
</IATA_AIDX_FlightLegRS>
Contact Us
For subscription and sales queries, please contact:
Product Inquiries
Contact Us
For any technical queries and support, please contact:
Technical Support Team
Contact Us