Action on Created Rule¶
Start an Action Service Rule¶
This will start a rule based on the rule ID.
POST http://<domainname>/ActionModule/v1.0/actionRules/{rule_ID}/start
Click on POST actionRules/{rule_ID}/start API in swagger ,give rule ID and hit
Try it out!
button , it will start an action rule.
The swagger image for the start rule is as follows:
Warning
A tenant can start his/her routing rule only.
Stop an Action Service Rule¶
This will stop a rule based upon the rule ID.
POST http://<domainname>/ActionModule/v1.0/actionRules/{rule_ID}/stop
Click on POST actionRules/{rule_ID}/stop API in swagger , give the rule ID and hit
Try it out!
button, it will stop an action rule.
The swagger image for the stop rule is as follows:
Warning
A tenant can stop his/her routing rule only.
Update an Action Service Rule¶
This will update a rule based upon the rule ID.
PUT http://<domainname>/ActionModule/v1.0/actionRules/{rule_ID}
Click on PUT actionRules API in swagger, give the input JSON, rule ID and hit
Try it out!
button, it will update an action rule as below:
The swagger image for the update rule is as follows:
Note
Input JSON for update is same as create rule input JSON.
Warning
A tenant can update his/her routing rules for future use.
Delete an Action Service Rule¶
This will delete a rule based upon the rule ID. A tenant can delete his/her routing rule only.
DELETE http://<domainname>/ActionModule/v1.0/actionRules/{rule_ID}
Click on DELETE actionRules/{rule_ID} API in swagger, give the rule ID and hit
Try it out!
button, it will delete an action rule as below:
The swagger image for the update rule is as follows:
Warning
A tenant can delete his/her routing rule only.