public interface AccountReportWriter extends CanvasWriter<AccountReport,AccountReportWriter>
| Modifier and Type | Method and Description |
|---|---|
Optional<AccountReport> |
deleteReport(String accountId,
String report,
Integer reportId)
Delete a report.
|
Optional<AccountReport> |
startReport(AccountReportOptions options)
Start a new report, specifying a set of options to run with.
|
writeAsCanvasUser, writeAsSisUserOptional<AccountReport> startReport(AccountReportOptions options) throws IOException
Note that the options used vary depending on the report you wish to start.
options - options that should be passed to start the reportOptional<AccountReport> which contains a reference to the generated reportIOException - When there is an error communicating with CanvasAccountReportOptionsOptional<AccountReport> deleteReport(String accountId, String report, Integer reportId) throws IOException
accountId - the account id used to generate the reportreport - the name of the reportreportId - the ID of the reportOptional<AccountReport> which contains a reference to the deleted reportIOException - When there is an error communicating with CanvasCopyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.