Retrieve all program leads that received an status of "Not in Program" (deleted) | Community
Skip to main content
July 3, 2018
Question

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

  • July 3, 2018
  • 1 reply
  • 1657 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Josh_Hill13
Level 10
July 3, 2018

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

Why would you want to remove someone from a Program?

July 3, 2018

I need to do this through the Rest API.

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

SanfordWhiteman
Level 10
July 4, 2018

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.