iam finding that i cannot access smartlist via restapi , but i can see the smart campaigns, how can i find the lead activities of that particular smartlist can someonehelp me ? is there any way with soapapi
Solved! Go to Solution.
You cannot use a smart list as a selector for retrieving leads with the SOAP API. You can only use static lists.
So you will have to create a List and 1 smart campaign to synchronize the list and the smart list.
Depending of the frequency of you API calls, you may also prefer a batch approach, for instance if your API call is made daily. In this case you will need 1 smart campaign that runs before the AOI call :
You are done.
Then, once you have the list, you will be able to use getMultipleLeads to get the leads and getLeadActivity to get the activities.
-Greg
You cannot use a smart list as a selector for retrieving leads with the SOAP API. You can only use static lists.
So you will have to create a List and 1 smart campaign to synchronize the list and the smart list.
Depending of the frequency of you API calls, you may also prefer a batch approach, for instance if your API call is made daily. In this case you will need 1 smart campaign that runs before the AOI call :
You are done.
Then, once you have the list, you will be able to use getMultipleLeads to get the leads and getLeadActivity to get the activities.
-Greg
Thank you greg
Grégoire Michel , so we have to create a static list for every smartcampaign right?
Yes, for each smart list, you will need 1 smart campaign and 1 list.