This is an old revision of the document!
queueAction(type,usertype,user,orgidentity,list, pwdtype,password)
Agent login for one or several agents group
| Params | Type | Description | |
|---|---|---|---|
| type | String | 1(login) / 2(logout) | |
| usertype | String | agent / account | |
| user | String | Agent No. or Username | |
| orgidentity | String | The identity string of the team | |
| list | String | Put a string combine with agentgroup id, end with a comma, if you don’t put the list, it will login/logout from all agent | group the agent belongs to |
| pwdtype | String | Password Type: plaintext/MD5 | |
| password | String | Use plaintext or md5 password for agent or account |
A valid list format example: agentgroupid1,agentgroupid2,……agentgroupidn,
|Return|code|Return|message
*Type of the Return Value: String *Return Values:
| Value | Description |
|---|---|
|Return|1|Return|message | Succeeded||Messages |
|Return|2|Return|message | Failed||Messages |