Get decision step code

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

Returns the step code for the specified decision.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2021-05-07T16:06:56.319Z",
3 "modifiedTimeStamp": "2021-05-07T16:06:56.319Z",
4 "createdBy": "sasdemo",
5 "modifiedBy": "sasdemo",
6 "id": "e2cf4209-2661-4ef1-b77f-10b91a6420e3",
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",
31 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3",
32 "type": "application/vnd.sas.decision"
33 },
34 {
35 "method": "GET",
36 "rel": "revisions",
37 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions",
38 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/revisions",
39 "type": "application/vnd.sas.collection",
40 "itemType": "application/vnd.sas.decision"
41 },
42 {
43 "method": "GET",
44 "rel": "currentRevision",
45 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3",
46 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3",
47 "type": "application/vnd.sas.decision"
48 },
49 {
50 "method": "GET",
51 "rel": "code",
52 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/code",
53 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/code",
54 "type": "text/vnd.sas.source.ds2"
55 },
56 {
57 "method": "POST",
58 "rel": "mappedCode",
59 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/mappedCode",
60 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/mappedCode",
61 "type": "application/vnd.sas.score.code.generation.request",
62 "responseType": "application/vnd.sas.score.mapped.code"
63 },
64 {
65 "method": "GET",
66 "rel": "externalArtifacts",
67 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/externalArtifacts",
68 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3/externalArtifacts",
69 "type": "application/vnd.sas.collection",
70 "itemType": "application/vnd.sas.decision.external.artifact"
71 },
72 {
73 "method": "DELETE",
74 "rel": "delete",
75 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3",
76 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3"
77 },
78 {
79 "method": "PUT",
80 "rel": "update",
81 "href": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3",
82 "uri": "/decisions/flows/e2cf4209-2661-4ef1-b77f-10b91a6420e3",
83 "type": "application/vnd.sas.decision",
84 "responseType": "application/vnd.sas.decision"
85 }
86 ],
87 "version": 1
88}

Path Parameters

NameTypeRequiredDescription
decisionId
string
true

The identifier for the decision.

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

Responses

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