"Original Source Type" via Leads API or Lead Bulk Extract API? | Community
Skip to main content
Kurt_Koller
New Participant
June 16, 2017
Solved

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

  • June 16, 2017
  • 1 reply
  • 2955 views

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.

Best answer by

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}

1 reply

Accepted solution
June 19, 2017

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}

Kurt_Koller
New Participant
June 19, 2017

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?