POST v1/user/statistics
MOBILE - Return the performance statistics for the mobile user.
Request Information
URI Parameters
None.
Body Parameters
UserPerformanceRequestModelName | Description | Type | Additional information |
---|---|---|---|
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:
{ "user_id": "sample string 1", "user_signature": "sample string 2" }
Response Information
Resource Description
MOBILE - Return the performance statistics for the mobile user.
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" } }