rule_id to load an existing rule, or an inline ruletransaction_ids{{ transaction.field_name }} to reference fields and Liquid filtersremove, regex_capture, date_add, remove_at, keep_at, etc.)curl --location 'https://api.synci.io/api/v1/rules/preview' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"rule_id": 0,
"transaction_type": "BANK",
"rule": {
"trigger_on_any_condition": true,
"conditions": [
{
"field_name": "string",
"operator": "EQUALS",
"value": "string",
"transaction_type": "BANK"
}
],
"actions": [
{
"action_type": "SET_YNAB_FIELD",
"field_name": "string",
"value": "string",
"order": 0
}
]
},
"transaction_ids": [
"string"
]
}'{
"results": [
"string"
],
"missing_transaction_ids": "string"
}