Update Scheduled Report
The endpoint updates an existing scheduled report. The user must have the necessary permissions to modify scheduled reports.
Endpoint Information
URL:
https://testinium.io/Testinium.RestApi/api/scheduled-reports/scheduled/{id}
Method: PUT
Authentication: Required (Bearer Token)
Header: Required (
current-company-id: <your_company_id>
)
Path Parameters
id
Long
Yes
The unique ID of the scheduled report.
Request
The request body should contain the updated scheduled report details.
Response
The response contains the updated scheduled report details.
Response Fields
id
Long
Unique ID of the scheduled report.
report_name
String
Name of the scheduled report.
content_mail
String
Email content of the report.
user_roles
List
List of user roles that have access.
enabled
Boolean
Indicates if the scheduled report is active.
frequency
String
Frequency of the report (e.g., DAILY, WEEKLY).
created_user
String
Username of the person who created the report.
status
List
Status of the scheduled report.
usage_gauge
Boolean
Indicates if usage gauge is enabled.
report_hour
String
The scheduled time for the report execution (UTC).
plan_id_list
List
List of test plan IDs linked to the report.
start_date
String
Start date of the scheduled report (ISO format).
end_date
String
End date of the scheduled report (ISO format).
email_list
List
List of recipient email addresses.
alerts
List
List of alert configurations.
alerts.alert_type
String
Type of alert (e.g., EMAIL).
alerts.alert_sending_status
String
Defines when alerts will be sent (e.g., EVERY_TEST).
alerts.target
String
Target email for alerts.
alerts.enabled
Boolean
Indicates if the alert is enabled.
alerts.unsubscribe_link_eliminated
Boolean
Indicates if the unsubscribe link is removed.
Error Codes
400
INVALID_REQUEST
The request was malformed or contained errors.
404
REPORT_NOT_FOUND
No scheduled report was found for the specified 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