DaySmart: Run report
daysmart_run_reportDaySmart: Run a built-in report (for example Sales by Day of the Week, Client Spending, Employee Performance Report) and return its rows. Runs a report from More, then Reports, and returns its rows as JSON. Most reports take a date range; a few have none. If your user role has no access to a report category, the call fails with a permission error or returns no rows. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the date range. | |
| from | No | Start of the date range, for reports that have one. | |
| report | Yes | Report name exactly as in Reports, e.g. "Sales By Employee Category". | |
| employee_id | No | Filter by employee, for reports that allow it. |