This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:custom_development_guide:apis:http:agent_group_checkin_checkout [2017/12/12 03:05] 127.0.0.1 external edit |
en:custom_development_guide:apis:http:agent_group_checkin_checkout [2019/01/03 05:36] (current) donnie |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| *Reques String: | *Reques String: | ||
| - | <code>EVENT=QUEUE&type=type&usertype=usertype&user=user&orgidentity=orgidentity&list=list&pwdtype=pwdtype&password=password</code> | + | <code>EVENT=QUEUE&type=type&usertype=usertype&user=user&orgidentity=orgidentity&list=list&pwdtype=pwdtype&password=password&deviceexten=deviceexten&pushevent=pushevent</code> |
| *Description: | *Description: | ||
| Line 18: | Line 18: | ||
| |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|非必填项,签入后,坐席使用此分机工作。| | + | |deviceexten|String|Do not need to fill in. After checking in, use this extension at your desk| |
| - | |pushevent|String|是否发送坐席通知事件yes(发送) / no(不发送) 默认为no。| | + | |pushevent|String|If need send a agent event, yes / no(default)| |
| - | A valid list format example: agentgroupid1,agentgroupid2,......agentgroupidn, | + | <code>A valid list format example: agentgroupid1,agentgroupid2,......agentgroupidn,</code> |
| *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 | ||
| Line 30: | Line 30: | ||
| ^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 | ||
| + | |||