Files
api-specs/nerm/paths/workflow_actions/duplicate_prevention_action.yaml

15 lines
865 B
YAML

post:
summary: Create a duplicate prevention action
operationId: createDuplicatePreventionAction
description: Create a duplicate prevention action. The following supporting objects will need to be created after this action is created (which are tied together via workflow_action_id) - duplicatation_prevention_attributes, workflow_action_performers, workflow_action_roles, workflow_action_performer_notification_email. These supporting objects must be created for this action to be complete (APIs for these supporting objects not yet implemented, use UI).
tags:
- workflow actions
requestBody:
$ref: "../../requestBodies/POST/WorkflowActions/DuplicatePreventionAction.yaml"
responses:
'200':
$ref: "../../responses/WorkflowAction.yaml"
'400':
$ref: "../../responses/400.yaml"
'500':
$ref: "../../responses/500.yaml"