_getPerfectDriveReport
(API version 2.0)WDS_PDDRItem _getPerfectDriveReport ( string kodf , string username , string pass , int driverId , int carId , string reportDateFrom , string reportDateTo )
Description
The Api function returns the driver's rating for a given period (all vehicles or selected)
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- int driverId
- int carId
- string reportDateFrom
- string reportDateTo
Return value
-
float
ranking
ranking (0-100)
-
float
ft0_t_drv_acc_const_t_r_eng
Constant accelerator pedal time + cruise control in a given driving mode (points)
-
float
ft0_t_drv_br_ret_20_t_drv
Braking distance with engine brake from total braking distance (points)
-
float
ft0_t_drv_wo_c_t_ecoroll_t_drv
Driving time without fuel consumption + Ecoroll (points)
-
float
ft0_t_drv_load_86_t_r_eng
Towing time at speeds > 85 km/h (points)
-
float
ft0_t_avg_acc_br
Driver foresight (points)
-
float
ft0_cnt_br_d_drv
Number of brake pedal actuations (points)
-
float
ft0_t_r_drv_load_over_opt_t_r_eng
Exceeding the tensile speed (points)
-
float
pt0_t_drv_acc_const_t_r_eng
Constant accelerator pedal time + cruise control in a given driving mode (number of stars achieved)
-
float
pt0_t_drv_br_ret_20_t_drv
Braking distance with engine brake from total braking distance (number of stars achieved)
-
float
pt0_t_drv_wo_c_t_ecoroll_t_drv
Driving time without fuel consumption + Ecoroll (number of stars achieved)
-
float
pt0_t_drv_load_86_t_r_eng
Towing time at speeds > 85 km/h (number of stars achieved)
-
float
pt0_t_avg_acc_br
Driver foresight (number of stars achieved)
-
float
pt0_cnt_br_d_drv
Number of brake pedal actuations (number of stars achieved)
-
float
pt0_t_r_drv_load_over_opt_t_r_eng
Exceeding the tensile speed (number of stars achieved)
-
float
zt0_t_drv_acc_const_t_r_eng
Constant accelerator pedal time + cruise control in a given driving mode (star size)
-
float
zt0_t_drv_br_ret_20_t_drv
Braking distance with engine brake from total braking distance (star size)
-
float
zt0_t_drv_wo_c_t_ecoroll_t_drv
Driving time without fuel consumption + Ecoroll (star size)
-
float
zt0_t_drv_load_86_t_r_eng
Towing time at speeds > 85 km/h (star size)
-
float
zt0_t_avg_acc_br
Driver foresight (star size)
-
float
zt0_cnt_br_d_drv
Number of brake pedal actuations (star size)
-
float
zt0_t_r_drv_load_over_opt_t_r_eng
Exceeding the tensile speed (star size)
-
float
ft0_d_drv_br_d_drv
Applying the service brake (points)
-
float
pt0_d_drv_br_d_drv
Applying the service brake (number of stars achieved)
-
float
zt0_d_drv_br_d_drv
Applying the service brake (star size)
-
float
pt0_pc_t_stay_idle
Idling longer than 2 minutes (points)
-
float
zt0_t_stay_idle_t_r_eng
Idling longer than 2 minutes (star size)
-
float
pt0_t_stay_idle
Idling longer than 2 minutes (number of stars achieved)
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getPerfectDriveReport($kodf, $username, $pass, $driverId, $carId, $reportDateFrom, $reportDateTo);
Test
To test the function, enter parameters in form below and press Try it out button.