Generate analysis code
post/executions/{executionId}/analysisCode
Generate analysis code for an analysis type from a score execution by forwarding the analysis code to the score object.
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}
Name | Type | Required | Description |
---|---|---|---|
executionId | string | true | The unique identifier for the score execution. |
The representation of an analysis code generation request.
Request containing hints to generate Analysis Code using the Scoring Execution. This represents application/vnd.sas.dcm.score.analysis.code.generation.request media type (version 1).
Name | Type | Required | Description |
---|---|---|---|
scoreExecutionId | string | true | Score execution id. |
analysisType | string | true | Type of analysis that needs to be done. |
hints | object | false | Hints for generating analysis code. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Schema | |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | No score execution exists at the requested path. | Schema |