Get single agent stat

 EVENT=AgentRealtime&orgidentity=orgidentity&usertype=usertype&user=user&pwdtype=pwdtype&password=password

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

Params Type Description
EVENTStringAgentRealtime
orgidentityStringteam identity string
usertypeStringagent / account
userStringagent No. / username
pwdtypeStringpassword type: plaintext/md5
passwordStringpassword

|Retuen|code|Retuen|message

Value Description
|Rrtuen|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