{
  "opencollection": "1.0.0",
  "info": {
    "name": "Samsara Trailer  Assignments API",
    "version": "2024-11-18"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Trailer  Assignments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Trailer Assignments for All Trailers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.samsara.com/v1/fleet/trailers/assignments",
            "params": [
              {
                "name": "startMs",
                "value": "",
                "type": "query",
                "description": "Timestamp in Unix epoch miliseconds representing the start of the period to fetch. Omitting both startMs and endMs only returns current assignments."
              },
              {
                "name": "endMs",
                "value": "",
                "type": "query",
                "description": "Timestamp in Unix epoch miliseconds representing the end of the period to fetch. Omitting endMs sets endMs as the current time"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Pagination parameter indicating the number of results to return in this request. Used in conjunction with either 'startingAfter' or 'endingBefore'."
              },
              {
                "name": "startingAfter",
                "value": "",
                "type": "query",
                "description": "Pagination parameter indicating the cursor position to continue returning results after. Used in conjunction with the 'limit' parameter. Mutually exclusive with 'endingBefore' parameter."
              },
              {
                "name": "endingBefore",
                "value": "",
                "type": "query",
                "description": "Pagination parameter indicating the cursor position to return results before. Used in conjunction with the 'limit' parameter. Mutually exclusive with 'startingAfter' parameter."
              }
            ]
          },
          "docs": "<n class=\"warning\">\n<nh>\n<i class=\"fa fa-exclamation-circle\"></i>\nThis endpoint is still on our legacy API.\n</nh>\n</n>\n\nFetch trailer assignment data for all trailers in your organization. \n\n <b>Rate limit:</b> 100 requests/sec (learn more about rate limits <a href=\"https://developers.samsara.com/docs/rate-limits\" target=\"_blank\">here</a>). \n\n **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href=\"https://forms.gle/zkD4NCH7HjKb7mm69\" target=\"_b"
        }
      ]
    }
  ],
  "bundled": true
}