这里会显示出您选择的修订版和当前版本之间的差别。
| 后一修订版 | 前一修订版 | ||
|
zh:二次开发者指南:接口开发手册_v2.0:javascript接口:坐席转ivr [2016/09/03 06:22] 127.0.0.1 外部编辑 |
zh:二次开发者指南:接口开发手册_v2.0:javascript接口:坐席转ivr [2018/12/27 06:21] (当前版本) donnie |
||
|---|---|---|---|
| 行 2: | 行 2: | ||
| * 接口原型: | * 接口原型: | ||
| - | <code>agentToIvr (orgidentity,usertype,user,pwdtype,password,ivrexten,ivrflow,transfer)</code> | + | <code>agenttoivrCJI (orgidentity, usertype, user, pwdtype, password, ivrexten, ivrflow, transfer, callbackFuc) |
| + | </code> | ||
| * 作用说明: | * 作用说明: | ||
| 坐席转IVR | 坐席转IVR | ||
| 行 14: | 行 15: | ||
| |password|String|密码| | |password|String|密码| | ||
| |ivrexten|String|主IVR的内线号码| | |ivrexten|String|主IVR的内线号码| | ||
| - | |ivrflow|String|IVR流程,多个流程使用-分割,如1-2-5 代表第一个ivr流程时客户按了1,到达第二个ivr流程时客户按了2,到达第三个ivr流程时,客户按了5| | + | |ivrflow|String|IVR流程, 用于模拟客户输入,多个输入使用-分割,如1-2-5 代表第一个ivr流程时客户按了1,到达第二个ivr流程时客户按了2,到达第三个ivr流程时,客户按了5| |
| |transfer|String|IVR的转接模式(0或1),0代表释放转,1代表挂起转。| | |transfer|String|IVR的转接模式(0或1),0代表释放转,1代表挂起转。| | ||
| + | |callbackFuc|String|回调函数| | ||
| 行 22: | 行 24: | ||
| <code> | <code> | ||
| - | |Retuen|code|Retuen|message | + | {code:code,message:message} |
| </code> | </code> | ||
| - | * 返回值类型:String | + | * 返回值类型:JSON |
| * 返回值: | * 返回值: | ||
| ^ 返回值 ^ 描述信息 ^ | ^ 返回值 ^ 描述信息 ^ | ||
| - | |<code>|Retuen|1|Retuen|message</code>|<code> |Retuen|成功|Retuen|信息描述</code>| | + | |<code>{code:1,message:message}</code>|<code>{code:成功,message:信息描述}</code>| |
| - | |<code>|Retuen|2|Retuen|message</code> | <code>|Retuen|失败|Retuen|信息描述</code>| | + | |<code>{code:2,message:message}</code>|<code>{code:失败,message:信息描述}</code>| |