This is an old revision of the document!
====== Agent Logout ====== *Function: <code>logout(orgidentity, usertype, user, pwdtype, password)</code> *Description: <code>Send a logout request to asterCC;</code> *Parameters: ^ Param ^ Type ^ Description ^ |orgidentity |String |The identity string of the team| |usertype |String |User Type: agent/account| |user |String |Use Agent No. when user type is agent / Use Username when user type is account| |pwdtype |String |Password Type: plaintext/MD5| |password |String |Use plaintext or md5 password for agent or account| *Return Format: <code>|Return|code|Return|message|Return|param</code> *Type of the Return Value: String *Return Values: ^ Value ^ Description ^ |<code>|Return|1|Return|message</code>|<code>Succeeded||Messages</code>| |<code>|Return|2|Return|message</code>|<code>Failed||Messages<code>|