====== Agents Group Stauts ======
*Function:
agentgroupStatus(orgidentity, usertype, user, pwdtype, password, agent_group_id,status)
*Description:
Agent Group admin could get the status of the agents in his group
*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|
|status|String|Get a list of agent in the corresponding state(all,idle,busy,ring,pause,acw,login,logout),Multiple states are separated by commas,ex:idle,busy
* all get the status of all agent in group
* idle get the idle agent in group
* busy get the call agent in group
* ring get the ring agent in group
* pause get the pause agent in group
* acw get the acw agent in group
* login get the login agent in group
* logout get the logout agent in group
|
*Return Format:
|Retuen|code|Retuen|message
*Type of the Return Value: String
*Return Values:
^Return ^Description ^
||Retuen|1|Retuen|message||Retuen|succeed|Retuen|message
Message is the current status of each agent ex:
|Retuen|1|Retuen|1005: idle,1006:ring|
||Return|2|Return|message|Failed||Messages|