Get single agent stat in one group of the day

  • Function:

agentStatisticDay(orgidentity,usertype,user,pwdtype,password,agent_group_id)

  • Description:

Get agent stat of one agent in one agent group(current status, talking duration, inbound answered, outbound answered, total calls, waiting customer number in the group);

  • Parameters:
Params Type Description
orgidentityStringteam identity string
usertypeStringagent/ account
userStringagent No. / username
pwdtypeStringpassword type: plaintext/md5
passwordStringpassword
agent_group_idStringagent group id, use comma to connect if you have more than one group. 0 means all groups
  • Return Values: JSON

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}}}

first value in message is agent group id, agent_group_id

Value Description
codecode=1 means success, message is json string. Or else it means failed, message is error message
agent_statusagent status: logout, idle, ring, busy, pause, acw
total_call_durationcall duration, format 00:00:00
in_bound_call_answeredinbound answer times
out_bound_call_answeredoutbound answer times
total_callstotal calls
waiting_callswaiting calls in the group
en/custom_development_guide/apis/webservice/get_single_agent_stat_in_one_group_of_the_day.txt · Last modified: 2019/01/03 16:06 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki