Get treatment definition group revision decision step code
get/definitionGroups/{groupId}/revisions/{revisionId}/decisionStepCode
Returns the decision step code for the specified treatment definition group revision.
1{2 "type": "treatmentGroup",3 "name": "My Treatment Definition Group",4 "signature": [5 {6 "name": "foo",7 "dataType": "string",8 "direction": "input",9 "length": 32767,10 "generateDataGridColumns": false11 },12 {13 "name": "dgout",14 "dataType": "dataGrid",15 "direction": "output",16 "dataGridExtension": [17 {18 "name": "treatment_definition_group_id",19 "dataType": "string",20 "length": 36,21 "autoPopulate": false22 },23 {24 "name": "treatment_definition_group_revision_id",25 "dataType": "string",26 "length": 36,27 "autoPopulate": false28 },29 {30 "name": "treatment_definition_id",31 "dataType": "string",32 "length": 36,33 "autoPopulate": false34 },35 {36 "name": "treatment_definition_revision_id",37 "dataType": "string",38 "length": 36,39 "autoPopulate": false40 },41 {42 "name": "treatment_definition_name",43 "dataType": "string",44 "length": 250,45 "autoPopulate": false46 },47 {48 "name": "Budget",49 "dataType": "decimal",50 "autoPopulate": false51 },52 {53 "name": "Discount",54 "dataType": "decimal",55 "autoPopulate": false56 },57 {58 "name": "foo",59 "dataType": "string",60 "length": 32767,61 "autoPopulate": false62 },63 {64 "name": "Goal",65 "dataType": "decimal",66 "autoPopulate": false67 },68 {69 "name": "Offertext",70 "dataType": "string",71 "length": 32767,72 "autoPopulate": false73 },74 {75 "name": "Product",76 "dataType": "string",77 "length": 32767,78 "autoPopulate": false79 },80 {81 "name": "TimesClicked",82 "dataType": "decimal",83 "autoPopulate": false84 }85 ],86 "generateDataGridColumns": false87 }88 ],89 "version": 190}
Name | Type | Required | Description |
---|---|---|---|
groupId | string | true | The unique identifier of the group. Examples: "625e99fd-4d8a-4ee2-b201-4fd3c062169f" |
revisionId | string | true | The unique identifier for the revision of the specified treatment definition group. Delegate @current can be used to get the current revision. Delegate @active can be used to get the active revision. Examples: "178c8c19-8493-46b4-8004-94cf73ba5b9e" |
Name | Type | Required | Description |
---|---|---|---|
variableAssignmentTrace | boolean | false | Determines whether variable assignment trace logging is added to the generated DS2 code. |
codeTarget | string | false | Target where the generated DS2 code is deployed. Allowed values: othersmicroAnalyticService Default: others |
populateCode | boolean | false | Indicates whether to populate DS2 code in the output. Default: false |