- URL:https://<Utilities-url>/getReviewerSessions
- Required Capability:Data Reviewer Server
- Related Resources:Utilities
- Version Introduced:10.1
Description
License:
The ArcGIS Data Reviewer extension is required to use this resource.
Note:
This resource is dependent on the ArcGIS Data Reviewer ArcMap runtime-based server object extension (SOE). ArcGIS Enterprise 10.9.x, part of the ArcGIS 2021 releases, is the last release of ArcGIS Enterprise to support services published from ArcMap.
Consider Data Reviewer capabilities enabled using ArcGIS Pro and integrated in the Validation service.
A REST resource that returns a list of sessions in a Data Reviewer workspace. The returned list is an array of session attributes. Each session attribute is an object that has the following four properties:
- sessionId – Numeric session identifier
- sessionName – Name of the session (QAReview in Session 1: QAReview)
- userName – Name of the account that created the session.
- versionName – ArcSDE version associated with the session. Empty if the Data Reviewer workspace is stored in an fGdb.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default response format is html. Values: html | json |
Example usage
Retrieve a list of Data Reviewer sessions from a Data Reviewer workspace.
https://localhost:6443/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/utilities/getReviewerSessions?f=pjson
JSON Response example
{
{
"sessionAttributes": [
{
"sessionId": 1,
"sessionName": "Session 1",
"userName": "QCTechnician",
"versionName": ""
},
{
"sessionId": 2,
"sessionName": "Session 2",
"userName": "QCManager",
"versionName": ""
}
]
}
}