Create action instance
Swagger UIyaml/action-api/ action-runtime/ action-instancesRequest body application/json · CreateActionInstanceRequest
actionDefinitionIdstringThe id of the action definition that should be used when creating the action instance. One of actionDefinitionId or actionDefinitionKey must be provided.
actionDefinitionKeystringThe key of the action definition that should be used when creating the action instance. One of actionDefinitionId or actionDefinitionKey must be provided.
scopeIdstringThe id of the scoped object for which this action instance is being created for. When this property is set, then scopeType must also be set.
scopeTypestringThe type of the scoped object for which this action instance is being created for. When this property is set then scopeId must also be set.
scopeDefinitionIdstringThe definition id of the scoped object for which the action instance is being created for.
formInstanceIdstringThe id of the form instance that is linked with the action instance.
priorityinteger (int32)The priority of the action instance. If not set it will use the one from the action definition model.
tenantIdstringThe id of the tenant that the created action instance will belong to. By default it is the tenant of the current user. Can only be set by users with admin privileges.
Responses
Indicates the action instance was created and returned. · ActionInstanceResponse
idstringrequiredThe unique identifier for the action instance.
namestringrequiredThe name for the action instance.
actionDefinitionIdstringrequiredThe id of the action definition for this action instance.
startDatestringrequiredThe starting date of the action instance in ISO 8601 format.
scopeDefinitionIdstringThe optional definition id for the scoped object.
scopeIdstringThe optional id of the scope that is linked with this action instance. If this property is set then scopeType is also set.
scopeTypestringThe optional type of the scope that is linked with this action instance. If this property is set then scopeId is also set.
formKeystringThe key of the form linked with this action instance.
formParentDeploymentIdstringThe parent deployment id of the form linked with this action instance. If not set it means newest form.
formInstanceIdstringThe id of the form instance linked with this action instance.
priorityinteger (int32)The optional priority of the action, which can be used for sorting the actions
tenantIdstringThe id of the tenant that this action instance belongs to.
requiredGrey names have no description in the spec