User-defined business rules can be executed via the REST API of the application.

The ExecuteRule method is used to execute these rules. The method is called by the POST method. The name of the rule (ruleName) to be executed and the parameters (DATA) to be sent to the script to be executed are defined in JSON format in the content section of the request.

The DATA object sent to the method also returns as a result. Information can be saved to the DATA object in the executed script.


Usage: http://SERVER ADDRESS:APPLICATION REST PORT/api/script/executerule

Example: http://localhost:4567/api/script/executerule


Request Content
ruleName = test
data={"code":"001"}


The code of the rule to be executed

 


The following method can be called with the GET method to check whether the REST API is running.

http://address:port/api/health/Check