Lookup Table
POST {{_endpoint}}/services/data/v{{version}}/connect/business-rules/decision-matrices/:matrixUniqueName
Performs a lookup on decision matrix rows based on the input values provided, and returns the row’s output.Resource Resource Example Available version 55.0 Requires Chatter No HTTP methods POST Request body for POST JSON example Here, premium is a column header in the matrix, and 2400 is a value of a cell in the column.Properties Response body for POSTDecision Matrix (Lookup Table)
/connect/business-rules/decision-matrices/${matrixName}
https://yourInstance.salesforce.com/services/data/vXX.X/connect
/business-rules/decision-matrices/InsurancePremium
{
"inputs": [
{
"input": [
{
"name": "premium",
"value": "2400"
}
]
}
],
"options": {
"effectiveDate": "2022-12-03T10:15:30Z"
}
}
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
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status Created
{
"outputs": [
{
"error": "Looks like there isn’t any output for the specified input parameters in the lookup table.",
"results": []
}
]
} |
ENDPOINTS