_getStaDriversCar
(API version 2.0)WDS_StaDriversCarItem[] _getStaDriversCar ( string kodf , string username , string pass , int iddriver , string casod , string casdo )
Description
Function return Drivers / Cars statistics. For all combinations driver and vehicle returning one row.
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_StaDriversCarItem[]
-
WDS_StaDriversCarItem
- int iddriver
- int idcar
- string Jmeno
- string Prijmeni
- string Osobni_cislo
- string Skupina
- string Stredisko
- float Sluzebni_km
- float Soukrome_km
- int Poc_sluzebni
- int Poc_soukrome
- string Doba_jizdy
- string Doba_stani
- float Amortizace
- float DomovPraceDomov
- float PHM_l
- float PHM_cena
- float PHM_cenakm
- float Ostatni_naklady
- float K_uhrade_ridici
- float Uhrazeno_ridicem
- float Spotreba_phml
- float Prum_spotreba
- float Prum_spotreba_prut
- float Prum_spotreba_hod
- float Prum_spotreba_tp
- float Dlouhodoba_spotreba
- float Amortizace_soukr_jizdy
- float Prum_cena_PHM
- string Datum_od_do
- 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->_getStaDriversCar($kodf, $username, $pass, $iddriver, $casod, $casdo);
Test
To test the function, enter parameters in form below and press Try it out button.