Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:custom_development_guide:apis:http:bind_extension [2017/12/12 11:05]
127.0.0.1 external edit
en:custom_development_guide:apis:http:bind_extension [2019/01/02 18:28] (current)
donnie
Line 2: Line 2:
  
   * Reques String:   * Reques String:
-<​code> ​setdeviceCJI(orgidentityextenuserpwdtypepassword, callbackFuc)</​code>​+<​code> ​EVENT=SetDevice&​orgidentity=orgidentity&​exten=exten&user=user&pwdtype=pwdtype&​password=password</​code>​
   * Description:​   * Description:​
 Change agent bind number, agent need to check out of agent group before using this API. Change agent bind number, agent need to check out of agent group before using this API.
Line 8: Line 8:
  
 ^ Params ​     ^ Type       ^ Description ​         ^ ^ Params ​     ^ Type       ^ Description ​         ^
 +|EVENT|String|SetDevice|
 |orgidentity|String|team identity string| |orgidentity|String|team identity string|
-|pwdtype|String|password type: plaintext/​md5| 
-|password|String|password| 
 |exten|String|extension number| |exten|String|extension number|
 |user|String|agent No.| |user|String|agent No.|
-|callbackFuc|String|callback function|+|pwdtype|String|password type: plaintext/​md5| 
 +|password|String|password|
  
  
Line 19: Line 19:
  
 <​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>​|
en/custom_development_guide/apis/http/bind_extension.txt · Last modified: 2019/01/02 18:28 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki