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

Description

ArcGIS Data Reviewer defines a Reviewer result as a row or feature submitted to the Reviewer workspace. Data Reviewer exposes a quality control workflow in which a result is reviewed, corrected, and verified. Lifecycle status describes the result's state within the Reviewer quality control workflow.

Lifecycle status has three phases:

  1. Review
  2. Correction
  3. Verification
Results move from Review to Correction to Verification. Each category has different life cycle status values. These life cycle status values describe how a result was handled within a life cycle phase.

This REST operation retrieves a JSON array of lifecycle status objects. Each array member has a descriptionType, descriptionString and descriptionCode.

descriptionString defines the life cycle status string for a result. For example, a descriptionString of Exception indicates that a result's life cycle phase is Verification meaning that the result has completed the Data Reviewer quality control workflow.

descriptionCode pertains to a specific lifecycle status. For example, a descriptionCode of 2 means that a result is in correction phase and is yet to be verified.

ArcGIS Data Reviewer for Server 10.x will return 7 for descriptionType for all life cycle status codes.

Use this REST operation to retrieve lifecycle status values for use in other REST operations like writeResult, writeFeatureAsResult and updateLifecycleStatus.

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json

Example Usage

Example 1: Retrieve the lifecycle status list from a Reviewer workspace:

http://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/utilities/getLifecycleStatusStrings?f=pjson

JSON Response Example

{
 "lifecycleStatusString": [
  {
   "descriptionType": 7,
   "descriptionString": "Unknown",
   "descriptionCode": 0
  },
  {
   "descriptionType": 7,
   "descriptionString": "Reviewed",
   "descriptionCode": 1
  },
  {
   "descriptionType": 7,
   "descriptionString": "Resolved",
   "descriptionCode": 2
  },
  {
   "descriptionType": 7,
   "descriptionString": "Mark As Exception",
   "descriptionCode": 3
  },
  {
   "descriptionType": 7,
   "descriptionString": "Acceptable",
   "descriptionCode": 4
  },
  {
   "descriptionType": 7,
   "descriptionString": "Unacceptable",
   "descriptionCode": 6
  },
  {
   "descriptionType": 7,
   "descriptionString": "Exception",
   "descriptionCode": 9
  },
  {
   "descriptionType": 7,
   "descriptionString": "New",
   "descriptionCode": 10
  },
  {
   "descriptionType": 7,
   "descriptionString": "Passed",
   "descriptionCode": 11
  },
  {
   "descriptionType": 7,
   "descriptionString": "Failed",
   "descriptionCode": 12
  },
 ]
}