 | AcademicServiceGetSchoolTerms Method |
Gets the terms for a school/division.
Namespace:
(Default Namespace)
Assembly:
SeniorSystemsWS (in SeniorSystemsWS.dll) Version: 937.0.0.0 (937.0.0.33)
Syntaxpublic Term[] GetSchoolTerms(
string schoolID,
bool nextYear,
string authKey
)
Public Function GetSchoolTerms (
schoolID As String,
nextYear As Boolean,
authKey As String
) As Term()
public:
array<Term^>^ GetSchoolTerms(
String^ schoolID,
bool nextYear,
String^ authKey
)
public function GetSchoolTerms(
schoolID : String,
nextYear : boolean,
authKey : String
) : Term[]
function GetSchoolTerms(schoolID, nextYear, authKey);
Parameters
- schoolID
- Type: SystemString
The School ID. - nextYear
- Type: SystemBoolean
If set to False, it will return Terms for the current academic year, otherwise
it will return Terms for the next year. - authKey
- Type: SystemString
Authentication Key obtained from the loginExt method in UserManagementService for a current administrator connection.
Return Value
Type:
TermA list of
Term objects.
Exceptions
Remarks
The authorization key provided must be linked to an administrator role.
See Also