Newer Version Available
Decision Matrix Version Rows
Retrieve a paginated list of or manage rows in a decision matrix
version. Use this resource to add new rows, or update or delete existing rows in a decision
matrix version.
- Resource
-
1/connect/omnistudio/decision-matrices/${matrixId}/versions/${versionId}/rows - Example
-
1/services/data/v53.0/connect/omnistudio/decision-matrices/0lIR000000000u0MAA 2/versions/0lNR000000000rFMAQ/rows - Available version
- 53.0
- Requires Chatter
- No
- HTTP methods
- GET, POST
- Path parameters for GET
-
Parameter Name Type Description Required or Optional Available Version matrixId String The ID of the decision matrix record. Required 53.0 versionId String The ID of the decision matrix version record. Required 53.0 - Query parameters for GET
-
Parameter Name Type Description Required or Optional Available Version file Boolean Indicates whether to get the rows by generating a CSV file for downloading (true) or fetching the rows in JSON format (false). The default value is false. Optional 53.0 - Response body for GET
- Decision Matrix Rows Output
- Request body for POST
-
- JSON Example
-
Add a row:
1{ 2 "rows" : [ { 3 "rowData" : { 4 "Age" : "45", 5 "Gender" : "F", 6 "Premium" : "2000" 7 } 8 } ] 9} -
Delete a row:
1{ 2 "rows" : [ { 3 "rowData" : { 4 "id" : "a1j5w000006D04uAAC", 5 "action" : "delete" 6 } 7 } ] 8} -
Update a row:
1{ 2 "rows" : [ { 3 "rowData" : { 4 "id" : "a1j5w000005D04uAAC", 5 "Premium" : "1500", 6 "action" : "update" 7 } 8 } ] 9} -
Add row using a CSV file:
-
1{ 2 "fileId" : "f1j5w000005D04uFGC" 3} - Properties
-
Name Type Description Required or Optional Available Version fileId String The ID of the Content Document Version that contains the rows details to be added or updated in a decision matrix version. Optional 53.0 rows Decision Matrix Row Input[] List of rows to be added, updated, or deleted in a decision matrix version. Required 53.0
- Response body for POST
- Decision Matrix Output