Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:custom_development_guide:apis:javascript:get_agent_group_status [2016/09/07 13:36] soloen:custom_development_guide:apis:javascript:get_agent_group_status [2018/12/29 05:54] (current) donnie
Line 2: Line 2:
  
   *Function:   *Function:
-<code>agentgroupStatusCJI (orgidentity, usertype, user, pwdtype, password, agent_group_id, agenttype, callbackFuc)</code>+<code>agentgroupStatusCJI (orgidentity, usertype, user, pwdtype, password, agent_group_id, status, callbackFuc)</code>
  
   *Description:   *Description:
Line 16: Line 16:
 |password|String|password| |password|String|password|
 |agent_group_id|String|id of the agent group| |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|<code>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 |status|String|<code>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     * all
Line 30: Line 29:
  
   *Return Format:   *Return Format:
-<code>{code:code,message:message,status:status}</code>+<code>{code:code,message:message}</code>
  
   *Type of the Return Value:JSON   *Type of the Return Value:JSON
Line 36: Line 35:
  
 ^Return ^Description ^ ^Return ^Description ^
-|<code>|Return|1|Return|message|Return|status</code>|<code>Succeeded||Messages||Status String</code>+|<code>{code:1,message:message}</code>|<code>{code:succeed,message:message} Message is the current status of each agent ex:{code:1,message:1005: idle,1006:ring}</code>
-|<code>|Return|2|Return|message</code>|<code>Failed||Messages</code>|+|<code>{code:2,message:message}</code>|<code>{code:failed,message:message}</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> 
en/custom_development_guide/apis/javascript/get_agent_group_status.1473255389.txt.gz · Last modified: (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki