Creates a new action for an automation.

Creates a new action including its values for an automation. Actions cannot be added to automations created from a workflow. <Check title="Required Permissions" icon="key">The user must be owner of the project or must have `project-master-data:write` permissions on the specified project.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

projectIdstringRequiredformat: "uuid"
The id of the project of the automation.
automationIdstringRequiredformat: "uuid"
The id of the automation.

Request

The model to create an action.
typestringRequired>=1 character
The type of the action.
valueslist of objectsRequired
The values of the action.
orderdouble or nullOptional
The order of the action.

Response

OK
idstringformat: "uuid"
The id of the action.
createdBystringformat: "uuid"
The id of the user who created the action.
createdOndatetime
The date the action was created.
updatedBystringformat: "uuid"
The id of the user who updated the action.
updatedOndatetime
The date the action was updated.
typestring or null
The type of the action.
orderdouble or null
The order of the action.
valueslist of objects or null
The values of the action.

Errors

400
Bad Request Error