trigger) and one of two possible behaviors:operations): a list of operations, each combining conditions (conditions, with fieldId, operator and value) and actions (actions, with type — show or hide — and targetFieldId, the affected field). A single rule may contain multiple operations, and each operation may trigger multiple actions.calculation): an arithmetic expression (expression) referencing other fields by identifier, a target field (targetFieldId) that receives the result, and optionally the decimal precision (precision) and whether the target field remains editable (editable).curl --location '/v1/client-config//fields//rules' \
--header 'Content-Type: application/json' \
--data '{
"trigger": "string",
"operations": [
{
"conditions": [
{
"fieldId": "string",
"operator": "string",
"value": null
}
],
"actions": [
{
"type": "show",
"targetFieldId": "string",
"value": null
}
]
}
],
"calculation": {
"expression": "string",
"targetFieldId": "string",
"precision": 0,
"editable": true
},
"active": true
}'{
"id": "string",
"trigger": "string",
"operations": [
{
"conditions": [
{
"fieldId": "string",
"operator": "string",
"value": null
}
],
"actions": [
{
"type": "show",
"targetFieldId": "string",
"value": null
}
]
}
],
"calculation": {
"expression": "string",
"targetFieldId": "string",
"precision": 0,
"editable": true
},
"active": true
}