Rule Sets
Get the mapped code for a rule set
Returns the code to be able to run the rule set based on the provided data and mapping information in the request.
post/ruleSets/{ruleSetId}/mappedCode
Request
- Base URL: https://example.com/businessRules
- URL: https://example.com/businessRules/ruleSets/{ruleSetId}/mappedCode
- Auth: none declared
Path parameters
ruleSetIdstring required
The rule set ID.
Query parameters
injectTestCustomContextboolean
If true, the generated code includes the code content of the test custom context. The test custom context is conveyed by the testCustomContextUri member of the rule set. If the rule set does not use methods provided by a custom context, injectTestCustomContext should not be used.
Request body
Example request
{
"scoreDefinitionId": "9f0c13ae-6a27-11e6-8b77-86f30ca893d3",
"hints": {
"outputLibraryName": "PUBLIC"
}
}Response
The request succeeded.
Changes
No recorded changes to this operation across all 1 revision of this API.