Get variables within a workflow process

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

Returns the variables within a workflow process that are associated with SAS Model Manager. Authorization: By default only users in the ApplicationAdministrators group have access to this endpoint. Authorization rules can be added to this endpoint for any set of users or groups to allow access to the associated information.

Request Samples

1

Response Samples

1{
2 "name": "variables",
3 "accept": "application/vnd.sas.workflow.variable",
4 "items": [
5 {
6 "scope": "local",
7 "type": "string",
8 "name": "Champion_ID",
9 "localizedName": "Champion_ID",
10 "value": "champion id",
11 "version": 1,
12 "links": [
13 {
14 "method": "GET",
15 "rel": "self",
16 "href": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/Champion_ID",
17 "uri": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/Champion_ID",
18 "type": "application/vnd.sas.workflow.variable"
19 },
20 {
21 "method": "PUT",
22 "rel": "update",
23 "href": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/Champion_ID",
24 "uri": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/Champion_ID",
25 "responseType": "application/vnd.sas.workflow.variable"
26 }
27 ]
28 },
29 {
30 "scope": "local",
31 "type": "string",
32 "name": "modelProjectId",
33 "localizedName": "modelProjectId",
34 "value": "a16e2641-cdd9-4e36-8702-b8892e7a3e85",
35 "version": 1,
36 "links": [
37 {
38 "method": "GET",
39 "rel": "self",
40 "href": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/modelProjectId",
41 "uri": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/modelProjectId",
42 "type": "application/vnd.sas.workflow.variable"
43 },
44 {
45 "method": "PUT",
46 "rel": "update",
47 "href": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/modelProjectId",
48 "uri": "/modelManagement/workflow/processes/WFaeec3c84-0064-4e1f-bae5-88801ba33813/variables/modelProjectId",
49 "responseType": "application/vnd.sas.workflow.variable"
50 }
51 ]
52 }
53 ]
54}

Path Parameters

NameTypeRequiredDescription
processId
string<object-id>
true

The workflow process ID.

Query Parameters

NameTypeRequiredDescription
name
string
false

Names of the variables to return in the collection result.

Header Parameters

NameTypeRequiredDescription
Accept
string
false

The media type of the resource items included in the returned collection.

Allowed values:
application/vnd.sas.workflow.variable+jsonapplication/json

Responses

StatusMeaningDescription
200OKThe variable collection was returned.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundNo process exists with the specified ID.Schema