This is an old revision of the document!
queuePause(type,usertype,user,orgidentity, pwdtype,password,pause_reason)
Pause/Unpause the agent (only when he is login)
| Params | Type | Description | |
|---|---|---|---|
| type | String | 1(Pause)/2(Unpause) | |
| usertype | String | agent / account | |
| user | String | Agent No. or Username | |
| orgidentity | String | The identity string of the team | |
| pwdtype | String | Password Type: plaintext/MD5 | |
| password | String | password | |
| pause_reason | String | Put a pause reason when it’s for pause. Use the following string, if you need statistics training / meeting / leave / lunch / rest / other | |
|Return|code|Return|message
| Value | Description |
|---|---|
|Return|1|Return|message | Succeeded||Messages |
|Return|2|Return|message | Failed||Messages |