这里会显示出您选择的修订版和当前版本之间的差别。
| 后一修订版 | 前一修订版 | ||
|
zh:二次开发者指南:接口开发手册_v2.0:http接口:获取单一坐席当日在坐席组中的统计数据 [2017/12/12 03:05] 127.0.0.1 外部编辑 |
zh:二次开发者指南:接口开发手册_v2.0:http接口:获取单一坐席当日在坐席组中的统计数据 [2019/01/02 05:26] (当前版本) donnie |
||
|---|---|---|---|
| 行 2: | 行 2: | ||
| * 接口原型: | * 接口原型: | ||
| - | <code>agentStatisticDay(orgidentity,usertype,user,pwdtype,password,agent_group_id)</code> | + | <code>EVENT=AgentStatisticDay&orgidentity=orgidentity&usertype=usertype&user=user&pwdtype=pwdtype&password=password&agent_group_id=agent_group_id</code> |
| * 作用说明: | * 作用说明: | ||
| 获取某个坐席当天在某坐席组里的统计数据(当前状态,通话总时长,呼入接通次数,呼出接通次数,总话务量,当前坐席组内排队客户数); | 获取某个坐席当天在某坐席组里的统计数据(当前状态,通话总时长,呼入接通次数,呼出接通次数,总话务量,当前坐席组内排队客户数); | ||
| 行 19: | 行 19: | ||
| 返回值类型:JSON格式的字符串 | 返回值类型:JSON格式的字符串 | ||
| 若失败,格式举例 {"code":2,"message":"BackMsg_01"} | 若失败,格式举例 {"code":2,"message":"BackMsg_01"} | ||
| + | |||
| 若成功,格式举例 {"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}}} | 若成功,格式举例 {"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>message中第一个数据为坐席组ID,即agent_group_id,取值时应为json[message][坐席组id][统计字段]</note> | <note>message中第一个数据为坐席组ID,即agent_group_id,取值时应为json[message][坐席组id][统计字段]</note> | ||