这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
|
zh:二次开发者指南:如何通过api将数据导入到外呼营销任务及预拨号 [2016/01/30 08:38] liuxl [参数说明] |
zh:二次开发者指南:如何通过api将数据导入到外呼营销任务及预拨号 [2017/12/12 03:05] (当前版本) |
||
|---|---|---|---|
| 行 127: | 行 127: | ||
| - | <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) |
| - | + | ||
| - | 则:importWS(orgidentity,usertype,user,pwdtype,password,modeltype,model_id,source,context,source_user,source_pwd,exetime, | + | |
| - | delrow,‘’,‘’,‘’,emptyagent,resetstatus,dupway,dupdiallist,changepackage) | + | |
| </note> | </note> | ||
| + | |||
| + | ===== 返回结果 ===== | ||
| + | |||
| + | 返回值格式:|Retuen|code|Retuen|message | ||
| + | |||
| + | 返回值类型:String | ||
| + | |||
| + | <WRAP column 20%> | ||
| + | **返回值** | ||
| + | </WRAP> | ||
| + | <WRAP column 60%> | ||
| + | **描述信息** | ||
| + | </WRAP> | ||
| + | |||
| + | |||
| + | <WRAP column 20%> | ||
| + | * |Retuen|1|Retuen|message | ||
| + | |||
| + | * |Retuen|2|Retuen|message | ||
| + | </WRAP> | ||
| + | <WRAP column 60%> | ||
| + | * |Retuen|成功|Retuen|采用文件导入数据时(即source=http或ftp),返回导入任务id,否则直接返回成功提示语(即source=data) | ||
| + | |||
| + | * |Retuen|失败|Retuen|信息描述 | ||
| + | </WRAP> | ||