(Update with the copy of version: draft) |
(Modified comment string Category:V:PSAAS:Public with __NOINDEX__ Category:V:PSAAS:Public) |
||
Line 107: | Line 107: | ||
+ | __NOINDEX__ | ||
[[Category:V:PSAAS:Public]] | [[Category:V:PSAAS:Public]] |
Revision as of 11:52, October 2, 2020
Agent namespace
Important
This content may not be the latest Genesys Engage cloud content. To find the latest content, go to https://all.docs.genesys.com/PEC-Developer/Current/SCAPI.
Methods
The Agent namespace includes the following methods:
get
Signature | <static> get() → {agent.Agent} |
---|---|
Description | Gets the agent's attributes. |
Returns | agent.Agent |
getState
Signature | <static> getState() → {media.State} |
---|---|
Description | Gets the agent's state. |
Returns | media.State |
getStateList
Signature | <static> getStateList() → {Array.<media.State>} |
---|---|
Description | Gets the list of possible agent states. |
Returns | Array.<media.State> |
setState
Signature | <static> setState(stateOperationName) | ||||||
---|---|---|---|---|---|---|---|
Description | Sets the agent's state. | ||||||
Parameters |
|
Type Definitions
The agent namespace includes the following object types:
Agent
Description | Represents the JSON structure of the agent. | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type | Object | |||||||||||||||
Properties |
|
Comments or questions about this documentation? Contact us for support!