Skip to main content
Kurt_Koller
Level 4
June 16, 2017
解決済み

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

  • June 16, 2017
  • 5 の返信
  • 2987 ビュー

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.

このトピックへの返信は締め切られました。
ベストアンサー

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 の返信

回答
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
Kurt_Koller作成者
Level 4
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?