This is an old revision of the document!
agentgroupStatus(orgidentity,usertype,user, pwdtype,password,agent_group_id,agenttype)
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) |
| status | String | 获取相应状态的坐席列表(all,idle,busy,ring,pause,acw,login,logout),多个状态用逗号分割,如:idle,busy
* all 获取组内所有坐席的状态
* idle 获取组内空闲坐席
* busy 获取组内通话坐席
* ring 获取组内振铃坐席
* pause获取组内暂停坐席
* acw 获取组内话后坐席
* login获取组内签入坐席
* logout 获取组内签出坐席
|
|Return|code|Return|message
| Return | Description | |||
|---|---|---|---|---|
|Return|1|Return|message|Return|status | Retuen | 成功 | Retuen | |
message为每个坐席的当前状态,即 坐席工号:状态,坐席工号:状态,举例
| Retuen | 1 | Retuen |
</code>|
|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