This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:custom_development_guide:apis:webservice:get_single_agent_stat [2017/12/12 03:05] – external edit 127.0.0.1 | en:custom_development_guide:apis:webservice:get_single_agent_stat [2019/01/03 07:44] (current) – donnie | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| * 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| | ||
| Line 21: | Line 20: | ||
| < | < | ||
| - | {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, ex: | + | 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| |
| - | {code:1,message:Joe|8005|busy|85|7|1|1|2|1|1|1|120|10|20|60|10|10|10} | + | paused duration|off duration|meeting duration|training duration|break duration|other duration, ex: |
| + | |Retuen|1|Retuen|Joe|8005|busy|85|7|1|1|2|1|1|1|120|10|20|60|10|10|10 | ||
| If you didn't see agent name, means last name of the agent is empty | If you didn't see agent name, means last name of the agent is empty | ||
| agent state includes: idle, pause, ring, busy, acw, logout. | agent state includes: idle, pause, ring, busy, acw, logout. | ||
| all duration is seconds | all duration is seconds | ||
| </ | </ | ||
| - | |< | + | |< |