Update Routing Preferences

PATCH {{baseUrl}}/api/v1/routingPreferences

This API is used to Update the Routing Preferences for a Department

OAuth Scope

  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription
departmentId<long>
department Id
isThresholdEnabled<boolean>
Used to enable/disable ticket threshold for Round Robin
thresholdLimit<integer>
range : 1-200
Threshold Per Agent, Range 1-200,thresholdEnabled has to be True to Update this limit
assignBacklog<boolean>
Will bulk-assign tickets that were created when agents were unavailable.
backLogLimit<integer>
range : 1-50
Max. number of backlog tickets that can be bulk-assigned to an agent. Range 1-50
assignBacklogsBy<String>
Assign Backlogs Based on Due Date or Created Time, Allowed values DUEDATE and CREATEDTIME
assignToOfflineAgents<boolean>
Will include mail-channel offline agents also while assigning tickets.
freshTicketAssignMode<String>
Fresh Ticket Assignment Mode, allowed values are IMMEDIATE,MOVE_TO_BACKLOG

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;assignBacklog&quot;:true,&quot;assignToOfflineAgents&quot;:true,&quot;thresholdLimit&quot;:&quot;40&quot;,&quot;backLogLimit&quot;:&quot;22&quot;,&quot;isThresholdEnabled&quot;:true,&quot;departmentId&quot;:&quot;1000000013248&quot;,&quot;assignBacklogsBy&quot;:&quot;DUEDATE&quot;,&quot;freshTicketAssignMode&quot;:&quot;IMMEDIATE&quot;}