Cancel a Report Run
A Reporting API that terminates a report run that is currently in-progress
Contact Zuora Global Support to enable this feature in your tenant. This feature is currently in development and is subject to change without advance notice.
The Cancel a Report Run Reporting API terminates a report run that is currently in-progress.
To Cancel a Report Run send a DELETE call with a ReportRunId value in the request path as is shown below.
Prerequisite
You can obtain the ReportRunId from the id value in the JSON response to the Run a Report call. Alternatively, you can get a list of all reports with an “in-progress” status by posting a query like the following:
Request:
POST https://zconnectsandbox.zuora.com/api/rest/v1reportruns?status=STARTED&status=QUERYDATA&status=PROCESSINGDATA
Request body:
{"columns": "reportId","startedOn","reportType","createdByUserProfile.username","status"," "],"pagination":{"currentPage":1,"pageSize":250},"sort":[{"field":"startedOn","direction":"desc","priority":0}]}
That POST returns a list of reports with a status of in-progress. The metadata for each report returned includes the ReportRunId expressed as the id value in the JSON response.
Request
Request path parameters
Example
HTTPS Request
DELETE https://zconnectsandbox.zuora.com/api/rest/v1/rest/v1/reportruns/ff808081527368d401527b24d20900d9
JSON Response
If the report run was cancelled previously, then the response would be.