Agent group (queue) login/logout

  • Function:

queueActionCJI(type, usertype, user, orgidentity, list, pwdtype, password, deviceexten, pushevent, callbackFuc)

  • Description:

Agent login to one or several agents group 

  • Parameters:
Params Type Description
typeString1(login) / 2(logout)
usertypeStringagent / account
userStringAgent No. or Username
orgidentityStringThe identity string of the team
listStringPut 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
pwdtypeStringUse plaintext or md5 password for agent or account
passwordStringpassword
deviceextenStringDo not need to fill in. After checking in, use this extension at your desk
pusheventStringIf need send a agent event, yes / no(default)
callbackFucStringcallback function

A valid list format example: agentgroupid1,agentgroupid2,......agentgroupidn,

  • Return Format:

{code:code,message:message}

  • Type of the Return Value:JSON
  • Return Values:
Value Description
{code:1,message:message}
{code:Successful seating group,message:group id: results of enforcement}{code:1, message:1:success,2:NotChecked}
{code:2,message:message}
{code:Failed,message:Messages}
{code:3,message:message}
{code:Failed,message:group id: results of enforcement}{code:3,message: 1:NotChecked,2:NotFoundGroup}

Messages:

  • success checkin/check out success
  • CheckedIn Already checked in
  • NotInGroup Agent doesn't belong to the group
  • NotFoundGroup Agent group doesn't exist
  • NotChecked Agent is not checked in
en/custom_development_guide/apis/javascript/agent_group_checkin_checkout.txt · Last modified: 2018/12/27 05:56 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki