AnsweredAssumed Answered

Pagination while extracting data from Agile Central

Question asked by Avi12Apr2017 on Aug 9, 2017
Latest reply on Aug 10, 2017 by Michael Bulkeley

how to set the pagination in the getrequest result while extracting data from Agile Central

GetRequest req= new GetRequest(_ref);
response = restApi.get(req);
teamMemberObject= response.getObject();
JsonArray array= teamMemberObject.getAsJsonArray("Result")
for(i=0; i<array.size(); i++){
//get Property value
while executing the above code we are getting IndexOutOfBounds Exception as the arry is only picking up 20 records be default not more than that. 


Thank you for Help in Advance.