Re: Pagination of results with getLeadActivity

Anonymous
Not applicable

Pagination of results with getLeadActivity

I'm facing a problem while paginating the results of getLeadActivity . I'm always getting the same results even with a new offset set. 

There is a similar post which is unanswered https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PFutAAG 


Below is a sample of the XML request with offset.
      <mkt:paramsGetLeadActivity>
         <leadKey>
            <keyType>IDNUM</keyType>
            <keyValue>1000083</keyValue>
         </leadKey>
         <startPosition>
            <latestCreatedAt></latestCreatedAt>
            <oldestCreatedAt></oldestCreatedAt>
            <activityCreatedAt></activityCreatedAt>
            <offset>6</offset>
         </startPosition>
         <batchSize>10</batchSize>
      </mkt:paramsGetLeadActivity>
 
Am I missing something? 
Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: Pagination of results with getLeadActivity

Try adding something to the other newStartPostition parameter like the <latestCreatedAt> which is returned.