This is an old revision of the document!


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

  • Description:

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

  • Parameters:
Params Type Description
EVENTStringQUEUEPAUSE
typeString1(Pause)/2(Unpause)
usertypeStringagent / 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
dndString选填(任意值),此项不为空时,分机同步进入暂停或取消暂停状态
  • 如需统计各种暂停原因时长,请选择填写以下暂停原因:
    • training(培训)
    • meeting(会议)
    • leave(请假)
    • lunch(午休)
    • rest(小休)
    • other(其它)
  • 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
en/custom_development_guide/apis/http/pause_unpause.1513047940.txt.gz · Last modified: (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki