{
"opencollection": "1.0.0",
"info": {
"name": "Samsara Dvirs API",
"version": "2024-11-18"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Dvirs",
"type": "folder"
},
"items": [
{
"info": {
"name": "Create a Mechanic DVIR",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.samsara.com/fleet/dvirs",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Creates a new mechanic DVIR in the organization. \n\n **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.\n\nTo use this endpoint, select **Write DVIRs** under the Maintenance category when crea"
},
{
"info": {
"name": "Get All DVIRs",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.samsara.com/fleet/dvirs/history",
"params": [
{
"name": "limit",
"value": "",
"type": "query",
"description": "The limit for how many objects will be in the response. Default and max for this value is 512 objects."
},
{
"name": "after",
"value": "",
"type": "query",
"description": "If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results."
},
{
"name": "parentTagIds",
"value": "",
"type": "query",
"description": "A filter on the data based on this comma-separated list of parent tag IDs, for use by orgs with tag hierarchies. Specifying a parent tag will implicitly include all descendent tags of the parent tag. Example: `parentTagIds=345,678`"
},
{
"name": "tagIds",
"value": "",
"type": "query",
"description": "A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`"
},
{
"name": "startTime",
"value": "",
"type": "query",
"description": "A start time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00)."
},
{
"name": "endTime",
"value": "",
"type": "query",
"description": "An end time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00)."
}
]
},
"docs": "Returns a list of all DVIRs in an organization. \n\n **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.\n\nTo use this endpoint, select **Read DVIRs** under the Maintenance category when creati"
},
{
"info": {
"name": "Resolve a DVIR",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "https://api.samsara.com/fleet/dvirs/:id",
"params": [
{
"name": "id",
"value": "",
"type": "path",
"description": "ID of the DVIR."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Resolves a given DVIR by marking its `isResolved` field to `true`. \n\n **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.\n\nTo use this endpoint, select **Write DVIRs** under the Maintenance "
}
]
}
],
"bundled": true
}