This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Get single agent stat ====== * Reques String: <code> EVENT=AgentRealtime&orgidentity=orgidentity&usertype=usertype&user=user&pwdtype=pwdtype&password=password</code> * Description: Get agent stat(current status, how long current status last, idle time, busy duration) * Parameters: ^ Params ^ Type ^ Description ^ |EVENT|String|AgentRealtime| |orgidentity|String|team identity string| |usertype|String|agent / account| |user|String|agent No. / username| |pwdtype|String|password type: plaintext/md5| |password|String|password| * Return Format: <code> |Retuen|code|Retuen|message </code> * Type of the Return Value:String * Return Values: ^ Value ^ Description ^ |<code>|Rrtuen|1|Retuen|message</code>|<code>|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 </code>| |<code>|Retuen|2|Retuen|message</code> |<code>|Retuen|failed|Retuen|message</code>|

en/custom_development_guide/apis/http/get_single_agent_stat.1546401806.txt.gz · Last modified: 2019/01/02 04:03 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki