工作模式切换

workwayActionCJI(status, usertype, user, orgidentity, pwdtype, password, agent_group_id, pushevent, callbackFuc)

切换坐席组(已签入的坐席组)的工作模式

参数名称 类型 描述信息
statusStringdialin=仅呼入,dialout=仅呼出,all=全部(即可呼入,也可呼出)
usertypeStringagent(坐席) / account(帐号)
userString坐席工号 / 用户名
orgidentityString团队唯一标识
pwdtypeString密码类型 明文(plaintext) / MD5加密(md5)
passwordString密码
agent_group_idString改变哪些坐席组的工作模式, 多个坐席组以逗号分割,如1,2,3.此值为空时,代表改变全部坐席组的工作模式
pusheventString是否发送坐席通知事件yes(发送) / no(不发送) 默认为no
callbackFucString回调函数

{code:code,message:message}

返回值 描述信息
{code:1,message:message}
{code:成功,message:信息描述}
{code:2,message:message}
{code:失败,message:信息描述}