Decision Matrix Lookup (POST)

Performs a lookup on decision matrix rows based on the input values provided, and returns the row’s output.
Resource
/connect/business-rules/decision-matrices/${matrixName}
Resource Example
https://yourInstance.salesforce.com/services/data/vXX.X/connect
/business-rules/decision-matrices/InsurancePremium
Available version
55.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
JSON example
{
  "inputs": [
    {
      "input": [
        {
          "name": "Premium",
          "value": "2400"
        }
              ]
    },
    {
      "input": [
        {
          "name": "Tenure",
          "value": "10"
        }
      ]
    }
  ],
  "options": {
    "effectiveDate": "2022-12-03T10:15:30Z"
  }
}
Here, Premium and Tenure are column headers in the matrix, and 2400 and 10 are values of a cell in the column.
Properties
Name Type Description Required or Optional Available Version
inputs Decision Matrix Input List of inputs passed to a decision matrix. An input may contain multiple variables. Required 55.0
options Decision Matrix Options Input The lookup options for a decision matrix. Optional 55.0
Response body for POST
Decision Matrix Lookup Result