Get treatment definition group revision decision step code

get/definitionGroups/{groupId}/revisions/{revisionId}/decisionStepCode
Internal-Use Only

Returns the decision step code for the specified treatment definition group revision.

Request Samples

1

Response Samples

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": false
11 },
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": false
22 },
23 {
24 "name": "treatment_definition_group_revision_id",
25 "dataType": "string",
26 "length": 36,
27 "autoPopulate": false
28 },
29 {
30 "name": "treatment_definition_id",
31 "dataType": "string",
32 "length": 36,
33 "autoPopulate": false
34 },
35 {
36 "name": "treatment_definition_revision_id",
37 "dataType": "string",
38 "length": 36,
39 "autoPopulate": false
40 },
41 {
42 "name": "treatment_definition_name",
43 "dataType": "string",
44 "length": 250,
45 "autoPopulate": false
46 },
47 {
48 "name": "Budget",
49 "dataType": "decimal",
50 "autoPopulate": false
51 },
52 {
53 "name": "Discount",
54 "dataType": "decimal",
55 "autoPopulate": false
56 },
57 {
58 "name": "foo",
59 "dataType": "string",
60 "length": 32767,
61 "autoPopulate": false
62 },
63 {
64 "name": "Goal",
65 "dataType": "decimal",
66 "autoPopulate": false
67 },
68 {
69 "name": "Offertext",
70 "dataType": "string",
71 "length": 32767,
72 "autoPopulate": false
73 },
74 {
75 "name": "Product",
76 "dataType": "string",
77 "length": 32767,
78 "autoPopulate": false
79 },
80 {
81 "name": "TimesClicked",
82 "dataType": "decimal",
83 "autoPopulate": false
84 }
85 ],
86 "generateDataGridColumns": false
87 }
88 ],
89 "version": 1
90}

Path Parameters

NameTypeRequiredDescription
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"

Query Parameters

NameTypeRequiredDescription
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

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundNo treatmentDefinitionGroup exists at the requested path.Schema