AnsweredAssumed Answered

Querying REST API

Question asked by IAldridge_CRT on Mar 3, 2016
Latest reply on Mar 4, 2016 by IAldridge_CRT

Hello,

 

My web master is trying to run a query against a feature service stored in AGOL.  The link is

https://services.arcgis.com/DknzyjEEie5tEW0u/ArcGIS/rest/services/CRT_Bridges_Public/FeatureServer/0/query

 

Despite the pagination beings set to true the result offset is not stepping beyond the points brought in initially.

The form is being filled out as follows:

WHERE = OBJECTID > 0

OUT FIELDS = *

OUTPUT SPATIAL REFERENCE = 4326

ORDER BY FIELDS = OBJECTID

FORMAT = JSON

executing a Query(GET)

Which returns the values 1-2000 with no problem.  If I change the where clause to be

WHERE = OBJECTID > 2000

The results 2001-4000 are returned.

However, if I use t he original criteria and add

RESULT OFFSET = 2000

The results returned continue to be 1-2000.

 

I'm hoping I am simply missing something straight forward.  Any ideas?

Outcomes