| Next revision | Previous revision |
| en:custom_development_guide:apis:webservice:agent_group_checkin_checkout [2016/09/05 05:28] – created liuxl | en:custom_development_guide:apis:webservice:agent_group_checkin_checkout [2019/01/03 05:36] (current) – donnie |
|---|
| *Function: | *Function: |
| |
| <code>queueAction(type,usertype,user,orgidentity,list, pwdtype,password)</code> | <code>queueAction(type,usertype,user,orgidentity,list,pwdtype,password,deviceexten, pushevent)</code> |
| |
| *Description: | *Description: |
| |user |String |Agent No. or Username| | |user |String |Agent No. or Username| |
| |orgidentity |String |The identity string of the team| | |orgidentity |String |The identity string of the team| |
| |list |String |Put 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| | |list |String |Put 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| |
| |pwdtype |String |Password Type: plaintext/MD5| | |pwdtype |String |Password Type: plaintext/MD5| |
| |password |String |Use plaintext or md5 password for agent or account| | |password |String |Use plaintext or md5 password for agent or account| |
| | |deviceexten|String|非必填项,签入后,坐席使用此分机工作。| |
| | |pushevent|String|是否发送坐席通知事件yes(发送) / no(不发送) 默认为no。| |
| |
| A valid list format example: agentgroupid1,agentgroupid2,......agentgroupidn, | A valid list format example: agentgroupid1,agentgroupid2,......agentgroupidn, |
| *Return Format: | *Return Format: |
| |
| <code>|Return|code|Return|message</code> | <code>|Retuen|code|Retuen|message</code> |
| |
| *Type of the Return Value: String | *Type of the Return Value: String |
| *Return Values: | *Return Values: |
| |
| ^ Value ^Description ^ | ^ Value ^Description ^ |
| |<code>|Return|1|Return|message</code>|<code>Succeeded||Messages</code>| | |<code>|Retuen|1|Retuen|message</code>|<code>|Retuen|Successful seating group|Retuen|Messages:group id: results of enforcement|Retuen|1|Retuen|1:success,2:NotChecked</code>| |
| |<code>|Return|2|Return|message</code>|<code>Failed||Messages</code>| | |<code>|Retuen|2|Retuen|message</code>|<code>|Retuen|Failed|Retuen|Messages</code>| |
| | |<code>|Retuen|3|Retuen|message</code>|<code>|Retuen|Failed|Retuen|Messages:group id: results of enforcement|Retuen|3|Retuen|1:NotChecked,2:NotFoundGroup</code>| |
| |
| | 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 |