Get treatment definition group decision step code

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

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

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 for the treatment definition group.

Examples:
"da85cd3c-7c7a-437c-acac-eca2819c9a6d"

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 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 treatment definition group exists at the requested path.Schema