_getDCRepB
(API version 2.0)WDS_DCRepBItem[] _getDCRepB ( string kodf , string username , string pass , string DateFrom , string DateTo , int IdDriver , int IdCar )
Description
The function returns statistics Drivecheck / Driver report
Categories
Tags
- drivecheck
Parameters
- string kodf
- Company login code
- string username
- Login username
- string pass
- Login password
- string DateFrom
- Start of the time window (local time)
- string DateTo
- End of the time window. (The maximum interval is 2 months)
- int IdDriver
- Driver Identifier
- int IdCar
- Vehicle Identifier, -1 ALL Vehicles (Causes the data to be mixed on multiple vehicles together)
Return value
-
WDS_DCRepBItem
-
int
IdCar
Vehicle Identifier
-
int
TypP
Operation type:
1 - International
2 - Regional
3 - Urban
4 - Other -
float
Dist
Distance [km]
-
float
Cons
Average consumption [l / 100km]
-
float
Weight
Average weight [t]
-
float
Speed
Average speed [km / h]
-
float
V1
Driving time without fuel consumption [%]
-
float
B1
Driving time without fuel consumption - rating
-
float
V2
Idle time [%]
-
float
B2
Time of idling - rating
-
float
V3
Cruise consumption vs. average consumption [%]
-
float
B3
Cruise consumption vs. average consumption - rating
-
float
V4
Travel time with cruise control + constant speed [%]
-
float
B4
Travel time with cruise control + rating [%]
-
float
V5
Use of the service brake [%]
-
float
B5
Use of the service brake - rating
-
float
V6
Number of brake pedal depressions [1/100km]
-
float
B6
Number of brake pedal depressions - rating
-
float
V7
Use of retarders / engine brakes for braking when the speed is exceeded by 20 km/h [%]
-
float
B7
Use of retarders / engine brakes for braking when the speed is exceeded by 20 km / h - rating
-
float
V8
Exceeds 85 km/h [%]
-
float
B8
Exceeds 85 km/h - rating
-
float
V9
1440 rpm exceeded [%]
-
float
B9
1440 rpm exceeded [%] - rating
-
float
V10
Driver anticipation [%]
-
float
B10
Driver anticipation - rating
-
int
IdDriver
Driver Identifier
-
string
RecStart
Start recording [GMT]
-
string
RecStop
End recording [GMT]
-
string
JStart
The vehicle is moving (start) [GMT]
-
string
JStop
The vehicle is moving (stop) [GMT]
-
string
R1K
Driver 1 (ID card)
-
string
R2K
Driver 2 (ID card)
-
float
S
Average climb to 100 km [%]
-
int
T1
Driving time [s]
-
array[]
Engine run time total [s]
-
string[]
- string item
-
string[]
-
int
T3
Driving with tensile motor [s]
-
float
LimitRPM
Speed limit - routinely 1440 [rpm]
-
int
T4
Exceeding 1440 (more precisely, LimitRPM) rpm in stroke [s]
-
int
T5
Driving without fuel consumption + Ecoroll [s]
-
int
T6
Standing with the engine running: [s]
-
int
T7
Idling [s]
-
int
T8
Increased idling for standing: [s]
-
int
T9
PTO [s]
-
int
T10
Driving Time with Ecoroll: [s]
-
int
T11
Ride with cruise control [s]
-
int
T12
Accelerator pedal time with active cruise control [s]
-
int
T13
Constant accelerator pedal [s]
-
int
T14
Use of service brake: [s]
-
int
T15
Retarder / engine brake over 20 km / h [s]
-
int
H1
Average speed of engine braking:
-
float
Cons2
Average fuel consumption without PTO [ l/100km]
-
float
Cons3
Total fuel consumed [l]
-
float
Cons4
Consumption cruise control over average consumption [l]:
-
float
Cons5
Fuel consumption at idle [l]
-
float
Cons6
Fuel consumption for PTO [l]
-
float
Dist2
Overall cant km:
-
float
Dist3
Distance in Ecoroll mode:
-
float
Dist4
Traffic distance exceeded at 85 km / h with engine in tensile:
-
float
H2
The number of times the car starts
-
float
H3
Average engine tensile speed:
-
float
Cons7
Consumption above 1440 rpm (more precisely over LimitRPM)
-
float
Speed1
Maximum achieved absolute speed:
-
float
H4
Maximum engine speed achieved:
-
int
IdCar
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getDCRepB($kodf, $username, $pass, $DateFrom, $DateTo, $IdDriver, $IdCar);
Test
To test the function, enter parameters in form below and press Try it out button.