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.
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.
For lead counts and membership data:
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?
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.
There's no direct source for the stats counters via API (much as there's no direct source for pre-rendered reports via API).
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.