This page explains how to use our API to schedule website reports in Insites.
Schedule a business report
Request body should be JSON encoded, and can include the following fields:
String – The UTC formatted date on which the report should run
Boolean – Determines whether the reports should be repeated at certain intervals
Integer – Determines the how often reports should be repeated. Required if repeat_runs is true
String – Determines whether the frequency is in days, weeks or months.
Boolean – Determines if the reports should stop after a certain number of repeats
Integer – Determines how many repeats should be executed. Required if stop_automatically is true
Boolean – Determines if a notification email should be sent when a scheduled report completes
JSON encoded string – Specifies the email addresses which will be notified if notify_contacts is true
String – Determines whether the report should be shared as a pdf or a link
If successful, you would expect a 200 response.
Retrieve a business report schedule
If successful, you would expect a 200 response, with a body like this:
"schedule": [SCHEDULE DATA]