post_import_mailinglist
Overview
Imports a mailing list from a csv, txt, xls or xlsx file into the specified mailing list
Parameters
Name
Type
Required
Comments
FileUrl
String
Yes
The url where the file resides that you want to import from. I should be a complete url e.g. http://www.thedomain.com/file.csv
IsCsv
Boolean
Only if the file does not have an explicit ".csv" extension
Use this flag if your csv file is dynamically generated i.e not an expicit file with an explicit extension
MailinglistID
Integer
Yes
The id of the mailing list you want to import to
Returns
0
|Error (Different descriptions for the error).
1
|Mailing list successfully imported
Example
https://www.graphicmail.co.nz/api.aspx?Username=user@mydomain.com&Password=123456&Function=post_import_mailinglist&MailinglistID=123456&FileUrl=http://www.thedomain.com/file.csv&SID=11