2 Replies Latest reply on Apr 20, 2016 6:02 PM by Alex Shelukhanov

    'maxReturn' not working for retrieving all segments.

      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.