Dashboard

Description

LicenseLicense:

The ArcGIS Data Reviewer Server extension is required to use this resource.

NoteNote:

This resource is dependent on ArcGIS Data Reviewer’s ArcMap runtime-based server object extension (SOE). ArcGIS Enterprise 10.9.x, part of the ArcGIS 2021 releases, will be the last release of ArcGIS Enterprise to support services published from ArcMap.

To prepare for this change, Esri recommends that customers consider Data Reviewer capabilities enabled using ArcGIS Pro and integrated in the Validation service.

The dashboard displays statistics about errors within a Reviewer workspace. The dashboard resource returns statistics for the following:

Request parameters

Parameter

Details

f

The response format. The default response format is html. Html returns a list of results while JSON returns a collection of name-value pairs of results, IDs, and isCustomField Boolean values. isCustomField indicates whether a field is user-defined in the Reviewer workspace.

Values: html | json | pjson

Example usage

Example one

The following request demonstrates how to access the dashboard resource:

https://machine.domain.com/webadaptor/rest/services/reviewer/MapServer/exts/DataReviewerServer/dashboard?f=json

JSON Response example

The response to the above example returns a collection of names, IDs, and isCustomField values.

{
  "reviewerResultsBy": [
    {
      "name": "BATCHJOBCHECKGROUP",
      "id": "BATCHJOBCHECKGROUP",
      "isCustomField": false
    },
    {
      "name": "CHECKTITLE",
      "id": "CHECKTITLE",
      "isCustomField": false
    },
    {
      "name": "FEATUREOBJECTCLASS",
      "id": "FEATUREOBJECTCLASS",
      "isCustomField": false
    },
		  {
      "name": "LIFECYCLEPHASE",
      "id": "LIFECYCLEPHASE",
      "isCustomField": false
    },
    {
      "name": "LIFECYCLESTATUS",
      "id": "LIFECYCLESTATUS",
      "isCustomField": false
    },
    {
      "name": "SESSIONID",
      "id": "SESSIONID",
      "isCustomField": false
    },
    {
      "name": "SEVERITY",
      "id": "SEVERITY",
      "isCustomField": false
    },
    {
      "name": "SUBTYPE",
      "id": "SUBTYPE",
      "isCustomField": false
    }
  ]
}

Example two

The following request demonstrates how to request total county by severity in a reviewer workspace:

https://localhost:6443/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/Dashboard/reviewerResultsBy/SEVERITY?f=pjson

JSON Response example

The response to the above request returns a list, sorted by severity.

{
  "fieldName": "SEVERITY",
  "dashboardResults": [
    {
      "fieldValue": 1,
      "count": 30224
    },
    {
      "fieldValue": 2,
      "count": 509
    },
    {
      "fieldValue": 3,
      "count": 19969
    },
    {
      "fieldValue": 4,
      "count": 3
    },
    {
      "fieldValue": 5,
      "count": 70
    }
  ]
}