Agent group (queue) Pause/Unpause

  • Function:

queuePauseCJI(type, usertype, user, orgidentity, pwdtype, password, pause_reason, pushevent, callbackFuc, dnd)

  • Description:

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

  • Parameters:
Params Type Description
typeString1(Pause)/2(Unpause)
usertypeStringagent / account
userStringAgent No. or Username
orgidentityStringThe identity string of the team
pwdtypeStringUse plaintext or md5 password for agent or account
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
pusheventStringIf need send a agent event, yes / no(default)
callbackFucStringcallback function
dndStringFill in (any value),When this item is not empty, the extension synchronizes to suspend or cancel the suspension state
  • Return Format:

{code:code,message:message}

  • Type of the Return Value:JSON
  • Return Values:
Value Description
{code:1,message:message}
{code:Succeed,message:Messages}
{code:2,message:message}
{code:Failed,message:Messages}
en/custom_development_guide/apis/javascript/pause_unpause.txt · Last modified: 2018/12/29 02:57 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki