Get decision node type content

get/decisionNodeTypes/{nodeTypeId}/content

Retrieves the decision node type content, which can then be used to represent the decision node type when the containing decision is executed.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2021-05-07T18:33:04.846Z",
3 "modifiedTimeStamp": "2021-05-07T18:33:04.846Z",
4 "createdBy": "sasdemo",
5 "modifiedBy": "sasdemo",
6 "id": "19fc0c93-6494-4567-852c-82f5a535d674",
7 "nodeTypeId": "044003f4-ab99-4be9-831b-40da3462b359",
8 "contentType": "DS2",
9 "staticContent": "package \"${PACKAGE_NAME}\" /inline;\n method execute(double a, double c, in_out double b);\n b=a+c;\n end;\nendpackage;\n",
10 "nodeTypeSignatureTerms": [
11 {
12 "name": "a",
13 "dataType": "decimal",
14 "direction": "input"
15 },
16 {
17 "name": "c",
18 "dataType": "decimal",
19 "direction": "input"
20 },
21 {
22 "name": "b",
23 "dataType": "decimal",
24 "direction": "output"
25 }
26 ],
27 "links": [
28 {
29 "method": "GET",
30 "rel": "self",
31 "href": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359/content",
32 "uri": "/decisions/decisionNodeTypes/044003f4-ab99-4be9-831b-40da3462b359/content",
33 "responseType": "application/vnd.sas.decision.node.type.content"
34 }
35 ]
36}

Path Parameters

NameTypeRequiredDescription
nodeTypeId
string
true

The identifier for the decision node type.

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
404Not Found

No decision node type code exists at the requested path.

HeadersSchema