SOAP API - getMultipleLeads, but only get known leads not Annonymouns leads

Anonymous
Not applicable
I am working on making sure that my database data and the marketo information is in sync with each other.  I am using the SOAP API to getMultipleLeads, but it seems like this is grabbing all the leads including the annonymous leads.  Is there any way to make sure that it only grabs the known leads as I know the annonymous leads are not in my database?

Thanks in advance for any help.
Tags (1)
1 REPLY 1
Anonymous
Not applicable
getMultipleLeads supports 3 types of selectors - I'm guessing you are using the LastUpdateAtSelector.  To retrict the responses to known leads, please use the StaticListSelector or LeadKeySelector.  To use the former, you'd have to put all your leads in a static list in Marketo.  You can get sample code at http://developers.marketo.com/documentation/soap/getmultipleleads/