Create a decision model variant
POST /v2/decisionModelDefinitions/<decisionModelRef>/variants
Creates a variant of a decision model.
| Attribute | Type | Description | Example |
|---|---|---|---|
decisionModelRef | string | The reference of the decision model. If you do not know the decision model reference, first retrieve decision models. | 865ce079-6012-4f97-bc46-07215691a178 |
At a minimum, you must provide the following required attributes in the request body:
| Attribute | Type | Description | Example |
|---|---|---|---|
name | string | The name of the decision model. | "Determine Ancillary Upsell Variant 2" |
definition | string | The definition of the decision model variant that belongs to the decision canvas. | "mys3cr3tstr1ingforauth1!x" |
If you have suggestions for improving this article, let us know!