ANSWERED

Get all driver-vehicle assignements not reliable ?

Hello, We're looking into the assignement endpoints and it looks like the Get all assignements one does not always show all assignements as it doesn'T show an assignement is a vehicle is idle instead of in movement. Is this true ? If so, is there anyway to have the endpoint show all current assignements, regardless of vehicle status ? Thank you
ANSWERED

Aligning GPS pings with Trip

if using API to pullover GPS pings and Trips, is there a way to associate the GPS pings with the corresponding trip?

Time on Site Report Does not Tie to Endpoints

We use the "Time of Site Report" that is available in the Reports section. I can seem to find the API endpoints that will tie the assets and time on site to this report. I have I thought it would be the Trip History endpoints, but the time is off. Any ideas on what endpoint to use to gather the Time of Site information?
ANSWERED

Total fuel used

Hello, is it possible to get the total fuel used so far and the fuel type of vehicle?
ANSWERED

Sign out a deactivated driver from vehicle

Hello, when deactivating a driver will he/she automatically be signed out from the assigned vehicle? If not, is there a way to change it with the API? Thank you in Advance, Viktoria

exporting to Oracle DB

Hello, <https://developers.samsara.com/docs/data-replication> does not mention Oracle DB. We have Oracle ERP and interested in putting Samsara data into a staging DB so we can call this data in the staging DB as needed. Does Samsara support exporting to Oracle relational DB, e.g. Autonomous? We are not interested in SQL or Snowflake.
ANSWERED

IFTA

How Samsara IFTA knows where do the driver fuel the bus and how many liters?

api's doesnt work with asp.net mvc 4.8

I'm currently using RestSharp in a C# web application with ASP.NET MVC 4.8. I've encountered an issue with the GET request – it doesn't seem to work as expected. Additionally, I'd like guidance on handling POST and PATCH requests. Only thing i get from the response is ErrorMessage = "An error occurred while sending the request." Interestingly, when I use the exact same code in either a console application or a Windows app, everything works seamlessly for both GET and PATCH operations. Could you please provide insights on how to address this issue and ensure smooth functionality in my web application?
ANSWERED

Developing custom FMCSA certified ELD integrated application

Hello everyone! My question is about developing a custom ELD integrated application. But I don't know how and where to start. It seems like when I buy an ELD device, the manufacturer provides an app too. Is it true, or I can develop my custom app using an ELD device such as PT30. Any information will be highly appreciated. Thank you!

Samsara Webhook Signature Not Verified

Hi - For some reason, I am unable to retrieve the expected signature when using webhooks. Here is the code input: ``` function(input) { const webhookSecret = input.secret; const secret = Buffer.from(webhookSecret, 'base64'); let message = `v1:${input.timestamp}:${JSON.stringify(input.body)}`; let hmac = crypto.createHmac('sha256', secret).update(message); let expectedSignature = hmac.digest('hex'); let expectedHeader = 'v1=' + expectedSignature; return { signature: expectedSignature, header: expectedHeader }; } ```