Get treatment definition summary

get/definitions/{definitionId}
Internal-Use Only

Returns the summary representation of the specified treatment definition.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2021-09-15T20:52:08.565Z",
3 "modifiedTimeStamp": "2021-09-15T20:52:08.567Z",
4 "createdBy": "sasdemo",
5 "modifiedBy": "sasdemo",
6 "id": "da85cd3c-7c7a-437c-acac-eca2819c9a6d",
7 "type": "treatmentDefinition",
8 "name": "My Treatment Definition",
9 "links": [
10 {
11 "method": "GET",
12 "rel": "up",
13 "href": "/treatmentDefinitions/definitions",
14 "uri": "/treatmentDefinitions/definitions",
15 "type": "application/vnd.sas.collection"
16 },
17 {
18 "method": "GET",
19 "rel": "self",
20 "href": "/treatmentDefinitions/definitions/da85cd3c-7c7a-437c-acac-eca2819c9a6d",
21 "uri": "/treatmentDefinitions/definitions/da85cd3c-7c7a-437c-acac-eca2819c9a6d",
22 "type": "application/vnd.sas.treatment.definition"
23 },
24 {
25 "method": "GET",
26 "rel": "alternate",
27 "href": "/treatmentDefinitions/definitions/da85cd3c-7c7a-437c-acac-eca2819c9a6d",
28 "uri": "/treatmentDefinitions/definitions/da85cd3c-7c7a-437c-acac-eca2819c9a6d",
29 "type": "application/vnd.sas.summary"
30 },
31 {
32 "method": "DELETE",
33 "rel": "delete",
34 "href": "/treatmentDefinitions/definitions/da85cd3c-7c7a-437c-acac-eca2819c9a6d",
35 "uri": "/treatmentDefinitions/definitions/da85cd3c-7c7a-437c-acac-eca2819c9a6d"
36 },
37 {
38 "method": "PUT",
39 "rel": "update",
40 "href": "/treatmentDefinitions/definitions/da85cd3c-7c7a-437c-acac-eca2819c9a6d",
41 "uri": "/treatmentDefinitions/definitions/da85cd3c-7c7a-437c-acac-eca2819c9a6d",
42 "type": "application/vnd.sas.treatment.definition",
43 "responseType": "application/vnd.sas.treatment.definition"
44 },
45 {
46 "method": "GET",
47 "rel": "revisions",
48 "href": "/treatmentDefinitions/definitions/da85cd3c-7c7a-437c-acac-eca2819c9a6d/revisions",
49 "uri": "/treatmentDefinitions/definitions/da85cd3c-7c7a-437c-acac-eca2819c9a6d/revisions",
50 "type": "application/vnd.sas.collection"
51 }
52 ],
53 "version": 2
54}

Path Parameters

NameTypeRequiredDescription
definitionId
string
true

The unique identifier for the treatment definition.

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

Responses

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