Vehicle Search by Unique Location ID
By default, a Vehicle Search response returns availability by the default airport location of a specified city airport code. However, the request can be modified to include availability for a specified vehicle rental location.
In a single request, one or more unique locations or suppliers can be requested:
-
Multiple unique locations can be requested for a single vendor.
-
Multiple unique locations can be requested for a multiple vendors.
Note: This request returns results for a specific vendor location. To obtain availability for a general location type, such as a railway, resort, or city code, use Vehicle Search by Location Type.
Request
A standard Vehicle Search request is made including an IATA reference for the supplier (vendor) locations.
In addition to the minimum required search data, the following attributes in VehicleSearchAvailabilityReq/VehicleDateLocation/VendorLocation are used to specify the unique location ID:
- ProviderCode is the provider code for the GDS or other data source used for the request.
- VendorCode is the supplier code used by the referenced provider.
- VendorLocationID is the IATA reference for the supplier (vendor) location.
Multiple instances of VendorLocation are used to indicate multiple unique locations for a single supplier, or unique locations from multiple suppliers. The Key attribute is set to a unique value in the request that identifies that request in the corresponding response options.
Response
The response returns a standard Vehicle Search with availability that is limited to specified rental location(s) from the specified supplier(s). The value of the Key attribute in VehicleSearchAvailabilityRsp/VehicleDateLocation/VendorLocation identifies the corresponding supplier and unique location ID from the request parameters.
Exceptions
Worldspan
For Worldspan requests:
- PickupLocationType must be provided in VendorDateLocation.
- VendorLocation/VendorLocationID is given preference over VendorDateLocation/PickupLocationNumber.
- If PickupLocationType is not provided and PickupLocationNumber and/or VendorLocationID is provided, a warning is sent in the response: Location Type is mandatory with Location Number for provider.