Get Report Run
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 Get Report Run Reporting API returns details of the specified report run. You can use Get Report Run to check the status of a report run. To retrieve the results of a completed report run, use Get Report Data or Export Report Run.
To retrieve details of the last completed run of a report, use Get Last Completed Report Run.
Request
Environment | Request |
---|---|
API Sandbox (US Data Center) | GET https://zconnectsandbox.zuora.com/api/rest/v1/reportruns/{reportRunId} |
Production (US Data Center) | GET https://zconnect.zuora.com/api/rest/v1/reportruns/{reportRunId} |
API Sandbox (EU Data Center) | GET https://zconnect.sandbox.eu.zuora.com/api/rest/v1/reportruns/{reportRunId} |
Production (EU Data Center) | GET https://zconnect.eu.zuora.com/api/rest/v1/reportruns/{reportRunId} |
API Sandbox(US Cloud Data Center) | GET https://zconnect.sandbox.na.zuora.com/api/rest/v1/reportruns/{reportRunId} |
Production (US Cloud Data Center) | GET https://zconnect.na.zuora.com/api/rest/v1/reportruns/{reportRunId} |
Request Parameter
reportRunId |
required |
path |
The ID of the report run. You can get the ID from the JSON response to Run a Report. |
Response
The JSON response contains the following details about the report run:
Response Field | Description |
---|---|
| The ID of the report run. This value matches the value of the |
| The status of the report run:
|
| The timestamp of when the report run was started. |
| The timestamp of when the status of the report run was last updated. |
| The ID of the report that was run. |
| The report type: "Detail" or "Summary". |
| The report definition. |
Example
HTTPS request:
GET https://zconnectsandbox.zuora.com/api/rest/v1/reportruns/ff808081529f4e3401529fd61f080074
JSON response:
{ "success": true, "response": { "reportType": "Detail", "id": "ff808081529f4e3401529fd61f080074", "reportId": "ff808081529f4e3401529fd373730070", "startedOn": 1453166692000, "status": "COMPLETED", "reportDefinition": "...", "updatedOn": 1453166695000 } }