The post duty status API enables the setting of a user’s duty status to On Duty or Off Duty.
FMCSA Compliance Note
To ensure compliance with the ELD Mandate, only authenticated users may change their duty status and changing duty status must be triggered by a driver's action and not done through scheduled or automatic means. Fleets and carriers are ultimately responsible for maintaining accurate ELD logs and for ensuring that the use of this endpoint is compliant with FMCSA requirements.
400 Failure Descriptions
If a request to insert a duty status fails, one of the following failure messages will be sent back in the HTTP response.
Failure Descriptions |
---|
Insert <On, Off> duty status failed. externalUserId
|
Insert <On, Off> duty status failed. externalUserId
|
Insert <On, Off> duty status failed. externalVehicleId
|
Insert <On, Off> duty status failed. Requested datetime |
Insert <On, Off> duty status failed. Requested datetime |
Insert duty status failed. Event type, |
Insert <On, Off> duty status failed. Driver has already certified log related to |
Insert <On, Off> duty status failed. Driver in drive, PC or YM at the requested insertion time, |
Insert <On, Off> duty status failed. Invalid JSON. |
Insert <On, Off> duty status failed. Other system error. |