POST Reports ID Schedules
The POST /Reports/{id}/Schedules operation creates a schedule for the built-in report with the specified report ID. On success, the operation returns HTTP 200 OK with the details of the report schedule.
Table 721: POST Reports {id} Schedules Input Parameters
|
Name |
In |
Description |
|---|---|---|
|
id |
Path |
Required. An integer indicating the Keyfactor Command reference ID of the built-in report the schedule is associated with. Use the GET Reports operation to retrieve a list of your built-in reports to determine the report ID to use. |
| Body | A Boolean indicating whether the report will be sent to the email recipients configured in EmailRecipients (True or False). |
|
| Save Report | Body | A Boolean indicating whether the report will be saved to the UNC path defined by SaveReportPath (True or False). |
| Save Report Path | Body |
Note: Keep these things in mind:
This field is required if SaveReport is set to True. |
| Report Format | Body |
Required. A string containing the report format selected for the scheduled report run. Supported values vary depending on the selected report and include:
|
| Keyfactor Schedule | Body |
Required. An object providing the schedule for the report. For example: Copy
Or: Copy
|
| Email Recipients | Body |
Copy
This field is required if SendReport is set to True. |
| Runtime Parameters | Body |
For example: Copy
This field is required for reports that have runtime parameters. |
Table 722: POST Reports {id} Schedules Response Data
|
Name |
Description |
|---|---|
|
Id |
An integer indicating the Keyfactor Command reference ID of the report schedule. |
| A Boolean indicating whether the report will be sent to the email recipients configured in EmailRecipients (True or False). | |
| Save Report | A Boolean indicating whether the report will be saved to the UNC path defined by SaveReportPath (True or False). |
| Save Report Path |
A string containing the UNC path to which the report will be written, if configured. |
| Report Format |
A string containing the report format selected for the scheduled report run. Supported values vary depending on the selected report and include:
|
| Keyfactor Schedule |
An object providing the schedule for the report. |
| Email Recipients |
An array of strings containing the email addresses of users configured as recipients of the scheduled report, if any. |
| Runtime Parameters |
An object containing the parameters to be used at run time configured in the report schedule. Runtime parameters will vary depending on the report selected. |
Was this page helpful? Provide Feedback