How to make a filter for getMultipleLeads to get Leads created after a specified date point?

Anonymous
Not applicable

How to make a filter for getMultipleLeads to get Leads created after a specified date point?

Hi all,

I'm trying to get leads created after a specified date point, not caring whether it has been modified after creation or not. But in the SOAP APIs 2.2, I can only find some parameters about UpdatedAt.
How could I make the LeadSelector or anything else considering CreatedAt?

Best Regards,
Biao
Tags (1)
4 REPLIES 4
Anonymous
Not applicable

Re: How to make a filter for getMultipleLeads to get Leads created after a specified date point?

We have sample code at http://developers.marketo.com/documentation/soap/getmultipleleads/

S
ome portions are commented out, so make sure you uncomment the relevant ones when you try
Anonymous
Not applicable

Re: How to make a filter for getMultipleLeads to get Leads created after a specified date point?

Hi Raj,

I have found this document and read this parameter list.
But in the WSDL 2.2, I can't find the 'startPosition' with 'oldestCreatedAt' and 'latestCreatedAt' in 'ParamsGetMultipleLeads', but only a 'streamPosition' of string type.
Will it supported soon? Or is there anything I miss?

Thanks and Regards,
Biao
Anonymous
Not applicable

Re: How to make a filter for getMultipleLeads to get Leads created after a specified date point?

Did you try executing the sample code?  The sample code is tested against v2.2, so I suspect you are either reading the WSDL incorrectly or we have a regression on our hands.  
Anonymous
Not applicable

Re: How to make a filter for getMultipleLeads to get Leads created after a specified date point?

Hi Raj,

I have tried the sample code before. And now it is still working well.
But my problem is how to get the Leads created after a specified date point, not caring whether it has been modified after creation or not.
I did find the parameter 'startPosition' in the document. But unfortunately it is not implemented in the SOAP APIs 2.2.
I'm puzzled.

Thanks and Regards,
Biao