This is an old revision of the document!
====== Agents Group Stauts ====== *Function: <code>agentgroupStatusCJI (orgidentity, usertype, user, pwdtype, password, agent_group_id, agenttype, callbackFuc)</code> *Description: <code>Agent Group admin could get the status of the agents in his group</code> *Parameters: ^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| *Return Format: <code>{code:code,message:message,status:status} Type of the Return Value:JSON</code> *Return Values: ^Return ^Description ^ |<code>|Return|1|Return|message|Return|status</code>|<code>Succeeded||Messages||Status String</code>| |<code>|Return|2|Return|message</code>|<code>Failed||Messages</code>| <code>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||</code>