GET /{serviceName}/FeatureServer/{layerId}/query
Operation ID: queryFeatureLayer
Auth: unknown
Description
Performs a query operation on a feature layer or table resource.
Parameters (17)
(string, query, optional, default: json)
Response format
Constraints: {'enum': ['json', 'html', 'geojson', 'pbf']}
(string, query, optional)
The geometry to apply as the spatial filter
(string, query, optional)
The type of geometry
Constraints: {'enum': ['esriGeometryPoint', 'esriGeometryMultipoint', 'esriGeometryPolyline', 'esriGeometryPolygon', 'esriGeometryEnvelope']}
(string, query, optional)
Fields to group by for statistics
(integer, path, required)
Layer ID
(string, query, optional)
Comma-separated object IDs to query
(string, query, optional)
Fields to order results by
(string, query, optional)
Comma-separated fields to return (* for all)
(string, query, optional)
JSON array of statistics definitions
(integer, query, optional)
Number of records to skip
(integer, query, optional)
Maximum records to return
(boolean, query, optional, default: False)
If true, returns only the count
(boolean, query, optional, default: True)
If true, includes geometry in results
(boolean, query, optional, default: False)
If true, returns only object IDs
(string, path, required)
Name of the feature service
(string, query, optional)
The spatial relationship
Constraints: {'enum': ['esriSpatialRelIntersects', 'esriSpatialRelContains', 'esriSpatialRelCrosses', 'esriSpatialRelEnvelopeIntersects', 'esriSpatialRelOverlaps', 'esriSpatialRelTouches', 'esriSpatialRelWithin']}
(string, query, optional)
A WHERE clause for the query filter
No probe data for this endpoint yet.