Error in SOAP API getMultipleLeads documentation streamPosition

Anonymous
Not applicable

Error in SOAP API getMultipleLeads documentation streamPosition

I found a typo in the following page:  http://developers.marketo.com/documentation/soap/getmultipleleads/

The Request reference section lists out the "streamPosition" field for pagination.  However the PHP sample code displays the  the following:
  1. $params->startPosition = $startPosition;

This code line does nothing in the example for 2 reasons:
1) $startPosition is never set and that's ok for the initial call to getMultipleLeads 2)startPoistion is the wrong name.

The code should be as the following:
  1. $params->streamPosition = $startPosition;

Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: Error in SOAP API getMultipleLeads documentation streamPosition

Thanks for the heads up! I just updated the documentation with this change.