Decision Matrix Rows Input

Input representation of the information to manage rows in relation to the decision matrix version.
JSON Example

Add a row:

1{
2  "rows": [
3    {
4      "rowData": {
5        "Age": "45",
6        "Gender": "F",
7        "Premium": "2000"
8      }
9    }
10  ]
11}

Delete a row:

1{
2  "rows": [
3    {
4      "id": "a1j5w000006D04uAAC",
5      "action": "delete",
6      "rowData": {
7        "Age": "45",
8        "Gender": "F",
9        "Premium": "2000"
10      }
11    }
12  ]
13}

Update a row:

1{
2  "rows": [
3    {
4      "id": "a1j5w000006D04uAAC",
5      "action": "update",
6      "rowData": {
7        "Age": "45",
8        "Gender": "F",
9        "Premium": "1500"
10      }
11    }
12  ]
13}

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

This field is required if you’re using a CVS file to add or update rows.

Note

53.0
rows Decision Matrix Row Input[] List of rows to be added, updated, or deleted in a decision matrix version. Required 53.0