Contracts
Choose which process rules the workspace runs
Changed onSaves the rule mode and the chosen rule ids; the list is kept in catalogue order and survives a switch to all. Every contract's open process items are worked out again shortly after. The change is recorded with the key as actor. Answers the saved settings, not wrapped in data.
put/v1/contracts/settings
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Request body
object required
rules_mode, 'all' | 'chosen' required
all runs every process rule; chosen only active_rule_ids.
active_rule_ids, string[] required
The chosen rule ids (from GET /v1/contracts/process-rules); sent in both modes so a switch to all keeps the list.
Response
The saved settings.
Contracts Settings required
rules_mode, 'all' | 'chosen'
active_rule_ids, string[]
The chosen rule ids, in catalogue order.
updated_at, string date-time nullable
updated_by, string nullable
Who saved it last; api:<key id> for an API key.
total_rules, integer
Rules in the catalogue.
Changes
- info
endpoint added
- info