Get rule set analysis code
post/ruleSets/{ruleSetId}/analysisCode
Returns the analysis code to generate rule fired reports based on the scoring definition.
1{2 "code": "/* ds2 code of an object which generates XYZ output table */",3 "codeType": "text/vnd.sas.source.ds2",4 "outputTableName": "XYZ",5 "outputLibraryName": "HPS",6 "analysisType": "ruleFiredSummary"7}
Information that describes the specific execution to which the analysis code should be applicable (as specified by the scoreExecutionId) and the type of analysis that is to be performed by the code.
A request that contains hints to generate the analysis code using the scoring execution.
Example:
{"scoreExecutionId":"6f4bced9-5bbd-476c-8ef8-3378678b0702","analysisType":"ruleFiredSummary","hints":{"outputLibraryName":"PUBLIC"}}
Name | Type | Required | Description |
---|---|---|---|
scoreExecutionId | string | true | The score execution ID. |
analysisType | string<enumeration> | true | The type of analysis that needs to be done. Allowed values: ruleFiredDetailsruleFiredSummary |
hints | object | false | Hints for generating the analysis code. |
version | integer | false | This media type's schema version number. This representation is version 1. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
400 | Bad Request | The request was invalid. | Schema |