Modify an existing queue

Overview

Use this API to modify an existing queue. This API allows the logged in user to modify only one queue at a time. For this API to execute successfully:

  • A queue with the ID specified in the request body must exist.
  • If the queue is marked as inactive, it must not be configured in any chat entry points.
  • At least one of the optional attributes must be provided.

Permissions

All of the following are required:

  • If logged in user is a department user:
    • User must have 'Edit' permission on the queue being modified.
  • If logged in user is a global user:
    • User must have 'Administer' permission on the department of the queue being modified.
    • User must have 'Manage partition resources' privilege.
SecurityoAuthUser or oAuthClient
Request
header Parameters
Accept-Language
required
string
Default: en-US

Language locale accepted by client (used for locale specific fields in resource representation and in error responses).

Enum: "en-US" "es-ES" "fr-FR" "it-IT" "de-DE" "nl-NL" "pt-BR" "pt-PT" "da-DK" "ru-RU" "fr-CA" "zh-CN" "ja-JP" "ko-KR" "sv-SE"
Request Body schema: application/json

Elements required in request body

The request body is mandatory. Request body can be in either XML or JSON format.

Name Description
id ID of the queue.
lastModified Value of last modified date of the queue.

Optional elements allowed in request body

Name Description
name Name of the queue to be created. Queue name must be unique in the department.
description Description of the queue.
active Attribute to indicate whether the queue is active or not.
bookmarks List of articles to be bookmarked for the queue. The number of bookmark articles must not be more than 75. Each of the article must belong to the same department as the queue. None of the articles must be a personalized article. None of the articles must be global bookmarks.
channels Channel specific configuration attributes. Please refer to the below section for individual channel specific attributes. These attributes are available for the following channels: chat, email, social
externalId A unique external ID for the queue.
customAttributes Custom attributes for the queue. Name must match one of the custom attributes configured in application. If the custom attribute is configured as an enumeration, the value must be one of the predefined values.

Note: To remove value of any element of type "String", "integer" or "dateTime", set the value to an empty string (instead of setting the value to null).

Channel specific attributes

Chat attributes

Name Description
routing.type.value Value indicating how routing happens. Must be "load_balanced" or "none". One of routing.condition.users or routing.condition.groups must be provided if the value provided for routing.type.value is "load_balanced", and existing value is "none".
routing.condition.value The condition in which routing should happen. This must be "when_available". This must be provided when the value provided for routing.type.value is "load_balanced". This must not be provided when the value provided for routing.type.value is "none"
routing.condition.users Users to whom the chat activities have to be routed to. The users must belong to the department of the queue. This can be provided only when the value provided for routing.type.value is "load_balanced". This must not be provided when the value provided for routing.type.value is "none".
routing.condition.groups Groups to which the chat activities have to be routed to. This can be provided only when the value provided for routing.type.value is "load_balanced". This must not be provided when the value provided for routing.type.value is "none".
default Indicates whether this is the default chat queue for the department. Must be true. Since one of the queues must be default queue for chats, the provided value cannot be false.
priority.value Priority of the queue.
maxQueueDepth Maximum chat queue depth.
quickLinks Quick link articles for the queue. The number of quick link articles must not be more than 75. All these articles must be quick link articles in the department of the queue. None of them must be a personalized article.
quickResponses Quick response articles for the queue. The number of quick response articles must not be more than 150. All these articles must be quick responses in the department of the queue. None of them must be a personalized article.
alternativeEngagement.enabled Attribute to indicate whether alternative engagement is enabled.
alternativeEngagement.waitTime Time to wait before alternative engagement can be displayed. This must be provided when alternativeEngagement is enabled. This must not be provided when alternativeEngagement is disabled.
attachments.enabledForAgent Attribute to indicate whether attachments can be used by agents.
attachments.enabledForCustomer Attribute to indicate whether attachments can be used by customers.
extendedCustomerSessionTimeoutValue Timeout value in minutes, for customers who have initated chat on this queue.

Email attributes

Name Description
routing.type.value Value indicating how routing happens. Must be "load_balanced", "round_robin" or "none". One of routing.condition.users or routing.condition.groups must be provided if the value provided for routing.type.value is "load_balanced" or "round_robin", and existing value is "none".
routing.condition.value The condition in which routing should happen. This can be "when_available" or "always". This must be provided when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none".
routing.condition.users Users to whom the email activities have to be routed to. The users must belong to the department of the queue. This can be provided only when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none".
routing.condition.groups Groups to which the email activities have to be routed to.\tThis can be provided only when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none".
articles.header Article to be used as header for emails in this queue. Must be a header article in the department of the queue. Must not be a personalized article.
articles.footer Article to be used as footer for emails in this queue. Must be a footer article in the department of the queue. Must not be a personalized article.
articles.greeting Article to be used as greeting for emails in this queue. Must be a greeting article in the department of the queue. Must not be a personalized article.
articles.signature Article to be used as signature for emails in this queue. Must be a signature article in the department of the queue. Must not be a personalized article.
includeOriginalMessageInReply Attribute to indicate whether to include original message in reponses or not. If not provided, original message are included in the response.

Social attributes

Name Description
routing.type.value Value indicating how routing happens. Must be "load_balanced", "round_robin" or "none". One of routing.condition.users or routing.condition.groups must be provided if the value provided for routing.type.value is "load_balanced" or "round_robin", and existing value is "none".
routing.condition.value The condition in which routing should happen. This can be "when_available" or "always". This must be provided when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none".
routing.condition.users Users to whom the social activities have to be routed to. The users must belong to the department of the queue. This can be provided only when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none".
routing.condition.groups Groups to which the social activities have to be routed to. This can be provided only when the value provided for routing.type.value is "load_balanced" or "round_robin". This must not be provided when the value provided for routing.type.value is "none".
name
string (name) [ 1 .. 124 ] characters

Name of queue

description
string (description) <= 124 characters

Queue description

object (department)

Department details of the queue

active
boolean (active)

Indicates whether the queue is active

exceptionQueue
boolean (exceptionQueue)

Indicates whether the queue is the exception queue

lastModified
required
string <date-time> (lastModified)

Last modified date of the queue.

object (bookmarks)

Bookmarks of the queue.

object (channels)

Has channel specific information.

externalId
string (externalId) <= 255 characters

A unique external ID for the queue. This can be used to integrate with external systems.

object (customAttributes)

This contains the custom attributes of the queue.

deleted
boolean (deleted)
id
required
string (id)

ID of the queue

Responses
204

No content

400

Bad Request

401

Unauthorized

403

Forbidden

406

Not Acceptable

409

Conflict

500

Internal server error

patch/queue
Request samples
application/json
  • Editing a single attribute of the queue.
  • /core/workassignmentmgr/v3/queue
{
  • "id": "1057",
  • "lastModified": "2022-04-01T19:55:47.000Z",
  • "description": "Insurance Queue"
}
Response samples
application/json
{
  • "code": "400-101",
  • "developerMessage": "Unsupported query parameter(s) supplied: '<query_parameter>'."
}