Vehicle->GetVehicles
GetVehicles (Vehicle Function)
Returns a list of VehicleInfo objects for the vehicles in the company. Each VehicleInfo has the Vehicle ID and UA.
XML Request
The GetVehicles function does not have any input parameters.
<soap:Body> <GetVehicles xmlns="http://www.qualcomm.com" /> </soap:Body>
XML Response
The XML response will have a <Vehicles>
tag that contains a list of <VehicleInfo>
tags. Each contains the following values:
Parameter |
Type |
Optiponal |
Description |
---|---|---|---|
VehicleID |
string |
No |
The vehicle ID. That is also referred to as the tractor ID. |
UA |
int |
Yes |
The comm unit serial number. If a vehicle does not have a UA, then this field will not be present for that vehicle |
<soap:Body> <GetVehiclesResponse xmlns="http://www.qualcomm.com"> <GetVehiclesResult> <Vehicles> <VehicleInfo> <VehicleID>string</VehicleID> <UA>int</UA> </VehicleInfo> <VehicleInfo> <VehicleID>string</VehicleID> <UA>int</UA> </VehicleInfo> </Vehicles> </GetVehiclesResult> </GetVehiclesResponse> </soap:Body>