Agent group (queue) login/logout

  • Reques String:

EVENT=QUEUE&type=type&usertype=usertype&user=user&orgidentity=orgidentity&list=list&pwdtype=pwdtype&password=password&deviceexten=deviceexten&pushevent=pushevent

  • Description:

Agent login for one or several agents group

  • Parameters:
Params Type Description
EVENTStringQUEUE
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
pwdtypeStringPassword Type: plaintext/MD5
passwordStringUse plaintext or md5 password for agent or account
deviceextenStringDo not need to fill in. After checking in, use this extension at your desk
pusheventStringIf need send a agent event, yes / no(default)

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

  • Return Format:

|Retuen|code|Retuen|message

  • Type of the Return Value: String
  • Return Values:
Value Description
|Retuen|1|Retuen|message
|Retuen|Successful seating group|Retuen|Messages:group id: results of enforcement|Retuen|1|Retuen|1:success,2:NotChecked
|Retuen|2|Retuen|message
|Retuen|Failed|Retuen|Messages
|Retuen|3|Retuen|message
|Retuen|Failed|Retuen|Messages:group id: results of enforcement|Retuen|3|Retuen|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/http/agent_group_checkin_checkout.txt · Last modified: 2019/01/03 05:36 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki