Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:custom_development_guide:apis:webservice:get_single_agent_stat_in_one_group_of_the_day [2017/12/12 03:05]
127.0.0.1 external edit
en:custom_development_guide:apis:webservice:get_single_agent_stat_in_one_group_of_the_day [2019/01/03 08:06] (current)
donnie
Line 2: Line 2:
  
   * Function:   * Function:
-<​code>​agentStatisticDayCJI(orgidentity,​usertype,​user,​pwdtype,​password,​agent_group_id,​callbackFuc)+<​code>​agentStatisticDay(orgidentity,​usertype,​user,​pwdtype,​password,​agent_group_id)
 </​code>​ </​code>​
   * Description:​   * Description:​
Line 9: Line 9:
  
 ^ Params ​     ^ Type       ^ Description ​         ^ ^ Params ​     ^ Type       ^ Description ​         ^
-|EVENT|String|Get agent stat in specific agent group: AgentStatisticDay| 
 |orgidentity|String|team identity string| |orgidentity|String|team identity string|
 |usertype|String|agent/​ account| |usertype|String|agent/​ account|
Line 16: Line 15:
 |password|String|password| |password|String|password|
 |agent_group_id|String|agent group id, use comma to connect if you have more than one group. 0 means all groups| |agent_group_id|String|agent group id, use comma to connect if you have more than one group. 0 means all groups|
-|callbackFuc|String|callback function| 
  
   * Return Values: JSON   * Return Values: JSON
 +
 Failed: {"​code":​2,"​message":"​BackMsg_01"​} Failed: {"​code":​2,"​message":"​BackMsg_01"​}
-Succeed: {"​code":​1,"​message":​{"​1":​{"​agent_status":"​idle","​total_call_duration":"​00:​00:​00","​in_bound_call_answered":"​0","​out_bound_call_answered":"​0","​total_calls":​6,"​waiting_calls":​0},"​2":​{"​agent_status":"​logout","​total_call_duration":"​00:​00:​00","​in_bound_call_answered":"​0","​out_bound_call_answered":"​0","​total_calls":​0,"​waiting_calls":​0},"​4":​{"​agent_status":"​logout","​total_call_duration":"​00:​00:​00","​in_bound_call_answered":"​0","​out_bound_call_answered":"​0","​total_calls":​0,"​waiting_calls":​0}}}+ 
 +Succeed:​{"​code":​1,"​message":​{"​1":​{"​agent_status":"​idle","​total_call_duration":"​00:​00:​00","​in_bound_call_answered":"​0","​out_bound_call_answered":"​0","​total_calls":​6,"​waiting_calls":​0},"​2":​{"​agent_status":"​logout","​total_call_duration":"​00:​00:​00","​in_bound_call_answered":"​0","​out_bound_call_answered":"​0","​total_calls":​0,"​waiting_calls":​0},"​4":​{"​agent_status":"​logout","​total_call_duration":"​00:​00:​00","​in_bound_call_answered":"​0","​out_bound_call_answered":"​0","​total_calls":​0,"​waiting_calls":​0}}}
 <​note>​first value in message is agent group id, agent_group_id</​note>​ <​note>​first value in message is agent group id, agent_group_id</​note>​
  
en/custom_development_guide/apis/webservice/get_single_agent_stat_in_one_group_of_the_day.txt · Last modified: 2019/01/03 08:06 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki