Skip to main content
POST
Task Count by Categories
Returns task counts grouped by category (service type), sorted by count descending. Tasks with no category are grouped under No Category. Filters are optional and supplied at the top level; an empty body ({}) returns all categories. Requires the CAN_VIEW_REPORTING permission (inherited from the key’s default user).

Authorizations

x-client-key
string
header
required
x-client-secret
string
header
required

Body

application/json
fromDate
string<date-time>
toDate
string<date-time>
taskStatuses
string[]
locations
string<uuid>[]
priorities
string[]
categories
string<uuid>[]

Category (ServiceType) UUIDs to include.

Response

Task counts by category retrieved successfully.