Create TimeTrackSettings

POST {{baseUrl}}/api/v1/timeTrackSettings

This API adds a TimeTracking configuration to your helpdesk.

OAuth Scope

  • Desk.settings.CREATE

Attributes

Attribute NameData TypeDescription
isTimeTracking (required)<boolean>
Time tracking refers to the process of recording the time agents take to resolve tickets. This information can be recorded manually or automatically, based on your organization's requirement and preference. APIs related to this endpoint help you configure the settings for automated time tracking.
depId (required)<long>
ID of the department in which time tracking must be enabled or disabled.
isBillable<boolean>
Key that returns if the time tracked is billable or not.
billingType<String>
Type of billing configured. Values supported are FIXED_COST_FOR_TICKETS FIXED_COST_FOR_AGENTS SPECIFIC_COST_PER_AGENT and SPECIFIC_COST_PER_PROFILE
fixedCost<Double>
Cost fixed for either billing category - by ticket or by agent.
agents<list>
List of agents in the department
profiles<list>
List of user profiles defined in the department
timerAction<String>
Action that the active timers in the department must perform. Values supported are ADD and DISCARD
activityPreference<list>
Activity preference(s)
ticketPreference<list>
Ticket preference(s)

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;ticketPreference&quot;:{&quot;autoTrackAction&quot;:{&quot;fieldUpdate&quot;:true,&quot;onChatComplete&quot;:true,&quot;onRemoteAssist&quot;:true,&quot;commentActions&quot;:true,&quot;approvalActions&quot;:true,&quot;sendReply&quot;:true,&quot;manualDraft&quot;:true,&quot;resolutionActions&quot;:true,&quot;attachmentActions&quot;:true},&quot;isReviewTime&quot;:false,&quot;isAutoPause&quot;:true,&quot;isAutoTimer&quot;:true,&quot;isHideTimeTracking&quot;:false},&quot;billingType&quot;:&quot;SPECIFIC_COST_PER_AGENT&quot;,&quot;activityPreference&quot;:{&quot;isTasksEnabled&quot;:true,&quot;trackMode&quot;:&quot;CONSECUTIVE&quot;,&quot;isEventsEnabled&quot;:true,&quot;canAutoTrackCalls&quot;:true},&quot;fixedCost&quot;:&quot;1000&quot;,&quot;profiles&quot;:[{&quot;cost&quot;:&quot;100&quot;,&quot;id&quot;:&quot;1&quot;},{&quot;cost&quot;:&quot;200&quot;,&quot;id&quot;:&quot;2&quot;}],&quot;depId&quot;:&quot;1892000000006907&quot;,&quot;isTimeTracking&quot;:true,&quot;isBillable&quot;:true,&quot;agents&quot;:[{&quot;cost&quot;:&quot;100&quot;,&quot;id&quot;:&quot;1&quot;},{&quot;cost&quot;:&quot;200&quot;,&quot;id&quot;:&quot;2&quot;}]}