This is an old revision of the document!
EVENT=AGENTSTATUS&orgidentity=orgidentity&usertype=usertype&user=user&pwdtype=pwdtype&password=password
Get agent status
| Params | Type | Description |
|---|---|---|
| EVENT | String | AGENTSTATUS |
| orgidentity | String | The identity string of the team |
| usertype | String | agent / account |
| user | String | Agent No. or Username |
| pwdtype | String | Use plaintext or md5 password for agent or account |
| password | String | password |
| agent_group_id | String | 坐席组的id |
| status | String | 获取相应状态的坐席列表(all,idle,busy,ring,pause,acw,login,logout),多个状态用逗号分割,如:idle,busy
* all 获取组内所有坐席的状态
* idle 获取组内空闲坐席
* busy 获取组内通话坐席
* ring 获取组内振铃坐席
* pause获取组内暂停坐席
* acw 获取组内话后坐席
* login获取组内签入坐席
* logout 获取组内签出坐席
|
|Return|code|Return|message|Return|status
| Value | Description |
|---|---|
|Return|1|Return|message|Return|status | Succeeded||Messages||Status String(when agent belongs to several agent group, it will use comma as separator) |
|Return|2|Return|message | Failed||Messages |