Files
2023-08-25 20:48:13 +00:00

15 lines
849 B
YAML

post:
summary: Create an approval action
operationId: createApprovalAction
description: Create an approval action. The following supporting objects will need to be created after this action is created (which are tied together via workflow_action_id) - workflow_action_performers, workflow_action_roles, workflow_action_performer_notification_email, workflow_action_approval_email, workflow_action_rejection_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/ApprovalAction.yaml"
responses:
'200':
$ref: "../../responses/WorkflowAction.yaml"
'400':
$ref: "../../responses/400.yaml"
'500':
$ref: "../../responses/500.yaml"