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

KeyDatatypeRequiredDescription
modulestringModule Preference. It can be either tickets tasks
departmentIdstringID of the department
billStatusstringKey that filters time entries, based on their billing status: nonBillable , billable or billed

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"totalMins":5,"totalHours":12,"totalCosts":1000,"totalSeconds":24}