This is an old revision of the document!
agentgroupStatusCJI (orgidentity, usertype, user, pwdtype, password, agent_group_id, agenttype, 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 |
| agenttype | String | login(only check agents who is login) / all (all agents in the agent group) |
| callbackFuc | String | callbackfunction |
{code:code,message:message,status:status}
Type of the Return Value:JSON
| Return | Description |
|---|---|
|Return|1|Return|message|Return|status | Succeeded||Messages||Status String |
|Return|2|Return|message | Failed||Messages |
Status String contains the status of one or several agents, each status will end with || for one agent: agent no,agent id,status|| for several agents: agentno1-agentid1,status1||agentno2-agentid2,status2||…..agentnoN-agentidN,statusN|| Status: idle, ringing, busy, in use(agent have hangup, but the conversation is not, like caller is talking to a consult, but agent is free to make call), pause,logout agentno1-agentid1,status1||agentno2-agentid2,status2||…..agentnoN-agentidN,statusN||