Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Regenerating a report also generates a new execution_id, so please ensure that you run the GET: /compliance_reporting/reports/allendpointto get the latest execution_id.

...

Retrieving a list of executions for a particular report

GET: /compliance_reporting/{report_id}/executions

GET https://<instance_name>>.fuseuniversal.com/api/v4.4/compliance_reporting/<report_id_goes_here>/executions?auth_token=<valid_auth_token>

The above will return the following:

Code Block
{
  "total_count": 2,            <-- Number of executions for particular Report
  "last_page": true,
  "executions": [
    {
      "id": 1883,
      "title": "Title/Name of report",          <-- Title/Name of report
      "report_executed_by": "steve.jobs@contoso.com", <-- Who executed the latest run
      "started_at": "2024-03-15T08:32:29.000Z", <-- date of report execution/regeneration
      "report_executed_status": "success"
    },
    {
      "id": 1807,
      "title": "Title/Name of report",          <-- Title/Name of report
      "report_executed_by": "steve.jobs@contoso.com", <-- Who executed this run
      "started_at": "2024-03-08T09:57:29.000Z", <-- date of report execution
      "report_executed_status": "success"
    }
  ]
}
Info

The executions are shown in descending order, with the latest execution_id appearing at the top of the response body.