Using Chrome's dev tools, I captured the payload submitted to /santaba/rest/dashboard/widgets when adding a dynamic table to dashboard 107 in my portal:
{
"columns": [
{
"columnName": "average",
"dataPointId": 98,
"dataPointName": "average",
"displayType": "raw",
"enableForecast": false,
"roundingDecimal": "2",
"rpn": "",
"unitLabel": ""
}
],
"dashboardId": 107,
"dataSourceFullName": "Ping",
"dataSourceId": 35,
"description": "",
"displaySettings": {
"pageSize": "25"
},
"forecast": {
"algorithm": "Linear",
"confidence": 70,
"severity": "warn",
"timeRange": "Last 30 days"
},
"interval": "3",
"name": "Ping Latency",
"rows": [
{
"deviceDisplayName": "*",
"fullName": "All > All",
"groupFullPath": "*",
"instanceName": "*",
"label": "##RESOURCENAME##"
}
],
"sortOrder": "descending",
"supportKeyWord": "Table",
"theme": "newBorderGray",
"topX": 10,
"type": "dynamicTable",
"userPermission": "write"
}