This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:custom_development_guide:apis:webservice:get_agent_stat_in_team [2017/12/12 03:05] – external edit 127.0.0.1 | en:custom_development_guide:apis:webservice:get_agent_stat_in_team [2019/01/03 08:16] (current) – donnie | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Get single | + | ====== Get the status of all agent in team ====== |
| * Function: | * Function: | ||
| - | < | + | < |
| </ | </ | ||
| * Description: | * Description: | ||
| Line 14: | Line 14: | ||
| |pwdtype|String|password type: plaintext/ | |pwdtype|String|password type: plaintext/ | ||
| |password|String|password| | |password|String|password| | ||
| - | |callbackFuc|String|callback function| | + | |status|String|< |
| + | * all get the status of all agent | ||
| + | * idle get the idle agent | ||
| + | * busy get the call agent | ||
| + | * ring get the ring agent | ||
| + | * pause get the pause agent | ||
| + | * acw get the acw agent | ||
| + | * login get the login agent | ||
| + | * logout | ||
| + | </ | ||
| Line 21: | Line 29: | ||
| < | < | ||
| - | {code: | + | |Retuen|code|Retuen|message |
| </ | </ | ||
| - | * Type of the Return Value:JSON | + | * Type of the Return Value:String |
| * Return Values: | * Return Values: | ||
| ^ Value ^ Description | ^ Value ^ Description | ||
| - | |< | + | |< |
| message is current agent stat: | message is current agent stat: | ||
| - | agent name|agent No.|current status|status last duration|busy times|paused times|off times|meeting times|training times|break times|other times|busy duration|paused duration|off duration|meeting duration|training duration|break duration|other duration, | + | agent No.:current status,agent No.:current status |
| - | {code: | + | |Retuen|1|Retuen|1005: idle,1006:ring</ |
| - | If you didn't see agent name, means last name of the agent is empty | + | |< |
| - | agent state includes: idle, pause, | + | |
| - | all duration is seconds | + | |
| - | </ | + | |
| - | |< | + | |