This is an old revision of the document!
====== Agent Status ====== *Function: <code>agentStatus(orgidentity, usertype, user, pwdtype, password)</code> *Description: <code>Get agent status</code> *Parameters: ^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| *Return Format: <code>|Return|code|Return|message|Return|status</code> *Type of the Return Value: String *Return Values: ^Value ^Description ^ |<code>|Return|1|Return|message|Return|status</code>|<code>Succeeded||Messages||Status String(when agent belongs to several agent group, it will use comma as separator)</code>| |<code>|Return|2|Return|message</code>|<code>Failed||Messages</code>| *format of statusstring:agentgroupid1-status1,agentgroupid2-status2,…... agentgroupidn-statusn,