<div dir="ltr"><p dir="ltr">Beginning with  10.1 the ArcGIS REST API introduces the <span style="color:rgb(0,0,102);font-family:monospace,'Courier New',Courier;font-size:12px">maxRecordCount property for MapServer and FeatureServer. </span></p>
<p><span style="color:rgb(0,0,102);font-family:monospace,'Courier New',Courier;font-size:12px">See </span><font color="#000066" face="monospace, Courier New, Courier"><span style="font-size:12px"><a href="http://sampleserver5.arcgisonline.com/arcgis/rest/services/CommercialDamageAssessment/FeatureServer?f=pjson">http://sampleserver5.arcgisonline.com/arcgis/rest/services/CommercialDamageAssessment/FeatureServer?f=pjson</a></span></font></p>
<p><span style="font-size:12px;color:rgb(0,0,102);font-family:monospace,'Courier New',Courier">The value can be change when publishing the service.</span></p><p><font color="#000066" face="monospace, Courier New, Courier"><span style="font-size:12px">If you want to obtain all feature, you should first request with </span></font><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px">returnCountOnly, then query as many times as you need using the </span><span style="font-size:12px;color:rgb(0,0,102);font-family:monospace,'Courier New',Courier">layerDef property and the ObjectID field...</span></p>
<p><span style="font-size:12px;color:rgb(0,0,102);font-family:monospace,'Courier New',Courier">xl</span></p><p><font color="#000066" face="monospace, Courier New, Courier"><span style="font-size:12px"><br></span></font></p>

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote></div>
</div>