_getDCRepC
(API version 2.0)WDS_DCRepCItem[] _getDCRepC ( string kodf , string username , string pass , string DateFrom , string DateTo , int IdCargroup , int InclSubgroups , int IdCar , int IdDriver )
Description
The function returns statistics Drivecheck / Groups 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 IdCargroup
- Vehicle group identifier, -1 All Groups
- int InclSubgroups
- Including subgroups True 1 / False 0
- int IdCar
- Vehicle Identifier, -1 All Vehicles
- int IdDriver
- Driver Identifier, -1 All Drivers
Return value
-
WDS_DCRepCItem
-
int
IdCar
ID vozidla
-
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
Average tensile speed [rpm]
-
float
B9
Average tensile speed - rating
-
float
V10
Driver anticipation [%]
-
float
B10
Driver anticipation - rating
-
int
IdDriver
Driver Identifier
-
int
IdCar
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getDCRepC($kodf, $username, $pass, $DateFrom, $DateTo, $IdCargroup, $InclSubgroups, $IdCar, $IdDriver);
Test
To test the function, enter parameters in form below and press Try it out button.