This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:custom_development_guide:apis:http:get_agent_stat_in_team [2016/09/14 01:33] – liuxl | en:custom_development_guide:apis:http:get_agent_stat_in_team [2019/01/02 06:55] (current) – donnie | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Get single | + | ====== Get the status of all agent in team ====== |
| - | * Function: | + | * Reques String: |
| < | < | ||
| Line 10: | Line 10: | ||
| ^ Params | ^ Params | ||
| + | |EVENT|String|TeamStatus| | ||
| |orgidentity|String|team identity string| | |orgidentity|String|team identity string| | ||
| |usertype|String|agent / account| | |usertype|String|agent / account| | ||
| Line 15: | Line 16: | ||
| |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 22: | Line 32: | ||
| < | < | ||
| - | {code: | + | |Retuen|code|Retuen|message |
| </ | </ | ||
| Line 29: | Line 39: | ||
| ^ 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: | + | |< |
| - | If you didn't see agent name, means last name of the agent is empty | + | |
| - | agent state includes: idle, pause, | + | |
| - | all duration is seconds | + | |
| - | </ | + | |
| - | |< | + | |