Driver-Trailer Assignments

Update an existing driver-trailer assignment.

Update an existing driver-trailer assignment.

<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).

To use this endpoint, select Write Assignments under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

patch/driver-trailer-assignments

Request

  • Base URL
    https://api.samsara.com
  • Auth
    HTTP bearer

Query parameters

idstring required

Samsara ID for the assignment.

Request body

endTimestring required

The end time in RFC 3339 format. The end time should not be in the future

Example request

{
  "endTime": "2019-06-13T19:08:25Z"
}

Response

OK response.

Example response

{
  "data": {
    "createdAtTime": "2019-06-13T19:08:25Z",
    "driverId": "0987",
    "endTime": "2019-06-13T19:08:25Z",
    "id": "08b3aeada5f4ab3010c0b4efa28d2d1890dbf8d48d2d6",
    "startTime": "2019-06-13T19:08:25Z",
    "trailerId": "494123",
    "updatedAtTime": "2019-06-13T19:08:25Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.