- URL:
- https://<ReviewerResults-url>/getBatchRunDetails
- Methods:
- GET
- Required Capability:
- Data Reviewer Server
- Version Introduced:
- 10.1
Description
This operation returns a feature set that contains batch run information in JSON feature objects retrieved by REVBATCHRUNTABLE and REVCHECKRUNTABLE. The returned feature set will not include geometries. The feature set holds a list of fields and field aliases, and an array of attribute values for the batch run IDs.
Request parameters
| Parameter | Details | 
|---|---|
| 
 | A  Example:  | 
| 
 | The response format. The default response format is  Values:  | 
Example usage
Retrieve batch run information for a single ID:
https://machine.domain.com/webadaptor/rest/services/reviewer/MapServer/exts/DataReviewerServer/ReviewerResults/getBatchRunDetails?batchRunIds=[64D035A5-2E03-4D78-B6B8-86D033FE8F00]&f=pjsonJSON Response example
The batch field in the returned feature set can contain the following values:
- 0—Successful
- 1—Successful with errors
- 2—Successful with warnings
- 3—Successful with errors and warnings
- 4—Failed
The batch field in the returned feature set can contain the following values:
- 0—Desktop
- 1—Engine
- 2—Server
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.
{
  "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
      }
    }
  ]
}