Query Data Elements (Feature Service)

URL:
https://<root>/<serviceName>/FeatureServer/queryDataElements
Methods:
GET
Version Introduced:
10.6

Description

The queryDataElements operation 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

ParameterDetails

f

The response format. The default response format is html .

Values: html | json

layers

Array of layerIds for which to get the data elements.

Syntax: layers=[<layerId>]

Example:

1
layers=[0,8]

Example usage

Enter an array of layerIds to return the data elements from the USA feature service:

1
https://machine.domain.com/webadaptor/rest/services/USA/FeatureServer/queryDataElements

JSON Response syntax

1
2
3
4
5
6
7
8
9
10
{
"layerDataElements":
[
	{
		"layerId": 0,
		"dataElement": {...}
	},
 ...
]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close