FRAMES | NO FRAMES
adhoc job
URL http://<BatchValidation-url>/adhocJobs
Parent Resource Batch Validation

Description

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 for Server.

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 record of the job's execution will not display in the adhoc job list.

See executeJob, getJobExecutionDetails and getJobDetails for more information.

Parameters

Parameter Details
f Description: The response format

Values: html | json

Example Usage

Example 1: Return a list of adhoc jobs.

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

JSON Response Example

{
 "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
  }
 ]
}