Endpoint to update an eventRule in a portfolio. Must provide a portfolio unique identifier and a country code in the URL of the PUT request. The Body of the request must contain the ruleCode
number of the eventRule you want to update, with an isActive
parameter. Some event rules may also contain specific parameters, which can be set with param0
, param1
and param2
. parameters. Get the above information by calling the List All eventRules endpoint.
Important Note
It is recommended that any changes made to the Event Rules
are verified using the List Portfolio Event Rules Endpoint after the PUT call has been made.
To ensure optimal processing efficiency when updating live event rules—whether for removal, addition, or status change—it is best practice to update the entire list of rules in a single operation.
No Content
[- {
- "ruleCode": 101,
- "isActive": 1,
- "param0": true,
- "param1": "15",
- "param2": "10"
}, - {
- "ruleCode": 1802,
- "isActive": 1,
- "param0": "10"
}, - {
- "ruleCode": 1815,
- "isActive": 0
}
]
{- "message": "string"
}