REST API

This sample demonstrates how to use the REST API services of Rule Execution Server in Java™.

Time required

10 minutes

Prerequisites

You use the Samples Console, and need access to Rule Execution Server:

Description

This sample shows you how to do the following tasks in the REST API in Java:
  • Get the RuleApps, execution object models (XOMs), and rulesets.
  • Add a new RuleApp, XOM, and ruleset.
  • Modify some RuleApps, XOMs, and rulesets.
  • Remove a new RuleApp, XOM and ruleset.
  • Run a ruleset by providing the required parameters.

The sample uses the task results as JSON objects.

The sample includes the following key features:
  • The Rule Execution Server REST API in Java
  • Use of the response in JSON
  • Management of RuleApps, rulesets, and resources
  • Execution of rulesets