Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:custom_development_guide:apis:http:import [2018/12/29 10:12]
donnie
en:custom_development_guide:apis:http:import [2019/01/03 07:19] (current)
donnie
Line 2: Line 2:
  
   * Reques String:   * Reques String:
-<​code>​EVENT=Import&​orgidentity=orgidentity&​usertype=usertype&​user=user&​pwdtype=pwdtype&​password=password&​modeltype=modeltype&​model_id= +<​code>​EVENT=Import&​orgidentity=orgidentity&​usertype=usertype&​user=user&​pwdtype=pwdtype&​password=password&​modeltype=modeltype&​model_id=model_id&​source=source&​context=context&​source_user=source_user&​source_pwd=source_pwd&​exetime=exetime&​delrow=delrow&​phone_field=phone_field&​priority_field=priority_field&​dialtime_field=dialtime_field&​emptyagent=emptyagent&​resetstatus=resetstatus&​dupway=dupway&​dupdiallist=dupdiallist&​changepackage=changepackage</​code>​
-model_id&​source=source&​context=context&​source_user=source_user&​source_pwd=source_pwd&​exetime=exetime&​delrow=delrow&​phone_field=phone_field&​priority_field=priority_field&​dialtime_field=dialtime_field&​emptyagent=emptyagent&​resetstatus=resetstatus&​dupway=dupway&​dupdiallist=dupdiallist&​changepackage=changepackage</​code>​+
   * Description:​   * Description:​
 Import/​update data to a customer package (campaign) Import/​update data to a customer package (campaign)
Line 54: Line 53:
 ex: when you don't have field phone_field,priority_field,dialtime_field,​ it looks like ex: when you don't have field phone_field,priority_field,dialtime_field,​ it looks like
  
-importWS(orgidentity,usertype,user,pwdtype,password,modeltype,model_id,sourcecontext,source_user,source_pwd,exetime,delrow, , , '',​emptyagentresetstatusdupwaydupdiallistchangepackage)+EVENT=Import&​orgidentity=orgidentity&​usertype=usertype&user=user&​pwdtype=pwdtype&password=password&​modeltype=modeltype
 +model_id=model_id&​source=source&context=context&​source_user=source_user&source_pwd=source_pwd&​exetime=exetime
 +delrow=delrow**&​phone_field=&​priority_field=&​dialtime_field=**&​emptyagent=emptyagent&resetstatus=resetstatus&​ 
 +dupway=dupway&​dupdiallist=dupdiallist&​changepackage=changepackage
 </​note>​ </​note>​
  
Line 63: Line 65:
 </​code>​ </​code>​
  
-  * Type of the Return Value:JSON+  * Type of the Return Value:String
   * Return Values:   * Return Values:
  
 ^ Value      ^ Description ​      ^ ^ Value      ^ Description ​      ^
-|<​code>​|Retuen|1|Retuen|message</​code>​|<​code>​|Return|succeed|Return|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>​|Retuen|2|Retuen|message</​code>​|<​code>​|Retuen|failed|Retuen|message</​code>​| |<​code>​|Retuen|2|Retuen|message</​code>​|<​code>​|Retuen|failed|Retuen|message</​code>​|
en/custom_development_guide/apis/http/import.1546078333.txt.gz · Last modified: 2018/12/29 10:12 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki