cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Leonardo IoT Rules API

Former Member
0 Likes
282

Hi all,

I want to create/delete/update rules and actions from a UI5 app that is deployed on CF. The general idea is to dynamically create basic rules in our customer UI5 application.

In our UI5 app, the user is able to select a thing property and a relational operator. Further, the user can determine a threshold value and state email recipients for notification. Based on this information, the UI5 app should make API calls to create a rule and an action that is executed to notify the users via email in case the threshold is exceeded/undercut.

So far, we were able to create rules/actions by hand directly in Leonardo IoT. However, for me it is not clear, where I can find information about the API calls to create/update/delete rules. Also we need to retrieve a list of all existing rules and actions.

Is that possible with the current APIs?

Further, the actions API reference is not that detailed in terms of parameter explanation. Is there any additional material except from that?

Thank you for your help.

Best regards

Dominik

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

Hi Dominik,

for Rules there are no public APIs at the moment. Those are on the roadmap though, although please don't take this answer as SAP's commitment to deliver those.

For Actions there are public APIs and you already pointed to the correct documentation.

We take your feedback and will enhance the documentation to include additional details about the fields included in the request and response.

Regards,

Frank