Test the Business Rules API from SAP API Business Hub
Beginner
10 min.
Use SAP API Business Hub to test and run the business rules API to see how business rules can be consumed from a custom application.
You will learn
- How to use Business Rules APIs
- How to test Business Rules project
Prerequisites
- You have created the business rules project and deployed the rule service. For more information, see Create Your First Business Rules Project.
After a rule service is deployed to a custom application, the rule service should be invoked to implement the decision logic. In this tutorial, we will simulate the rule service invocation by invoking the rule service from SAP API Business Hub.
Business Rules REST APIs are available on SAP API Business Hub which lets you execute rules from custom applications and external REST clients. Since these APIs are based on OAuth 2.0 authorization, you need the client credentials to access them. You get the client credentials from the service key of the business rules service instance.