I'm trying to get the leads that were changed for a specific date. Like below.
$leadSel->oldestUpdatedAt = '2014-08-25T00:00:00-05:00';
$leadSel->latestUpdatedAt = '2014-08-25T23:59:59-05:00';
$leadSelSoap = new stdClass();
$leadSelSoap = array("leadSelector" => $leadSel);
$leadSelSoap = new SoapVar($leadSel, SOAP_ENC_OBJECT, $selector, "http://www.marketo.com/mktows/");
$params->leadSelector = $leadSelSoap;
$params->batchSize = 100;
If I look in the Marketo UI there are 5 leads for this date but the call returns over 10,000. If I do the same call for yesterday the UI shows 20 leads and the API return 10.