Get a list of checkouts for a treatment definition revision

get/definitions/{definitionId}/revisions/{revisionId}/checkOuts
Internal-Use Only

Returns the complete list of checkouts for a treatment definition revision. Note: This endpoint does not support paging.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "collection",
6 "href": "/treatmentDefinitions/definitions/8c21e6e2-a2e7-4296-a11a-ad19d2c40852/revisions/b9be29ad-557a-4c20-a70e-0cdb49d998e4/checkOuts",
7 "uri": "/treatmentDefinitions/definitions/8c21e6e2-a2e7-4296-a11a-ad19d2c40852/revisions/b9be29ad-557a-4c20-a70e-0cdb49d998e4/checkOuts",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.dcm.summary"
10 }
11 ],
12 "name": "checkOuts",
13 "count": 1,
14 "items": [
15 {
16 "creationTimeStamp": "2021-09-16T17:45:09.262Z",
17 "modifiedTimeStamp": "2021-09-16T17:45:09.264Z",
18 "createdBy": "sasdemo",
19 "modifiedBy": "sasdemo",
20 "id": "d7db4a11-3e9a-4a5e-b829-5ec6b40208d6",
21 "name": "Treatment_1",
22 "majorRevision": 1,
23 "minorRevision": 0,
24 "locked": false,
25 "sourceRevisionUri": "/treatmentDefinitions/definitions/8c21e6e2-a2e7-4296-a11a-ad19d2c40852/revisions/b9be29ad-557a-4c20-a70e-0cdb49d998e4",
26 "copyTimeStamp": "2021-09-16T17:45:09.262Z",
27 "folderType": "myFolder",
28 "links": [
29 {
30 "method": "GET",
31 "rel": "checkOutTreatmentVersion",
32 "href": "/treatmentDefinitions/definitions/d7db4a11-3e9a-4a5e-b829-5ec6b40208d6/revisions/48881860-b264-4227-80db-cbbfe87ced18",
33 "uri": "/treatmentDefinitions/definitions/d7db4a11-3e9a-4a5e-b829-5ec6b40208d6/revisions/48881860-b264-4227-80db-cbbfe87ced18",
34 "type": "application/vnd.sas.treatment.definition"
35 },
36 {
37 "method": "GET",
38 "rel": "parentTreatmentVersion",
39 "href": "/treatmentDefinitions/definitions/8c21e6e2-a2e7-4296-a11a-ad19d2c40852/revisions/b9be29ad-557a-4c20-a70e-0cdb49d998e4",
40 "uri": "/treatmentDefinitions/definitions/8c21e6e2-a2e7-4296-a11a-ad19d2c40852/revisions/b9be29ad-557a-4c20-a70e-0cdb49d998e4",
41 "type": "application/vnd.sas.treatment.definition"
42 }
43 ],
44 "version": 1
45 }
46 ],
47 "version": 2
48}

Path Parameters

NameTypeRequiredDescription
definitionId
string
true

The unique identifier for the treatment definition.

Examples:
"da85cd3c-7c7a-437c-acac-eca2819c9a6d"
revisionId
string
true

The unique identifier for the revision of the specified treatment definition. Delegate @current can be used to get the current revision.

Examples:
"cd942f3c-60a0-4b16-9184-4cb8921fb0eb"

Responses

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