This is an old revision of the document!


Agents Group Stauts

  • Function:

agentgroupStatusCJI (orgidentity, usertype, user, pwdtype, password, agent_group_id, agenttype, callbackFuc)

  • Description:

Agent Group admin could get the status of the agents in his group

  • Parameters:
Params Type Description
orgidentityStringThe identity string of the team
usertypeStringagent / account
userStringAgent No. or Username
pwdtype StringUse plaintext or md5 password for agent or account
passwordStringpassword
agent_group_idStringid of the agent group
agenttypeStringlogin(only check agents who is login) / all (all agents in the agent group)
statusString
get agent list of specific agent status(all,idle,busy,ring,pause,acw,login,logout), use comma if you want more than one status, such as: idle,busy
    * all
    * idle
    * busy
    * ring
    * pause
    * acw
    * login
    * logout
callbackFucStringcallbackfunction
  • Return Format:

{code:code,message:message,status:status}

  • Type of the Return Value:JSON
  • Return Values:
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||

en/custom_development_guide/apis/javascript/get_agent_group_status.1513047940.txt.gz · Last modified: (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki