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/05 05:46] 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>queuePause(type,usertype,user,orgidentity, pwdtype,password,pause_reason)</code> | + | <code>queuePause(type,usertype,user,orgidentity, pwdtype,password,pause_reason,dnd)</code> |
| *Description: | *Description: | ||
| Line 15: | Line 15: | ||
| |pwdtype|String|Password Type: plaintext/MD5| | |pwdtype|String|Password Type: plaintext/MD5| | ||
| |password|String|password| | |password|String|password| | ||
| - | |pause_reason|String|Put a pause reason when it’s for pause. | + | |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| |
| - | 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| |
| - | *Return Format: | ||
| - | <code>|Return|code|Return|message</code> | + | *Return Format: |
| + | <code>|Retuen|code|Retuen|message</code> | ||
| *Type of the Return Value: String | *Type of the Return Value: String | ||
| Line 26: | 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>| |