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 Name | Data Type | Description |
---|---|---|
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
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"assignBacklog":true,"assignToOfflineAgents":true,"thresholdLimit":"40","backLogLimit":"22","isThresholdEnabled":true,"departmentId":"1000000013248","assignBacklogsBy":"DUEDATE","freshTicketAssignMode":"IMMEDIATE"}