Vehicle Search

Vehicle Search is a generic request for rental cars that are available in a certain city between two specific dates.

Schema

See the following transactions for Vehicle Search:

Request

VehicleSearchAvailabilityReq is used to search for vehicles.

  1. Enter the minimum required data for a Vehicle Search request in the VehicleDateLocation element:
    • The pick-up date and time.
    • The return date and time.
    • A city or airport code.
  2. If the VehicleDateLocation/VendorLocation @VendorLocationID is specified in the request, the PickupLocationType is mandatory in the request.

  3. Enter optional data to refine the search in the VehicleSearchModifiers element.
    1. Preferred currency can be specified to request vehicle rates in a user's preferred currency.
    2. When ReferencePoint is sent in the request, the location is not required, but can be included. In Galileo, the reference point, location, or both must be provided.
    3. Notes:

      • If multiple vendors are specified in a request that includes ReferencePoint, a vehicle type is also required. 
      • Some locations types are not supported for ReferencePoint-only searches.
    4. Add any Discounts, Promotional, and Related Attributes:
      •  Vehicle v.34.0 and greater processes the existing @DiscountNumber, @PromotionalCode, @TourCode attributes in the Vehicle Rate response (VehicleSearchAvailabilityRsp/Vehicle/VehicleRate).
        • These optional attributes @DiscountNumberApplied, @PromotionalCodeApplied, @TourCodeApplied, @CardNumber, @CardNumberApplied, and @RequestedRateCodeApplied, were added in Vehicle v.34.0.
        • Backward Compatibility:
          • Universal API populates @DiscountNumberApplied, @PromotionalCodeApplied, @TourCodeApplied, @CardNumber, @CardNumberApplied, @RequestedRateCodeApplied in V.34.0 and later.

          • In VehiclesearchAvailabilityRsp, @DiscountNumber, @PromotionalCode and @TourCode will not be populated in version 33.0 and earlier.

          • If a Booking is created with a @DiscountNumber greater than ten characters in v34.0 or later, and then retrieved in an earlier version, Universal API truncates and returns the first 10 characters along with the following warning, “Partial DiscountNumber returned, upgrade to uAPI v34 or higher to retrieve.”

        • As of Universal API Release 22.2.2, Vehicle Rate allows surcharge to be returned in the vehicle charge category. Release 22.2
          VehicleSearchAvailabilityRsp/Vehicle/VehicleRate/VehicleCharge @Category="Surcharge" .

    5. Corporate / Government Rate Category and Discount Number Best Practices:

      • The following points are best practices when using Corporate Discount Numbers (CDN) witn Rate Categories, specifically Corporate and Government. For some car vendors, these best practices are requirements and if not followed, results in errors: U

        1. Pairing Enforcement:

          • When a Corporate Discount Number (CDN) is provided, the Rate Category must be either Corporate or Government, or,

          • When Rate Category is Corporate or Government, a valid CDN must be included in the request.

          • For some customers:

            • If CDN is present, the RateCategory must be Corporate or Government, or this error message returns: "Rate Category is required when a Corporate Discount Number (CDN) is provided. Please include a Rate Category of Corporate or Government."

            • If the Rate Category is Corporate or Government, a CDN must be present, or this error message returns: "Corporate or Government Rate Category requires a Valid Corporate Discount Number (CDN). Please include CDN in your Request."

        2. Vendor Scoping/Identification:

          • Corporate or Government rate requests must specify a vendor using either VendorLocation@vendor or PermittedVendors/Vendor@code.

          • If both are provided, the vendor codes must match.

          • If RateModifier@VendorCode is sent, it must align with the specified vendors. If not, the following error may return: "Corporate or Government Rate Category requires a vendor. Please include VendorLocation@VendorCode or PermittedVendors/Vendor@Code in your request."

        3. Consistency Validation:

          • The system validates that vendor codes match across VendorLocation@Vendor, PermittedVendors/Vendor@code, and RateModifier@VendorCode (when applicable).

          • For some customers, if both VendorLocation@vendor and PermittedVendors/Vendor@code are present and the codes don’t match, this error returns: "VendorLocation@VendorCode, PermittedVendors/Vendor@Code and RateModifier@VendorCode does not match in your request. Please review."

        4. Error Handling:

          • Universal API returns clear, actionable error messages when these requirements are not met, helping you quickly identify and resolve any issues.

  4. VehicleSearchAvailabilityRsp returns Vehicle Search options.

Response

Available car rental rate options are returned in order of price. The least expensive options are displayed first, followed by increasingly more expensive rental rates. Any optional qualifiers that are added to request will narrow the response.

Based on the qualifiers used, the GDS returns a response that includes as many as ten availability options. If additional rate options exist, a ‘More’ indicator is also returned, and subsequent requests can be made.

One of three statuses will be returned with the response:

A search response may contain a NextResultReference if the provider has additional response data that was not returned in that call. This reference token from the provider can be used in a subsequent request to obtain this additional data.

The following data may also be returned in the response:

Exceptions