Get legacy variables of a rule set
Retrieves the legacy variables of the rule set, which can be added back to the rule set.
1{2 "links": [3 {4 "method": "GET",5 "rel": "collection",6 "href": "/businessRules/ruleSets",7 "uri": "/businessRules/ruleSets",8 "type": "application/vnd.sas.collection",9 "itemType": "application/vnd.sas.business.rule.set.variable"10 },11 {12 "method": "GET",13 "rel": "self",14 "href": "/businessRules/ruleSets?filter=and%20(eq(legacy,'true'),eq(ruleSet.ruleSetId,'a4b28f84-98ae-45f5-8a48-938cb672a63e'))&sortBy=createdTimeStamp:ascending&start=0&limit=10",15 "uri": "/businessRules/ruleSets?filter=and%20(eq(legacy,'true'),eq(ruleSet.ruleSetId,'a4b28f84-98ae-45f5-8a48-938cb672a63e'))&sortBy=createdTimeStamp:ascending&start=0&limit=10",16 "type": "application/vnd.sas.collection",17 "itemType": "application/vnd.sas.business.rule.set.variable"18 }19 ],20 "name": "ruleLegacyVariables",21 "start": 0,22 "count": 2,23 "items": [24 {25 "creationTimeStamp": "2024-07-04T07:43:52.955Z",26 "modifiedTimeStamp": "2024-07-04T07:43:52.955Z",27 "createdBy": "sasdemo",28 "modifiedBy": "sasdemo",29 "id": "61e3654e-76d7-429e-82f3-80430629747d",30 "name": "var1",31 "dataType": "string",32 "description": "",33 "generateDataGridColumns": false,34 "direction": "inOut",35 "legacy": true36 },37 {38 "creationTimeStamp": "2024-07-04T07:43:52.963Z",39 "modifiedTimeStamp": "2024-07-04T07:43:52.963Z",40 "createdBy": "sasdemo",41 "modifiedBy": "sasdemo",42 "id": "992efb6c-0044-4313-b58a-183bee53bf8a",43 "name": "var2",44 "dataType": "string",45 "description": "",46 "generateDataGridColumns": false,47 "direction": "inOut",48 "legacy": true49 }50 ],51 "limit": 10,52 "version": 253}filter | string<filter-criteria> | false | An expression for filtering the collection. Valid expressions include eq(member,"string"). Allowed members are |
limit | integer | false | The maximum number of items to return on this page. The actual number of returned items might be less if there are no more items in the collection. The default is 10. |
sortBy | string<sort-criteria> | false | The criteria for sorting the rule sets. Valid |
start | integer | false | The starting index of the first item on a page. The index is 0-based. The default is 0. |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | Headers | Schema |
| 400 | Bad Request | The request was invalid. | Schema |