Salesforce User ID and getLead method

Anonymous
Not applicable

Salesforce User ID and getLead method

please help me to understand what the issue is:

In Marketo my Salesforce ID (SFDC ID) is: 00Qb00000076xGcEAI
but in SalesForce my SFDC ID is not the same, it is : 00Qb00000076xGc

The same situation for another created leads in SalesForce.

I am using this SFDC ID in our app and getLead method (http://developers.marketo.com/documentation/soap/getlead/ ;
leadKey->keyType  = SFDCLEADID) but it fails always because SFDC is different
please compare:
00Qb00000076xGcEAI
00Qb00000076xGc

How can it be? Can you please expain me?
Looks like it is impossible to use getLead method to search leads by SFDC ID.
Tags (1)
1 REPLY 1
Valerie_Armstro
Level 10 - Champion Alumni

Re: Salesforce User ID and getLead method

Hi Alexander,

There are two types of Salesforce IDs
  • 15 digit case-sensitive version which is referenced in the UI (from your example: ID = 00Qb00000076xGc)
  • 18 digit case-insensitive version which is referenced through the API (from your example: ID = 00Qb00000076xGcEAI)
It looks like you may need to get the 18-digit Salesforce ID to use the getLead call in Marketo, as Marketo stores the 18-digit ID.  More info on how to get the 18-digit ID over at the Salesforce Developer Community.