getScoreForUser
get
getScoreForUser
Resource URL
https://api-sandbox.arity.com/drivinginsights/v1/orgs/{orgId}/users/{userId}/user-score
Header Parameters
Name | Values | Description |
---|---|---|
Content-Type |
|
|
Authorization
(required) |
Value should be the word Bearer followed by a space and then the token (e.g., Bearer CW8abh5JkxZ5KYdAQQH0p9fTAicq). To generate a token, use the OAuth API. |
orgId Unique ID for the organization, provided by Arity. null true
userId Unique ID for the user. null true
Make a request and see the response.
Make a request and see the response.
Make a request and see the response.
Response Error Details
-
HTTP CodeError CodeDescription
-
404404
404.05.401 - Score for user not found
-
503503
503.05.901 - Service Unavailable
Resource Summary |
|
Security |
None |
Category |
score-controller |
Name | Type | Description |
---|
Name | Type | Description |
---|---|---|
data .userId | string | Unique ID of the user. |
data .score | integer | Driving score generated by the scoring model. Value will be a number 1-100, where a higher score represents a safer driver. Updated daily. |
data .timeCalculated | string | Date and time when the score was last calculated. Scores are updated daily. |
data .earliestActiveDatetime | string | Earliest trip included in scoring within the past year. |
data .latestActiveDatetime | string | Most recent trip included in scoring. |
data .tripCount | integer | Number of trips included in scoring for the user. |
data .totalMiles | number | Sum of the mileage of all trips included in scoring for the user. |
Working...