Decision model REST API
A decision model object is the parent object of decision model variants.
Use the following attributes for decision models:
| Attribute | Type | Description | Example(s) |
|---|---|---|---|
items | A JSON array of JSON objects | The array of decision model items. | N/A |
name | string | The name of the decision model. | "Determine Ancillary Upsell" |
modifiedByUserRef | string | The unique reference of the user who modified the decision model. | "843c775e-db9c-49f6-9f56-e3999123bcf4" |
revision | integer | The sequential number of the decision model revision. | 2 |
archived | Boolean | The archive status of the decision model variant. | false |
deploymentConfiguration | A JSON array of JSON objects | The array of decision model variants. | N/A |
variantRef | string | The reference of the decision model variant. | "19700f15-4069-4121-b709-1031118677c8" |
split | integer | The audience percentage that the decision model variant will impact. | 80 |
status | string | The status of the decision model variant. | "DRAFT", "TEST", "PRODUCTION", "ARCHIVED" |
variantRevision | integer | The sequential number of the decision model variant revision. | 2 |
variants | A JSON array of JSON objects | An array of decision model variants that belong to the decision model. | N/A |
revisions | array of objects | An array of revisions of the decision model variants that belong to the decision model. | N/A |
inProduction | Boolean | The production status of the decision model variant. | true |
tags | A JSON array of strings | An array of tags/labels of the decision model variants that belong to the decision model. | "ancillary" |
offers | A JSON array of strings | An array of available offers of the decision model variants that belong to the decision model. | N/A |
If you have suggestions for improving this article, let us know!