FRAMES | NO FRAMES Description | Parameters | Examples | Response
getBatchRunDetails (Operation)
URL http://<ReviewerResults-url>/getBatchRunDetails
Parent Resource ReviewerResults

Description

Returns a featureset that contains batch run information in JSON feature objects retrieved the REVBATCHRUNTABLE and the REVCHECKRUNTABLE. The returned featureset will not include geometries. The featureset holds a list of fields and field aliases, and an array of attribute values for the batch run IDs. See the ArcGIS Server REST API Reference for more information on feature objects.

The batchRunStatus field in the returned featureset can contain the following values:

The batchRunContext field in the returned featureset can contain the following values:

This operation requires a JSON array of batch run IDs. Find batch run IDs by checking the batchRunId property of a job's execution details or by clicking a job ID in the Batch Validation list. Delimit items in the array with a comma.

Parameters

Parameter Details
batchRunIds Description: A JSON array of batch run IDs.
f Description: The response format. The default response format is html.

Values: html | json

Example Usage

Example 1: Retrieve batch run info for a single ID:

http://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/ReviewerResults/getBatchRunDetails?batchRunIds=[64D035A5-2E03-4D78-B6B8-86D033FE8F00]&f=pjson

JSON Response Example

{
 "fieldAliases": {
  "batchRunId": "BatchRunId",
  "batchJobFile": "BatchJobFile",
  "batchRunContext": "BatchRunContext",
  "batchRunStatus": "BatchRunStatus",
  "batchRunStartTime": "BatchRunStartTime",
  "batchRunEndTime": "BatchRunEndTime",
  "totalResults": "TotalResults",
  "totalValidated": "TotalValidated"
 },
 "fields": [
  {
   "name": "batchRunId",
   "type": "esriFieldTypeGlobalID"
  },
  {
   "name": "batchJobFile",
   "type": "esriFieldTypeString"
  },
  {
   "name": "batchRunContext",
   "type": "esriFieldTypeInteger"
  },
  {
   "name": "batchRunStatus",
   "type": "esriFieldTypeInteger"
  },
  {
   "name": "batchRunStartTime",
   "type": "esriFieldTypeDate"
  },
  {
   "name": "batchRunEndTime",
   "type": "esriFieldTypeDate"
  },
  {
   "name": "totalResults",
   "type": "esriFieldTypeInteger"
  },
  {
   "name": "totalValidated",
   "type": "esriFieldTypeInteger"
  }
 ],
 "features": [
  {
   "attributes": {
    "batchRunId": "{64D035A5-2E03-4D78-B6B8-86D033FE8F00}",
    "batchJobFile": "C:\\arcgisserver\\directories\\arcgissystem\\arcgisuploads\\services\\ExecuteBatchJob.GPServer\\i5b623f4a-f4f4-4271-86ea-bfadcd48dfa0\\SewerUC2011_wo_Valency.rbj",
    "batchRunContext": 2,
    "batchRunStatus": 0,
    "batchRunStartTime": 1332126739000,
    "batchRunEndTime": 1332126790000,
    "totalResults": 333,
    "totalValidated": 109839
   }
  }
 ]
}