ANSWERED
ANSWERED
ANSWERED

How precise is the odometer reading coming from the legacy locations endpoint?

Does the odometer reading returned from the legacy locations endpoint include fractional mileage? For example, it returns meters, and when I convert to miles using division by 1609.344 and then use basic rounding (from midpoint), sometimes I don't get the result I expect (i.e. the mileage reading can round down when I expect it to round up). I even cross compared with the new vehicle stats history endpoint and the last three digits always seem to be zero, which would tell me I lose precision.
ANSWERED
ANSWERED
ANSWERED

Live Share Via API

Is there any plans to manage Live Share links through the API?
ANSWERED
ANSWERED

CORS Error - Anyone have any suggestions?

I'm trying to retrieve all routes for a given day and populate a Table in my web application. When I send the web request to Samsara I'm getting the following error message in my console log. Access to XMLHttpRequest at 'https://api.samsara.com/fleet/routes?startTime=2021-11-01T01:00:00Z&endTime=2021-11-01T23:59:59Z&limit=512' from origin 'https://www-p02.intacct.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Any help would be greatly appreciated. Randy
ANSWERED