SAS Intelligent Decisioning
for developers
Getting started with SAS Intelligent Decisioning
Use SAS Intelligent Decisioning APIs to create business rules, combine those rules and analytic models together into decisions, and publish the decisions for use by other applications and systems. Capabilities:
- business rule authoring - specify condition evaluations and actions
- decision management and publishing - interactively create and manage decisions based on business rules and analytic models and publish for use in other applications
- deploy decisions at scale - deploy decsions as real-time or batch processes for use by other applications
Sample code
The sample code below performs an HTTP GET request to get a list of decisions. To see further sample code, visit the samples page on GitHub.
Get decision list
# HTTP GET request to get a list of decisions
GET /decisions/flows -H 'Accept: application/json'
# Response application/vnd.sas.data.table+json
{
"links": [
{
"method": "GET",
"rel": "collection",
"href": "/decisions/flows",
"uri": "/decisions/flows",
"type": "application/vnd.sas.collection",
"itemType": "application/vnd.sas.decision"
},
{
"method": "GET",
"rel": "self",
"href": "/decisions/flows?start=0&limit=10",
"uri": "/decisions/flows?start=0&limit=10",
"type": "application/vnd.sas.collection",
"itemType": "application/vnd.sas.summary"
},
{
"method": "POST",
"rel": "createDecision",
"href": "/decisions/flows",
"uri": "/decisions/flows",
"type": "application/vnd.sas.decision",
"responseType": "application/vnd.sas.decision"
}
],
"name": "decisions",
"accept": "application/vnd.sas.summary",
"start": 0,
"count": 1,
"items": [
{
"creationTimeStamp": "2019-12-17T17:24:37.312Z",
"modifiedTimeStamp": "2019-12-17T17:37:54.427Z",
"createdBy": "sasdemo",
"modifiedBy": "sasdemo",
"id": "9b317ba3-d273-4e23-a4df-7ba9bab7faf5",
"type": "decision",
"name": "LoanDecision",
"links": [
{
"method": "GET",
"rel": "self",
"href": "/decisions/flows/9b317ba3-d273-4e23-a4df-7ba9bab7faf5",
"uri": "/decisions/flows/9b317ba3-d273-4e23-a4df-7ba9bab7faf5",
"type": "application/vnd.sas.decision"
},
{
"method": "GET",
"rel": "alternate",
"href": "/decisions/flows/9b317ba3-d273-4e23-a4df-7ba9bab7faf5",
"uri": "/decisions/flows/9b317ba3-d273-4e23-a4df-7ba9bab7faf5",
"type": "application/vnd.sas.summary"
},
{
"method": "DELETE",
"rel": "delete",
"href": "/decisions/flows/9b317ba3-d273-4e23-a4df-7ba9bab7faf5",
"uri": "/decisions/flows/9b317ba3-d273-4e23-a4df-7ba9bab7faf5",
"type": "application/vnd.sas.summary"
}
],
"version": 2
}
],
"limit": 10,
"version": 2
}
Additional resources
SAS Intelligent Decsioning user's guide— documentation
SAS Intelligent Decisioning support page — collection of SAS Intelligent Decisioning resources