Create workflow template
POST/WorkflowTemplate
Create workflow template
Request​
- application/json
Body
The data required to create a new workflow template, including code, name, trigger, and creator information.
The unique code identifying this entity.
The display name of this entity.
Possible values: [0, 1]
The trigger condition that initiates this workflow.
The username or identifier of the user who created this record.
Responses​
- 200
- 400
- 404
- 500
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
reasons object[]nullable
The list of underlying error reasons.
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
The list of underlying error reasons.
The unique code identifying this entity.
errors object[]nullable
The list of validation errors.
The name of the field that failed validation.
The error or validation message.
{
"message": "string",
"metadata": {},
"reasons": [
{
"message": "string",
"metadata": {},
"reasons": [
null
]
}
],
"code": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
reasons object[]nullable
The list of underlying error reasons.
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
The list of underlying error reasons.
The unique code identifying this entity.
errors object[]nullable
The list of validation errors.
The name of the field that failed validation.
The error or validation message.
{
"message": "string",
"metadata": {},
"reasons": [
{
"message": "string",
"metadata": {},
"reasons": [
null
]
}
],
"code": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
reasons object[]nullable
The list of underlying error reasons.
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
The list of underlying error reasons.
The unique code identifying this entity.
errors object[]nullable
The list of validation errors.
The name of the field that failed validation.
The error or validation message.
{
"message": "string",
"metadata": {},
"reasons": [
{
"message": "string",
"metadata": {},
"reasons": [
null
]
}
],
"code": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}