"Original Source Type" via Leads API or Lead Bulk Extract API? | Community
Skip to main content
Kurt_Koller
Level 4
Jun 16, 2017 9:15 PM UTC
Solved

"Original Source Type" via Leads API or Lead Bulk Extract API?

I can't figure out how to get "Original Source Type" from the Leads API. I exported the field names from my instance and I don't see "Original Source Type" in there anywhere or even "Source Type". Is it possible to get these fields from the Lead API or the new Lead Bulk Extract API?

If not, I know they can probably be pulled out of "New Lead" activities that have "Source Type" on them, I think that's the same data? I think that "Source Type" is the same as Original Source Type? Is it possible to get these for every lead no mater how old or do those activities expire?

Pardon if I'm confused here, I just don't see where the right place is to get that data. Any help would be appreciated.

Accepted solution
Jun 19, 2017 3:54 AM UTC

Hi @Kurt Koller​

I exported the field names from my instance and I don't see "Original Source Type" in there anywhere or even "Source Type".

Exported "Fields.xls" dosen't include these fields but we can use fields "originalSourceType" and "originalSourceInfo".

For example

Request

999-XXX-999.mktorest.com/rest/v1/lead/1000066.json?fields=originalSourceType,originalSourceInfo&access_token=xxxxxxxx

Response

{"requestId":"2463#15cbe7436ec","result":[{"id":1000066,"originalSourceType":"List import","originalSourceInfo":"List: DummyLead_20141210"}],"success":true}

5 replies

Accepted solution
Jun 19, 2017 3:54 AM UTC

Hi @Kurt Koller​

I exported the field names from my instance and I don't see "Original Source Type" in there anywhere or even "Source Type".

Exported "Fields.xls" dosen't include these fields but we can use fields "originalSourceType" and "originalSourceInfo".

For example

Request

999-XXX-999.mktorest.com/rest/v1/lead/1000066.json?fields=originalSourceType,originalSourceInfo&access_token=xxxxxxxx

Response

{"requestId":"2463#15cbe7436ec","result":[{"id":1000066,"originalSourceType":"List import","originalSourceInfo":"List: DummyLead_20141210"}],"success":true}

Translate
Kurt_Koller
Level 4
Jun 19, 2017 6:00 PM UTC

Thank you, I will try this. As long as you had a definitive answer for that, do you know if there's a way to request a field indicating whether a lead is marketing suspended?

Translate