Skip to main content

Create Portal Rule

POST 

/api/portals/createportalrule

Tier: Internal — subject to change without notice.

Creates a portal rule of the given type, wiring its tuning parameters and components.

TemplateId must be the sys rule template for the rule type; its extended properties are the rule's tuning parameters (timeouts/thresholds are in milliseconds unless individually noted otherwise — e.g. heartbeat-related settings elsewhere in this domain are in seconds). On success raises an Events.AgentNotificationDomainEvent so the portal device re-syncs its configuration.

Request

Responses

Returns the created rule. See PortalDtos.PortalRuleDetailDto.