API Version: 2020-06-15
A new API version was released on 2020-06-15
. Changes:
Document Name
Documents now contain a custom name
field. This is a name that a driver can provide when creating a document through the Driver App.
Document PDF Downloads
We’re excited to announce a new Documents feature for downloading PDFs through the API!
Multiple Stat Types in /fleet/vehicles/stats
The GET /fleet/vehicles/stats endpoint now accepts up to three stat types. See the Vehicle Stats guide for an example.
ELD Settings and Rulesets
This feature has been temporarily rolled back due to a bug. The feature will be re-released once the bug has been fixed.
Tachograph Files API
Tachograph files are now available via:
Diagnostic Trouble Codes
Diagnostic Trouble Codes, also known as vehicle fault codes, are available via the Vehicle Stats endpoints. These codes are available for all three vehicle stats endpoints: historical querying, feed-follow, and most recent events. See the Vehicles Stats guide for more details.
New PATCH endpoint available for Tags
We've released PATCH /tags/{id} which allows you to update a tag using PATCH semantics.
Mechanic Notes in DVIR Defects
DVIR defects now support a mechanic notes field and timestamp on when the notes were updated. This supports use cases where DVIR defects need to be updated with notes while being worked on. Reading and writing mechanic notes is supported through both the Samsara dashboard and the defects APIs.
New Duty Status Endpoint
We've released POST /v1/fleet/drivers/{driver_id}/duty_status which allows you to set driver duty status.