_getStaCars2
(API version 2.0)WDS_StaCarsItem2[] _getStaCars2 ( string kodf , string username , string pass , int carid , string casod , string casdo )
Description
The function returns vehicle statistics
Warning: return value - WDS_StaCarsItem Can be extended without further notice.
Categories
Parameters
- string kodf
- Company login code
- string username
- Login username
- string pass
- Login password
- int carid
- Vehicle Identifier
- string casod
- Date from (local time), format:"d.m.Y H:m:s", Maximum length of 60 days
- string casdo
- Date to(local time), format:"d.m.Y H:m:s", Maximum length of 60 days
Return value
-
WDS_StaCarsItem2
-
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
-
float
Mesic_prumcena
Average fuel price per month
-
float
Nahr_celkem
Spare vehicle - Total km
-
float
Nahr_sluzebni
Replacement vehicle - business km
-
string
Nahr_rz
Replacement vehicle - Vehicle registration number
-
float
Soukkm_uhra
Private km to pay for the driver
-
float
PorizovaciCena
Purchase price excluding VAT
-
int
PocDnuJ
The number of days the vehicle was driving
-
int
PocPracDnuJ
The number of working days when the vehicle was driving
-
float
Nahrada
Refund for a private vehicle used for missions / km
-
float
Nahrada_celkem
Compensation for a private vehicle in total
-
float
PorizovaciCenaSDph
Purchase price with VAT
-
float
PhmSpotrebaTank
Fuel consumption by refueling
-
int
DobaStani
Standing seconds
-
float
PHMtankCena
Cost of spent fuel
-
float
TS1
Driven on Class I. roads
-
float
TS2
Driven on Class II. roads
-
float
TS3
Driven on Class III. roads
-
float
TS4
Driving on local roads
-
int
carid
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getStaCars2($kodf, $username, $pass, $carid, $casod, $casdo);
Test
To test the function, enter parameters in form below and press Try it out button.