dashboard-controller
Adds the Dashboard Customers (addDashboardCustomers)
Adds the list of Customers to the existing list of assignments for the Dashboard. Keeps previous assignments to customers that are not in the provided list. Returns the Dashboard object.
Available for users with 'TENANT_ADMIN' authority.
post/api/dashboard/{dashboardId}/customers/add
Path parameters
dashboardIdstring required
A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Request body
string[] required
JSON array with the list of customer ids
Response
OK
Example response
{
"configuration": {},
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DASHBOARD"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"assignedCustomers": [
{
"customerId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "CUSTOMER"
}
}
]
}