insertStatusChangeByVehNum
Use this endpoint initiate a statusThe specific activity or task a driver is currently engaged in, typically as part of a process called a "status loop." change by using a vehicleAll machines used as a means of production on a construction site or at a batch plant. number. The correct associated webkey is required.
Request
Parameter |
Description |
Type |
Required |
Notes |
||
---|---|---|---|---|---|---|
webkey |
String |
Required |
|
|||
vehicleNum |
The identifying numbers for the vehicle(s) queried. |
Integer |
Required |
|
||
|
statusChange
|
|
|
|
|
|
|
statusNum
|
The status's corresponding identification number(s). |
Integer |
|
|
|
|
obeyingStatusRestrict
|
Sets if the status will obey status restrictions or not. |
Boolean |
|
|
|
|
timeDelayMins
|
How many minutes after insertion the status change will occur. |
Integer |
|
|
|
|
sendingToInterface
|
Whether or not the status change will be sent to an ticketing interface. |
Boolean |
|
|

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://v1.integration.services.trakitgps.com/">
<soapenv:Header/>
<soapenv:Body>
<v1:insertStatusChangeByVehNum>
<!--Optional:-->
<webkey>{webkey}</webkey>
<vehicleNum>{vehicle number}</vehicleNum>
<!--Optional:-->
<statusChange>
<statusNum>{status number}</statusNum>
<!--Optional:-->
<obeyingStatusRestrict>{true or false}</obeyingStatusRestrict>
<!--Optional:-->
<timeDelayMins>{minutes}</timeDelayMins>
<!--Optional:-->
<sendingToInterface>{true or false}</sendingToInterface>
</statusChange>
</v1:insertStatusChangeByVehNum>
</soapenv:Body>
</soapenv:Envelope>
insertStatusChangeByAltEmpNumResponse
Parameter | Description | Notes | |
---|---|---|---|
return |
|
||
statusTypeID
|
The status type's identification number. |
||
|
The status's corresponding identification number(s). |
||
|
The status's assigned description or name. |

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:insertStatusChangeByVehNumResponse xmlns:ns2="http://v1.integration.services.trakitgps.com/">
<return>{true or false}</return>
</ns2:insertStatusChangeByVehNumResponse>
</S:Body>
</S:Envelope>