Agent group (queue) Pause/Unpause

queuePause(type,usertype,user,orgidentity, pwdtype,password,pause_reason,dnd)

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

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

|Retuen|code|Retuen|message

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