====== Agent group (queue) Pause/Unpause ======
*Reques String:
EVENT=QUEUEPAUSE&type=type&usertype=usertype&user=user&orgidentity=orgidentity&pause_reason=pause_reason&pwdtype=pwdtype&password=password&dnd=dnd
*Description:
Pause/Unpause the agent (only when he is login)
*Parameters:
^Params ^Type ^Description ^
|EVENT|String|QUEUEPAUSE|
|type|String|1(Pause)/2(Unpause)|
|usertype|String|agent / account|
|user|String|Agent No. or Username|
|orgidentity|String|The identity string of the team|
|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|
|pwdtype|String|Password Type: plaintext/MD5|
|password|String|password|
|dnd|String|Fill in (any value),When this item is not empty, the extension synchronizes to suspend or cancel the suspension state|
*Return Format:
|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|