Retrieve the safety score of a device. The safety score calculates how many events have occurred in a certain time range while taking into account the total distance traveled during that time. The lower the number, the better the score.
Successful operation
Bad request error
Unauthorized error
Forbidden error
Not found error
Internal server error
curl -i -X GET \ 'https://api-prod.surfsight.net/v2/devices/:imei/score?start=2020-01-01T14%3A48%3A00.000Z&end=2020-01-01T14%3A48%3A00.000Z' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "data": {
- "score": 0.56
}
}