Get legacy Variables of decision

get/flows/{decisionId}/legacyVariables
Internal-Use Only

Retrieves the legacy variables of the decision, which can be added back to the decision.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "collection",
6 "href": "/decisions/flows",
7 "uri": "/decisions/flows",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.decision.variable"
10 },
11 {
12 "method": "GET",
13 "rel": "self",
14 "href": "/decisions/flows?filter=eq(legacy,'true')&sortBy=creationTimeStamp:ascending&start=0&limit=10",
15 "uri": "/decisions/flows?filter=eq(legacy,'true')&sortBy=creationTimeStamp:ascending&start=0&limit=10",
16 "type": "application/vnd.sas.collection",
17 "itemType": "application/vnd.sas.decision.variable"
18 }
19 ],
20 "name": "decisionlegacyVariables",
21 "start": 0,
22 "count": 0,
23 "items": [],
24 "limit": 10,
25 "version": 2
26}

Path Parameters

NameTypeRequiredDescription
decisionId
string
true

The identifier for the decision.

Examples:
"094078e7-278a-4719-a704-6e5e65af29ee"

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

The criteria for filtering the decision legacy variables. See Filtering in REST APIs.

Examples:
"gt(modifiedTimeStamp, '2021-05-03T15:38:45.654Z')"
limit
integer
false

The maximum number of items to return in this page of results. The actual number of returned items might be less if the collection has been exhausted. The default is 10.

Examples:
500
sortBy
string<sort-criteria>
false

The criteria for sorting the decision legacy variables. See Sorting in REST APIs.

Examples:
"modifiedTimeStamp:descending"
start
integer
false

The starting index of the first item in a page. The index is 0-based. The default is 0.

Examples:
100

Header Parameters

NameTypeRequiredDescription
Accept-Item
string<media-type>
false

Used for selecting the desired item representation.

Allowed value:
application/vnd.sas.decision.variable+json
Default:
application/vnd.sas.decision.variable+json
Examples:
"application/vnd.sas.decision.variable+json"

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundNo decision exists at the requested path.HeadersSchema