Get the decision step code for a rule set

get/ruleSets/{ruleSetId}/decisionStepCode
Internal-Use Only

Returns the decision step code for the specified rule set.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2024-07-01T05:28:53.812Z",
3 "modifiedTimeStamp": "2024-07-01T05:28:54.206Z",
4 "createdBy": "sasdemo",
5 "modifiedBy": "sasdemo",
6 "id": "1525f975-eb00-4602-bf73-f9d1f020a178",
7 "type": "ruleSet",
8 "name": "ppn_rs1",
9 "properties": {
10 "versionName": "1.0"
11 },
12 "signature": [
13 {
14 "name": "r_number",
15 "dataType": "integer",
16 "direction": "input",
17 "generateDataGridColumns": false
18 },
19 {
20 "name": "r_char",
21 "dataType": "string",
22 "direction": "input",
23 "generateDataGridColumns": false
24 },
25 {
26 "name": "dg_index",
27 "dataType": "integer",
28 "direction": "none",
29 "generateDataGridColumns": false
30 },
31 {
32 "name": "r_int",
33 "dataType": "integer",
34 "direction": "input",
35 "generateDataGridColumns": false
36 },
37 {
38 "name": "r_dg_out",
39 "dataType": "dataGrid",
40 "direction": "output",
41 "length": 10485760,
42 "generateDataGridColumns": false
43 }
44 ],
45 "links": [
46 {
47 "method": "GET",
48 "rel": "self",
49 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178",
50 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178",
51 "type": "application/vnd.sas.business.rule.set"
52 },
53 {
54 "method": "GET",
55 "rel": "alternate",
56 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178",
57 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178",
58 "type": "application/vnd.sas.summary"
59 },
60 {
61 "method": "GET",
62 "rel": "withRules",
63 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178",
64 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178",
65 "type": "application/vnd.sas.business.rule.set.integral"
66 },
67 {
68 "method": "PUT",
69 "rel": "update",
70 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178",
71 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178",
72 "type": "application/vnd.sas.business.rule.set",
73 "responseType": "application/vnd.sas.business.rule.set"
74 },
75 {
76 "method": "DELETE",
77 "rel": "delete",
78 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178",
79 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178"
80 },
81 {
82 "method": "GET",
83 "rel": "rules",
84 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/rules",
85 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/rules",
86 "type": "application/vnd.sas.collection",
87 "itemType": "application/vnd.sas.business.rule"
88 },
89 {
90 "method": "GET",
91 "rel": "rulesOrder",
92 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/order",
93 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/order",
94 "type": "application/vnd.sas.selection"
95 },
96 {
97 "method": "GET",
98 "rel": "revisions",
99 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/revisions",
100 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/revisions",
101 "type": "application/vnd.sas.collection",
102 "itemType": "application/vnd.sas.business.rule.set"
103 },
104 {
105 "method": "POST",
106 "rel": "createMinorRevision",
107 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/revisions?revisionType=minor",
108 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/revisions?revisionType=minor",
109 "type": "application/vnd.sas.business.rule.set",
110 "responseType": "application/vnd.sas.business.rule.set"
111 },
112 {
113 "method": "POST",
114 "rel": "createMajorRevision",
115 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/revisions?revisionType=major",
116 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/revisions?revisionType=major",
117 "type": "application/vnd.sas.business.rule.set",
118 "responseType": "application/vnd.sas.business.rule.set"
119 },
120 {
121 "method": "GET",
122 "rel": "up",
123 "href": "/businessRules/ruleSets",
124 "uri": "/businessRules/ruleSets",
125 "type": "application/vnd.sas.collection",
126 "itemType": "application/vnd.sas.business.rule.set"
127 },
128 {
129 "method": "GET",
130 "rel": "code",
131 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/code",
132 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/code",
133 "type": "text/vnd.sas.source.ds2"
134 },
135 {
136 "method": "POST",
137 "rel": "mappedCode",
138 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/mappedCode",
139 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/mappedCode",
140 "type": "application/vnd.sas.score.code.generation.request",
141 "responseType": "application/vnd.sas.score.mapped.code"
142 },
143 {
144 "method": "POST",
145 "rel": "analysisCode",
146 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/analysisCode",
147 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/analysisCode",
148 "type": "application/vnd.sas.score.analysis.code.generation.request",
149 "responseType": "application/vnd.sas.score.analysis.code"
150 },
151 {
152 "method": "GET",
153 "rel": "metadataDocuments",
154 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/metadataDocuments",
155 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/metadataDocuments",
156 "type": "application/zip"
157 },
158 {
159 "method": "GET",
160 "rel": "legacyVariables",
161 "href": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/legacyVariables",
162 "uri": "/businessRules/ruleSets/1525f975-eb00-4602-bf73-f9d1f020a178/legacyVariables",
163 "type": "application/vnd.sas.collection",
164 "itemType": "application/vnd.sas.business.rule.set.variable+json"
165 }
166 ],
167 "version": 1
168}

Path Parameters

NameTypeRequiredDescription
ruleSetId
string
true

The identifier of the rule set.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundNo rule set exists at the requested path.Schema