Get list of all checkouts for a decision revision

get/flows/{decisionId}/revisions/{revisionId}/checkOuts
Internal-Use Only

Returns the complete list of checkouts for a decision 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": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions",
7 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.decision"
10 },
11 {
12 "method": "GET",
13 "rel": "self",
14 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions?filter=eq(decisionId,'e2cf4209-2661-4ef1-b77f-10b91a6420e3')&sortBy=majorNumber:ascending,minorNumber:ascending&start=2&limit=1",
15 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions?filter=eq(decisionId,'e2cf4209-2661-4ef1-b77f-10b91a6420e3')&sortBy=majorNumber:ascending,minorNumber:ascending&start=2&limit=1",
16 "type": "application/vnd.sas.collection",
17 "itemType": "application/vnd.sas.decision"
18 },
19 {
20 "method": "GET",
21 "rel": "first",
22 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions?filter=eq(decisionId,'e2cf4209-2661-4ef1-b77f-10b91a6420e3')&sortBy=majorNumber:ascending,minorNumber:ascending&start=0&limit=1",
23 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions?filter=eq(decisionId,'e2cf4209-2661-4ef1-b77f-10b91a6420e3')&sortBy=majorNumber:ascending,minorNumber:ascending&start=0&limit=1",
24 "type": "application/vnd.sas.collection",
25 "itemType": "application/vnd.sas.decision"
26 },
27 {
28 "method": "GET",
29 "rel": "prev",
30 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions?filter=eq(decisionId,'e2cf4209-2661-4ef1-b77f-10b91a6420e3')&sortBy=majorNumber:ascending,minorNumber:ascending&start=1&limit=1",
31 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions?filter=eq(decisionId,'e2cf4209-2661-4ef1-b77f-10b91a6420e3')&sortBy=majorNumber:ascending,minorNumber:ascending&start=1&limit=1",
32 "type": "application/vnd.sas.collection",
33 "itemType": "application/vnd.sas.decision"
34 },
35 {
36 "method": "GET",
37 "rel": "next",
38 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions?filter=eq(decisionId,'e2cf4209-2661-4ef1-b77f-10b91a6420e3')&sortBy=majorNumber:ascending,minorNumber:ascending&start=3&limit=1",
39 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions?filter=eq(decisionId,'e2cf4209-2661-4ef1-b77f-10b91a6420e3')&sortBy=majorNumber:ascending,minorNumber:ascending&start=3&limit=1",
40 "type": "application/vnd.sas.collection",
41 "itemType": "application/vnd.sas.decision"
42 },
43 {
44 "method": "POST",
45 "rel": "createRevision",
46 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions",
47 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions",
48 "type": "application/vnd.sas.decision",
49 "responseType": "application/vnd.sas.decision"
50 }
51 ],
52 "name": "revisions",
53 "accept": "application/vnd.sas.dcm.summary",
54 "start": 2,
55 "count": 6,
56 "items": [
57 {
58 "creationTimeStamp": "2021-05-07T16:06:05.631Z",
59 "modifiedTimeStamp": "2021-05-07T16:06:22.755Z",
60 "createdBy": "sasdemo",
61 "modifiedBy": "sasdemo",
62 "id": "77cfc1c3-f050-4169-939a-941e7c664215",
63 "name": "add_dec",
64 "majorRevision": 1,
65 "minorRevision": 2,
66 "locked": true,
67 "sourceRevisionUri": "/decisions/flows/ab9b6a31-7b81-4202-af3f-86be4b6a89ba/revisions/9aa1c575-76b6-4fbd-b865-eb7fb32065bf",
68 "copyTimeStamp": "2021-05-07T16:06:05.631Z",
69 "folderType": "userFolder",
70 "links": [
71 {
72 "method": "GET",
73 "rel": "self",
74 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215",
75 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215",
76 "type": "application/vnd.sas.decision"
77 },
78 {
79 "method": "DELETE",
80 "rel": "delete",
81 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215",
82 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215"
83 },
84 {
85 "method": "GET",
86 "rel": "code",
87 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/code",
88 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/code",
89 "type": "text/vnd.sas.source.ds2"
90 },
91 {
92 "method": "POST",
93 "rel": "mappedCode",
94 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/mappedCode",
95 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/mappedCode",
96 "type": "application/vnd.sas.score.code.generation.request",
97 "responseType": "application/vnd.sas.score.mapped.code"
98 },
99 {
100 "method": "GET",
101 "rel": "decision",
102 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3",
103 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3",
104 "type": "application/vnd.sas.decision"
105 }
106 ],
107 "version": 1
108 }
109 ],
110 "limit": 1,
111 "version": 2
112}

Path Parameters

NameTypeRequiredDescription
decisionId
string
true

The identifier of the decision.

Examples:
"094078e7-278a-4719-a704-6e5e65af29ee"
revisionId
string
true

The identifier of the revision.

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

Header Parameters

NameTypeRequiredDescription
Accept-Item
string
false

Used for selecting the desired item representation.

Allowed value:
application/vnd.sas.dcm.summary+json
Default:
application/vnd.sas.dcm.summary+json
Example:
"application/vnd.sas.dcm.summary+json"

Responses

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