typeLocation
The Location complex type is used to indicate airport and city codes. Unless otherwise specified, IATA city and airport codes are used.
-
In the Airport child, the IATA code is processed as an airport code.
For city/airport codes that are the same, the code is processed only as an airport code. For example, 'LAX' is processed as Los Angeles International airport, but other airports in the Los Angeles metro area are NOT included in the request.
-
In the City child, the IATA code is processed as a city code.
For city/airport codes that are the same, the code is processed only as a city code. For example, 'LAX' is processed as a city code for Los Angeles. In this case, all airports in the Los Angeles metro area are included in the request, but preference is given to Los Angeles International.
-
In the CityOrAirport child, the IATA code is processed as both a city and airport code.
For city/airport codes that are the same, the code is processed as both a city and airport code, with preference given first to the airport code. For example, 'LAX' is processed as both Los Angeles International airport and the Los Angeles metro area. In this case, both Los Angeles International airport and other Los Angeles metro airports are included in the request, with preference given to Los Angeles International. If CityOrAirport@PreferCity=”true” is specified, then the behavior is similar to the City type location child above, and all airports in this multi-airport city will be treated with equal preference.