Operation API
Use the Operation API to save changes to several items of the same type in a single request. The following changes are allowed in an operation:
-
delete: Multiple items of the same type. Any item that supports the delete operation can be deleted using the Operation API.
-
Agent update: Update multiple agents.
URL
https://<server>/unifiedconfig/config/operationHTTP Method
Use HTTP POST to submit a request to the Operation API.
Parameters
-
operationType: Indicates if the items specified in the refURLs should be updated or deleted. Values are update/delete.
-
refURLs: A collection of refURL parameters indicating which items are included in the request. See Shared Parameters.
-
changeset: Includes the parameters that are changed in an update operation. See Agent Call API.
-
skillGroupsAdded
-
skillGroupsRemoved
-
attributesAdded
-
attributesRemoved
-
description
-
agentTeam
-
agentDeskSettings
-
agentServicesToEnable: Indicates the Contact Center AI services to be enabled for a set of agents.
-
agentService: The type of Contact Center AI service. Supported values are AgentAnswers, VAVTranscript, and Transcript.
-
-
agentServicesToDisable: Indicates the Contact Center AI service to be disabled for a set of agents.
-
agentService: The type of Contact Center AI service. Supported values are AgentAnswers, VAVTranscript, and Transcript.
-
-
Example Delete Request
Example Update Request
Response Parameters
-
status: Indicates the state of the operation.
-
success: The operation succeeded for all items.
-
partialSuccess: The operation succeeded for some items, but other items had errors.
-
failure: The operation failed for all items.
-
-
apiErrors: Errors indicate which items had errors and the cause of the error.
Example Success Response
The following example shows the response when the delete operation is successful:
Example Partial Success Message
The following example shows a partial success response for a request to delete several agents:
Example Failure Response
The following example shows a failure response for a request to delete a call type that does not exist:
Request Limit
Maximum 100 items are allowed in a request: