Skip to content

Create an approval line within a rule

post
https://api.mercadoe.com/v1/document-flows/{documentFlowId}/rules/{ruleId}/approvals

Adds a new approval line (rule line) to an existing rule of a document flow group.
An approval line defines who must approve and at which level inside the rule.

Request

Path Parameters

documentFlowId
int64
required
Identifier of the document flow group.
ruleId
int64
required
Identifier of the rule within the document flow group.

Body

application/json
conditions
array of object
levels
array of object

Responses

200
400
404
OK

Body

application/json
approvalLineIds
array of integer
Credentials
shell