Get variable by name from a process
get/workflow/processes/{processId}/variables/{variableName}
Returns the variable with the specified name from a process that is 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.
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}
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The variable object was returned. | Schema | |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | No process exists with the specified ID or variable name. | Schema |