dashboards.php¶
Dashboard management module for handling reports and dashboard configurations
API Methods¶
| Method | Action | Description |
|---|---|---|
add_report | add report | Adds a specific report to the dashboard. |
delete_report | delete report | Removes a specific report from the dashboard. |
delete_report_all | delete all reports | Removes all reports from the specified dashboard. |
dashboards/add_report¶
Adds a specific report to the dashboard.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: add_report |
| token | ✅ | string | Authentication token |
| id | ❌ | integer | Dashboard identifier |
| report_id | ❌ | integer | Report identifier to be added |
| sort_order | ❌ | integer | Sorting order for the report |
Request example
dashboards/delete_report¶
Removes a specific report from the dashboard.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: delete_report |
| token | ✅ | string | Authentication token |
| id | ❌ | integer | Dashboard identifier |
| report_id | ❌ | integer | Report identifier to be deleted |
Request example
Success response example
dashboards/delete_report_all¶
Removes all reports from the specified dashboard.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: delete_report_all |
| token | ✅ | string | Authentication token |
| id | ❌ | integer | Dashboard identifier |
Request example