Sidebar
Overview
Resources
IftttRule
The IftttRule resource represents a user-defined set of conditional logic rules applied to device inputs within the digital customer platform. It enables the setting-up of 'If This Then That' (IFTTT) scenarios where certain actions are triggered based on specific conditions being met. The IftttRule is part of automating workflows and responses in the context of digitalized industrial assets. When a rule condition is satisfied, a predefined action can be executed, which may include notifying recipients or updating the system state. This resource also includes relationships to device inputs and recipients affected by the rule.Attributes
These are all attributes that can be read and updated through the API
Name | Description | Permissions |
---|---|---|
name | The 'name' attribute represents a unique identifier for the IFTTT (If This Then That) rule, typically describing its purpose or action in a human-readable format. | READ ONLY |
active | The 'active' attribute is a boolean flag indicating whether the IFTTT rule is currently enabled (true) or disabled (false), determining if the rule should be executed upon triggering conditions. | READ ONLY |
Get IftttRule by ID
GEThttps://connect.autonoma.cloud/v1/resources/iftttrule/[ID]Returns a specific IftttRule by ID.
Relations
It is possible to get related objects from IftttRules.
GEThttps://connect.autonoma.cloud/v1/resources/iftttrule/[ID]/[RELATION]This table shows all available resources that can be queried
Relation | Objecttype | Relationtype | |
---|---|---|---|
deviceinputs | Datastream | 1:many | Show details |
metadatas | Metadata | many:many | Show details |
Update IftttRule
POSThttps://connect.autonoma.cloud/v1/resources/iftttrule/[ID]Update fields of IftttRule by ID. The fields must be sent as x-www-form-urlencoded parameter.
Create IftttRule
PUThttps://connect.autonoma.cloud/v1/resources/iftttruleCreate a new IftttRule.
Delete IftttRule
DELETEhttps://connect.autonoma.cloud/v1/resources/iftttrule/[ID]Delete the resource IftttRule by ID.
This action can not be reverted!