SOLVED

Re: How to use foreignSysPersonId and foreignsysType?

Go to solution
Anonymous
Not applicable

How to use foreignSysPersonId and foreignsysType?

Hi 

The foreignsysType support CUSTOM , NETSUITE and SFDC. Currently i have test SFDC, it is working well.
Who can tell me how to test the others.

How to test The CUSTOM?
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: How to use foreignSysPersonId and foreignsysType?

Custom would be a value from an external system such as Record ID from a Content Management System as Drupal.

Marketo Id takes precedence over all other keys. If both ForeignSysPersonId and the Marketo Id are present in the lead record, then the Marketo Id will take precedence and the ForeignSysPersonId will be updated for that lead. If the only ForeignSysPersonId is given, then it will be used as a unique identifier.

At present, ForeignSysID is never returned in getLead or getMultipleLeads operations, so you cannot read this value through the API 
 
You can set those ForeignSys field values with syncLead/syncMultipleLeads and then reference leads with that stored ForeignSysID.
 

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Re: How to use foreignSysPersonId and foreignsysType?

Custom would be a value from an external system such as Record ID from a Content Management System as Drupal.

Marketo Id takes precedence over all other keys. If both ForeignSysPersonId and the Marketo Id are present in the lead record, then the Marketo Id will take precedence and the ForeignSysPersonId will be updated for that lead. If the only ForeignSysPersonId is given, then it will be used as a unique identifier.

At present, ForeignSysID is never returned in getLead or getMultipleLeads operations, so you cannot read this value through the API 
 
You can set those ForeignSys field values with syncLead/syncMultipleLeads and then reference leads with that stored ForeignSysID.
 
Anonymous
Not applicable

Re: How to use foreignSysPersonId and foreignsysType?

Hi Breno Gomes,

Will ForeignSysPersonId AND ForeignSysType return when we  do SyncLead operation?
We set the return lead ' s value to true.

But we didn't get value of those field.
Could you confirm that?
Anonymous
Not applicable

Re: How to use foreignSysPersonId and foreignsysType?

Breno, et al -

Taking a deep breath and counting to 10 :).  But in all seriousness, not being able to view or retrieve ForeignSysPersonId either through the UI or the API is a serious problem.  It's not a nice to have, it's a MUST have - confirmed by the sheer number of questions about ForeignSysPersonId on these forums.  And compounded by the fact that the documentation doesn't say anywhere that the values are not returned via the API.  But wait... the attributes are returned, except they are null!

Totally get that APIs are rarely complete or perfect...  but this one should be considered a bug and not a feature.

Thanks
Anonymous
Not applicable

Re: How to use foreignSysPersonId and foreignsysType?

Our company also considers the non return of foreign sys id to be a bug in the Marketo API.  The documentation CLEARLY details that it should be returned but it is not.

Escallation has not provided any fix as yet and we are at a loss as to how to best get this issue resolved.

Additionally, we can not find any documentation on whether the foreign sys id is over written when the lead is synced with Salesforce.  We suspect that this is the case and testing will prove it out.
Anonymous
Not applicable

Re: How to use foreignSysPersonId and foreignsysType?

"At present, ForeignSysID is never returned in getLead or getMultipleLeads operations, so you cannot read this value through the API"

That sentence made me a little angry.  Why not?