SOLVED

Name of Marketo Lead ID field?

Go to solution
Anonymous
Not applicable

Name of Marketo Lead ID field?

I'm planning to use the SOAP API to synch with our database. I have exported the field names from Admin | Field Management, but I don't see one for the Marketo Lead ID. Many of the SOAP API calls (e.g., syncLead) are looking for a "Marketo ID". I assume this is the same thing that is variously called Marketo Lead ID, Lead ID or just ID when I am viewing data in a list. I have created a MarketoID field in my database; how do I map it to Marketo? 
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Name of Marketo Lead ID field?

The Marketo Lead ID is assigned by Marketo.  You won't know what value it has until the Lead is saved into Marketo.  When you use "syncLead" or "getLead", the SOAP response will report the ID.

The ID is not a regular attribute, so I'm not surprised it's not in that list.

Marketo's SOAP docs are... not very rigorous.  Expect to do a fair bit of guess-and-testing.

If it helps, here are some sample SOAP request/responses that I've collected, so you can know what to expect:
https://github.com/gbirchmeier/markety/tree/master/example_xml


View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Re: Name of Marketo Lead ID field?

Have you taken a look at the WSDL? 

http://app.marketo.com/soap/mktows/2_4?WSDL
Anonymous
Not applicable

Re: Name of Marketo Lead ID field?

The Marketo Lead ID is assigned by Marketo.  You won't know what value it has until the Lead is saved into Marketo.  When you use "syncLead" or "getLead", the SOAP response will report the ID.

The ID is not a regular attribute, so I'm not surprised it's not in that list.

Marketo's SOAP docs are... not very rigorous.  Expect to do a fair bit of guess-and-testing.

If it helps, here are some sample SOAP request/responses that I've collected, so you can know what to expect:
https://github.com/gbirchmeier/markety/tree/master/example_xml


Anonymous
Not applicable

Re: Name of Marketo Lead ID field?

Murtza - I have not looked at it yet. That is my next step!

Grant - thanks for the info and the tips. I'll take a look at your examples. 
Anonymous
Not applicable

Re: Name of Marketo Lead ID field?

Another good resource to check out is our Community Supported Client Libraries list on GitHub:
https://github.com/Marketo/Community-Supported-Client-Libraries