Hi All,

When we invoke a method in Marketo API we are getting the following
response:

{
   "requestId":"a9ae#148add1e53d",
   "success":true,

 "nextPageToken":"GIYDAOBNGEYS2MBWKQYDAORQGA5DAMBOGAYDAKZQGAYDALBRGA3TQ===",
   "moreResult":true,
   "result":[
      {
         "id":2,
         "leadId":6,
         "activityDate":"2013-09-26T06:56:35+0000",
         "activityTypeId":12
      },
      {
         "id":3,
         "leadId":9,
         "activityDate":"2013-12-28T00:39:45+0000",
         "activityTypeId":1
      }
   ]
}

If the moreResult attribute is true in the response,  we need to call this
method until the moreResult attribute returns false. The nextPageToken
returned from the previous call need to be reused for the next iteration of
this call. How can we do this?

-- 
<dev-requ...@wso2.org>
Keerthika Mahendralingam
Associate Software Engineer
Mobile :+94 (0) 776 121144
keerth...@wso2.com
WSO2, Inc.
lean . enterprise . middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to