Retrieve all program leads that received an status of "Not in Program" (deleted)

Anonymous
Not applicable

Retrieve all program leads that received an status of "Not in Program" (deleted)

Hello, I have a program with several leads and an internal system of mine that synchronizes all of those leads.

I need to know when a lead is removed from a program (received an status of "Not in Program") so I remove from my internal system as well.

ps: rest API.

Is that possible?

Thanks.

Tags (1)
3 REPLIES 3
Highlighted
Level 10 - Champion Alumni

Re: Retrieve all program leads that received an status of "Not in Program" (deleted)

Maybe? Did you try the filter Member of Program>Not In Program?

Why would you want to remove someone from a Program?

Highlighted
Anonymous
Not applicable

Re: Retrieve all program leads that received an status of "Not in Program" (deleted)

I need to do this through the Rest API.

On Tue, Jul 3, 2018 at 7:13 PM Josh Hill <marketingnation@marketo.com>

Highlighted
Level 10 - Community Moderator

Re: Retrieve all program leads that received an status of "Not in Program" (deleted)

You do this using the Get Lead Activities endpoint, with

  • activityTypeId= the ID of the Change Status in Progression activity (get the ID from the Describe Activities endpoint)
  • assetIds= the Program ID

The act of being removed from a program means a lead will not be accessible from the Programs endpoint.