FRAMES | NO FRAMES Description | Parameters | Examples | Response
createReviewerSession (Operation)
URL http://<Utilities-url>/createReviewerSession
Parent Resource Utilities

Description

Creates a new Reviewer session.

A 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 a Reviewer workspace.

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

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

Parameters

Parameter Details
sessionName Description: Name of the Reviewer session to create. Value can be a string ("QCSession") 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 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 Reviewer session named QC_Pass_1 with 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"
 }
}