Vehicle Search by Location Type
By default, a Vehicle Search response returns available vendors by the default airport location of a specified city airport code. However, the request can be modified to include a specific location type such as a railway station, resort, car dealership, or cardinal location from the city center. The location type can also be used to search by a city code rather than an airport code.
Note: This request returns all vendor locations that match the request location type. To request a specific vendor location, search by Unique Location ID.
Request
A standard Vehicle Search request is made including a Location Type indicator. In addition to the minimum required search data, the PickupLocationType and ReturnLocationType attributes of VehicleSearchAvailabilityReq/VehicleDateLocation are used to specify the location for the corresponding PickupLocation and ReturnLocation.
Location Types
The following Location Type enumerations are used for PickupLocationType and ReturnLocationType.
However, not all providers support each of the Universal API enumerations for Location Type. The following table shows how the currently supported providers process Location Type enumerations within their host systems.
Enumeration |
Galileo |
Worldspan |
---|---|---|
Terminal |
Terminal |
Terminal |
ShuttleOnAirport |
Terminal |
Not processed. |
ShuttleOffAirport |
ShuttleOffAirport |
ShuttleOffAirport |
RailwayStation |
RailwayStation |
RailwayStation |
Hotel |
CityCenterDowntown |
Hotel |
CarDealer |
CityCenterDowntown |
Not processed. |
CityCenterDowntown |
CityCenterDowntown |
CityCenterDowntown |
EastOfCityCenter |
EastOfCityCenter |
EastOfCityCenter |
SouthOfCityCenter |
SouthOfCityCenter |
SouthOfCityCenter |
WestOfCityCenter |
WestOfCityCenter |
WestOfCityCenter |
NorthOfCityCenter |
NorthOfCityCenter |
NorthOfCityCenter |
PortOrFerry |
PortOrFerry |
PortOrFerry |
NearResort |
NearResort |
NearResort |
Airport |
Terminal |
Airport |
Unknown |
Terminal |
Not processed. |
Vehicle Search by City Code
To request a location by a city a code rather than the default airport code, the 'CityCenterDowntown' value is used for PickupLocationType and ReturnLocationType in the request. In this instance, the API processes the corresponding PickupLocation and ReturnLocation as a city code rather than an airport code.
Response
A standard Vehicle Search response is returned. However, all rental options are limited to locations that meet the specified search parameters. The requested PickupLocationType and ReturnLocationType attributes are confirmed in VehicleSearchAvailabilityRsp/VehicleDateLocation.
Exceptions
Worldspan
Location Type is supported for PickUpLocation but not supported for ReturnLocation.