Get the segmentation tree decision step code

get/segmentationTrees/{segmentationTreeId}/decisionStepCode
Internal-Use Only

Returns the step code for the specified segmentation tree.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2022-06-17T14:30:17.548Z",
3 "modifiedTimeStamp": "2022-06-17T14:30:17.548Z",
4 "createdBy": "sasdemo",
5 "modifiedBy": "sasdemo",
6 "id": "d7ce21eb-b4ad-43d7-9fd1-199c2551d817",
7 "type": "segmentationTree",
8 "name": "EvenChecker",
9 "signature": [
10 {
11 "name": "iseven",
12 "dataType": "integer",
13 "direction": "output"
14 },
15 {
16 "name": "value",
17 "dataType": "integer",
18 "direction": "input"
19 }
20 ],
21 "links": [
22 {
23 "method": "GET",
24 "rel": "self",
25 "href": "/decisions/segmentationTrees/d7ce21eb-b4ad-43d7-9fd1-199c2551d817",
26 "uri": "/decisions/segmentationTrees/d7ce21eb-b4ad-43d7-9fd1-199c2551d817",
27 "type": "application/vnd.sas.decision.segmentation.tree"
28 },
29 {
30 "method": "GET",
31 "rel": "revisions",
32 "href": "/decisions/segmentationTrees/d7ce21eb-b4ad-43d7-9fd1-199c2551d817/revisions",
33 "uri": "/decisions/segmentationTrees/d7ce21eb-b4ad-43d7-9fd1-199c2551d817/revisions",
34 "type": "application/vnd.sas.collection",
35 "itemType": "application/vnd.sas.decision"
36 },
37 {
38 "method": "DELETE",
39 "rel": "delete",
40 "href": "/decisions/segmentationTrees/d7ce21eb-b4ad-43d7-9fd1-199c2551d817",
41 "uri": "/decisions/segmentationTrees/d7ce21eb-b4ad-43d7-9fd1-199c2551d817"
42 },
43 {
44 "method": "PUT",
45 "rel": "update",
46 "href": "/decisions/segmentationTrees/d7ce21eb-b4ad-43d7-9fd1-199c2551d817",
47 "uri": "/decisions/segmentationTrees/d7ce21eb-b4ad-43d7-9fd1-199c2551d817",
48 "type": "application/vnd.sas.decision.segmentation.tree",
49 "responseType": "application/vnd.sas.decision.segmentation.tree"
50 }
51 ],
52 "version": 1
53}

Path Parameters

NameTypeRequiredDescription
segmentationTreeId
string
true

The identifier for the segmentation tree.

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

Responses

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