POST /v2/dashboards/reportJobs

Schedule an asynchronous job to generate a report from a template. All items in the template will be included unless specified. See template section for more details on individual templates. Reports can be generated in Pdf or Png format and exported in various methods (ex. direct download). You will get back an asynchronous job identifier on success. Use the getAsyncReportGenerationStatus endpoint and the job identifier you got back in the response to track the status of an asynchronous report generation job.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
timezone String Yes

Time zone for the query time ranges. Follow the format in the IANA Time Zone Database.

action Object Yes

The base class of all report action types. DirectDownloadReportAction downloads dashboard from browser. New action types may be supported in the future.

action.actionType String Yes

Type of action.

exportFormat String Yes

File format of the report. Can be Pdf or Png. Pdf is portable document format. Png is portable graphics image format.

template Object Yes
template.templateType String Yes

The type of template. DashboardTemplate provides a snapshot view of the exported dashboard. DashboardReportModeTemplate provides a printer-friendly view of the exported dashboard. New templates may be supported in the future.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.