Using SOAP API: How to differentiate SFDC leads from SFDC contacts? | Community
Skip to main content
October 15, 2015
Question

Using SOAP API: How to differentiate SFDC leads from SFDC contacts?

  • October 15, 2015
  • 1 reply
  • 2922 views

Hi

I've found a problem while playing around with Marketo SOAP API: in Marketo I see a field SFDC Type: which has a value Lead OR Contact.

But when I pull this lead via API I don't see this field. How do I know if what I'm pulling is a SFDC lead or SFDC Contact? Any work around here, or am I missing something

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
October 15, 2015

Hi Paul,

Are you certain that the record you're pulling has been synced to SFDC?  It's possible that field is blank because the record only exists in Marketo.

John

October 15, 2015

Hi John

Yeah, I'm pretty sure. I created a contact and a lead in SFDC THEN waited for them to sync to Marketo THEN exported both via Soap API

And for neither of them there's any info on SFDC Type: even though it displays correctly in Mkto interface

PS: I'm doing a Soap GetLead API Call, and its not even that this field is empity, there's no such field at all, both for contacts and for leads

Grégoire_Miche2
Level 10
October 15, 2015

Hi Paul,

Are you sure you are using the right SFDC Type field ? There are 2 of them, one that gives you the lead/contact difference (and is empty when the lead exists only in Marketo), and the other that maps with the account.type standard field.

-Greg