Get the item workflow instance details.
get
/content/management/api/v1.1/items/{id}/workflows/{instanceId}
Get the workflow details of an item for the specified instance
Request
Path Parameters
-
id: string
id of the item.
-
instanceId: string
Instance id of the workflow.
Query Parameters
-
links(optional): string
This parameter accepts a comma-separated list of link names. By default, this parameter gives all the links applicable. Possible values are: self, canonical, describedby
Response
Supported Media Types
- application/json
200 Response
OK.
Root Schema : ItemWorkflowStatus
Type:
object
ItemWorkflowStatus
Show Source
-
activities(optional):
array activities
Activities within the workflow process.
-
id(optional):
string
id of the workflow.
-
instanceId:
string
Workflow instance id.
-
isPurged(optional):
boolean
If workflow instance is purged or not in OIC.This is a read only field.
-
item(optional):
object WorkflowStatusItemBean
WorkflowStatusItemBean
-
links(optional):
array links
Links
-
name(optional):
string
name of the workflow.
-
status(optional):
string
status of the workflow.
-
submittedBy(optional):
string
Submitted by user
-
submittedDate(optional):
object date
date
Nested Schema : WorkflowStatusItemBean
Type:
object
WorkflowStatusItemBean
Show Source
-
id(optional):
string
id of the item.
-
isDependent(optional):
boolean
If item is dependent or not.
-
lastUpdatedVersion(optional):
string
Item updated version
-
parents(optional):
array parents
Parent Item details
-
submittedWithDependencies(optional):
boolean
If item is submitted to workflow with dependencies.
-
version(optional):
string
Item version
Nested Schema : ProcessActivitiesBean
Type:
Show Source
object
-
details(optional):
object details
Additional Properties Allowed: additionalPropertiesActivity details
-
id(optional):
string
Id of the activity
-
itemVersion(optional):
string
Item Version
-
links(optional):
array links
Links
-
name(optional):
string
Name of the activity
-
outcome(optional):
string
Outcome of the activity
-
sourceActivity(optional):
string
Previous activity Id in the workflow
-
targetActivity(optional):
string
Current activity Id in the workflow
-
type(optional):
string
Type of the activity
-
updatedDate:
string(date-time)
Date on which the activity has been updated.
Nested Schema : additionalProperties
Type:
object
Nested Schema : Link
Type:
object
Link of the resource.
Show Source
-
href(optional):
string
The target resource's URI. It could be template URI. It is a required property in the get response.
-
mediaType(optional):
string
Media type.
-
method(optional):
string
What HTTP method can be used to access the target resource.
-
profile(optional):
string
Link to the metadata that describes the target resource.
-
rel(optional):
string
Relation type. It is a required property in the get response.
-
templated(optional):
boolean
Whether the URI is a template.
Nested Schema : ParentItemBean
Type:
Show Source
object
-
id(optional):
string
Parent id with which the asset is submitted to workflow.
-
name(optional):
string
Parent name with which the asset is submitted to workflow.
-
submittedBy(optional):
string
Submitted by user
-
submittedDate(optional):
object date
date
304 Response
Not modified.
400 Response
Bad request.
404 Response
Not found.
500 Response
Internal server error.