Get variable by name within a subprocess

get/workflow/processes/{processId}/subprocesses/{subprocessId}/variables/{variableName}
Internal-Use Only

Retrieves a variable with the specified name within a subprocess that is associated with SAS Model Manager. Authorization: By default only users in the ApplicationAdministrators group will have access to this endpoint. Authorization rules can be added to this endpoint for any set of users or groups to allow access to this information.

Request Samples

1

Response Samples

1{
2 "scope": "local",
3 "type": "string",
4 "name": "Champion_ID",
5 "localizedName": "Champion_ID",
6 "value": "champion id",
7 "version": 1,
8 "links": [
9 {
10 "method": "GET",
11 "rel": "self",
12 "href": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/Champion_ID",
13 "uri": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/Champion_ID",
14 "type": "application/vnd.sas.workflow.variable"
15 },
16 {
17 "method": "PUT",
18 "rel": "update",
19 "href": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/Champion_ID",
20 "uri": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/Champion_ID",
21 "responseType": "application/vnd.sas.workflow.variable"
22 }
23 ]
24}

Path Parameters

NameTypeRequiredDescription
processId
string<object-id>
true

The workflow process ID.

subprocessId
string<object-id>
true

The workflow subprocess ID.

variableName
string
true

The variable name.

Responses

StatusMeaningDescription
200OKThe variable object was returned.Schema
400Bad RequestThe request was invalid.Schema
404Not FoundNo process or subprocess exists with the specified ID or variable name.Schema