public interface EnrollmentTermReader extends CanvasReader<EnrollmentTerm,EnrollmentTermReader>
| Modifier and Type | Method and Description |
|---|---|
Optional<EnrollmentTerm> |
getEnrollmentTerm(String accountId,
String termId)
Get a single enrollment term.
|
List<EnrollmentTerm> |
getEnrollmentTerms(GetEnrollmentTermOptions options)
Retrieve the enrollment terms for a single account.
|
readAsCanvasUser, readAsSisUser, withCallbackList<EnrollmentTerm> getEnrollmentTerms(GetEnrollmentTermOptions options) throws IOException
options - API options available to this callIOException - When there is an error communicating with CanvasOptional<EnrollmentTerm> getEnrollmentTerm(String accountId, String termId) throws IOException
accountId - The account ID to look in.termId - The term ID to lookup.IOException - When there is an error communicating with CanvasCopyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.