Agents
JSON Representation
"id": "20304714-df17-43c7-a569-d322724f17fd",
"paused": false,
"state": "NOT_INUSE",
"name": "Michael Y",
"dynamic": true
}
Property | Type | Description |
---|---|---|
id | String | The id of the agent. |
paused | Boolean | Specifies if the agent is paused. |
state | String | The state of the agent. |
name | String | The display name of the agent. |
dynamic | Boolean | Specifies if the agent login is dynamic or not. |
Root Resource Paths
Paths used to access sets of the resource, in relation to parent resources.
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/queues/[{queue_id} | getByName/{queue_identifier}]/agents | |
---|---|
Description | Provides access to all agents that are currently logged into the specified queue. Parameters:
Errors:
|
GET | Gets all agents logged into a specified queue. |
| |
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/[{extensions_id} | getByName/{extension_number}]/agents | |
Description | Provides access to all agents the specified extension relates to, across all queues. Parameters:
Errors:
|
GET | Gets all the agents the specified extension relates to, across all queues. |
Instance Resource Paths
Paths used to access a specific instance of the resource.
{root_resource_path}/{agent_id} | |
---|---|
Description | Provides access to a specific agent, by agent id. Parameters:
Errors:
|
GET | Gets the specified agent. |
Sub Resource Paths
Paths used to access the child resources of this resource.
{instance_resource_path}/extension | |
---|---|
Description | Provides access to the extension the specified agent is related to. See Extensions. Parameters:
Errors:
|
GET | Gets all the extension the agent is related to. |
|
|
{instance_resource_path}/statistics | |
Description | Provides access to the statistics of the specified agent. See Statistics. Parameters:
Errors:
|
GET | Gets the statistics of the specified agent. |
Action Paths
Actions that can be performed on this resource.
{instance_resource_path}/logout | |||||||
---|---|---|---|---|---|---|---|
Description | Logs the specified agent out of its queue. Parameters:
Errors:
| ||||||
POST | Logs the specified agent out of its queue. | ||||||
| |||||||
{instance_resource_path}/pause | |||||||
Description | Pauses the specified agent. Parameters:
Errors:
| ||||||
POST | Pauses the specified agent. | ||||||
| |||||||
{instance_resource_path}/unpause | |||||||
Description | Unpauses the specified agent. Parameters:
Errors:
| ||||||
POST | Unpauses the specified agent. | ||||||
| |||||||
{instance_resource_path}/setPenalty | |||||||
Description | Sets the penalty value of the specified agent. Parameters:
Errors:
| ||||||
JSON | { "penalty": 5 } Properties:
| ||||||
POST | Sets the penalty value of the specified agent. |