FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<data reviewer server-url>/BatchValidation |
---|---|
Supported Operations | executeJob scheduleNewJob getJobexecutionDetails getJobDetails cancelJob |
Parent Resource | DataReviewerServer |
Child Resource | scheduled job adhoc job |
Batch validation executes a Reviewer batch job within an ArcGIS Data Reviewer for Server. A Reviewer batch job contains groups of Reviewer checks. Checks validate data based on conditions, rules and spatial relationships. Checks also specify sets of features or rows to validate.
A Reviewer batch job represents a quality control model. The model defines data integrity through rules, conditions and spatial relationships. The validation process verifies that features or rows conform to rules defined within the model. Validation results are written to the 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 Desktop.
To execute batch validation, you must upload .rbj files to the 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
batchJobFileItemId
setting of the
executeJob and scheduleNewJob
operations.
Batch Validation operates in two execution modes: adhoc (immediate); 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 executes validation immediately. Both methods execute asynchronously.
scheduleNewJob requires a schedule format as a cron expression. Cron expressions represent times and dates as seconds minutes hours day-of-month month day-of-week (year) in number and wildcard characters.
Parameter | Details |
---|---|
f | Description: The
response format. The default response format is html. Values: html | json |
Example 1: URL for batch validation.
http://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation?f=pjson{ "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" }] }