Show / Hide Table of Contents

Class IcaoApiDataService

Easy interface to the ICAO API Data Service that provides the data in FPAssistant aviation type objects

Inheritance
System.Object
IcaoApiDataService
Namespace: FpAssistantCore.Icao.ApiDataService
Assembly: FpAssistantCoreScl.dll
Syntax
public class IcaoApiDataService : object
Remarks

Important: To use the ICAO API Data Service you MUST obtain an API KEY direct from ICAO

Constructors

View Source

IcaoApiDataService(Guid)

Constructor

Declaration
public IcaoApiDataService(Guid apiKeyFromIcao)
Parameters
Type Name Description
Guid apiKeyFromIcao

Your API KEY obtained from ICAO to use the service

Properties

View Source

ApiKey

Your API KEY obtained from ICAO to use the service

Declaration
public Guid ApiKey { set; }
Property Value
Type Description
Guid
View Source

HttpStatusCode

The status code of the web API call

Declaration
public HttpStatusCode HttpStatusCode { get; }
Property Value
Type Description
HttpStatusCode
View Source

Message

Information message: Contains the error message back from the web API and prior to the call the value of the URL being called

Declaration
public string Message { get; }
Property Value
Type Description
System.String
Remarks

If message is 'Forbidden' then thus implies your ICAO API key is no longer valid or incorrect

Methods

View Source

AircraftTypeDesignators(String)

Aircraft Type Designators

Declaration
public List<AircraftTypeDesignators> AircraftTypeDesignators(string manufacturer)
Parameters
Type Name Description
System.String manufacturer

Code of the manufacturer as per ICAO DOC 8643

Returns
Type Description
List<AircraftTypeDesignators>

List of AircraftTypeDesignators

View Source

AirportCodesDoc7910(String)

ICAO Airport Location Indicators (DOC 7910)

Declaration
public List<AirportCodesDoc7910> AirportCodesDoc7910(string airports)
Parameters
Type Name Description
System.String airports

Single ICAO 4-letter Aerdrome Code (DOC7910), or comma seperated list of a maximum of 10 such codes

Returns
Type Description
List<AirportCodesDoc7910>

List of AirportCodesDoc7910

  • View Source
In This Article
Back to top Copyright 2018-2024 CADology Limited