_getDriverHoursWorked

(API version 2.0)

WDS_DriverHoursWorked _getDriverHoursWorked ( string kodf , string username , string pass , int iddriver , string from , string to [ , string country ] )

Description

Returns driver's hours worked.

Categories

Tags

Parameters

string kodf
Company code
string username
Login username
string pass
Login password
int iddriver
Driver id
string from
Time from
string to
Time To
(maximum range is 62 days)
string country
Filtr by country

Return value

WDS_DriverHoursWorked
  • int driverid

    Driver id

  • float distance

    Total distance

  • WDS_DriverHoursWorkedItem[]

    Details

    • WDS_DriverHoursWorkedItem
      • string date

        Date

      • int drive

        Drive time in seconds

      • int work

        Work time in seconds

      • int alert

        Alert time in seconds

      • int rest

        Rest time in seconds

      • int driveDay

        Daytime in seconds

      • int driveNight

        Driving at night in seconds

      • int driveHoliday

        Driving on holiday in seconds

      • int driveSat

        Driving on saturday in seconds

      • int driveSun

        Driving on sunday in seconds

      • int workDay

        Daytime in seconds

      • int workNight

        Working at night in seconds

      • int workHoliday

        Working on holiday in seconds

      • int workSat

        Working on saturday in seconds

      • int workSun

        Working on sunday in seconds

      • int alertDay

        Daytime in seconds

      • int alertNight

        Alert at night in seconds

      • int alertHoliday

        Alert on holiday in seconds

      • int alertSat

        Alert on saturday in seconds

      • int alertSun

        Alert on sunday in seconds

      • int restDay

        Daytime in seconds

      • int restNight

        Rest at night in seconds

      • int restHoliday

        Rest on holiday in seconds

      • int restSat

        Rest on saturday in seconds

      • int restSun

        Rest on sunday in seconds

      • int overtime

        Overtime

      • int performance

        Driver performance

      • string startTime

        Start time

      • string endTime

        End time

      • float distance

        Distance

      • string cars

        Driven cars

      • WDS_DriverHoursWorkedCountryItem[]

        Visited countries

        • WDS_DriverHoursWorkedCountryItem
          • string startTime

            Start time

          • string endTime

            End time

          • string country

            Country

          • float distance

            Distance

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getDriverHoursWorked($kodf, $username, $pass, $iddriver, $from, $to, $country);

Test

To test the function, enter parameters in form below and press Try it out button.

Company code
Login username
Login password
Driver id
Time from
Time To
(maximum range is 62 days)
Filtr by country

* Required field