Filter data on Date Range

Anonymous
Not applicable

Filter data on Date Range

Hi,

I am working on Marketo API and trying to get Data (Program/Campaign/Lead) on Date Range. I mean, to filter data on 'Date Range'. Is it possible to achieve this using Marketo API. Please suggest.

Thanks,

Avi

4 REPLIES 4
Jim_Thao7
Level 9

Re: Filter data on Date Range

Not that I'm aware of.  However, I could totally be wrong as there are many calls out there and I've not gone through them all yet.

You may have to pull your data first using the available filter types foe each object.  Then when you have your data, you can do your filtering on say, CreatedAt or UpdatedAt.

EG. Say you use Get Multiple Campaigns​ and you paginate through all your campaigns.  Now you have a large JSON file of data.  You can then now filter through that JSON file with CreatedAt or UpdateAt

Grégoire_Miche2
Level 10

Re: Filter data on Date Range

You will have to do it on the client end, I guess.

Vote here:

-Greg

Anonymous
Not applicable

Re: Filter data on Date Range

Thanks Jim and Greg, for quick response.

Managing at Client End (I am doing right now this way only) is my concern due to the volume of data and bandwidth on server so, I was looking for a way through API call itself. I believe now, its not available.

Thanks...

Grégoire_Miche2
Level 10

Re: Filter data on Date Range

Then vote