This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:custom_development_guide:apis:javascript:pause_unpause [2016/09/07 02:18] – created liuxl | en:custom_development_guide:apis:javascript:pause_unpause [2018/12/29 02:57] (current) – donnie | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| *Function: | *Function: | ||
| - | < | + | < |
| *Description: | *Description: | ||
| Line 16: | Line 16: | ||
| |pwdtype|String|Use plaintext or md5 password for agent or account| | |pwdtype|String|Use plaintext or md5 password for agent or account| | ||
| |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| | + | |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| |
| - | |training / meeting / leave / lunch / rest / other| | + | |
| |pushevent|String|If need send a agent event, | |pushevent|String|If need send a agent event, | ||
| |callbackFuc|String|callback function| | |callbackFuc|String|callback function| | ||
| + | |dnd|String|Fill in (any value),When this item is not empty, the extension synchronizes to suspend or cancel the suspension state| | ||
| + | |||
| *Return Format: | *Return Format: | ||
| - | < | + | < |
| - | Type of the Return Value:JSON</ | + | *Type of the Return Value:JSON |
| *Return Values: | *Return Values: | ||
| ^Value ^Description ^ | ^Value ^Description ^ | ||
| - | < | + | |< |
| - | < | + | |< |