Get a rule set with all the rules

get/ruleSets/{ruleSetId}
Internal-Use Only

Returns the rule set with all the rules from the latest revision.

Request Samples

1

Response Samples

1{
2 "name": "Loan Score Approval",
3 "rules": [
4 {
5 "name": "Age Requirements",
6 "conditional": "if",
7 "ruleFiredTrackingEnabled": true,
8 "conditions": [
9 {
10 "type": "decisionTable",
11 "expression": "age > 10"
12 },
13 {
14 "type": "decisionTable",
15 "expression": "height > 123.00"
16 }
17 ],
18 "actions": [
19 {
20 "type": "assignment",
21 "expression": "approved = 'Y'"
22 }
23 ]
24 }
25 ],
26 "signature": [
27 {
28 "name": "age",
29 "dataType": "integer",
30 "direction": "input"
31 },
32 {
33 "name": "height",
34 "dataType": "decimal",
35 "direction": "input"
36 },
37 {
38 "name": "approved",
39 "dataType": "boolean",
40 "direction": "output"
41 }
42 ]
43}

Path Parameters

NameTypeRequiredDescription
ruleSetId
string
true

The rule set ID.

Header Parameters

NameTypeRequiredDescription
Accept
string<media-type>
true

Used for selecting desired representation.

Allowed value:
application/vnd.sas.business.rule.set.integral+json
Default:
application/vnd.sas.business.rule.set.integral+json
Example:
"application/vnd.sas.business.rule.set.integral+json"

Responses

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