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:webservice:pause_unpause [2016/09/07 07:35] liuxl |
en:custom_development_guide:apis:webservice:pause_unpause [2019/01/03 07:11] (current) donnie |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Agent group (queue) Pause/Unpause ====== | ====== Agent group (queue) Pause/Unpause ====== | ||
| *Function: | *Function: | ||
| - | <code>EVENT=QUEUEPAUSE&type=type&usertype=usertype&user=user&orgidentity=orgidentity&pause_reason=pause_reason&pwdtype=pwdtype&password=password&dnd=dnd</code> | + | <code>queuePause(type,usertype,user,orgidentity, pwdtype,password,pause_reason,dnd)</code> |
| *Description: | *Description: | ||
| Line 16: | Line 16: | ||
| |password|String|password| | |password|String|password| | ||
| |pause_reason|String|Put a pause reason when it’s for pause. Use the following string, if you need statistics training / meeting / leave / lunch / rest / other| | |pause_reason|String|Put a pause reason when it’s for pause. Use the following string, if you need statistics training / meeting / leave / lunch / rest / other| | ||
| + | |dnd|String|Fill in (any value),When this item is not empty, the extension synchronizes to suspend or cancel the suspension state| | ||
| - | * 如需统计各种暂停原因时长,请选择填写以下暂停原因: | ||
| - | * training(培训) | ||
| - | * meeting(会议) | ||
| - | * leave(请假) | ||
| - | * lunch(午休) | ||
| - | * rest(小休) | ||
| - | * other(其它) | ||
| *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 32: | Line 26: | ||
| ^ Value ^ Description ^ | ^ Value ^ Description ^ | ||
| - | |<code>|Return|1|Return|message</code>|<code>Succeeded||Messages</code>| | + | |<code>|Retuen|1|Retuen|message</code>|<code>Succeeded||Messages</code>| |
| - | |<code>|Return|2|Return|message</code>|<code>Failed||Messages</code>| | + | |<code>|Retuen|2|Retuen|message</code>|<code>Failed||Messages</code>| |