Create a workflow action performer
POST/workflow_action_performers
Create a workflow action performer for an existing workflow action
Request
- application/json
Body
required
workflow_action_performers
object
Specify the id of the user attribute to perform the action.
Set to true to allow profile contributor to perform the action.
Specify the id of the user attribute to perform the action.
Set to true to allow profile owner to perform the action.
Specify the id of the profile attribute to perform the action.
Set to true to allow requester from the request to perform the action.
Set to true to allow the requester's manager from the request to perform the action.
Specify the id of the workflow action you would like to create the workflow action performer/s for.
Responses
- 200
- 400
- 500
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
workflow_action_performer
object
The id of the workflow action performer that was created.
The id of the user attribute to perform the action.
Set to allow profile contributor to perform the action.
The id of the user attribute to perform the action.
Set to allow profile owner to perform the action.
The id of the profile attribute to perform the action.
Set to allow requester from the request to perform the action.
Set to allow the requester's manager from the request to perform the action.
The id of the workflow action.
{
"workflow_action_performer": {
"id": "e6905f25-489a-43cd-a758-bdacaf60dcab",
"contributor_attribute_id": "e6905f25-489a-43cd-a758-bdacaf60dcab",
"contributors": true,
"contributors_manager_attribute_id": "e6905f25-489a-43cd-a758-bdacaf60dcab",
"owner": true,
"profiles_contributors_attribute_id": "e6905f25-489a-43cd-a758-bdacaf60dcab",
"requester": true,
"requesters_manager": true,
"workflow_action_id": "e6905f25-489a-43cd-a758-bdacaf60dcab"
}
}
Bad Request - unable to complete.
- application/json
- Schema
- Example (from schema)
Schema
- InvalidJson
- ValidationErrors
oneOf
{}
Internal Server Error - returned on unhandled exceptions.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the error
{
"error": "Sorry something went wrong"
}