Get single agent stat

  • Function:

agentRealtime(orgidentity,usertype,user,pwdtype,password)

  • Description:

Get agent stat(current status, how long current status last, idle time, busy duration)

  • Parameters:
Params Type Description
orgidentityStringteam identity string
usertypeStringagent / account
userStringagent No. / username
pwdtypeStringpassword type: plaintext/md5
passwordStringpassword
  • Return Format:

|Retuen|code|Retuen|message

  • Type of the Return Value:String
  • Return Values:
Value Description
|Retuen|1|Retuen|message
|Retuen|succeed|Retuen|message
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:
|Retuen|1|Retuen|Joe|8005|busy|85|7|1|1|2|1|1|1|120|10|20|60|10|10|10
If you didn't see agent name, means last name of the agent is empty
agent state includes: idle, pause, ring, busy, acw, logout.
all duration is seconds
|Retuen|2|Retuen|message
|Retuen|failed|Retuen|message
en/custom_development_guide/apis/webservice/get_single_agent_stat.txt · Last modified: 2019/01/03 15:44 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki