getLastGPSFixByVehNum
This endpoint allows you to pull GPS fixCoordinates for a vehicle's location. These are fetched by TrackIt at regular intervals to map equipment routes over the course of a day. and other data for a specific vehicleAll machines used as a means of production on a construction site or at a batch plant. using the vehicle's primary identifying number.
Request
Parameter |
Description |
Type |
Required |
Notes |
---|---|---|---|---|
webkey |
Unique webkey associated with an interface. |
String |
Required |
|
vehicleNum |
The identifying numbers for the vehicle(s) queried. |
Integer |
Required |
|

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://v1.integration.services.trakitgps.com/">
<soapenv:Header/>
<soapenv:Body>
<v1:getLastGPSFixByVehNum>
<!--Optional:-->
<webkey>{webkey}</webkey>
<vehicleNum>(vehicle number)</vehicleNum>
</v1:getLastGPSFixByVehNum>
</soapenv:Body>
</soapenv:Envelope>
getLastGPSFixByVehNumResponse
Parameter |
Description |
Notes |
||
---|---|---|---|---|
return |
|
|||
|
dispatchNum
|
|
|
|
|
employeeNum
|
The employeeUser accounts for drivers, dispatchers, and other staff to perform varying functions in TrackIt.'s identification number. |
|
|
|
heading
|
The direction the vehicle is recorded to be traveling. |
|
|
|
latitude
|
The north/south coordinates for the GPS fix received. |
|
|
|
longitude
|
The west/east coordinates for the GPS fix received. |
|
|
|
phoneID
|
|
|
|
|
speed
|
|
||
|
timeOfFix
|
|
||
|
year
|
|
|
|
|
month
|
|
||
|
day
|
|
||
|
hour
|
|
||
|
minute
|
|
||
|
second
|
|
||
|
timezone
|
|
||
|
vehicleNum
|
The equipmentAll machines used as a means of production on a construction site or at a batch plant.'s identification number. |
|

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:getLastGPSFixByVehNumResponse xmlns:ns2="http://v1.integration.services.trakitgps.com/">
<return>
<dispatchNum>{dispatch number}</dispatchNum>
<employeeNum>{employee num}</employeeNum>
<heading>{compass heading}</heading>
<latitude>{latitude}</latitude>
<longitude>{longitude}</longitude>
<phoneID>{phone ID}</phoneID>
<speed>{vehicle speed}</speed>
<timeOfFix>
<year>{year}</year>
<month>{month}</month>
<day>{day}</day>
<hour>{hour}</hour>
<minute>{minute}</minute>
<second>{second}</second>
<timeZone>{time zone}</timeZone>
</timeOfFix>
<vehicleNum>{vehicle number}</vehicleNum>
</return>
</ns2:getLastGPSFixByVehNumResponse>
</S:Body>
</S:Envelope>