Decision Table Lookup (POST)

Performs a lookup on a decision table.

Resource

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

Resource Example

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

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

Name Type Description Required or Optional Available Version
conditions Decision Table Condition[] The list of decision table conditions on which the decision table executes and provides outcomes. Required 55.0
datasetLinkName String The API name of the dataset link provided as an input for the decision table execution. Optional 55.0

Response Body for POST