Get Batch Run Details

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

ParameterDetails

batchRunIds

A JSON array of batch run IDs.

Example:

1
batchRunIds=[64D035A5-2E03-4D78-B6B8-86D033FE8F00]

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Retrieve batch run information for a single ID:

1
https://machine.domain.com/webadaptor/rest/services/reviewer/MapServer/exts/DataReviewerServer/ReviewerResults/getBatchRunDetails?batchRunIds=[64D035A5-2E03-4D78-B6B8-86D033FE8F00]&f=pjson

JSON Response example

The batchRunStatus 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 batchRunContext 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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
  "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
      }
    }
  ]
}

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close