Decision Table Lookup (POST)

Performs a lookup on a decision table.

Resource 

1/connect/business-rules/decision-table/${decisionTableId}

The {decisionTableId} parameter is the ID of the decision table.

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v55.0/connect
2/decision-table/0lDB0000000TNQzMAO

{yourInstance} is the domain name of your Salesforce instance.

Available Version 

55.0

Requires Chatter 

No

HTTP Methods 

POST

Request Body for POST 

JSON Example 

1{
2   "conditions":[
3      {
4         "conditionsList":[
5            {
6               "fieldName":"Product__c",
7               "value":"Nike",
8               "operator":"Matches"
9            },
10            {
11               "fieldName":"Price__c",
12               "value":1000,
13               "operator":"GreaterThan"
14            }
15         ]
16      },
17      {
18         "conditionsList":[
19            {
20               "fieldName":"Product__c",
21               "value":"Adidas",
22               "operator":"Matches"
23            },
24            {
25               "fieldName":"Price__c",
26               "value":1500,
27               "operator":"GreaterThan"
28            }
29         ]
30      }
31   ]
32}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
conditionsDecision Table Condition[]The list of decision table conditions on which the decision table executes and provides outcomes.Required55.0
datasetLinkNameStringThe API name of the dataset link provided as an input for the decision table execution.Optional55.0

Response Body for POST 

Decision Table Outcome