createDocRuleEffect
POST/doc-rules/:docRuleId/effects
Creates an effect definition in the RuleDefinition of the DocRule. The parent condition group is
referenced by docRuleConditionGroupId in the request body. Returns the full RuleDefinition of the
DocRule (the same payload as getDocRuleDefinition).
Server-side cascade: creating an effect adds a matching rangeEffects entry (keyed by the new
effect id) in every range group of the condition group. When not provided, the effect's effectTypeId
defaults to the reference-table/enum entry with the lowest sequenceNum.
To access the service you need at least one of the following permissions:
| Permission (one of) |
|---|
| createDocRule |
| updateDocRule |