Validation Service

URL:
https://<root>/<serviceName>/ValidationServer
Methods:
GET
Operations:
Evaluate, Update Errors, Write Errors
Version Introduced:
10.7

Description

The ValidationServer service exposes the management capabilities necessary to support evaluation of geodatabase rules. This service is available when sharing to ArcGIS Enterprise by enabling the Validation capability. To learn more, see Additional layers and capabilities.

The following rule types can be evaluated using the evaluate operation:

  • Topology rules
  • Batch calculation and validation attribute rules
Summary graphic of validation service operations

The validation server shares service instance settings and is tied to the published feature service as a server object extension (SOE).

Learn how to configure service instance settings

Capabilities

The capabilities property was introduced at ArcGIS Enterprise 11.1. This property returns the capabilities that the service supports. Refer to the JSON Response syntax section below for the ArcGIS Enterprise version when each capability was first introduced:

  • supportsTopologyValidation—The evaluate operation, supports the evaluationType of topologyRules.
  • supportsTopologyErrorModification—The updateErrors operation supports the ruleType property for the errorFeatures parameter. The property is to support the updateErrors operation for a topology.
  • supportsWriteErrors—The writeErrors operation supports the ability to write errors to GDB_Validation*Errors tables.
  • supportsWriteErrorsWithSketchGeonetries—The writeErrors operation supports the objectIdSketchGeometryPairs property for the errors parameter to enhance writing different types of sketched geometries to their corresponding GDB_Validation*Errors table.

JSON Response syntax

root

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
{
  "name": "Validation Server",
  "type": "Map Server Extension",
  "capabilities": {
    "supportsTopologyValidation": <true | false>, //Introduced in 10.8.1
    "supportsTopologyErrorModification": <true | false>, //Introduced in 10.8.1
    "supportsWriteErrors" : <true | false>, //Introduced at 11.3
    "supportsWriteErrorsWithSketchGeometries" : <true | false>, //Introduced at 11.4
  }
}

Example usage

Request URL: https://myserver.esri.com/server/rest/services/LandUse/validationServer

JSON response:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
{
 "name": "Validation Server",
 "type": "Map Server Extension",
 "capabilities": {
  "supportsTopologyValidation": true,
  "supportsTopologyErrorModification": true,
  "supportsWriteErrors": true
  }
}

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