This is an old revision of the document!
EVENT=QUEUE&type=type&usertype=usertype&user=user&orgidentity=orgidentity&list=list&pwdtype=pwdtype&password=password&deviceexten=deviceexten&pushevent=pushevent
Agent login for one or several agents group
| Params | Type | Description |
|---|---|---|
| EVENT | String | QUEUE |
| 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 |
| 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) |
A valid list format example: agentgroupid1,agentgroupid2,......agentgroupidn,
|Return|code|Return|message
| Value | Description |
|---|---|
|Return|1|Return|message | |Return|Successful seating group|Return|Messages:group id: results of enforcement|Retuen|1|Retuen|1:success,2:NotChecked |
|Return|2|Return|message | |Return|Failed|Return|Messages |
|Return|3|Return|message | |Return|Failed|Return|Messages:group id: results of enforcement|Retuen|3|Retuen|1:NotChecked,2:NotFoundGroup |
Messages: