Request “airportSearchByName” - search airport by its name, or city name. Result includes airports belonging to the same group of airports (LON, FRA etc.).
Parameters:
Element name | Attribute | Description |
---|---|---|
type | - | request type |
name | - | Airport name, or City name |
<?xml version="1.0"?> <mds> <auth> <login>LOGIN</login> <pass>PASSWORD</pass> </auth> <request> <type>airportSearchByName</type> <conditions> <name>FRA</name> </conditions> </request> </mds>
Parameters:
Element name | Attribute | Description |
---|---|---|
item | IATAcode | Airport IATA code (empty when an airport Group code is listed) |
item | IATAgroup | Airport group code, when airport is assigned to a group |
item | airportCity | City |
item | countryName | Country |
item | countryISO | Country ISO code |
item | airportName | Airport name |
item | lat | Latitude |
item | lng | Longitude |
item | cityId | obj_xCity ID |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <response> <item IATAcode="" IATAgroup="FRA" airportCity="" countryName="Germany" countryISO="DE" airportName="" lat="" lng="" cityId=""/> <item IATAcode="HHN" IATAgroup="FRA" airportCity="Frankfurt" countryName="Germany" countryISO="DE" airportName="Hahn" lat="49.948700" lng="7.263890" cityId="4026"/> <item IATAcode="FRA" IATAgroup="FRA" airportCity="Frankfurt" countryName="Germany" countryISO="DE" airportName="Intl" lat="50.038500" lng="8.559160" cityId="4026"/> <item IATAcode="OAK" IATAgroup="SFO" airportCity="San Francisco" countryName="United States" countryISO="US" airportName="Oakland International" lat="37.723600" lng="-122.216000" cityId="4108"/> <item IATAcode="SFO" IATAgroup="SFO" airportCity="San Francisco" countryName="United States" countryISO="US" airportName="International" lat="37.619000" lng="-122.375000" cityId="4108"/> <item IATAcode="MUC" IATAgroup="" airportCity="Munich" countryName="Germany" countryISO="DE" airportName="Franz Josef Strauss" lat="48.350000" lng="11.783300" cityId="4585"/> <item IATAcode="OPO" IATAgroup="" airportCity="Porto" countryName="Portugal" countryISO="PT" airportName="Francisco de Sa Carneiro" lat="41.243600" lng="-8.679710" cityId="3989"/> <item IATAcode="PEG" IATAgroup="" airportCity="Perugia" countryName="Italy" countryISO="IT" airportName="San Francesco d'Assisi" lat="43.096700" lng="12.513400" cityId="4685"/> <item IATAcode="FKL" IATAgroup="" airportCity="Franklin" countryName="United States" countryISO="US" airportName="" lat="41.379200" lng="-79.859700" cityId="15010"/> <item IATAcode="JDF" IATAgroup="JDF" airportCity="Juiz de Fora" countryName="Brazil" countryISO="BR" airportName="Francisco Alvares de Assis" lat="-21.792600" lng="-43.386000" cityId="2677"/> </response>