SOAP API - getMultipleLeads, but only get known leads not Annonymouns leads | Community
Skip to main content
January 13, 2014
Question

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

  • January 13, 2014
  • 1 reply
  • 558 views
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.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

January 15, 2014
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/