v1

latestOpenAPI 3.0.12026-07-245752052.0 MB
todoWorkers

Get counts of workers with tasks in different statuses

get/api/servicetodo/processes/workers/metrics/count

Query parameters

locationUuidsstring[]
jobUuidstring uuid
assignedUserUuidsstring[]

Empty = all assignees; non-empty = internal tasks assigned to any of these employer UUIDs

taskTypesstring[]

Empty = all task types; non-empty = only tasks whose virtualTask.taskType is in this list

Response

Returns counts of workers grouped by task statuses

Example response

{
  "meta": {
    "timestamp": "2021-05-05T09:47:58.924Z",
    "verb": "GET",
    "path": "/api/structure/resources/5949cf7c-fec6-4b31-947c-3aceabff58c5",
    "jti": "%cQN3RIGp",
    "rid": "$2d2zkHZ5",
    "count": 1,
    "status": "200",
    "duration": 17,
    "size": 1234
  }
}