Update a decision node type

put/decisionNodeTypes/{nodeTypeId}
Internal-Use Only

Updates the decision node type.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2021-05-07T18:12:17.412Z",
3 "modifiedTimeStamp": "2021-05-07T18:12:17.412Z",
4 "createdBy": "sasdemo",
5 "modifiedBy": "sasdemo",
6 "id": "a86ded32-73bd-434d-9f89-29ba4a90c131",
7 "name": "Demo Node Type 3",
8 "hasProperties": false,
9 "hasInputs": true,
10 "hasOutputs": true,
11 "inputDatagridMappable": false,
12 "outputDatagridMappable": false,
13 "inputDecisionTermMappable": true,
14 "outputDecisionTermMappable": true,
15 "independentMappings": false,
16 "themeId": "DNT_THEME1",
17 "type": "static",
18 "links": [
19 {
20 "method": "GET",
21 "rel": "self",
22 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131",
23 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131",
24 "responseType": "application/vnd.sas.decision.node.type"
25 },
26 {
27 "method": "DELETE",
28 "rel": "delete",
29 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131",
30 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131"
31 },
32 {
33 "method": "PUT",
34 "rel": "update",
35 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131",
36 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131",
37 "type": "application/vnd.sas.decision.node.type",
38 "responseType": "application/vnd.sas.decision.node.type"
39 },
40 {
41 "method": "POST",
42 "rel": "setContent",
43 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/content",
44 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/content",
45 "type": "application/vnd.sas.decision.node.type.content",
46 "responseType": "application/vnd.sas.decision.node.type.content"
47 },
48 {
49 "method": "GET",
50 "rel": "content",
51 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/content",
52 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/content",
53 "responseType": "application/vnd.sas.decision.node.type.content"
54 },
55 {
56 "method": "GET",
57 "rel": "decisionStepCode",
58 "href": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/decisionStepCode",
59 "uri": "/decisions/decisionNodeTypes/a86ded32-73bd-434d-9f89-29ba4a90c131/decisionStepCode",
60 "responseType": "application/vnd.sas.decision.step.code"
61 }
62 ]
63}

Path Parameters

NameTypeRequiredDescription
nodeTypeId
string
true

The identifier for the decision node type.

Examples:
"8fdb696e-e9e3-43ef-a162-25b4d45faaee"

Header Parameters

NameTypeRequiredDescription
If-Match
string
true

The ETag value from when the originating object was retrieved.

Examples:
"\"kknyjgku\""
Accept-Language
string
false

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

Examples:
"zh_CN"

Request Body

The decision node type content to use in the update.

Contains information needed to extend the decision flow with a new node type

NameTypeRequiredDescription
name
string
true

The name of the DecisionNodeType used by the infrastructure to indentify this node type (no spaces or special characters).

description
string
false

The description of the DecisionNodeType.

hasProperties
boolean
false

indicates whether or not the DecisionNodeType should be present a properties pane when included in a decision flow

hasInputs
boolean
true

indicates that the DecisionNodeType has inputs which should be mapped to decision flow or datagrid variables

hasOutputs
boolean
true

indicates that the DecisionNodeType has outputs which should be mapped to decision flow or datagrid variables

inputDatagridMappable
boolean
false

indicates that the DecisionNodeType's inputs may be mapped to datagrid extensions

outputDatagridMappable
boolean
false

indicates that the DecisionNodeType's outputs may be mapped to datagrid extensions

inputDecisionTermMappable
boolean
false

indicates that the DecisionNodeType's inputs may be mapped to decision variables

outputDecisionTermMappable
boolean
false

indicates that the DecisionNodeType's outputs may be mapped to decision variables

independentMappings
boolean
false

indicates whether same-named inputs/outputs may be mapped independently

themeId
string
false

indicating a standard theme which will result in a unique icon and color. The available themes are DNT_THEME1, DNT_THEME2, DNT_THEME3, DNT_THEME4, and DNT_THEME5

style
object
false

determine how the node type will be presented in the application UI. This is mutually exclusive with themeId.

type
string
true

the type for this DecisionNodeType

Allowed values:
staticrest
l10nKey
string
false

the key that can be used to access the localized name from the localization service.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
400Bad RequestThe request was invalid.HeadersSchema
404Not FoundNo decision node type exists at the requested path.HeadersSchema
412Precondition FailedThe `If-Match` request header did not match the resource's entity tag.HeadersSchema
428Precondition RequiredThe request headers did not include an `If-Match`.HeadersSchema