In questa pagina
ceprule.resettimewindows
Description
object ceprule.resettimewindows(object/array cep_ruleid)
This method allows you to reset time windows for an existing CEP rule.
This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See User roles for more information.
Parameters
(object) CEP rule object must have a cep_ruleid property defined.
Return values
(object) Returns an object containing the ID of the CEP rule whose time windows have been reset under the cep_ruleid property.
Examples
Reset time windows for CEP rule
{
"jsonrpc": "2.0",
"method": "ceprule.resettimewindows",
"params": {
"cep_ruleid": "1"
},
"id": 1
}
Response:
{
"jsonrpc": "2.0",
"result": {
"cep_ruleid": "1"
},
"id": 1
}
See also
Source
CCepRule::resettimewindows() in ui/include/classes/api/services/CCepRule.php.