This is an old revision of the document!


Agent Status

  • Function:

agentStatus(orgidentity, usertype, user, pwdtype, password)

  • Description:

Get agent status

  • Parameters:
Params Type Description
orgidentityStringThe identity string of the team
usertypeStringagent / account
userStringAgent No. or Username
pwdtype StringUse plaintext or md5 password for agent or account
passwordStringpassword
callbackFucStringcallback function
  • Return Format:

|Return|code|Return|message|Return|status
Type of the Return Value: String

  • Return Values:
Value Description
|Return|1|Return|message|Return|status
Succeeded||Messages||Status String(when agent belongs to several agent group, it will use comma as separator)<code>|
|<code>|Return|2|Return|message
<code>FailedMessages<code>

format of statusstring:agentgroupid1-status1,agentgroupid2-status2,…… agentgroupidn-statusn,

en/custom_development_guide/apis/javascript/get_agent_status.1473227921.txt.gz · Last modified: (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki