AnsweredAssumed Answered

Basic REST API Query Question

Question asked by crackernutter on Apr 24, 2012
Latest reply on Apr 24, 2012 by crackernutter
I'm pretty new to the REST API (having played around with the JavaScript API a good bit though) -
I'm curious what are the constraints on varies queries...
For instance, if I want the json returned for an entire map service layer

http://win-2rninrlf7l8/ArcGIS/rest/services/FSDO_NoSDE/MapServer/0/query?f=json
doesn't seem to work.  I have to include a WHERE parameter to narrow the search.

When I try to return _everything_ I get an error that says...

"where' parameter not specified","'objectIds' parameter not specified","'time' parameter not specified","'geometry' parameter not specified","'text' parameter not specified"

Are the above parameters necessary to narrow the number of results that could potentially be returned?
Is there any way to just return _all_ of the features + geometry in a map service layer?

Thanks for your help!

Outcomes