post_import_dataset
 
 
Overview
Imports a dataset. To get the column mappings call the get_dataset_columns function. E.g. If according to get_dataset_columns Surname is in col1, and in the file you are importing, the surname is in column 2, you should specify col1=2.
 
Parameters
 
NameTypeRequiredComments
None
Returns
0|Error (Different descriptions for the error).
1|Dataset import successfull,DatasetImported=x,DatasetUpdated=x,MailingListImported=x,MobileListImported=x
2|Dataset import queued
Example
https://graphicmail.com/api.aspx?Username=user@mydomain.com&Password=123456&Function=post_import_dataset&EmailCol=2&MobileCol=3&Col1=1&Col3=4&DatasetID=123&MailingListID=456&ImportMode=1&MobileListID=789&FileUrl=htpp://www.thedomain.com/file.xls&IsCsv=false&SID=0