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.
For information about different ways to execute the Reports REST API, see Send REST Request with cURL and Authorization Through Connected Apps and OAuth 2.0.
-
Create a new report using a POST request.
-
Return a list of analytics notifications using a GET request.
-
Download Formatted Excel Reports Using the Reports REST API
Use the Reports REST API to download report results as JSON or Excel.
-
Get Report Data without Saving Changes to or Creating a Report
Run a report without creating a report or changing an existing one by making a POST request to the
queryresource. Get report data without filling up your org with unnecessary reports. -
Save changes to a report by sending a PATCH request to the Report resource.
-
Creates a copy of a custom, standard, or public report by sending a POST request to the Report List resource.
-
Delete a report by sending a DELETE request to the Report resource. Deleted reports are moved to the Recycle Bin.