on ‎2019 Nov 13 12:19 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 16 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.