v1

latestOpenAPI 3.0.22026-07-26191278525.6 KB
Approval Workflow

Create Approval Workflow

Create a new Approval Workflow and start approval process

post/api/v2/ats/{entityType}/approval-workflow/{entityId}

Path parameters

entityTypestring required

Entity type

entityIdinteger required

Entity id

Headers

Authorizationstring required

The secret key to access the api. It starts with the bearer token

Request body

statusstring nullable

Current status of the approval workflow.

createdAtstring date-time nullable

Datetime when the approval workflow was created

entityTypestring nullable

Type of the entity associated with the approval workflow.

entityIdinteger nullable

ID of the entity associated with the approval workflow.

approvalWorkflowIdinteger nullable

ID of the approval workflow.

groupIdstring nullable

Group id

updatedAtstring date-time nullable

Datetime when the approval workflow was last updated

triggerApprovalboolean nullable

Whether to initiate the approval process. If true, emails will be sent to approvers.

Response

OK

statusstring nullable

Current status of the approval workflow.

createdAtstring date-time nullable

Datetime when the approval workflow was created

entityTypestring nullable

Type of the entity associated with the approval workflow.

entityIdinteger nullable

ID of the entity associated with the approval workflow.

approvalWorkflowIdinteger nullable

ID of the approval workflow.

groupIdstring nullable

Group id

updatedAtstring date-time nullable

Datetime when the approval workflow was last updated

triggerApprovalboolean nullable

Whether to initiate the approval process. If true, emails will be sent to approvers.