Get a revision of a treatment definition group

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

Returns the summary representation of the revision for the specified treatment definition group.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2021-09-16T19:18:12.092Z",
3 "modifiedTimeStamp": "2021-09-16T19:18:12.092Z",
4 "createdBy": "sasdemo",
5 "modifiedBy": "sasdemo",
6 "id": "178c8c19-8493-46b4-8004-94cf73ba5b9e",
7 "name": "My Treatment Definition Group 2",
8 "majorRevision": 1,
9 "minorRevision": 0,
10 "checkout": false,
11 "locked": true,
12 "activatedTimeStamp": "2021-09-16T19:47:39.340Z",
13 "members": [
14 {
15 "definitionId": "81b5f14a-f131-4a2c-a84f-62175b27a9a1",
16 "definitionName": "Treatment_2",
17 "definitionRevisionId": "ac372328-9220-44c1-8ee5-d2d75607bc87",
18 "definitionRevisionName": 1,
19 "attributeValueMappings": [
20 {
21 "attributeId": "08089b8a-73fd-4ea7-9da9-5a6b5809aeb0",
22 "attributeName": "foo",
23 "mappingType": "variable",
24 "value": "foo"
25 }
26 ]
27 },
28 {
29 "definitionId": "da85cd3c-7c7a-437c-acac-eca2819c9a6d",
30 "definitionName": "My Treatment Definition",
31 "definitionRevisionId": "9ce585d7-898d-47d9-9441-00e2628e204f",
32 "definitionRevisionName": "1.1"
33 }
34 ],
35 "links": [
36 {
37 "method": "GET",
38 "rel": "up",
39 "href": "/treatmentDefinitions/definitionGroups/625e99fd-4d8a-4ee2-b201-4fd3c062169f/revisions",
40 "uri": "/treatmentDefinitions/definitionGroups/625e99fd-4d8a-4ee2-b201-4fd3c062169f/revisions",
41 "type": "application/vnd.sas.collection"
42 },
43 {
44 "method": "GET",
45 "rel": "self",
46 "href": "/treatmentDefinitions/definitionGroups/625e99fd-4d8a-4ee2-b201-4fd3c062169f/revisions/178c8c19-8493-46b4-8004-94cf73ba5b9e",
47 "uri": "/treatmentDefinitions/definitionGroups/625e99fd-4d8a-4ee2-b201-4fd3c062169f/revisions/178c8c19-8493-46b4-8004-94cf73ba5b9e",
48 "type": "application/vnd.sas.treatment.definition.group"
49 },
50 {
51 "method": "GET",
52 "rel": "alternate",
53 "href": "/treatmentDefinitions/definitionGroups/625e99fd-4d8a-4ee2-b201-4fd3c062169f/revisions/178c8c19-8493-46b4-8004-94cf73ba5b9e",
54 "uri": "/treatmentDefinitions/definitionGroups/625e99fd-4d8a-4ee2-b201-4fd3c062169f/revisions/178c8c19-8493-46b4-8004-94cf73ba5b9e",
55 "type": "application/vnd.sas.summary"
56 },
57 {
58 "method": "DELETE",
59 "rel": "delete",
60 "href": "/treatmentDefinitions/definitionGroups/625e99fd-4d8a-4ee2-b201-4fd3c062169f/revisions/178c8c19-8493-46b4-8004-94cf73ba5b9e",
61 "uri": "/treatmentDefinitions/definitionGroups/625e99fd-4d8a-4ee2-b201-4fd3c062169f/revisions/178c8c19-8493-46b4-8004-94cf73ba5b9e"
62 },
63 {
64 "method": "GET",
65 "rel": "checkOuts",
66 "href": "/treatmentDefinitions/definitionGroups/625e99fd-4d8a-4ee2-b201-4fd3c062169f/revisions/178c8c19-8493-46b4-8004-94cf73ba5b9e/checkOuts",
67 "uri": "/treatmentDefinitions/definitionGroups/625e99fd-4d8a-4ee2-b201-4fd3c062169f/revisions/178c8c19-8493-46b4-8004-94cf73ba5b9e/checkOuts",
68 "type": "application/vnd.sas.collection",
69 "itemType": "application/vnd.sas.dcm.summary"
70 }
71 ],
72 "activationStatus": "active",
73 "version": 4,
74 "status": "valid"
75}

Path Parameters

NameTypeRequiredDescription
groupId
string
true

The unique identifier for the treatment definition group.

Examples:
"da85cd3c-7c7a-437c-acac-eca2819c9a6d"
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:
"cd942f3c-60a0-4b16-9184-4cb8921fb0eb"

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundNo treatment definition group revision exists at the requested path.HeadersSchema