This is an old revision of the document!
queueActionCJI(type, usertype, user, orgidentity, list, pwdtype, password, pushevent, callbackFuc)
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 | Use plaintext or md5 password for agent or account |
| password | String | password |
| pushevent | String | If need send a agent event, yes / no(default) |
| callbackFuc | String | callback function |
A valid list format example: agentgroupid1,agentgroupid2,……agentgroupidn,
Return Format: {code:code,message:message} Type of the Return Value:JSON
Return Values: Value Description {code:1,message:message} {code:Succeed,message:Messages} {code:2,message:message} {code:Failed,message:Messages}