Get document workflow
GET/documents/:documentId/workflows/:workflowId
Gets a document workflow; available as an Add-On Module
Request
Path Parameters
documentId stringrequired
Document Identifier
workflowId stringrequired
Workflow Identifier
Query Parameters
siteId string
Site Identifier
Responses
- 200
- 400
200 CREATED
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
workflow
object
workflowId string
Workflow identifier
name string
Workflow name
description string
Workflow description
currentStepId string
The current step workflow is on
status DocumentWorkflowStatus (string)
Status of the Workflow Document
Possible values: [COMPLETE
, IN_PROGRESS
, FAILED
]
insertedDate string
Inserted Timestamp
{
"workflow": {
"workflowId": "string",
"name": "string",
"description": "string",
"currentStepId": "string",
"status": "COMPLETE",
"insertedDate": "string"
}
}
400 BAD REQUEST
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
List of errors
key string
Error Key
error string
Error Message
{
"errors": [
{
"key": "string",
"error": "string"
}
]
}
Loading...