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:webservice:import [2017/12/12 03:05]
127.0.0.1 external edit
en:custom_development_guide:apis:webservice:import [2019/01/03 07:19] (current)
donnie
Line 2: Line 2:
  
   * Function:   * Function:
-<​code>​importCJI(orgidentity,​usertype,​user,​pwdtype,​password,​modeltype,​model_id,​source,​ context,​source_user,​source_pwd,​exetime,​delrow,​phone_field,​ priority_field,​dialtime_field,​emptyagent,​ resetstatus,​ dupway, dupdiallist,​ changepackage, callbackFuc)+<​code>​importWS(orgidentity,​usertype,​user,​pwdtype,​password,​modeltype,​model_id,​source,​ context,​source_user,​source_pwd,​exetime,​delrow,​phone_field,​ priority_field,​dialtime_field,​emptyagent,​ resetstatus,​ dupway, dupdiallist,​ changepackage)
 </​code>​ </​code>​
   * Description:​   * Description:​
Line 49: Line 49:
 unassignToCurrent:​ if customer doesn'​t belong to any package, move the customer to current package unassignToCurrent:​ if customer doesn'​t belong to any package, move the customer to current package
 reassignToCurrent:​ always move customer to current package</​code>​| reassignToCurrent:​ always move customer to current package</​code>​|
-|callbackFuc|String|callback function| 
  
 <note important>​You must set all parameters, if you have no data, use a empty string. <note important>​You must set all parameters, if you have no data, use a empty string.
Line 60: Line 59:
  
 <​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:​when import from http or ftp, it gives import job id, or else it return a message</​code>​| +|<​code>​|Retuen|1|Retuen|message</​code>​|<​code>​|Retuen|succeed|Retuen|message:​when import from http or ftp, it gives import job id, or else it return a 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/webservice/import.txt · Last modified: 2019/01/03 07:19 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki