This is an old revision of the document!
agentStatus(orgidentity, usertype, user, pwdtype, password)
Get agent status
| Params | Type | Description |
|---|---|---|
| orgidentity | String | The identity string of the team |
| usertype | String | agent / account |
| user | String | Agent No. or Username |
| pwdtype | String | Use plaintext or md5 password for agent or account |
| password | String | password |
| callbackFuc | String | callback function |
|Return|code|Return|message|Return|status Type of the Return Value: String
| 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>Failed | Messages<code> | |
format of statusstring:agentgroupid1-status1,agentgroupid2-status2,…… agentgroupidn-statusn,