Get decision node type decision step code (static decision node types only)
get/decisionNodeTypes/{nodeTypeId}/decisionStepCode
Returns the decision step code for the specified decision node type of type static.
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": "15af2c7d-f162-4c76-949f-842940d636c5",7 "type": "dntStatic",8 "code": "package \"${PACKAGE_NAME}\" /inline;\n method execute(double a, double c, in_out double b);\n b=a+c;\n end;\nendpackage;\n",9 "signature": [10 {11 "name": "a",12 "dataType": "decimal",13 "direction": "input"14 },15 {16 "name": "c",17 "dataType": "decimal",18 "direction": "input"19 },20 {21 "name": "b",22 "dataType": "decimal",23 "direction": "output"24 }25 ],26 "links": [27 {28 "method": "GET",29 "rel": "self",30 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/content",31 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/content",32 "responseType": "application/vnd.sas.decision.node.type.content"33 }34 ],35 "version": 136}
Name | Type | Required | Description |
---|---|---|---|
nodeTypeId | string | true | The unique identifier for the decision node type. Examples: "8fdb696e-e9e3-43ef-a162-25b4d45faaee" |
Name | Type | Required | Description |
---|---|---|---|
codeTarget | string | false | The target for where the DS2 code is deployed. Allowed values: othersmicroAnalyticService Default: others Examples: "microAnalyticService" |
populateCode | boolean | false | Indicates whether to populate DS2 code in the response. Default: false Examples: false |
variableAssignmentTrace | boolean | false | Determines whether variable assignment trace logging is added to the generated DS2 code. Default: false Examples: false |