Examples

Learn how to run a report, refresh dashboard data, and send analytic notifications with these hands-on Reports and Dashboards REST API examples.

  • Reports Examples

    Learn how to run, create, edit, or delete reports with the Reports REST API. Running a report returns a fact map that describes report data. Learn how to read report fact maps.

  • Dashboards Examples

    Learn how to refresh, create, edit, copy, and delete dashboards.

  • Downloads Examples

    Learn how to download dashboards, lenses, and reports as images or PDFs.

  • Notifications Examples

    Learn how to refresh, create, edit, copy, and delete analytic notifications. Analytic notifications are surfaced in the Salesforce user interface as report subscriptions, dashboard subscriptions, or Analytics notifications.