_getStaDrivers
(API version 2.0)WDS_StaDriversItem[] _getStaDrivers ( string kodf , string username , string pass , int iddriver , string casod , string casdo )
Description
Function return Drivers statistics for maximum 60 days.
Categories
Parameters
- string kodf
- company code
- string username
- username
- string pass
- password
- int iddriver
- driver identifier, -1 for all drivers
- string casod
- date from (local time), format [d.m.Y H:m:s]
- string casdo
- date to (local time), format [d.m.Y H:m:s]
Return value
WDS_StaDriversItem[]
-
WDS_StaDriversItem
- int iddriver
- string Jmeno
- string Prijmeni
- string Osobni_cislo
- string Skupina
- string Stredisko
- float Celkem_km
- float Sluzebni_km
- float Soukrome_km
- string Doba_jizdy
- string Doba_jizdy_sluzebni
- string Doba_jizdy_soukroma
- float DomovPraceDomov
- float PHM_l
- float PHM_cena
- float Ostatni_naklady
- float K_uhrade_ridici
- float Amortizace
- float Amort_ridic
- float Uhrazeno_ridicem
- float Soukr_km_k_uhrade
- float Porizovaci_cena
- string Doba_jizdy_sluzebni_den
- string Doba_jizdy_sluzebni_noc
- string Divize
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getStaDrivers($kodf, $username, $pass, $iddriver, $casod, $casdo);
Test
To test the function, enter parameters in form below and press Try it out button.