Designing and Implementing Business Process Models 10.4 | Designing and Implementing Business Process Models | Business Rules Reference | Services | Summary of REST Services
 
Summary of REST Services
 
GET <base URL>/projects
GET <base URL>/project/%ruleProjectName%
PUT <base URL>/project/%ruleProjectName%/lock
PUT <base URL>/project/%ruleProjectName%/unlock
PUT <base URL>/project/%ruleProjectName%/unlockall
PUT <base URL>/project/%ruleProjectName%/decisiontable/%decisionTableName%
PUT <base URL>/project/%ruleProjectName%/decisiontable/%decisionTableName%/lock
PUT <base URL>/project/%ruleProjectName%/decisiontable/%decisionTableName%/unlock
PUT <base URL>/project/%ruleProjectName%/deploy
GET <base URL>/project/%ruleProjectName%
PUT <base URL>/project/%ruleProjectName%
DELETE <base URL>/project/%ruleProjectName%
GET <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%
PUT <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%
GET <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%/condition_nodes/%conditionNodeId%
PUT <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%/condition_nodes/%conditionNodeId%
GET <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%/lines/%conditionLinkId%
PUT <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%/lines/%conditionLinkId%
GET <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%/result_nodes/%resultNodeId%
PUT <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%/result_nodes/%resultNodeId%
GET <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%/results/%resultId%
PUT <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%/results/%resultId%
PUT <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%/lock
PUT <base URL>/projects/%ruleProjectName%/decision_trees/%decisionTreeName%/unlock
GET <base URL>/projects/%ruleProjectName%/decision_tables/%decisionTableName%
webMethods Business Rules provides predefined REST services. For detailed information on available REST services, see the WADL URL <host>:<port>/wm_rma/rest/application.wadl.
The following table lists REST services using base URL <host>:<port>/wm_rma/rest/content:
REST Service
Description
Returns a list of rule projects that are currently available on My webMethods Server.
Returns the content and metadata for a given rule project.
Locks the given rule project.
Unlocks the given rule project.
Unlocks the given rule project and all decision entities contained in it.
GET <base URL>/project/%ruleProjectName%/decisiontable/%decisionTableName%
This service has been deprecated and replaced with GET <base URL>/projects/%ruleProjectName%/decision_tables/%decisionTableName%, using base URL <host>:<port>/wm_rma/rest.
Writes the changes for the given decision table to My webMethods Server.
Locks the given decision table.
Unlocks the given decision table.
Hot deploys the given rule project to an Integration Server that was configured on My webMethods Server.
The following table lists REST services using base URL <host>:<port>/wm_rma/rest/raw:
REST Service
Description
Retrieves the rule project from My webMethods Server.
Stores the given rule project on My webMethods Server.
Deletes the given rule project from My webMethods Server.
The following table lists REST services using base URL <host>:<port>/wm_rma/rest:
REST Service
Description
Retrieves the given decision tree.
Updates the specified decision tree in the given project with the provided decision tree JSON.
Retrieves a condition node with the specified conditionNodeId in the given decision tree and rule project.
Updates a condition node with the specified ConditionNode JSON for the conditionNodeId in the given decision tree and rule project.
Retrieves a condition link with the specified conditionLinkId in the given decision tree and rule project.
Updates a condition link with the specified ConditionLink JSON for the conditionLinkId in the given decision tree and rule project.
Retrieves a result node with the specified resultNodeId in the given decision tree and rule project.
Updates the result node with the specified ResultNode JSON for the resultNodeId in the given decision tree and rule project.
Retrieves a result with the specified resultId in the given decision tree and rule project.
Updates a result with the specified Result JSON for the resultId in the given decision tree and rule project.
Locks a decision tree so that it can be modified exclusively by the user applying the lock.
Unlocks a decision tree so that it can be locked by another user for exclusive modification.
Returns the specified decision table from the specified rule project in JSON.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release