REST: How to get the Program summary count

Anonymous
Not applicable

REST: How to get the Program summary count

Hi,

Is there any way to get the program stats using the REST api?

Basically I want the below stats and more if available using the rest api.

Capture.PNG

Thanks,

Bala

Tags (1)
8 REPLIES 8
Mark_Price
Level 7

Re: REST: How to get the Program summary count

Hi,

Might be 2 API calls depending on what you are after.  Hopefully these 2 links have what you need!

For program Info: Created At, Name, URL in MKTO etc.

http://developers.marketo.com/rest-api/assets/programs/​​​

For lead counts and membership data:

http://developers.marketo.com/rest-api/lead-database/leads/#list_and_program_membership​​

Anonymous
Not applicable

Re: REST: How to get the Program summary count

Hi Mark,

Thanks for the reply,  actually what I need is just the stats (ie) no of acquiredBy, emails sent...etc for a Program.

ProgramByID and ProgramByName is giving only the name and other details not the stats.

Is there any other api to get the details?

Thanks,

Bala

SanfordWhiteman
Level 10 - Community Moderator

Re: REST: How to get the Program summary count

Did you look at Mark's second link?

Anonymous
Not applicable

Re: REST: How to get the Program summary count

Yes Sanford, it is actually the list of leads by list id or program. It wont give the total counts, we have to loop through each item to collect different stats.

Thanks,

Bala

SanfordWhiteman
Level 10 - Community Moderator

Re: REST: How to get the Program summary count

There's no direct source for the stats counters via API (much as there's no direct source for pre-rendered reports via API).

Anonymous
Not applicable

Re: REST: How to get the Program summary count

Oh I see.. thank you

Mark_Price
Level 7

Re: REST: How to get the Program summary count

Hi Rajesh,

Sorry if it was confusing.  Looping through the list is the way to get to the stats data.   I don't know of another way at the moment.

Anonymous
Not applicable

Re: REST: How to get the Program summary count

Thanks Mark, doing the same.