Create Report
Create a new Power BI report entry in the system.Authentication & Permissions
Valid session or Sanctum token
super-adminrolereport.createpermissionreport.editpermission
Request Body
Display name for the report
Power BI workspace/group ID (UUID format)
Power BI report ID (UUID format)
Power BI dataset ID (UUID format)
Access level for the report (typically “View”)
Response
HTTP status code (200 on success)
Array of all reports accessible to the user (including newly created)
Example Request
Example Response
Update Report
Update an existing Power BI report entry.Path Parameters
Report database ID
Request Body
Same fields as create (all optional for updates):Updated display name
Updated Power BI workspace ID
Updated Power BI report ID
Updated Power BI dataset ID
Updated access level
Example Request
Response
Returns array of all accessible reports with updates applied (200 status).Delete Report
Delete a Power BI report entry from the system.Path Parameters
Report database ID to delete
Permissions
Requires one of:super-adminrolereport.createpermissionreport.destroypermission
Example Request
Response
Returns array of remaining accessible reports (200 status).Implementation Notes
Source:app/Http/Controllers/ReportController.php:105-153
Automatic Fields
user_idis automatically set to the authenticated user’s IDcreated_atandupdated_attimestamps are managed by Laraveltokenandexpiration_dateare managed by the Power BI integration trait
Response Behavior
- Super admins receive reports with
user,created_by, andfiltersrelationships - Regular users receive only their assigned reports without eager loading
Validation
While not explicitly shown in the controller, these fields are fillable:name,group_id,report_id,access_level,dataset_id,user_id,token,expiration_date