Differences

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

Link to this comparison view

Next revision
Previous revision
en:custom_development_guide:apis:webservice:get_agent_stat_in_team [2016/09/12 07:35] – created liuxlen:custom_development_guide:apis:webservice:get_agent_stat_in_team [2019/01/03 08:16] (current) donnie
Line 1: Line 1:
-====== Get single agent stat ======+====== Get the status of all agent in team ======
  
   * Function:   * Function:
-<code>agentRealtimeCJI (orgidentity,usertype,user,pwdtype,password,callbackFuc)+<code>teamStatus(orgidentity, usertype, user, pwdtype, password, status)
 </code> </code>
   * Description:   * Description:
Line 14: Line 14:
 |pwdtype|String|password type: plaintext/md5| |pwdtype|String|password type: plaintext/md5|
 |password|String|password| |password|String|password|
-|callbackFuc|String|callback function| +|status|String|<code>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 
 +    * idle  get the idle agent 
 +    * busy  get the call agent 
 +    * ring  get the ring agent 
 +    * pause  get the pause agent 
 +    * acw  get the acw agent 
 +    * login  get the login agent 
 +    * logout  get the logout agent 
 +</code>|
  
  
Line 21: Line 29:
  
 <code> <code>
-{code:code,message:message}+|Retuen|code|Retuen|message
 </code> </code>
  
-  * Type of the Return Value:JSON+  * Type of the Return Value:String
   * Return Values:   * Return Values:
  
 ^ Value      ^ Description       ^ ^ Value      ^ Description       ^
-|<code>{code:1,message:message}</code>|<code>{code:succeed,message:message}+|<code>|Retuen|1|Retuen|message</code>|<code>|Retuen|succeed|Retuen|message
 message is current agent stat:  message is current agent stat: 
-agent name|agent No.|current status|status last duration|busy times|paused times|off times|meeting times|training times|break times|other times|busy duration|paused duration|off duration|meeting duration|training duration|break duration|other duration, ex: +agent No.:current status,agent No.:current status  ex:  
-{code:1,message:Joe|8005|busy|85|7|1|1|2|1|1|1|120|10|20|60|10|10|10} +|Retuen|1|Retuen|1005: idle,1006:ring</code>
-If you didn't see agent name, means last name of the agent is empty +|<code>|Retuen|2|Retuen|message</code> |<code>|Retuen|failed|Retuen|message</code>|
-agent state includes: idle, pause, ring, busy, acw, logout. +
-all duration is seconds +
-</code>+
-|<code>{code:2,message:message}</code> |<code>{code:failed,message:message}</code>|+
  
en/custom_development_guide/apis/webservice/get_agent_stat_in_team.1473665735.txt.gz · Last modified: (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki