Update a decision type by ID

put/flowTypes/{flowTypeId}
Internal-Use Only

Updates the contents of a decision type with a given ID.

Request Samples

1

Response Samples

1{
2 "id": "d243e6a3-36b6-4f5a-bdd0-5b17e7a9d71f",
3 "name": "Fraud",
4 "l10nKey": "SASFraudManagement-SASDecisionManager-gui-icu.underThirtyMs.type.label",
5 "denyDecisionNodeTypes": [
6 "ruleSet"
7 ],
8 "allowDecisionNodeTypes": [
9 "98879d99-4aaf-4d40-b18a-483659ffc32",
10 "d28e6407-6f5a-4839-8c39-d505cebff6b8"
11 ],
12 "createdBy": "sasdemo",
13 "creationTimeStamp": "2021-10-25T17:12:50.202000Z",
14 "modifiedBy": "sasdemo",
15 "modifiedTimeStamp": "2021-10-25T17:12:50.202000Z",
16 "links": [
17 {
18 "method": "GET",
19 "rel": "self",
20 "href": "/decisions/flowTypes/d243e6a3-36b6-4f5a-bdd0-5b17e7a9d71f",
21 "uri": "/decisions/flowTypes/d243e6a3-36b6-4f5a-bdd0-5b17e7a9d71f",
22 "type": "application/vnd.sas.decision.type"
23 }
24 ],
25 "version": 1
26}

Path Parameters

NameTypeRequiredDescription
flowTypeId
string
true

The identifier for the decision 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\""

Request Body

The representation of an existing decision type with updates.

A decision type modifies the available functionality that can be used to build a decision. Currently it controls the available decision node types that can be used to build a decision.

NameTypeRequiredDescription
id
string
false

The unique identifier of the decision type.

name
string
false

The name of the decision type.

l10nKey
string
false

The key for looking up the decision type name in the user's locale.

denyDecisionNodeTypes
array [string]
false

The decision node types from the core types to not make available in the decision. The available core types are "branch", "crossBranchLink", "dataQuery", "decision", "ds2CodeFile", "microAnalyticModule", "model", "pythonCodeFile", "recordContacts", "ruleSet" and "treatmentGroup".

allowDecisionNodeTypes
array [string]
false

The decision node types not in the core types to make available in the decision.

createdBy
string
false

The user who created the decision type.

creationTimeStamp
string<date-time>
false

The date and time that the decision type was created.

modifiedBy
string
false

The user ID of the authenticated user who last updated the decision type.

modifiedTimeStamp
string<date-time>
false

The date and time that the decision type was last modified.

links
array [Link]
false

Zero or more links to related resources or operations.

version
integer
false

This media type's schema version number.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
201CreatedThe decision type content was updated.HeadersSchema
400Bad RequestThe request was invalid.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