AnsweredAssumed Answered

'maxReturn' not working for retrieving all segments.

Question asked by e876511c3ee52f180d8e8d023174e5a4806ff480 on Jan 27, 2016
Latest reply on Apr 20, 2016 by Alex Shelukhanov

Hi all,

     We are developing connector for Marketo. While trying to retriev all the segments present, we faced an issue.


The URL we are trying to hit is /rest/asset/v1/segmentation/1001/segments.json?maxReturn=10.


The parameter 'maxReturn' should never have the value as '0' or '-1'. But for this particular scenario; irrespective of the parameter's value, all the segments are getting retrieved.


Could any one of you please confirm the behavior for this case.