This is an old revision of the document!
====== Agent group (queue) login/logout ====== *Function: <code>queueActionCJI(type, usertype, user, orgidentity, list, pwdtype, password, pushevent, callbackFuc)</code> *Description: <code>Agent login for one or several agents group </code> *Parameters: ^Params ^Type ^Description ^ |type|String|1(login) / 2(logout)| |usertype|String|agent / account| |user|String|Agent No. or Username| |orgidentity|String|The identity string of the team| |list|String|Put a string combine with agentgroup id, end with a comma, if you don’t put the list, it will login/logout from all agent group the agent belongs to| |pwdtype|String|Use plaintext or md5 password for agent or account| |password|String|password| |pushevent|String|If need send a agent event, yes / no(default)| |callbackFuc|String|callback function| <code>A valid list format example: agentgroupid1,agentgroupid2,......agentgroupidn,</code> *Return Format: <code>{code:code,message:message}</code> *Type of the Return Value:JSON *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>| 执行结果释义 * **success** 签入或签出成功 * **CheckedIn** 签入操作,坐席已经签入该组。 * **NotInGroup** 签入操作,坐席不存在于该组。 * **NotFoundGroup** 签入或签出操作,坐席组不存在。 * **NotChecked** 签出操作,坐席组未签入,无需执行签出操作。