agentgroupStatusCJI (orgidentity, usertype, user, pwdtype, password, agent_group_id, status, callbackFuc)
Agent Group admin could get the status of the agents in his group
| Params | Type | Description |
|---|---|---|
| orgidentity | String | The identity string of the team |
| usertype | String | agent / account |
| user | String | Agent No. or Username |
| pwdtype | String | Use plaintext or md5 password for agent or account |
| password | String | password |
| agent_group_id | String | id of the agent group |
| status | String | get agent list of specific agent status(all,idle,busy,ring,pause,acw,login,logout), use comma if you want more than one status, such as: idle,busy
* all
* idle
* busy
* ring
* pause
* acw
* login
* logout
|
| callbackFuc | String | callbackfunction |
{code:code,message:message}
| Return | Description |
|---|---|
{code:1,message:message}
| {code:succeed,message:message} Message is the current status of each agent ex:{code:1,message:1005: idle,1006:ring}
|
{code:2,message:message}
| {code:failed,message:message}
|