This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
en:custom_development_guide:apis:webservice:transfer_to_ivr [2016/09/12 07:39] liuxl created |
en:custom_development_guide:apis:webservice:transfer_to_ivr [2019/01/03 05:49] (current) donnie |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| * function: | * function: | ||
| - | <code>setvarCJI (orgidentity,usertype,user,pwdtype,password,varname,varvalue,callbackFuc) | + | <code>agentToIvr (orgidentity,usertype,user,pwdtype,password,ivrexten,ivrflow,transfer) |
| </code> | </code> | ||
| * Description: | * Description: | ||
| Line 17: | Line 17: | ||
| |ivrflow|String|IVR flow, to simulate user input, use - as separator if you have multiple flow, such as 1-2-5 means customer press 1 in 1st flow, 2 in 2nd and 5 in 3rd| | |ivrflow|String|IVR flow, to simulate user input, use - as separator if you have multiple flow, such as 1-2-5 means customer press 1 in 1st flow, 2 in 2nd and 5 in 3rd| | ||
| |transfer|String|IVR transfer mode: 0 release transfer, 1 hold transfer| | |transfer|String|IVR transfer mode: 0 release transfer, 1 hold transfer| | ||
| - | |callbackFuc|String|callback function| | ||
| Line 24: | Line 23: | ||
| <code> | <code> | ||
| - | {code:code,message:message} | + | |Retuen|code|Retuen|message |
| </code> | </code> | ||
| - | * Type of the Return Value: JSON | + | * Type of the Return Value: String |
| * Return values: | * Return values: | ||
| ^ Value ^ Description ^ | ^ Value ^ Description ^ | ||
| - | |<code>{code:1,message:message}</code>|<code>{code:succeed,message:message}</code>| | + | |<code>|Retuen|1|Retuen|message</code>|<code>|Retuen|succeed|Retuen|message</code>| |
| - | |<code>{code:2,message:message}</code>|<code>{code:failed,message:message}</code>| | + | |<code>|Retuen|2|Retuen|message</code>|<code>|Retuen|failed|Retuen|message</code>| |