Get a list of all decision node types

get/decisionNodeTypes
Internal-Use Only

Returns a resource collection of all decision node types.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "collection",
6 "href": "/decisions/decisionNodeTypes",
7 "uri": "/decisions/decisionNodeTypes",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.decision.node.type"
10 },
11 {
12 "method": "GET",
13 "rel": "first",
14 "href": "/decisions/decisionNodeTypes?start=0&limit=1",
15 "uri": "/decisions/decisionNodeTypes?start=0&limit=1",
16 "type": "application/vnd.sas.collection",
17 "itemType": "application/vnd.sas.decision.node.type"
18 },
19 {
20 "method": "GET",
21 "rel": "prev",
22 "href": "/decisions/decisionNodeTypes?start=1&limit=1",
23 "uri": "/decisions/decisionNodeTypes?start=1&limit=1",
24 "type": "application/vnd.sas.collection",
25 "itemType": "application/vnd.sas.decision.node.type"
26 },
27 {
28 "method": "GET",
29 "rel": "self",
30 "href": "/decisions/decisionNodeTypes?start=2&limit=1",
31 "uri": "/decisions/decisionNodeTypes?start=2&limit=1",
32 "type": "application/vnd.sas.collection",
33 "itemType": "application/vnd.sas.summary"
34 },
35 {
36 "method": "POST",
37 "rel": "createDecisionNodeType",
38 "href": "/decisions/decisionNodeTypes",
39 "uri": "/decisions/decisionNodeTypes",
40 "type": "application/vnd.sas.decision.node.type",
41 "responseType": "application/vnd.sas.decision.node.type"
42 }
43 ],
44 "name": "decisionNodeTypes",
45 "accept": "application/vnd.sas.decision.node.type",
46 "start": 2,
47 "count": 3,
48 "items": [
49 {
50 "creationTimeStamp": "2021-05-07T18:12:17.412Z",
51 "modifiedTimeStamp": "2021-05-07T18:12:17.412Z",
52 "createdBy": "sasdemo",
53 "modifiedBy": "sasdemo",
54 "id": "a86ded32-73bd-434d-9f89-29ba4a90c131",
55 "name": "Demo Node Type 3",
56 "hasProperties": false,
57 "hasInputs": true,
58 "hasOutputs": true,
59 "inputDatagridMappable": false,
60 "outputDatagridMappable": false,
61 "inputDecisionTermMappable": true,
62 "outputDecisionTermMappable": true,
63 "independentMappings": false,
64 "themeId": "DNT_THEME1",
65 "type": "static",
66 "links": [
67 {
68 "method": "GET",
69 "rel": "self",
70 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131",
71 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131",
72 "responseType": "application/vnd.sas.decision.node.type"
73 },
74 {
75 "method": "DELETE",
76 "rel": "delete",
77 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131",
78 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131"
79 },
80 {
81 "method": "PUT",
82 "rel": "update",
83 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131",
84 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131",
85 "type": "application/vnd.sas.decision.node.type",
86 "responseType": "application/vnd.sas.decision.node.type"
87 },
88 {
89 "method": "POST",
90 "rel": "setContent",
91 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/content",
92 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/content",
93 "type": "application/vnd.sas.decision.node.type.content",
94 "responseType": "application/vnd.sas.decision.node.type.content"
95 },
96 {
97 "method": "GET",
98 "rel": "content",
99 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/content",
100 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/content",
101 "responseType": "application/vnd.sas.decision.node.type.content"
102 },
103 {
104 "method": "GET",
105 "rel": "decisionStepCode",
106 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/decisionStepCode",
107 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/decisionStepCode",
108 "responseType": "application/vnd.sas.decision.step.code"
109 }
110 ]
111 },
112 {
113 "creationTimeStamp": "2021-05-07T18:12:17.412Z",
114 "modifiedTimeStamp": "2021-05-07T18:12:17.412Z",
115 "createdBy": "sasdemo",
116 "modifiedBy": "sasdemo",
117 "id": "044003f4-ab99-4be9-831b-40da3462b359",
118 "name": "My Custom Type",
119 "hasProperties": false,
120 "hasInputs": true,
121 "hasOutputs": true,
122 "inputDatagridMappable": false,
123 "outputDatagridMappable": false,
124 "inputDecisionTermMappable": true,
125 "outputDecisionTermMappable": true,
126 "independentMappings": false,
127 "style": {
128 "icon": {
129 "id": "f0c6",
130 "ref": "sas.icons.HC.BUSINESSRULES"
131 },
132 "color": 1
133 },
134 "type": "rest",
135 "links": [
136 {
137 "method": "GET",
138 "rel": "self",
139 "href": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359",
140 "uri": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359",
141 "responseType": "application/vnd.sas.decision.node.type"
142 },
143 {
144 "method": "DELETE",
145 "rel": "delete",
146 "href": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359",
147 "uri": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359"
148 },
149 {
150 "method": "PUT",
151 "rel": "update",
152 "href": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359",
153 "uri": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359",
154 "type": "application/vnd.sas.decision.node.type",
155 "responseType": "application/vnd.sas.decision.node.type"
156 },
157 {
158 "method": "POST",
159 "rel": "setContent",
160 "href": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359/content",
161 "uri": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359/content",
162 "type": "application/vnd.sas.decision.node.type.content",
163 "responseType": "application/vnd.sas.decision.node.type.content"
164 },
165 {
166 "method": "GET",
167 "rel": "content",
168 "href": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359/content",
169 "uri": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359/content",
170 "responseType": "application/vnd.sas.decision.node.type.content"
171 },
172 {
173 "method": "GET",
174 "rel": "decisionStepCode",
175 "href": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359/decisionStepCode",
176 "uri": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359/decisionStepCode",
177 "responseType": "application/vnd.sas.decision.step.code"
178 }
179 ]
180 }
181 ],
182 "limit": 1,
183 "version": 2
184}

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

The criteria for filtering the decision node types. 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 limit is 10.

Examples:
500
sortBy
string<sort-criteria>
false

The criteria for sorting the decision node types. 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
false

If provided, this should be an alternative media type that the service recognizes. If the media type is not one that the service can provide, a 406 response is returned.

Examples:
"application/vnd.sas.decision.node.type+json"
Accept-Language
string
false

If provided, the service attempts to retrieve the localized names for the given locale from the localization service. The names fetched are based on each node's l10nKey parameter.

Examples:
"zh_CN"

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
406Not AcceptableThe request was not acceptable. An invalid media type was specified for the `Accept-Item` header value.HeadersSchema