cancel
Showing results for 
Search instead for 
Did you mean: 

Business Rules API

pranavnagpal
Explorer
0 Kudos

Hi Experts,

I am trying to trigger business rules API from api hub(and via postman) but the return message for almost all the API is

{"status":404,"error":"Not Found","message":"No message available","timeStamp":"Thu Jun 10 08:57:33 UTC 2021"}

My API URL is:

https://bpmrulerepository.cfapps.eu10.hana.ondemand.com/rules-service/rest/v2/workingset-rule-defini... (I am not sure if I should have a sub domain somewhere)

Auth URL : https://<>.authentication.eu10.hana.ondemand.com

Access token URL: https://<>.authentication.eu10.hana.ondemand.com/oauth/token?grant_type=client_credentials&response_...

Thanks
Pranav

drvup
Contributor
0 Kudos

can you maintain the response of the token provider (not the token, only the scopes).
mostly authority scopes are missing

View Entire Topic
Archana
Product and Topic Expert
Product and Topic Expert

Hello Pranav,

1) you have used repository URL host to call runtime APIs. To call business rules runtime API for working-set, the URL should look like https://bpmruleruntime.cfapps.eu10.hana.ondemand.com/rules-service/rest/v2/workingset-rule-services (refer the API documentation for more information >> Invoke Rule Service)

2) You can get the needed credentials to run the business rules as instructed here from business rules service instance

Hope that helps.