FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<Utilities-url>/getLifecycleStatusStrings |
---|---|
Parent Resource | Utilities |
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:
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.
Parameter | Details |
---|---|
f | Description: The
response format. The default response format is html.
Values: html | json |
Example 1: Retrieve the lifecycle status list from a Reviewer workspace:
{ "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 }, ] }