Community
List of error codes and definition
Can you please share a list of "possible" error codes?
Posted by Tim Park over 3 years ago
Do the document type IDs need to be persisted when creating a document?
I'm creating a document using the "Create Document" endpoint "fleet/documents". The documentation states that a UUID is required for creating the document, but it's unclear as to whether or not that UUID should persist.
For example, if I create a document named "ABC" for driver X, and give it a UUID of "123" (for the sake of brevity here), then when I create another instance of the document "ABC", but this time for driver "Y", does that document also need a UUID of "123"?
Posted by tester222 almost 3 years ago
Geofences
I have 2 different customers inside the same building. When my driver gets to this address it confirms the 1st delivery, but then he has to leave the parking lot and drive back into the geofence to confirm the 2nd delivery. Is there a away to link the 2 customers to 1 geofence?
Posted by Corey Davidson over 3 years ago
Cruise control, Power Take Off Reporting and Regeration Status
We are interested in getting vehicle status information on cruise control e.g. when it is enabled vs. disabled as well as what mode it is in. We are also interested in getting information about when power take-off (PTO) is enabled e.g. is a particular idle using PTO. Last but not least is when regeneration is occurring. Are these pieces of information available via the API? I do see PTO in the beta driver efficiency endpoint but it is not clear where that information is coming from. Let us know. Thanks!
Posted by Lloyd Palum almost 3 years ago
Live Share Via API
Is there any plans to manage Live Share links through the API?
Posted by Idas over 3 years ago
Driver-Assignments Endpoint Data Returned Question
Hello,
I am using PowerShell to connect to the Driver-Assignments endpoint. I export the data to a CSV file, which we then use to automatically upload to our local databases. We use this format for 5 - 10 different API calls, but I have an issue with this specific end point.
If multiple drivers have driven the same asset, the drivers are listed in a single cell, versus being listed as new rows for the same asset ID. Is there another way to pull this information? The way the data comes back currently is unusable in our databases. I need the data to be returned in a way that shows a single asset ID and then a single driver ID.
Posted by Sarah H. about 3 years ago
Cancel a route?
I initially thought I could cancel a route through the update endpoint, but I'm not seeing a way to mark a route as skipped or canceled. How can I cancel (not delete) a route?
Posted by Taco 🌮 over 3 years ago
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
Posted by Randy Kardas over 2 years ago
AG26 / AG46P
Is there a way to get the battery status of these devices?
Posted by Matt Gibson almost 4 years ago
timestamp - api.samsara.com/v1/fleet/assets/locations
Hello! is there a parameter that can be used to retrieve only the most recent data (or filter by timestamp for example) when making a call to api.samsara.com/v1/fleet/assets/locations?
Posted by Erin Schan about 3 years ago