Get a rule by id
get
https://api.mercadoe.com/v1/document-flows/{documentFlowId}/rules/{ruleId}
Returns a single rule of a document flow group, including its conditions and approval levels.
Request
Path Parameters
documentFlowId
int64
required
Identifier of the document flow group.
ruleId
int64
required
Identifier of the rule within the document flow group.
Responses
200
404
OK
Body
application/json
name
string
notifyErpOnApproval
boolean
erpIntegrationBeforeLevelApproval
boolean
processId
int32
ruleType
int32
approvalType
string
allowed values:
LevelBasedAutoApproveAutoRefuseisAutomaticDecision
boolean
created
object
lastChange
object
approvals
array of object