AnsweredAssumed Answered

Error in SOAP API getMultipleLeads documentation streamPosition

Question asked by a483581699d842279626601784e68313620c58a7 on Aug 7, 2014
Latest reply on Aug 7, 2014 by 53504
I found a typo in the following page:

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;