This is an old revision of the document!
EVENT=AgentgroupStatus&orgidentity=orgidentity&usertype=usertype&user=user&pwdtype=pwdtype&password=password&agent_group_id=agent_group_id&agenttype=agenttype
Agent Group admin could get the status of the agents in his group
| Params | Type | Description |
|---|---|---|
| EVENT | String | AgentgroupStatus |
| 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) |
|Return|code|Return|message
| 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