Get Scheduled Report History
This endpoint retrieves the execution history of a specific scheduled report. The user must have the necessary permissions to access the report history.
Endpoint Information
URL:
https://testinium.io/Testinium.RestApi/api/scheduled-reports/scheduled/history/{id}
Method: GET
Authentication: Required (Bearer Token)
Header: Required (
current-company-id: <your_company_id>
)
Path Parameters
id
Long
Yes
The unique ID of the scheduled report.
Response
The response contains the execution history of the scheduled report as a list of historical execution records.
Response Fields
id
Long
Unique ID of the report history record.
scheduled_report_id
Long
The ID of the scheduled report.
execution_time
String
The timestamp when the report was executed (UTC).
status
String
The execution status (e.g., SUCCESS
, FAILED
).
generated_report_url
String
The URL to download the generated report (if available).
error_message
String
Error message in case of a failed execution (if applicable).
Error Codes
400
INVALID_REQUEST
The request was malformed or contained errors.
404
REPORT_NOT_FOUND
No scheduled report history found for the given ID.
403
ACCESS_DENIED
User lacks the necessary authority.
500
INTERNAL_SERVER_ERROR
An unexpected error occurred on the server side.
Example Request
Last updated