This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:custom_development_guide:apis:javascript:agent_group_checkin_checkout [2016/09/07 02:09] – created 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 14: | Line 14: | ||
| |user|String|Agent No. or Username| | |user|String|Agent No. or Username| | ||
| |orgidentity|String|The identity string of the team| | |orgidentity|String|The identity string of the team| | ||
| - | |list String|Put a string combine with agentgroup id, end with a comma, if you don’t put the list, it will login/ | + | |list|String|Put a string combine with agentgroup id, end with a comma, if you don’t put the list, it will login/ |
| |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| | ||
| - | A valid list format example: agentgroupid1, | + | < |
| - | Return Format: | + | *Return Format: |
| - | {code: | + | < |
| - | Type of the Return Value:JSON | + | |
| - | Return Values: | + | *Type of the Return Value: |
| - | Value Description | + | *Return Values: |
| - | {code: | + | |
| - | {code: | + | ^Value ^Description |
| + | |< | ||
| + | |< | ||
| + | |< | ||
| + | |||
| + | Messages: | ||
| + | * **success** checkin/ | ||
| + | * **CheckedIn** Already checked in | ||
| + | * **NotInGroup** Agent doesn' | ||
| + | * **NotFoundGroup** Agent group doesn' | ||
| + | * **NotChecked** | ||