Community
Retrieving photos
How do I use a pre-signed S3 photos URL from webhook?
The photos URL are on the webhook response body but when I manually try to navigate using the link, I'm getting an "Access Denied" error.
Posted by JP over 2 years ago
Sensitivity of severe incidents
In part of "Security Settings" in the sensitivity of severe incidents, the unit of measure is a "G", does anyone know what it refers to?
PASSENGER: 0.43G
LIGHT DUTY: 0.33G
HEAVY DUTY: 0.29G
Posted by José Manuel Alvizo Rivera over 2 years ago
HOS Duplicate entries for same driver and same Event Time
Samsara team.
We are getting some duplicate entries for the new Driver HOS Logs BETA
(https://api.samsara.com/beta/fleet/hos/drivers/eld-events)
From time to time we get different EventCodes from the same driver and at the exact same EventTime.
Here is an example of the received JSON
{
"time": "2023-02-20T07:59:46.726Z",
"eldEventType": 3,
"eldEventCode": 2,
"eldEventRecordOrigin": 2,
"eldEventRecordStatus": 1,
"accumulatedVehicleMeters": 0,
"totalVehicleMeters": 211908185,
"elapsedEngineHours": 0.05,
"location": {
"latitude": 29.98909713,
"longitude": -95.299343009,
"city": "Humble",
"state": "TX",
"eldLocation": "2.3 mi WSW Humble, TX"
},
"vehicle": {
"id": "---",
"name": "---",
"externalIds": {
"samsara.serial": "---",
"samsara.vin": "---"
}
}
},
{
"time": "2023-02-20T07:59:46.726Z",
"eldEventType": 3,
"eldEventCode": 0,
"eldEventRecordOrigin": 2,
"eldEventRecordStatus": 1,
"accumulatedVehicleMeters": 0,
"totalVehicleMeters": 211908185,
"elapsedEngineHours": 0.05,
"location": {
"latitude": 29.98916745,
"longitude": -95.29901374,
"city": "Humble",
"state": "TX",
"eldLocation": "2.3 mi WSW Humble, TX"
},
"vehicle": {
"id": "---",
"name": "---",
"externalIds": {
"samsara.serial": "---",
"samsara.vin": "---"
}
}
}
As you can see both entries have the same Event time, they are both for the same driver and the same company.
Why do these cases happen?
How should we address them?
I really appreciate any help you can provide.
Jorge
Posted by Jorge Pastorini over 1 year ago
What is the endpoint to create "Deliveries"?
We read the API reference and, we did not find the endpoint to create deliveries which is different to routes and for that reason it is more functional to our operations...
Posted by Omar Trujillo over 2 years ago
Driver Shift Start Time and End Time
My company is looking to create a report that shows the start time and end time for every shift for a driver. Example for 2023-05-24, I want the timestamps when driver X started the shift and ended the shift. Please note, this shift could have started on the 23rd and ended on the 24th.
I have been struggling to get this report for sometime and would appreciate some feedback.
Posted by Rachit Arora over 1 year ago
Is there a straightforward way to seed asset data for testing purposes?
I'm struggling testing things like data load and pagination because I can't really add test data onto my Samsara account (vehicles require a valid gateway).
I wish there was a way to deal with that, alternatively perhaps a Sandbox environment where these things could be done?
Posted by Edward Leoni over 2 years ago
Which API returns the vehicle's current fuel level?
I want to get vehicle's current fuel level(fuel tank), but I cannot find it.
Posted by Iris over 1 year ago
Maintanence Status Data Api
hi,
I am wondering is there any API which gives all the data of maintenance section i:e asset,make/model,oddometer,faults etc.
I read the docs but unfortunately did not find one API. I am Using these Two API :
1) https://api.samsara.com/fleet/dvirs/history?startTime=${priorDate}&endTime=${endTime}
for driver odometer and history
2) https://api.samsara.com/fleet/vehicles/stats/feed?types=faultCodes
for fault but i have to merge these two API according to id of vechicle . and data is too big.
I am using node js.
Thanks .
I have read these Also
https://kb.samsara.com/hc/en-us/articles/360042885132-Maintenance-Status
Posted by Zeeshan Shabbir about 2 years ago
How i may to send the author type?
in https://api.samsara.com/fleet/defects/id where i want to update a defect is responding me with a error,
it say: ""message":"Author type must be \\"mechanic\\""" but in the docs there dont say how i need to declarate it
Posted by Santiago Contreras almost 3 years ago
Query on app publishing
After successfully signing in to the developer portal, I proceeded to the "Apps" menu and proceeded to create a beta app by providing all the required information as outlined in the documentation. However, despite following the instructions carefully, I am encountering an issue where I am unable to see any information in the "Organizations" menu. I would greatly appreciate any assistance in resolving this matter.
Furthermore, I have a few additional queries:
1. How can I gain access to a non-production test organization for the purpose of testing draft or beta apps?
2. Could you please guide me through the process of uploading an APK file when publishing or creating apps?
3. What are the steps involved in providing access to Android and iOS apps for our customers?
Posted by Manjunath about 1 year ago