_getStaCars
(API version 2.0)WDS_StaCarsItem[] _getStaCars ( string kodf , string username , string pass , int carid , string casod , string casdo )
Description
Function return vehicle statistics for maximum 60 days.
Categories
Parameters
- string kodf
- company code
- string username
- username
- string pass
- password
- int carid
- car identifier
- 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_StaCarsItem
    - 
            int
            carid
            Vehicle Identifier 
- 
            string
            identifikator
            Vehicle registration number 
- 
            string
            Cislo_objektu
            Object number 
- 
            int
            Pujcovna
            Rent a car 0/1 
- 
            string
            Skupina
            Group name 
- 
            string
            Ridic
            The initial driver 
- 
            float
            Tach_start
            The state of the tachometer at the beginning of the reference period 
- 
            float
            Tach_end
            The end of the tachometer at the beginning of the reference period 
- 
            float
            Celkem_km
            Total km 
- 
            float
            Sluzebni_km
            Business km 
- 
            float
            Soukrome_km
            Private km 
- 
            float
            DomovPraceDomov
            The value of home-work-home from vehicle settings 
- 
            float
            Celkem_km_mesto
            Total km in the city 
- 
            float
            Sluzebni_km_mesto
            Business km in city 
- 
            float
            Soukrome_km_mesto
            Private km in city 
- 
            int
            Celkem
            Total Driving - Number 
- 
            int
            Sluzebni
            Number of business trips in the reference period 
- 
            int
            Soukrome
            Number of private trips 
- 
            string
            Doba_jizdy
            Driving time 
- 
            float
            Start_stav_PHM
            the fuel in the tank at the beginning of the period 
- 
            float
            End_stav_PHM
            the fuel in the tank at the ending of the period 
- 
            float
            PHM_l
            Fuel [l] 
- 
            float
            PHM_cena
            Fuel tank price with VAT total - in the currency of the vehicle 
- 
            float
            PHM_cena_km
            Price of fuel per km 
- 
            float
            Ostatni_naklady
            Other cost price - in the currency of vehicles 
- 
            float
            K_uhrade_ridici
            To pay the driver for the reference period 
- 
            float
            Spotreba_prut
            Consumption by the flowmeter 
- 
            float
            Prum_spotreba
            Average consumption per liter / 100 km 
- 
            float
            Prum_spotreba_prut
            Average consumption per liter / 100 km (the flow meter) 
- 
            float
            Prum_spotreba_hod
            Average consumption per hour 
- 
            float
            Spotreba_dle_TP
            Consumption according to vehicle license per liter / 100 km 
- 
            float
            Dlouhodoba_spotreba
            Long-term consumption per liter / 100 km 
- 
            string
            Tovarni_znacka
            The factory brand of the vehicle 
- 
            string
            Model_vozu
            Vehicle model 
- 
            string
            Casod
            Start of the first trip in the reference period [dd.mm.YYYY hh:mm:ss] 
- 
            string
            Casdo
            End of the last trip in the reference period [dd.mm.YYYY hh:mm:ss] 
- 
            string
            Osobni_cislo
            Personal number of the initial driver 
- 
            string
            Uplna_skupina
            Complete vehicle group / full path / contains a break! 
- 
            float
            Amortizace
            Amortization total - currency 
- 
            float
            Amort_ridic
            Amortization for 1 km of driver card 
- 
            int
            Mh_start
            Start engine hours [s] 
- 
            int
            Mh_end
            End engine hours [s] 
- 
            int
            Rozdilmh
            Difference engine hours [s] 
- 
            float
            Uhrazeno_ridicem
            Amount paid by the driver for fuel in cash - cost 
 
- 
            int
            carid
            
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getStaCars($kodf, $username, $pass, $carid, $casod, $casdo);
Test
To test the function, enter parameters in form below and press Try it out button.