Agent group (queue) Pause/Unpause

EVENT=QUEUEPAUSE&type=type&usertype=usertype&user=user&orgidentity=orgidentity&pause_reason=pause_reason&pwdtype=pwdtype&password=password&dnd=dnd

Pause/Unpause the agent (only when he is login)

Params Type Description
EVENTStringQUEUEPAUSE
typeString1(Pause)/2(Unpause)
usertypeStringagent / account
userStringAgent No. or Username
orgidentityStringThe identity string of the team
pause_reasonStringPut a pause reason when it’s for pause. Use the following string, if you need statistics training / meeting / leave / lunch / rest / other
pwdtypeStringPassword Type: plaintext/MD5
passwordStringpassword
dndStringFill in (any value),When this item is not empty, the extension synchronizes to suspend or cancel the suspension state

|Return|code|Return|message

Value Description
|Return|1|Return|message
Succeeded||Messages
|Return|2|Return|message
Failed||Messages