- URL:
- https://<root>/<serviceName>/FeatureServer/queryDataElements
- Methods:
GET
- Version Introduced:
- 10.6
Description
The query
resource provides access to valuable information for datasets exposed through a feature service such as a feature layer, a table or a utility network layer. The response is dependent on the type of layer that is queried.
The supportsQueryDataElements resource property is enabled for nonhosted feature services published using ArcGIS Enterprise 10.6 or later. This property is false or absent if not supported for the feature service.
Request parameters
Parameter | Details |
---|---|
| The response format. The default response format is Values: |
| Array of layerIds for which to get the data elements. Syntax: Example:
|
Example usage
Enter an array of layerIds to return the data elements from the USA feature service:
https://machine.domain.com/webadaptor/rest/services/USA/FeatureServer/queryDataElements
JSON Response syntax
{
"layerDataElements":
[
{
"layerId": 0,
"dataElement": {...}
},
...
]
}