_getDriverRatingAccel
(API version 2.0)WDS_DriverRatingAccelItem[] _getDriverRatingAccel ( string kodf , string username , string pass , int IdDriver , int IdCar , string DateFrom , string DateTo , int Sum )
Description
Function returns score of driver style according to the accelerometer FMS.
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- int IdDriver
- unique driver ID (-1 = all drivers)
- int IdCar
- unique car ID (-1 = all cars)
- string DateFrom
- date from - local
- string DateTo
- date to - local
- int Sum
- 0 - for days
1 - total sum
Return value
-
WDS_DriverRatingAccelItem
-
int
IdDriver
driver ID
-
int
IdCar
car ID
-
string
Date
date
-
string
Time_from
time from
-
string
Time_to
time to
-
string
Cars
cars list
-
string
Route
route
-
float
Dist_km
distance [km]
-
float
Rating
score of driver style
-
int
Time1
ride duration 10 - 60 km/h [s]
-
int
Time2
ride duration 60 - 110 km/h [s]
-
int
Time3
ride duration > 110 km/h [s]
-
float
AF
aggressive start
-
float
Break1
dangerous braking 10 - 60 km/h
-
float
Break2
dangerous braking 60 - 110 km/h
-
float
Break3
dangerous braking > 110 km/h
-
float
Curve1
Dangerous cornering 10 - 60 km/h
-
float
Curve2
Dangerous cornering 60 - 110 km/h
-
float
Curve3
Dangerous cornering > 110 km/h
-
float
Disfluent2
Disfluent ride 60 - 110 km/h
-
float
Disfluent3
Disfluent ride > 110 km/h
-
float
Speed3
Dangerous speed > 110 km/h
-
int
IdDriver
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getDriverRatingAccel($kodf, $username, $pass, $IdDriver, $IdCar, $DateFrom, $DateTo, $Sum);
Test
To test the function, enter parameters in form below and press Try it out button.