POST/desk/api/v2/tickets/taskCounts.json
Get the count of tickets associated with each task.
Body Params
TaskTicketCountsReq is the request body for getting ticket counts per task
- Name
taskIds- Type
- array
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
TaskTicketCountsRes is the response body for getting ticket counts per task
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.
200 OK
TaskTicketCountsRes
{
"taskCounts": [
{
"taskId": 0,
"ticketCount": 0
}
]
}