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:transfer_to_ivr [2017/12/12 03:05] 127.0.0.1 external edit |
en:custom_development_guide:apis:http:transfer_to_ivr [2018/12/29 07:55] (current) donnie |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| * Reques String: | * Reques String: | ||
| - | <code>setvarCJI (orgidentity,usertype,user,pwdtype,password,varname,varvalue,callbackFuc) | + | <code>EVENT=AgentToIvr&orgidentity=orgidentity&usertype=usertype&user=user&pwdtype=pwdtype&password=password&ivrexten=ivrexten&ivrflow=ivrflow&transfer=transfer |
| </code> | </code> | ||
| * Description: | * Description: | ||
| Line 9: | Line 9: | ||
| ^ Params ^ Type ^ Description ^ | ^ Params ^ Type ^ Description ^ | ||
| + | |EVENT|String|AgentToIvr| | ||
| |orgidentity|String|team identity string| | |orgidentity|String|team identity string| | ||
| |usertype|String|agent / account| | |usertype|String|agent / account| | ||
| Line 17: | Line 18: | ||
| |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 24: | ||
| <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>| |