====== ACW (After Call Work) Mode Config ======
*Function:
acwAction(type,usertype,user,orgidentity, pwdtype, password, agent_group_id)
*Description:
Change the ACW mode of the agent in agent group
*Parameters:
^ Params ^ Type ^ Description ^
|type|String|1(Ringing ACW) / 2(Answered ACW) / 3(Disable ACW)|
|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|
*ACW Mode, when agent is in ACW mode, agent would not receive any calls from queue.
*Ringing ACW: As long as the agent phone rings, no matter if agent answer, when the call hangup, agent will be in ACW mode
*Answered ACW: Only the call is answered, agent will be in ACW mode when call hangup.
*Disable ACW: agent would not go to ACW mode automaticly
*Return Format:
|Retuen|code|Retuen|message
*Type of the Return Value: String
*Return Values:
^ Value ^ Description ^
||Retuen|1|Retuen|message|Succeeded||Messages|
||Retuen|2|Retuen|message|Failed||Messages|