_getDriverWorkLog2

(API version 2.0)

WDS_DriverWorkLog2Item[] _getDriverWorkLog2 ( string kodf , string username , string pass , string od , string do , int idcar )

Description

Function returns rides records (Stazka) from navigation for specific period.

Categories

Parameters

string kodf
company code
string username
user name
string pass
password
string od
date from - local time [dd.mm.YYYY hh:ii:ss]
string do
date to- local time [dd.mm.YYYY hh:ii:ss]
int idcar
unique car ID

Return value

WDS_DriverWorkLog2Item[]
  • WDS_DriverWorkLog2Item
    • int IdCar

      unique car ID

    • string DateFrom

      date from - local time

    • string DateTo

      date to - local time

    • string DriverStatus

      driver state

    • string PlaceFrom

      place from

    • string PlaceTo

      place to

    • float Distance

      distance

    • string Sms

      SMS text

    • string No

      Number

    • int DriverStatusCode

      driver status codes:

      10 - start of vehicle operation record
      20 - end of vehicle operation record

      100 - rest
      101 - safety break
      102 - inactivity
      103 - break for food and rest

      200 - alert
      201 - border, pass
      202 - ferry (ROLO)
      203 - Eurotunel

      300 - Work
      301 - Loading
      302 - Unloading
      304 - technical problem
      305 - other activity
      306 - fueling
      307 - duty
      308 - Overdrive

      400 - ride
      401 - empty ride

    • string Driver

      driver

    • string Status

      SMS text / driver status change

    • string Crew

      crew

    • int IdDriver

      unique driver ID

    • int IdCrew

      crew ID

    • int IsCrew

      0 - driver record
      1 - crew record

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getDriverWorkLog2($kodf, $username, $pass, $od, $do, $idcar);

Test

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

company code
user name
password
date from - local time [dd.mm.YYYY hh:ii:ss]
date to- local time [dd.mm.YYYY hh:ii:ss]
unique car ID

* Required field