Decision Matrix Lookup (POST)

Performs a lookup on decision matrix rows based on the input values provided, and returns the row’s output.

Resource 

1/connect/business-rules/decision-matrices/${matrixName}

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/vXX.X/connect
2/business-rules/decision-matrices/InsurancePremium

{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  "inputs": [
3    {
4      "input": [
5        {
6          "name": "Premium",
7          "value": "2400"
8        }
9      ]
10    },
11    {
12      "input": [
13        {
14          "name": "Tenure",
15          "value": "10"
16        }
17      ]
18    }
19  ],
20  "options": {
21    "effectiveDate": "2022-12-03T10:15:30Z"
22  }
23}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
inputsDecision Matrix InputList of inputs passed to a decision matrix. An input may contain multiple variables.Required55.0
optionsDecision Matrix Options InputThe lookup options for a decision matrix.Optional55.0