This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:custom_development_guide:apis:javascript:agent_group_checkin_checkout [2016/09/07 02:11] – liuxl | en:custom_development_guide:apis:javascript:agent_group_checkin_checkout [2018/12/27 05:56] (current) – donnie | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| *Function: | *Function: | ||
| - | < | + | < |
| *Description: | *Description: | ||
| - | < | + | < |
| *Parameters: | *Parameters: | ||
| Line 17: | Line 17: | ||
| |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| | ||
| + | |deviceexten|String|Do not need to fill in. After checking in, use this extension at your desk| | ||
| |pushevent|String|If need send a agent event, | |pushevent|String|If need send a agent event, | ||
| |callbackFuc|String|callback function| | |callbackFuc|String|callback function| | ||
| Line 23: | Line 24: | ||
| *Return Format: | *Return Format: | ||
| - | < | + | < |
| - | Type of the Return Value:JSON</ | + | |
| + | *Type of the Return Value:JSON | ||
| *Return Values: | *Return Values: | ||
| ^Value ^Description ^ | ^Value ^Description ^ | ||
| - | |< | + | |< |
| |< | |< | ||
| + | |< | ||
| + | |||
| + | Messages: | ||
| + | * **success** checkin/ | ||
| + | * **CheckedIn** Already checked in | ||
| + | * **NotInGroup** Agent doesn' | ||
| + | * **NotFoundGroup** Agent group doesn' | ||
| + | * **NotChecked** | ||