getScoreForUser

get

getScoreForUser

Retrieve the score for a user.

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

HTTP Basic

OAuth 2.0

API Key

Reset

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 Code
    Error Code
    Description
  • 404
    404

    404.05.401 - Score for user not found

  • 503
    503

    503.05.901 - Service Unavailable

Resource Summary

Security

None

Category

score-controller

Name Type Description
Name Type Description
data
.userId
stringUnique ID of the user.
data
.score
integerDriving 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
stringDate and time when the score was last calculated. Scores are updated daily.
data
.earliestActiveDatetime
stringEarliest trip included in scoring within the past year.
data
.latestActiveDatetime
stringMost recent trip included in scoring.
data
.tripCount
integerNumber of trips included in scoring for the user.
data
.totalMiles
numberSum of the mileage of all trips included in scoring for the user.

Working...

© 2019 Arity, LLC. All rights reserved.  | Privacy Policy | Terms of Use | Legacy APIs