_getDriverWorkTacho2
(API version 2.0)WDS_DriverWorkTachoItem[] _getDriverWorkTacho2 ( string kodf , string username , string pass , string DateFrom , string DateTo , int IdDriver [ , string Country ] )
Description
Function returns an overview of the driver worked hours by the tachograph (day - day/night)
Contains country filter, where was the driver.
Categories
Tags
- tachograph
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- string DateFrom
- date from - GMT
- string DateTo
- date to- GMT
- int IdDriver
- unique driver ID
- string Country
- Motor vehicle's vehicle registration plate - CZ, DE, ...
Return value
-
WDS_DriverWorkTachoItem
-
int
IdDriver
unique driver ID
-
string
CarIdentifikator
vehicle registration plate
-
string
DateW
date
-
string
Day
day
-
string
DayType
P - working day
V - weekday
S - public holiday -
string
WorkFrom
work from
-
string
WorkTo
work to
-
float
Absence1
manual inputs - alert [s]
-
float
Absence2
manual inputs - holiday [s]
-
float
Absence3
manual inputs - compensatory time off [s]
-
float
Absence4
manual inputs - unpaid vacation [s]
-
float
Absence5
manual inputs - sickness [s]
-
float
Absence6
manual inputs - paragraph [s]
-
float
Absence7
manual inputs - absence [s]
-
float
TotalDrive
Total drive [s]
-
float
TotalRest
Total rest [s]
-
float
TotalWork
Total work [s]
-
float
TotalStandBy
Total stand by [s]
-
float
NightDrive
night drive [s]
-
float
NightRest
night rest [s]
-
float
NightWork
night work [s]
-
float
NightStandBy
night stand by [s]
-
float
Dist
distance
-
int
IdDriver
If return items are not exist, it can be problem with missing cross borders. Please, do manually input.
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getDriverWorkTacho2($kodf, $username, $pass, $DateFrom, $DateTo, $IdDriver, $Country);
Test
To test the function, enter parameters in form below and press Try it out button.