差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
zh:二次开发者指南:接口开发手册_v2.0:javascript接口:数据导入接口 [2016/09/03 06:22]
127.0.0.1 外部编辑
zh:二次开发者指南:接口开发手册_v2.0:javascript接口:数据导入接口 [2019/01/02 02:23] (当前版本)
donnie
行 2: 行 2:
  
   * 接口原型:​   * 接口原型:​
-<​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>​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>​
   * 作用说明:​   * 作用说明:​
 向某个外呼营销任务的客户包导入客户数据 向某个外呼营销任务的客户包导入客户数据
行 48: 行 49:
 仅改变主表客户(unassignToCurrent),如果此客户未分配至其它客户包,那么将此客户分配至当前客户包。 仅改变主表客户(unassignToCurrent),如果此客户未分配至其它客户包,那么将此客户分配至当前客户包。
 转移到当前客户包(reassignToCurrent),如果客户已分配至其它客户包,系统会将此用户转移至当前客户包。</​code>​| 转移到当前客户包(reassignToCurrent),如果客户已分配至其它客户包,系统会将此用户转移至当前客户包。</​code>​|
 +|callbackFuc|String|回调函数|
  
 <note important>​注意:所有参数不得缺省,无数据时,请使用空参占位。 <note important>​注意:所有参数不得缺省,无数据时,请使用空参占位。
 例如不设置phone_field,priority_field,dialtime_field三个字段时 例如不设置phone_field,priority_field,dialtime_field三个字段时
  
-importWS(orgidentity,​usertype,​user,​pwdtype,​password,​modeltype,​model_id,​source,​ context,​source_user,​source_pwd,​exetime,​delrow, ​''​''​''​,​emptyagent,​ resetstatus,​ dupway, dupdiallist,​ changepackage)+importCJI(orgidentity,​usertype,​user,​pwdtype,​password,​modeltype,​model_id,​source,​context,​source_user,​source_pwd,​exetime,​delrow,​‘’,‘’,‘’,​emptyagent,​ 
 +resetstatus,​dupway,​dupdiallist,​changepackage,​callbackFuc)
 </​note>​ </​note>​
  
行 58: 行 61:
  
 <​code>​ <​code>​
-|Retuen|code|Retuen|message+{code:​code,​message:​message}
 </​code>​ </​code>​
  
-  * 返回值类型:​String+  * 返回值类型:​JSON
   * 返回值:   * 返回值:
  
 ^ 返回值 ​     ^ 描述信息 ​      ^ ^ 返回值 ​     ^ 描述信息 ​      ^
-|<​code>​|Retuen|1|Retuen|message</​code>​|<​code>​|Retuen|成功|Retuen|采用文件导入数据时(即source=http或ftp),返回导入任务id,否则直接返回成功提示语(即source=data)</​code>​| +|<​code>​{code:1,message:message}</​code>​|<​code>​{code:成功,message:采用文件导入数据时(即source=http或ftp),返回导入任务id,否则直接返回成功提示语(即source=data)}</​code>​| 
-|<​code>​|Retuen|2|Retuen|message</​code>​ |<​code>​|Retuen|失败|Retuen|信息描述</​code>​|+|<​code>​{code:2,message:message}</​code>​|<​code>​{code:失败,message:信息描述}</​code>​|
zh/二次开发者指南/接口开发手册_v2.0/javascript接口/数据导入接口.1472883732.txt.gz · 最后更改: 2017/12/12 03:11 (外部编辑)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki