Dashboard

Description

LicenseLicense:

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

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

Request parameters

Parameter

Details

f

Description: 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 if a field is user-defined in the Reviewer workspace.

Example usage

Example 1: Request the Dashboard resources collection. The following request displays a collection of name-value pairs for results, IDs, and isCustomField booleans:

http://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/dashboard?f=json

JSON response example

{
 "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 2: Request total counts by Severity in a Reviewer workspace.

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

JSON response example

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

3/3/2017