Adhoc Job

URL:
https://<DataReviewerServer-url>/Batch Validation/adhocJob
Methods:
GET
Required Capability:
Data Reviewer Server
Version Introduced:
10.1

Description

A REST resource that returns a list of adhoc jobs and details. An adhoc job is a Reviewer batch job (.rbj) that is executed immediately by ArcGIS Data Reviewer.

You execute adhoc jobs using the executeJob operation. You can also query an adhoc job for execution details and job details.

After an adhoc job finishes execution, the server removes the job automatically. The results of the execution remain in the Reviewer workspace, but a record of the job's execution will not display in the adhoc job list.

See executeJob, getJobExecutionDetails and getJobDetails for more information.

Request parameters

ParameterDetails

f

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

Values: html | json

Example usage

Example 1: Returns a list of adhoc jobs.

Use dark colors for code blocksCopy
1
https://localhost:6443/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation/adhocJobs?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
 "adhocJobs": [
  {
   "jobId": "fd9ce9b3-8e21-4bbc-b563-77514a3005b1",
   "title": "",
   "createdBy": "",
   "creationDate": 1335483268000,
   "status": "Executing",
   "settings": {
    "batchJobFileName": "SewerChecks.rbj",
    "sessionId": "Session 1 : Session 1",
    "userName": null,
    "changedFeaturesOnly": false,
    "analysisArea": null,
    "productionWorkspace": "c:\\data\\localgovernment.sde",
    "productionWorkspaceVersion": "SDE.DEFAULT"
   },
   "schedule": null,
   "executionDetails": null
  }
 ]
}

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