_getLastDStatus
(API version 2.0)WDS_LastDStatusItem[] _getLastDStatus ( string kodf , string username , string pass , int IdCar )
Description
The function returns information about the current state of the driver in Overview of runs
Categories
Parameters
- string kodf
- Company login code
- string username
- Login username
- string pass
- Login password
- int IdCar
- Vehicle Identifier, -1 All Vehicles
Return value
-
WDS_LastDStatusItem
-
int
IdCar
Vehicle Identifier
-
string
Date
Time of last vehicle position in GMT
-
int
DStatus
Driver status
10 - Start Picks
20 - The end of the stack
100 - Response
101 - Safety break
102 - Inactivity
103 - Break for food and rest
200 - Emergency
201 - Border crossing
202 - Ferry (ROLO)
203 - Eurotunnel
301 - Loading
302 - Landing
304 - Technical failure
305 - Other activity
306 - Refueling
307 - Duty
308 - Excess
400 - Ride
401 - Ride empty -
string
Status
Simplified status
-
int
IdCar
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getLastDStatus($kodf, $username, $pass, $IdCar);
Test
To test the function, enter parameters in form below and press Try it out button.