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:javascript:exit_moh [2016/09/07 06:28] liuxl |
en:custom_development_guide:apis:javascript:exit_moh [2018/12/29 06:27] (current) donnie |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| *Function: | *Function: | ||
| - | <code>resume(agentuniqueid,calleruniqueid,orgidentity,usertype,user,pwdtype,password)</code> | + | <code>resumeCJI (orgidentity, usertype, user, pwdtype, password, callbackFuc)</code> |
| *Description: | *Description: | ||
| Line 10: | Line 10: | ||
| ^Params ^Type ^Description ^ | ^Params ^Type ^Description ^ | ||
| - | |agentuniqueid|String|call uniqueid of the agent| | ||
| - | |calleruniqueid|String|call uniqueid of the caller| | ||
| |orgidentity|String|The identity string of the team| | |orgidentity|String|The identity string of the team| | ||
| |usertype|String|agent / account| | |usertype|String|agent / account| | ||
| Line 20: | Line 18: | ||
| *Return Format: | *Return Format: | ||
| - | <code>|Return|code|Return|message|Return|status | + | <code>{code:code,message:message}</code> |
| - | Type of the Return Value: String</code> | + | |
| + | *Type of the Return Value: JSON | ||
| *Return Values: | *Return Values: | ||
| ^Value ^Description ^ | ^Value ^Description ^ | ||
| - | |<code>|Return|1|Return|message</code>|<code>Succeeded||Messages</code>| | + | |<code>{code:1,message:message}</code>|<code>{code:succeed,message:message}</code>| |
| - | |<code>|Return|2|Return|message</code>|<code>Failed||Messages</code>| | + | |<code>{code:2,message:message}</code>|<code>{code:failed,message:message}</code>| |