This is an old revision of the document!
====== Get single agent stat ====== * Reques String: <code>EVENT=TeamStatus&orgidentity=orgidentity&usertype=usertype&user=user&pwdtype=pwdtype&password=password&status=status</code> * Description: Get agent stat(current status, how long current status last, idle time, busy duration) * Parameters: ^ Params ^ Type ^ Description ^ |EVENT|String|TeamStatus| |orgidentity|String|team identity string| |usertype|String|agent / account| |user|String|agent No. / username| |pwdtype|String|password type: plaintext/md5| |password|String|password| |status|String|<code>Get a list of agent in the corresponding state(all,idle,busy,ring,pause,acw,login,logout),Multiple states are separated by commas,ex:idle,busy * all get the status of all agent * idle get the idle agent * busy get the call agent * ring get the ring agent * pause get the pause agent * acw get the acw agent * login get the login agent * logout get the logout agent </code>| * Return Format: <code> |Retuen|code|Retuen|message </code> * Type of the Return Value:JSON * Return Values: ^ Value ^ Description ^ |<code>|Retuen|1|Retuen|message</code>|<code>|Retuen|succeed|Retuen|message message is current agent stat: agent No.:current status,agent No.:current status ex: |Retuen|1|Retuen|1005: idle,1006:ring</code>| |<code>|Retuen|2|Retuen|message</code> |<code>|Retuen|failed|Retuen|message</code>|