====== Agent group (queue) Pause/Unpause ====== *Function: queuePause(type,usertype,user,orgidentity, pwdtype,password,pause_reason,dnd) *Description: Pause/Unpause the agent (only when he is login) *Parameters: ^ 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| |dnd|String|Fill in (any value),When this item is not empty, the extension synchronizes to suspend or cancel the suspension state| *Return Format: |Retuen|code|Retuen|message *Type of the Return Value: String *Return Values: ^ Value ^ Description ^ ||Retuen|1|Retuen|message|Succeeded||Messages| ||Retuen|2|Retuen|message|Failed||Messages|