Get the status of all agent in team

EVENT=TeamStatus&orgidentity=orgidentity&usertype=usertype&user=user&pwdtype=pwdtype&password=password&status=status

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

Params Type Description
EVENTStringTeamStatus
orgidentityStringteam identity string
usertypeStringagent / account
userStringagent No. / username
pwdtypeStringpassword type: plaintext/md5
passwordStringpassword
statusString
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

|Retuen|code|Retuen|message

Value Description
|Retuen|1|Retuen|message
|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
|Retuen|2|Retuen|message
|Retuen|failed|Retuen|message