Click or drag to resize

AcademicServiceGetSchoolSections Method

Gets all sections defined for a school/division.

Namespace:  (Default Namespace)
Assembly:  SeniorSystemsWS (in SeniorSystemsWS.dll) Version: 937.0.0.0 (937.0.0.33)
Syntax
public Section[] GetSchoolSections(
	string schoolID,
	bool nextYear,
	string authKey
)

Parameters

schoolID
Type: SystemString
The School ID.
nextYear
Type: SystemBoolean
If set to False, it will return Sections for the current academic year, otherwise it will return Sections for the next year.
authKey
Type: SystemString
Authentication Key obtained from the loginExt method in UserManagementService for a current administrator connection.

Return Value

Type: Section
A list of Section objects.
Exceptions
ExceptionCondition
ApplicationExceptionInvalid authorization key
Remarks
The authorization key provided must be linked to an administrator role.
See Also