_getDriverRating
(API version 2.0)WDS_DriverRatingItem[] _getDriverRating ( string kodf , string username , string pass , int IdDriver , string DateFrom , string DateTo )
Description
Function returns score of driver style.
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- int IdDriver
- unique driver ID
- string DateFrom
- date from - local time
- string DateTo
- date to - local time
Return value
WDS_DriverRatingItem[]
-
WDS_DriverRatingItem
- int IdDriver
- string CarIdentifikator
- float Dist_km
- int Num_Routes
- int Rating
- int Avg_speed
- int Max_speed
- float Avg_cons
- float Flow_cons
- float Book_cons
- float Tolerance_cons
- float AvgCO2
- float FloatCO2
- float TotalCO2
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getDriverRating($kodf, $username, $pass, $IdDriver, $DateFrom, $DateTo);
Test
To test the function, enter parameters in form below and press Try it out button.