This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:custom_development_guide:apis:http:get_agent_status [2016/09/07 07:22] liuxl |
en:custom_development_guide:apis:http:get_agent_status [2019/01/02 06:13] (current) donnie |
||
|---|---|---|---|
| Line 16: | Line 16: | ||
| |pwdtype|String|Use plaintext or md5 password for agent or account| | |pwdtype|String|Use plaintext or md5 password for agent or account| | ||
| |password|String|password| | |password|String|password| | ||
| - | |agent_group_id|String|坐席组的id| | ||
| - | |status|String|<code>获取相应状态的坐席列表(all,idle,busy,ring,pause,acw,login,logout),多个状态用逗号分割,如:idle,busy | ||
| - | * all 获取组内所有坐席的状态 | ||
| - | * idle 获取组内空闲坐席 | ||
| - | * busy 获取组内通话坐席 | ||
| - | * ring 获取组内振铃坐席 | ||
| - | * pause获取组内暂停坐席 | ||
| - | * acw 获取组内话后坐席 | ||
| - | * login获取组内签入坐席 | ||
| - | * logout 获取组内签出坐席 | ||
| - | </code>| | ||
| *Return Format: | *Return Format: | ||
| - | <code>|Return|code|Return|message|Return|status</code> | + | <code>|Retuen|code|Retuen|message|Retuen|status</code> |
| *Type of the Return Value: String | *Type of the Return Value: String | ||
| Line 35: | Line 24: | ||
| ^Value ^Description ^ | ^Value ^Description ^ | ||
| - | |<code>|Return|1|Return|message|Return|status</code>|<code>Succeeded||Messages||Status String(when agent belongs to | + | |<code>|Retuen|1|Retuen|message|Retuen|status</code>|<code>Succeeded||Messages||Status String(when agent belongs to |
| several agent group, it will use comma as separator)</code>| | several agent group, it will use comma as separator)</code>| | ||
| - | |<code>|Return|2|Return|message</code>|<code>Failed||Messages</code>| | + | |<code>|Retuen|2|Retuen|message</code>|<code>Failed||Messages</code>| |
| *format of statusstring:agentgroupid1-status1,agentgroupid2-status2,…... agentgroupidn-statusn, | *format of statusstring:agentgroupid1-status1,agentgroupid2-status2,…... agentgroupidn-statusn, | ||