Vehicle Matrix

The Vehicle Matrix transaction provides a basic Vehicle Search Availability request that returns a maximum amount of vehicle rates in the fastest time possible. This transaction supports web-based applications that display a table of vehicle rates where the axes represent vehicle suppliers by vehicle types. The Vehicle Matrix response provides all of the data necessary to complete this grid in one transaction. Additional (Get More) transactions are not required to obtain all response data.

Important! Wordspan (1P) does not support Vehicle Matrix functionality. If a Vehicle Matrix request is sent to Worldspan (1P), the Matrix-specific request attributes are ignored and a standard Vehicle Search response is returned with a warning message: ReturnAllRates not supported by Worldspan, and has been ignored.

Schema

See the following transactions for Vehicle Search:

Request

VehicleSearchAvailabilityReq is used to request Vehicle Matrix searches. The Vehicle Matrix request is similar to a standard Vehicle Search request, but is differentiated by a Return All Rates indicator. The response returns all response items in a single call, but typically includes truncated response data for individual Vehicle items.

Note: Vehicle Matrix is equivalent to the CarMatrix transaction in GWS.

Set ReturnAllRates to "True" to return a Vehicle Matrix response.

For a more specific response:

NextResultReference data is not included in Vehicle Matrix requests because all data is returned in one response.

VehicleSearchModifiers

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.

VehicleDateLocation

Response

A Vehicle Matrix response is returned when ReturnAllRates is set to "True". The response contains all rates in VehicleSearchAvailabilityRsp. If ReturnAllRates is set to "False", a standard Vehicle Search response is returned, based on existing Universal API functionality.

Exceptions