GET api/pub/Airlines/{code}
Retrieves the IATA Airline identified by IATA 2-Character designator or 3-Numeric Airline Accounting & Prefix Code.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
code | IATA 2-Character designator or 3-Numeric Airline Accounting & Prefix Code |
Define this parameter in the request URI. |
Response Information
The IATA Airline
Response body formats
application/json, text/json
Sample:
{ "LogoPath": "sample string 1", "Code": "sample string 2", "Name": "sample string 3" }
application/xml, text/xml
Sample:
<AirlineDTO> <Code>sample string 2</Code> <Name>sample string 3</Name> <LogoPath>sample string 1</LogoPath> </AirlineDTO>