List all tasks count
GET {{baseUrl}}/api/v1/tasks/count?viewId=<long> &departmentId=<long>
This API returns the number of tasks in your help desk.
OAuth Scope
Desk.tasks.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
viewId | string | ID of the view to apply while fetching the resources | |
departmentId | string | ID of the department from which the task count must be fetched | |
assignee | string | Key that filters tasks by assignee. A valid assigneeId must be passed for this parameter. Multiple assigneeIds can be passed as comma-separated values. | |
dueDate | string | Filter by task duedate. Values allowed are Overdue , Tomorrow , CurrentWeek , CurrentMonth and Today . You can include both values by separating them with a comma |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"count":"10"}