Operation | Verifying a Rule |
---|
URL | api/holmes-engine-mgmt/v1/rule |
---|
Method | POST |
---|
Request | Message Type | JSON String |
---|
Message | { "content": "template header\n ruleId\n package packageName..." } |
---|
Field Name | Mandatory | Data Type | Default Value | Description |
---|
content | N | string |
| the content of the rule which should be fully in compliance with the grammatical regulations of Drools |
|
---|
Response | Success Code | 200 |
---|
Error Code | 499 |
---|
Message on Success | none |
---|
Message on Error | { "code": 499, "message": "The detailed error message is displayed here." } |
---|
Field Name | Description |
---|
code | the error code returned from the server | message | the detailed message if any error occurs |
|
---|