Rule Sets
Create a rule set
Creates a new rule set.
post/ruleSets
Request
- Base URL: https://example.com/businessRules
- URL: https://example.com/businessRules/ruleSets
- Auth: none declared
Query parameters
parentFolderUristring /folders/folders/{parentFolderId}
The folder in which the new rule set is placed.
fromRevisionUristring /businessRules/ruleSets/{rulesetId}/revisions/{revisionId}
This value specifies the URI of the rule set revision from which the new rule set is created. This property enables you to trace the lineage of a rule set. The valid format for this parameter is '/businessRules/ruleSets/${rulesetId}/revisions/${revisionId}'
Request body
Example request
{
"name": "Loan Score Approval",
"signature": [
{
"name": "customerName",
"dataType": "string",
"direction": "input"
},
{
"name": "creditScore",
"dataType": "decimal",
"direction": "input"
},
{
"name": "approved",
"dataType": "boolean",
"direction": "output"
}
]
}Response
A folder was created.
Example response
{
"name": "Loan Score Approval",
"signature": [
{
"name": "customerName",
"dataType": "string",
"direction": "input"
},
{
"name": "creditScore",
"dataType": "decimal",
"direction": "input"
},
{
"name": "approved",
"dataType": "boolean",
"direction": "output"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.