Sorry, I meant static list.
I created a static list called "zzTestSai" in my instance. I am able to get the leads in the static list using ParamsGetMultipleLeads and using the static list name as the StaticListSelector.
However, when I set the "zzTestSai" listName for the ImportToList call, I get a response saying that the lead list is not found.
Is there another way I can set the list name?
The code that I am using is below for any reference:
Marketo_WS_2_0.ParamsImportToList import = new Marketo_WS_2_0.ParamsImportToList();
import.listName = "zzTestSai";
import.importFileHeader = data_headers;
import.importFileRows = data.ToArray();
import.programName = "zzTestSaiProgram";
Marketo_WS_2_0.SuccessImportToList response = new Marketo_WS_2_0.SuccessImportToList();
try
{
response = client.importToList(ws_header, import);
results = "";
}
catch (Exception e)
{
results = e.Message;
}
Thank you.