Update a decision type by ID
Updates the contents of a decision type with a given ID.
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": 126}
Name | Type | Required | Description |
---|---|---|---|
flowTypeId | string | true | The identifier for the decision type. Examples: "8fdb696e-e9e3-43ef-a162-25b4d45faaee" |
Name | Type | Required | Description |
---|---|---|---|
If-Match | string | true | The Examples: "\"kknyjgku\"" |
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.
Name | Type | Required | Description |
---|---|---|---|
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. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
201 | Created | The decision type content was updated. | Headers | Schema |
400 | Bad Request | The request was invalid. | Headers | Schema |
412 | Precondition Failed | The `If-Match` request header did not match the resource's entity tag. | Headers | Schema |
428 | Precondition Required | The request headers did not include an `If-Match`. | Headers | Schema |