ReportDashboards
Create ReportDashboard
Create a new ReportDashboard record.
POST
Create ReportDashboard
A self-service reporting dashboard: an ordered grid of tiles that reference saved reports (report_definition) or built-in templates, with dashboard-level parameters (date range, locations) bound to each tile’s filters.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the ReportDashboard-Create role.Request Body
Required Fields
integer
required
ID of the business that owns this dashboard.
string
required
Dashboard name.
string
required
DashboardLayout JSON (version 1): { version, parameters: [{ id, type: date_range|business_scope|enum|text, label, default }], widgets: [{ id, kind: report|heading|text, reportDefinitionId?, templateKey?, title?, size: { w: 1-4, h: 1-3 }, bindings: { parameterId: fieldPath | ”*” }, visualizationOverride? }], refreshIntervalSeconds? }.
integer
required
Auto-refresh interval in seconds (0 = manual).
Optional Fields
string
Optional description.
Visible to every user of the business; when false only the owner sees it.
integer
User who created the dashboard (set automatically).
boolean
Shown first in the Dashboards library for this business.
Code Examples
Response
200
integer
HTTP status code.
200 on success.string
A human-readable message confirming the creation.
object
Contains the
Id of the newly created record.boolean
true if the reportdashboard was created successfully.array
null on success.Example Response
400
string
A summary of the validation error(s), in the format
PropertyName: error message.any
null on validation failure.object[]
Array of validation errors.
boolean
false when the request fails validation.Example Response