This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:custom_development_guide:apis:http:hangup [2017/12/12 03:05] – external edit 127.0.0.1 | en:custom_development_guide:apis:http:hangup [2018/12/29 09:03] (current) – donnie | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| *Reques String: | *Reques String: | ||
| - | < | + | < |
| *Description: | *Description: | ||
| Line 12: | Line 12: | ||
| |EVENT|String|HANGUP| | |EVENT|String|HANGUP| | ||
| |uniqueid|String|the uniqueid of the calls you want to hangup, end with a comma| | |uniqueid|String|the uniqueid of the calls you want to hangup, end with a comma| | ||
| - | |targetagent|String|目标坐席工号,要操作哪个坐席的通话。uniqueid为空时,此项必填。uniqueid不为空时,此项可为空。如果挂断监听,强插,密语中的坐席组长(target=groupadmin),此处需要填写被监听,强插,密语的坐席工号。如2227组长监听1986,欲挂断2227,此处需要填写1986。| | + | |targetagent|String|If you don't have uniqueId, you need to put agent number. If you want to hangup group admin who is in spy, barge-in or whisper, put agent number, such as, group admin 2227 is spying agent 1986, put 1986 here if you need to hangup |
| - | |target|String|挂机对象(channel, | + | |target|String|hangup target:(channel, |
| |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| | ||
| Line 22: | Line 22: | ||
| *uniqueid example: | *uniqueid example: | ||
| *Hangup one party: uniqueid, | *Hangup one party: uniqueid, | ||
| - | *Hnagup: | + | *Hnagup: |
| *Return Format: | *Return Format: | ||
| Line 31: | Line 31: | ||
| ^Value ^Description ^ | ^Value ^Description ^ | ||
| - | |< | + | |< |
| - | 当uniqueid不为空时,message为每个uniqueid执行挂断的结果,举例 | + | When uniqueid |
| |Retuen|1|Retuen|4781: | |Retuen|1|Retuen|4781: | ||
| - | success代表挂断成功 | ||
| - | failed代表挂断失败 | ||
| </ | </ | ||
| |< | |< | ||