This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Agent group (queue) Pause/Unpause ====== *Function: <code>queuePauseCJI(type, usertype, user, orgidentity, pwdtype, password, pause_reason, pushevent, callbackFuc)</code> *Description: <code>Pause/Unpause the agent (only when he is login)</code> *Parameters: ^Params ^Type ^Description ^ |type|String|1(Pause)/2(Unpause)| |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| |pause_reason|String|Put a pause reason when it’s for pause. Use the following string, if you need statistics training / meeting / leave / lunch / rest / other| |pushevent|String|If need send a agent event, yes / no(default)| |callbackFuc|String|callback function| *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>|

en/custom_development_guide/apis/javascript/pause_unpause.1513047940.txt.gz · Last modified: 2018/12/29 02:57 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki