_getDrivingStyleRawData

(API version 2.0)

WDS_DrivingStyleRawDataItem[] _getDrivingStyleRawData ( string kodf , string username , string pass , string from , string to , int[] caridList )

Description

The function returns the vehicle style score according to the FMS accelerometer.

Parameters

string kodf
Company code
string username
Username
string pass
Password
string from
Start of the time interval ( UTC )
string to
End of the time interval ( UTC )
int[] caridList
  • int item
List of vehicles. Organised in an array (item tags). An empty list returns the rating of all vehicles the user has the access right to.

Return value

WDS_DrivingStyleRawDataItem[]
  • WDS_DrivingStyleRawDataItem
    • int IdCar

      Car ID

    • float Dist_km

      Distance travelled [km]

    • float Rating

      Driving style score. Returns a value between 1 and 5. A value of 1 is the best.

    • int Time1

      Driving time in the speed range 10 - 60 km/h [seconds]

    • int Time2

      Driving time in the speed range 60 - 110 km/h [seconds]

    • int Time3

      Driving time at speeds > 110 km/h [seconds]

    • float AF

      Aggressive start rating. Returns a value between 0 and 255. A lower value means a better rating. A value of 0 indicates that there is not enough data for an evaluation.

    • float Break1

      Unsafe braking in the speed range 10 - 60 km/h. Returns a value between 0 and 255. A lower value means a better rating. A value of 0 indicates that there is not enough data for an evaluation.

    • float Break2

      Unsafe braking in the speed range 60 - 110 km/h. Returns a value between 0 and 255. A lower value means a better rating. A value of 0 indicates that there is not enough data for an evaluation.

    • float Break3

      Unsafe braking at speeds > 110 km/h. Returns a value between 0 and 255. A lower value means a better rating. A value of 0 indicates that there is not enough data for an evaluation.

    • float Curve1

      Dangerous cornering in the speed range 10 - 60 km/h. Returns a value between 0 and 255. A lower value means a better rating. A value of 0 indicates that there is not enough data for an evaluation.

    • float Curve2

      Dangerous cornering in the speed range 60 - 110 km/h. Returns a value between 0 and 255. A lower value means a better rating. A value of 0 indicates that there is not enough data for an evaluation.

    • float Curve3

      Dangerous cornering at the speeds > 110 km/h. Returns a value between 0 and 255. A lower value means a better rating. A value of 0 indicates that there is not enough data for an evaluation.

    • float Disfluent2

      Disfluent ride in the speed range 60 - 110 km/h. Returns a value between 0 and 255. A lower value means a better rating. A value of 0 indicates that there is not enough data for an evaluation.

    • float Disfluent3

      Disfluent ride at the speeds > 110 km/h. Returns a value between 0 and 255. A lower value means a better rating. A value of 0 indicates that there is not enough data for an evaluation.

    • float Speed3

      Dangerous speed > 110 km/h. Returns a value between 0 and 255. A lower value means a better rating. A value of 0 indicates that there is not enough data for an evaluation.

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getDrivingStyleRawData($kodf, $username, $pass, $from, $to, $caridList);

Test

To test the function, enter parameters in form below and press Try it out button.

Company code
Username
Password
Start of the time interval ( UTC )
End of the time interval ( UTC )
int[] caridList
List of vehicles. Organised in an array (item tags). An empty list returns the rating of all vehicles the user has the access right to.

* Required field