Get rule set code
Returns the code for integrating within another program so that program is able to run the rule set.
Request
- Base URL: https://example.com/businessRules
- URL: https://example.com/businessRules/ruleSets/{ruleSetId}/code
- Auth: none declared
Path parameters
The rule set ID.
Query parameters
The type of platform that the generated code is run on. This affects some aspects of how the code is generated, for example the MICROANALYTICS variables that are both input and output are listed distinctly in the execute method signature rather than as one 'in_out' parameter. The default is CAS.
Generates the code using references to the reference data domains based on the format names, the inline domain contents as conditionals, or the domain contents as DS2 packages. The default is 'format'. If the value is either format or package, the domain contents are expected to exist in that form on the Cloud Analytic Server and Micro Analytic Score server respectively. This is done the domain contents are activated using the SAS Intelligent Decisioning web application or using a Reference Data service REST API invocation. Only when executing the code would it be known that the formats or packages do not exist.
Determines whether the rule fired columns are included in the method signatures within the return package code. The default is 'true'.
Response
The request succeeded.
Changes
No recorded changes to this operation across all 1 revision of this API.