Re: describeMObject API does not return primary key for LeadRecord

Anonymous
Not applicable

describeMObject API does not return primary key for LeadRecord

 

  Primary key column for Lead Record is not returned by the API

For Activity – The API does return the primary key column as a part of describeMObject() API call.

For Lead -  The API does not return the primary key column as  a part of describeMObject() API call. 


Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: describeMObject API does not return primary key for LeadRecord

Hi Shrikant,

Is there a particular question here? The primary key happens to be a field called ID which you can see in getActivities or getLead calls.

Describe MObject should probably have it listed, but it should be easy to work around.