Get summation of Agent Time Entries
GET {{baseUrl}}/api/v1/agents/:agent_id/timeEntrySummation
This API fetches the sum of time entries associated with an agent.
OAuth Scope
Desk.settings.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
module | string | Module Preference. It can be either tickets tasks | |
departmentId | string | ID of the department | |
billStatus | string | Key that filters time entries, based on their billing status: nonBillable , billable or billed |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"totalMins":5,"totalHours":12,"totalCosts":1000,"totalSeconds":24}