queueActionCJI(type, usertype, user, orgidentity, list, pwdtype, password, deviceexten, pushevent, callbackFuc)
Agent login to 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 |
| deviceexten | String | Do not need to fill in. After checking in, use this extension at your desk |
| pushevent | String | If need send a agent event, yes / no(default) |
| callbackFuc | String | callback function |
A valid list format example: agentgroupid1,agentgroupid2,......agentgroupidn,
{code:code,message:message}
| Value | Description |
|---|---|
{code:1,message:message}
| {code:Successful seating group,message:group id: results of enforcement}{code:1, message:1:success,2:NotChecked}
|
{code:2,message:message}
| {code:Failed,message:Messages}
|
{code:3,message:message}
| {code:Failed,message:group id: results of enforcement}{code:3,message: 1:NotChecked,2:NotFoundGroup}
|
Messages: