This is an old revision of the document!
====== Workway Mode Config ====== *Function: <code>workwayActionCJI(status, usertype, user, orgidentity, pwdtype, password, agent_group_id, pushevent, callbackFuc)</code> *Description: <code>Change the agent work mode in agent group</code> *Parameters: ^Params ^Type ^Description ^ |status|String|dialin (Dial in only) / dialout (Dial out only) / all| |usertype|String|agent / account| |user|String|Agent No. or Username| |orgidentity|String|The identity string of the team| |pwdtype|String|Use plaintext or md5 password for agent or account| |password|String|password| |agent_group_id|String|ids of the agent group| |pushevent|String|If need send a agent event, yes / no(default)| |callbackFuc|String|callback function| *Return Format: <code>{code:code,message:message} Type of the Return Value:JSON</code> *Return Values: ^Value ^Description ^ |<code>{code:1,message:message}</code>|<code>{code:Succeed,message:Messages}</code>| |<code>{code:2,message:message}</code>|<code>{code:Failed,message:Messages}</code>|