Allows you to retrieve the full log of past filter maintenances that have happened on booths that are in scope.
Query parameters
-
criteria to filter by
-
criteria to sort by
-
amount of results per page to return. Use -1 to get all results without pagination
-
page number
-
ISO8601 formatted datetime to include maintenances since
-
format in which to receive the data
Values are
csvorjson. -
ISO8601 formated datetime to include maintenances until
GET
/api/filters/maintenance_history
curl \
--request GET 'http://localhost:4000/api/filters/maintenance_history' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"data": [
{
"active_spray_time": 42.0,
"booth_in_use_time": 42.0,
"booth_overuse_cycles": 42.0,
"booth_overuse_time": 42.0,
"duration": 42.0,
"filter_type": "string",
"maintenance_date": "string",
"overuse": 42.0
}
]
}
Response examples (401)
{
"error": "Error Reason"
}