Validate SAS program score code for a model version

get/models/{modelId}/versions/{modelVersionIDOrName}/validSASProgramModelCode

Validates that the SAS program score code for a model version contains the required LIBNAME statements and macro variables (&inputlib and &outputlib). Returns a Boolean value that indicates whether the score code is valid.

Request Samples

Response Samples

1{
2 "isValidSASProgramModelCode": true
3}

Path Parameters

modelId
string
true

The ID of a model in the common model repository.

modelVersionIDOrName
string
true

The ID or name of the model version.

Responses

StatusMeaningDescription
200OK

The request succeeded. The validation completed successfully.

Schema
400Bad Request

The request was invalid.

Schema
404Not Found

No model exists at the requested path.

Schema