ReportDefinitions
Create ReportDefinition
Create a new ReportDefinition record.
POST
Create ReportDefinition
A saved self-service report: a ReportQuery JSON document plus a visualization. Use report_catalog to discover fields, report_query to test a query before saving it, and report_run to execute a saved report.
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 ReportDefinition-Create role.Request Body
Required Fields
ReportQuery JSON document (version 1). Use report_catalog to discover entities and field paths and report_query to test the query before saving..
Optional Fields
Visible to every user of the business; when false only the owner sees it.
Code Examples
Response
200
Example Response
400
Example Response