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 }; } ```
ANSWERED

Asset / Driver Docs?

I just want to make sure this doesnt exist before I spend time building it. What I am looking for is a way for Drivers to access documents such as (DOT Cab Cards, Insurance Docs, etc.) from the Samsara App. Seems the documents fuction is really for the driver to add documents, such as a Fuel Receipt, scale ticket, BOL, etc. Is this correct or have I missed something?
ANSWERED

When a driver logs in and logs out to ELD

Hello. We are looking to pull driver worked hours for payroll purposes. We know how long a driver has worked for from the APIs available. We also see the flags of "driving", "onDuty", and "offDuty". But we do not see flags for login/logout, as that will be indicative of when a driver clocks in and out.
ANSWERED

Trailer - Vehicle Assignments

Hello, I'm trying to figure out links between Trailers and Vehicles via the API. I'm basing this off of the Route feed, so I have a list of Driver Ids and Vehicle Ids to work with. The only API I'm finding is for Trailer Assignments, which is based on Trailer Ids. I guess I could use it to match to the provided Driver Ids, but it would be pretty inefficient. Are there any other APIs that provide the link between Vehicles and Trailers?