Sets transaction-specific approval cycle. Resets transaction approved_by field, sends transaction back to “reviewing” state.
Params for adding new transaction-specific approval cycle, 3 approvers: {"approvers": [ {"operator": "then", "approver_id":2}, {"operator": "then", "approver_id":266}, {"operator": "or", "approver_id":19,} ] }
Param name | Description |
---|---|
approvers
required |
Validations:
|
approvers[operator]
required |
Operator specifying approver process logic Validations:
|
approvers[approver_id]
required |
Approver’s user id Validations:
|
approvers[id]
optional |
User approver id, required if user approver already exists. If it’s not supplied, new user approver will be added Validations:
|