- URL:
- https://<ReviewerResults-url>/getLayerDefinition
- Methods:
GET
- Required Capability:
- Data Reviewer Server
- Version Introduced:
- 10.1
Description
A utility operation that returns a where clause given a set of input filters. You can use this where clause as the definition
of the Data Reviewer map service.
Request parameters
Parameter | Details |
---|---|
| An array of filters. A filter is a
Filters |
| The response format. The default response format is Values: |
Example usage
Return a map service query string where SEVERITY = 1.
https://localhost:6443/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/ReviewerResults/getLayerDefinition?filtersArray={"filtersArray":[{singleAttributeFilter:[{fieldName:"SEVERITY",fieldValue:1}]}]}&f=pjson
JSON Response example
{
"whereClause": " ((REVTABLEMAIN.SEVERITY = 1))"
}