Generate analysis code

post/executions/{executionId}/analysisCode
Internal-Use Only

Generate analysis code for an analysis type from a score execution by forwarding the analysis code to the score object.

Request Samples

1

Response Samples

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}

Path Parameters

NameTypeRequiredDescription
executionId
string
true

The unique identifier for the score execution.

Request Body

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).

NameTypeRequiredDescription
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.

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema
400Bad RequestThe request was invalid.Schema
404Not FoundNo score execution exists at the requested path.Schema