Using Leads endpoint to retrieve all Marketo records
I'm trying to use the Leads endpoint to loop through every Marketo record (300 at a time), but I'm not sure how to use a filter that will retrieve everything.
I tried using a custom checkbox field (Marketable__c), and passing in the filter values of 1 or 0 (ie the only two possibilities), but I get an error of:
[code] => 1011
[message] => Lookup field 'Marketable__c' not supported
Any suggestions on how to pull this off?