API Questions: Pulling leads for a program or smart list and updating program status.

Anonymous
Not applicable

API Questions: Pulling leads for a program or smart list and updating program status.

Event and Profile Registration Integration
--------------------------------------------------
We need to be able to identify a group of leads by using either a program id or a smart list.  Once we have the leads identified, we need to download the profile information for those leads through the Marketo API to our profile API.  The user needs to be able to specify either a program id or a smart list name/identifier for the download.  We need to be able to do an initial “pull” of the complete list of leads for the smart list or program and then periodically pull the leads that have been updated or added to the smart list or program since a specified date.
 
The documentation we have on the Marketo API provides for downloading lead information using a last modification date.  We have implemented an integration that downloads all the Marketo leads into our profile database and periodically updates those leads based on the last modification date.  However, this needs to be more selective so that leads for a program or smart list only can be downloaded.  Is there an API that supports this type of data integration from Marketo?  If so, can we get the documentation and/or a sample java client implementation of the API?
 
 
Event Status Update Integration
---------------------------------------
We need to be able to update the program status field for a lead based on the lead’s event status in the Certain system.  We need to be able to do this through the Marketo API.  Is there a way to perform this update with the Marketo API?
Tags (1)
3 REPLIES 3
Anonymous
Not applicable

Re: API Questions: Pulling leads for a program or smart list and updating program status.

We do not have an API to pull leads from a smartlist because the smartlist is highly dynamic and could change between two paging requests (assuming you have a non-trivial number of leads in the smart list).  Our recommended approach is to add the leads of interest into a static list and query the static list using the getMultipleLeads() function.  

For updating the fields, you could set up a campaign with the flow step "Change Program Status"/"Change Program Success" flow action and then use the requestCampaign() function to update the values

HTH

Anonymous
Not applicable

Re: API Questions: Pulling leads for a program or smart list and updating program status.

Thanks Raj. I appreciate the response. I'll review with my developer and may post another follow-up question if needed.

Kind Regards,
Bob
Anonymous
Not applicable

Re: API Questions: Pulling leads for a program or smart list and updating program status.

Hey Raj,

Is there an update in API to provide leads against smart lists or its still not possible?

Best regards,
Adeeb Ashraf