Get segmentation tree content
get/segmentationTrees/{segmentationTreeId}
Retrieves the contents of a segmentation tree.
1{2 "creationTimeStamp": "2022-03-18T01:42:10.472Z",3 "modifiedTimeStamp": "2022-03-18T01:42:10.473Z",4 "createdBy": "sasdemo",5 "modifiedBy": "sasdemo",6 "id": "b11a2b86-8b0b-419a-92ab-edd62881aaa5",7 "name": "EvenChecker",8 "majorRevision": 1,9 "minorRevision": 0,10 "signature": [11 {12 "name": "iseven",13 "dataType": "boolean",14 "direction": "output"15 },16 {17 "name": "value",18 "dataType": "integer",19 "direction": "input"20 }21 ],22 "codeFiles": [23 {24 "name": "even",25 "type": "internal",26 "code": "iseven = 1;"27 },28 {29 "name": "odd",30 "type": "internal",31 "code": "iseven = 0;"32 }33 ],34 "outcomes": [35 {36 "name": "even",37 "actions": [38 {39 "type": "codeAssignment",40 "codeFileName": "even"41 }42 ]43 },44 {45 "name": "odd",46 "actions": [47 {48 "type": "codeAssignment",49 "codeFileName": "odd"50 }51 ]52 }53 ],54 "matrices": [],55 "booleanExpressions": [56 {57 "name": "even_check",58 "expression": "mod(value, 2) = 0"59 }60 ],61 "node": {62 "type": "booleanExpression",63 "id": "4a464942-1f81-4b11-9f41-6b841d06dafc",64 "label": "even_check",65 "valueNodes": [66 {67 "id": "a392e3f7-5779-48c4-885d-24e12714e384",68 "label": "true",69 "value": "true",70 "outcomeName": "even"71 },72 {73 "id": "4706f443-f458-4411-9a1f-d82f062dacc5",74 "label": "false",75 "value": "false",76 "outcomeName": "odd"77 }78 ],79 "booleanExpressionName": "even_check"80 },81 "folderType": "folder",82 "checkout": false,83 "locked": false,84 "links": [85 {86 "method": "GET",87 "rel": "up",88 "href": "/decisions/segmentationTrees",89 "uri": "/decisions/segmentationTrees",90 "type": "application/vnd.sas.collection"91 },92 {93 "method": "GET",94 "rel": "self",95 "href": "/decisions/segmentationTrees/b11a2b86-8b0b-419a-92ab-edd62881aaa5",96 "uri": "/decisions/segmentationTrees/b11a2b86-8b0b-419a-92ab-edd62881aaa5",97 "type": "application/vnd.sas.decision.segmentation.tree"98 },99 {100 "method": "GET",101 "rel": "alternate",102 "href": "/decisions/segmentationTrees/b11a2b86-8b0b-419a-92ab-edd62881aaa5",103 "uri": "/decisions/segmentationTrees/b11a2b86-8b0b-419a-92ab-edd62881aaa5",104 "type": "application/vnd.sas.summary"105 },106 {107 "method": "DELETE",108 "rel": "delete",109 "href": "/decisions/segmentationTrees/b11a2b86-8b0b-419a-92ab-edd62881aaa5",110 "uri": "/decisions/segmentationTrees/b11a2b86-8b0b-419a-92ab-edd62881aaa5"111 },112 {113 "method": "PUT",114 "rel": "update",115 "href": "/decisions/segmentationTrees/b11a2b86-8b0b-419a-92ab-edd62881aaa5",116 "uri": "/decisions/segmentationTrees/b11a2b86-8b0b-419a-92ab-edd62881aaa5",117 "type": "application/vnd.sas.decision.segmentation.tree",118 "responseType": "application/vnd.sas.decision.segmentation.tree"119 }120 ],121 "version": 1122}