Get the historic log of filter maintenances for all booths in scope.
Allows you to retrieve the full log of past filter maintenances that have happened on booths that are in scope.
Query parameters
-
filter
string criteria to filter by
-
sort
string criteria to sort by
-
limit
string amount of results per page to return
-
page
string page number
-
start
string ISO8601 formatted datetime to include maintenances since
-
format
string format in which to receive the data
Values are
csv
orjson
. -
end
string 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"
}
Response examples (401)
{
"error": "Error Reason"
}