Rule Definition
Info
Note that accountId
, siteId
, groupId
, and machineId
are all mutually exclusive. A rule is invalid if more than one of them have a non null value at once.
Attribute | Type | Description |
---|---|---|
id | int | Unique identifier for the record. |
value | string | The value to apply to the setting. Must be 500 or fewer characters in length. |
setting | string | An XPATH expression defining the location of setting the rule applies to. |
createdAt | DateTime | A UTC timestamp indicating when the record was created. |
isActive | bool | Indicates if the rule is currently being applied. |
organizationId | int | Unique identifier of the organization the rule applies to. Must be greater than zero. |
accountId | int? | Unique identifier of the account the rule applies to. If specified, must be greater than zero. |
siteId | int? | Unique identifier of the site the rule applies to. If specified, must be greater than zero. |
groupId | int? | Unique identifier of the group the rule applies to. If specified, must be greater than zero. |
machineId | int? | Unique identifier of the organization the rule applies to. If specified, must be greater than zero. |