Workway Mode Config

  • Function:

workwayActionCJI(status, usertype, user, orgidentity, pwdtype, password, agent_group_id, pushevent, callbackFuc)

  • Description:

Change the agent work mode in agent group

  • Parameters:
Params Type Description
statusStringdialin (Dial in only) / dialout (Dial out only) / all
usertypeStringagent / account
userStringAgent No. or Username
orgidentityStringThe identity string of the team
pwdtypeStringUse plaintext or md5 password for agent or account
passwordStringpassword
agent_group_idStringids of the agent group
pusheventStringIf need send a agent event, yes / no(default)
callbackFucStringcallback function
  • 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/switch_work_mode.txt · Last modified: 2017/12/12 03:05 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki