Reject task instance
POST/flow_instances/:flowInstanceId/relationships/container_instances/:containerInstanceId/relationships/process_instances/:processInstanceId/relationships/task_instances/:taskInstanceId/reject
Only the Form Approval task instance can be rejected
Request
Path Parameters
The workflow instance id
The container instance id
The process instance id
The task instance id
Header Parameters
Every request should has X-Domain Header, in the UUIDv4 format. The X-Domain can be get from the Tenant Integrations page
An X-API-KEY key is a token that a client provides with a X-API-SECRET when making API calls, used instead of the JWT
An X-API-SECRET key is a token that a client provides with a X-API-KEY when making API calls, used instead of the JWT
- application/vnd.api+json
Body
data
object
relationships
object
forward_notifications
object
data
object
attributes
object
The reference of the task instance
relationships
object
assignee
object
data
object
The id of the user who is a assignee of the task instance
Responses
- 200
- 401
- 404
- 500
The "true" value of the acknowledge means that the request is correct and the "false" is incorrect
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
The value of the acknowledge
{
"acknowledge": true
}
Unauthorized exception
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
The response status code of the error
The title of the error
{
"status": 401,
"code": 0,
"title": "Unauthorized"
}
The response body of the Not Found Error
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
The response status code of the error
The title of the error
{
"status": 404,
"code": 404,
"title": "Not Found"
}
That means something has gone wrong on the server, and the server returns more specific about what the exact problem is
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
The type of the error
The status of the error
The title of the error
The request body
The internal trace
{
"id": {},
"type": "errors",
"links": [
"string"
],
"status": 0,
"code": 0,
"title": "string",
"detail": "string",
"source": {},
"meta": {}
}