This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
en:custom_development_guide:apis:http:get_agent_group_status [2016/09/06 08:27] liuxl created |
en:custom_development_guide:apis:http:get_agent_group_status [2019/01/03 08:50] (current) donnie |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| *Reques String: | *Reques String: | ||
| - | <code>EVENT=AgentgroupStatus&orgidentity=orgidentity&usertype=usertype&user=user&pwdtype=pwdtype&password=password&agent_group_id=agent_group_id&agenttype=agenttype</code> | + | <code>EVENT=AgentgroupStatus&orgidentity=orgidentity&usertype=usertype&user=user&pwdtype=pwdtype&password=password&agent_group_id=agent_group_id&status=status</code> |
| *Description: | *Description: | ||
| Line 17: | Line 17: | ||
| |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|<code>Get a list of agent in the corresponding state(all,idle,busy,ring,pause,acw,login,logout),Multiple states are separated by commas,ex:idle,busy |
| + | * all get the status of all agent in group | ||
| + | * idle get the idle agent in group | ||
| + | * busy get the call agent in group | ||
| + | * ring get the ring agent in group | ||
| + | * pause get the pause agent in group | ||
| + | * acw get the acw agent in group | ||
| + | * login get the login agent in group | ||
| + | * logout get the logout agent in group | ||
| + | </code>| | ||
| *Return Format: | *Return Format: | ||
| - | <code>|Return|code|Return|message</code> | + | <code>|Retuen|code|Retuen|message</code> |
| *Type of the Return Value: String | *Type of the Return Value: String | ||
| Line 26: | Line 35: | ||
| ^Return ^Description ^ | ^Return ^Description ^ | ||
| - | |<code>|Return|1|Return|message|Return|status</code>|<code>Succeeded||Messages||Status String</code>| | + | |<code>|Retuen|1|Retuen|message</code>|<code>|Retuen|succeed|Retuen|message |
| - | |<code>|Return|2|Return|message</code>|<code>Failed||Messages</code>| | + | Message is the current status of each agent ex: |
| + | |Retuen|1|Retuen|1005: idle,1006:ring</code>| | ||
| + | |<code>|Retuen|2|Retuen|message</code>|<code>|Retuen|failed|Retuen|message</code>| | ||
| - | <code>Status String contains the status of one or several agents, each status will end with || | ||
| - | for one agent: agent no,agent id,status|| | ||
| - | for several agents: | ||
| - | agentno1-agentid1,status1||agentno2-agentid2,status2||…..agentnoN-agentidN,statusN|| | ||
| - | 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,logout</code> | ||