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:get_agent_group_status [2016/09/07 07:06] – liuxl | en:custom_development_guide:apis:javascript:get_agent_group_status [2018/12/29 05:54] (current) – donnie | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| *Function: | *Function: | ||
| - | < | + | < |
| *Description: | *Description: | ||
| Line 16: | Line 16: | ||
| |password|String|password| | |password|String|password| | ||
| |agent_group_id|String|id of the agent group| | |agent_group_id|String|id of the agent group| | ||
| - | |agenttype|String|login(only check agents who is login) / all (all agents in the agent group)| | + | |status|String|< |
| - | |status|String|获取相应状态的坐席列表(all, | + | * all |
| - | * all 获取组内所有坐席的状态 | + | * idle |
| - | * idle 获取组内空闲坐席 | + | * busy |
| - | * busy 获取组内通话坐席 | + | * ring |
| - | * ring 获取组内振铃坐席 | + | * pause |
| - | * pause获取组内暂停坐席 | + | * acw |
| - | * acw 获取组内话后坐席 | + | * login |
| - | * login获取组内签入坐席 | + | * logout |
| - | * logout | + | </ |
| |callbackFuc|String|callbackfunction| | |callbackFuc|String|callbackfunction| | ||
| *Return Format: | *Return Format: | ||
| - | < | + | < |
| *Type of the Return Value:JSON | *Type of the Return Value:JSON | ||
| Line 35: | Line 35: | ||
| ^Return ^Description ^ | ^Return ^Description ^ | ||
| - | |< | + | |< |
| - | |< | + | |< |
| - | < | ||
| - | for one agent: agent no,agent id,status|| | ||
| - | for several agents: | ||
| - | agentno1-agentid1, | ||
| - | Status: idle, ringing, busy, in use(agent have hangup, but the conversation is not, like caller is talking to a consult, but agent is free to make call), pause, | ||
| - | agentno1-agentid1, | ||