POST v1/company/driver/statistics
WEB - Return the performance statistics for a driver
Request Information
URI Parameters
None.
Body Parameters
DriverPerformanceRequestModelName | Description | Type | Additional information |
---|---|---|---|
driver_user_id |
User UID of the driver to query |
string |
None. |
user_company_id |
Company UID of the active user |
string |
Required Data type: Text |
user_id |
User ID (GUID) |
string |
Required Data type: Text |
user_signature |
MD5 hash signature for the active user to validate the request |
string |
Required Data type: Text |
Request Format
application/json, text/json
Sample:
{ "driver_user_id": "sample string 1", "user_company_id": "sample string 2", "user_id": "sample string 3", "user_signature": "sample string 4" }
Response Information
Resource Description
WEB - Return the performance statistics for a driver
BaseMetaResultModelOfMobileUserPerformanceStatsName | Description | Type | Additional information |
---|---|---|---|
response | MobileUserPerformanceStats |
None. |
|
meta |
Basic meta information for the operation result |
MetaModel |
None. |
Response Format
application/json, text/json
Sample:
{ "response": { "user_id": "sample string 1", "total_user_distance": 2.0, "total_num_completed": 3, "avg_departure_error_minutes": 4, "avg_arrival_error_minutes": 5, "avg_departure_points": 6.0, "avg_arrival_points": 7.0, "avg_general_points": 8.0 }, "meta": { "status_code": 1, "status_message": "sample string 2" } }