Batch Validation

Description

LicenseLicense:

The ArcGIS Data Reviewer for Server extension is required in order to use this resource.

Batch validation executes a Data Reviewer batch job within ArcGIS Data Reviewer for Server. A batch job represents a quality control model containing groups of Data Reviewer checks. Checks validate data based on conditions, rules and spatial relationships. Checks also specify sets of features or rows to validate. The validation process verifies that features, or rows, conform to rules defined within the model. Validation results are written to the Data Reviewer workspace.

Reviewer batch jobs are stored as .rbj files. You can create batch jobs and save them as .rbj files using Data Reviewer tools in ArcGIS Data Reviewer for Server.

To execute batch validation, you must upload .rbj files to the Data Reviewer map server. Use the ArcGIS Server uploads functionality to upload .rbj files. This operation returns the GUID of an uploaded item. Use this GUID in the Batch Job File Item Id setting of the executeJob and scheduleNewJob operations.

Batch Validation operates in two execution modes: adhoc (immediate) or scheduled. Requests to the BatchValidation resource will return a collection for each mode. Each item in the collection represents a job. Clicking on the item exposes job specific functionality including editJob, enableJob, disableJob and deleteJob.

scheduleNewJob allows you to schedule and queue jobs for execution. executeJob immediately starts validation. Both methods execute asynchronously.

scheduleNewJob requires a schedule format as a cron expression.

NoteNote:

Cron expressions represent times and dates as seconds, minutes, hours, day-of-month, month, day-of-week, year, in number and wildcard characters.

Request parameters

Parameter

Details

f

Description: The response format. The default response format is html.

Values: html | json

Example usage

Example 1: URL for batch validation.

http://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation?f=pjson

JSON response example

{
  "scheduledJobs": [{
    "name": "e4aa6cfd-430c-4a22-a136-201ba3ee7f70",
    "id": "e4aa6cfd-430c-4a22-a136-201ba3ee7f70"
  }, {
    "name": "e1c97421-6be5-4e00-834d-3d248144953c",
    "id": "e1c97421-6be5-4e00-834d-3d248144953c"
  }],
  "adhocJobs": [{
    "name": "ca2f425b-b304-4c98-add8-d4ddbf7244ba",
    "id": "ca2f425b-b304-4c98-add8-d4ddbf7244ba"
  }, {
    "name": "e5ac1cf1-18c8-4fdf-9161-6989367fe060",
    "id": "e5ac1cf1-18c8-4fdf-9161-6989367fe060"
  }]
}

3/3/2017