Activate revision of a treatment definition group

put/definitionGroups/{groupId}/active
Internal-Use Only

Activates a locked revision of the specified treatment definition group.

Request Samples

1

Response Samples

1{
2 "name": "My Treatment Definition Group",
3 "checkout": false,
4 "locked": false,
5 "sourceRevisionUri": "/treatmentDefinitions/definitionGroups/6b53e248-1afb-4147-b17a-13e75b8c759b/revisions/0340f630-3ee6-4058-ad36-744619c141d5",
6 "copyTimeStamp": "2020-06-17T13:37:01.750Z",
7 "members": [
8 {
9 "definitionId": "60095dcd-b2ca-4705-8cf6-aa693fce1692"
10 },
11 {
12 "definitionId": "60095dcd-b2ca-4705-8cf6-aa693fce1692",
13 "definitionRevisionId": "f813702e-dff8-443e-a7af-727ab027fb7e",
14 "attributeValueMappings": [
15 {
16 "attributeId": "fdb1e22e-5358-4311-a914-eec901c2da5f",
17 "mappingType": "variable",
18 "value": "Discount"
19 },
20 {
21 "attributeId": "7c17cbaf-dd3d-4288-b6a9-54ae7c7c91c6",
22 "mappingType": "constant",
23 "value": "Samsung"
24 },
25 {
26 "attributeId": "a0a3b4d4-fc28-4194-84dd-fe2dc3286009",
27 "mappingType": "variable",
28 "value": "Clicked"
29 }
30 ],
31 "attributeNameAliases": [
32 {
33 "attributeId": "fdb1e22e-5358-4311-a914-eec901c2da5f",
34 "aliasName": "Discount ID"
35 }
36 ]
37 }
38 ]
39}

Path Parameters

NameTypeRequiredDescription
groupId
string
true

The unique identifier for the treatment definition group.

Examples:
"625e99fd-4d8a-4ee2-b201-4fd3c062169f"

Header Parameters

NameTypeRequiredDescription
If-Match
string
true

Etag value from when the originating object was retrieved.

Examples:
"\"kknyjgku\""

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
400Bad RequestThe request was invalid.HeadersSchema
404Not FoundNo treatment definition group revision exists at the requested path.HeadersSchema
412Precondition FailedThe `If-Match` request header did not match the resource's entity tag.HeadersSchema
428Precondition RequiredThe request headers did not include a `If-Match` precondition.HeadersSchema