Create Reviewer Session

Description

LicenseLicense:

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

Creates a new Data Reviewer session.

A Data Reviewer session organizes results discovered from automated validation and visual inspection. Sessions define a series of validation and quality control transactions performed by data checks or manual review. Sessions are stored in the Data Reviewer workspace.

Reviewer sessions have properties that control how results are written to the Data Reviewer workspace. You can set the following properties:

NoteNote:

This functionality is supported only with an enterprise geodatabases (eGdb). You cannot use this REST operation against file geodatabases (fGdb).

Request parameters

Parameter

Details

sessionName

Description: Name of the Reviewer session to create. Value can be a String ("QC Session") or a Long (12345).

Values: "session name"

sessionProperties

Description: Properties to apply to the session.

Values: {"userName":"<name>", "versionName":"<geodatabase version name>", "duplicateFilter":"Session"|"Database"|"None", "storeGeometry":"true"|"false"}

f

Description: The response format. The default response format is html.

Values: html | json

Example usage

Example 1: Create a new Data Reviewer session named "qc_analysis" with no session properties set.

http://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/Utilities/createReviewerSession?sessionName="qc_analysis"&sessionProperties=&f=pjson

JSON response example

{
 "sessionAttributes": {
  "sessionId": 2803,
  "sessionName": "\"qc_analysis\"",
  "userName": "arcgis",
  "versionName": "sde.DEFAULT"
 }
}

Example 2: Create a new Data Reviewer session named "QC_Pass_1" with the session properties duplicateFilter set to Session and storeGeometry set to false.

http://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/Utilities/createReviewerSession?sessionName="QC_Pass_1"&sessionProperties={"duplicateFilter":"Session","storeGeometry":"false"}&f=pjson

JSON response example

{
 "sessionAttributes": {
  "sessionId": 2804,
  "sessionName": "\"QC_Pass_1\"",
  "userName": "arcgis",
  "versionName": "sde.DEFAULT"
 }
}

7/5/2017