Get decision revision step code

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

Returns the decision step code for the specified decision revision.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2021-05-07T16:06:05.631Z",
3 "modifiedTimeStamp": "2021-05-07T16:06:22.755Z",
4 "createdBy": "sasdemo",
5 "modifiedBy": "sasdemo",
6 "id": "77cfc1c3-f050-4169-939a-941e7c664215",
7 "type": "decision",
8 "name": "add_dec",
9 "signature": [
10 {
11 "name": "a",
12 "dataType": "decimal",
13 "direction": "input"
14 },
15 {
16 "name": "b",
17 "dataType": "decimal",
18 "direction": "input"
19 },
20 {
21 "name": "c",
22 "dataType": "decimal",
23 "direction": "output"
24 }
25 ],
26 "links": [
27 {
28 "method": "GET",
29 "rel": "self",
30 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215",
31 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215",
32 "type": "application/vnd.sas.decision"
33 },
34 {
35 "method": "DELETE",
36 "rel": "delete",
37 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215",
38 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215"
39 },
40 {
41 "method": "GET",
42 "rel": "code",
43 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/code",
44 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/code",
45 "type": "text/vnd.sas.source.ds2"
46 },
47 {
48 "method": "POST",
49 "rel": "mappedCode",
50 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/mappedCode",
51 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/mappedCode",
52 "type": "application/vnd.sas.score.code.generation.request",
53 "responseType": "application/vnd.sas.score.mapped.code"
54 },
55 {
56 "method": "GET",
57 "rel": "externalArtifacts",
58 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/externalArtifacts",
59 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions/77cfc1c3-f050-4169-939a-941e7c664215/externalArtifacts",
60 "type": "application/vnd.sas.collection",
61 "itemType": "application/vnd.sas.decision.external.artifact"
62 },
63 {
64 "method": "GET",
65 "rel": "decision",
66 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3",
67 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3",
68 "type": "application/vnd.sas.decision"
69 }
70 ],
71 "version": 1
72}

Path Parameters

NameTypeRequiredDescription
decisionId
string
true

The identifier for the decision.

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

The identifier for the revision.

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

Responses

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