Approve/Reject document in approval queue
POST/documents/:documentId/workflow/:workflowId/decisions
Approve/Reject document in approval queue; available as an Add-On Module
Request
Path Parameters
documentId stringrequired
Document Identifier
workflowId stringrequired
Workflow Identifier
Query Parameters
siteId string
Site Identifier
- application/json
Body
required
stepId string
Workflow Step Identifier
comments string
Workflow decision comments
decision stringrequired
Possible values: [APPROVE
, REJECT
]
Responses
- 201
- 400
201 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
message string
Result message
{
"message": "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...