Get Vehicle Information
getVehicleInformation
Given a vehicle identifier, return select status-related attributes of the vehicle in a VehicleInfo object. The purpose of this method is to return information about the specified vehicle including current location, connected trailers (if TrailerTRACS is licensed and enabled), drivers, message statistics, coverage and group assignments, etc. Most of the information returned by this method is information that may change over time. It represents the current status of the vehicle.
VehicleInfo getVehicleInformation(AssetIdentifier vehicle) throws WSException
- vehicle: A QTWebServices AssetIdentifier that contains the identifier of the vehicle whose status information will be retrieved.
Authorization Requirements
The credentials supplied with this method call (as specified in the accompanying WS-Security header) must be authorized to the following application(s) and their associated role-based permissions.
Required Application Licenses
- Remote Integration
Required User Permissions
- Can use QTRACS
Customer integrators are authorized to their own company's data only.
Sample XML Request
Only the SOAP body is shown. To see a sample SOAP Envelope and Header, click here.
|
Sample XML Response
|
Exceptions
002 Required field not specified.
003 Company not authorized for access through integration.
004 User is not authorized.
005 SCAC is required.
006 SCAC is invalid.
007 Vehicle ID is required.
008 Vehicle not found.