Versions in this module Expand all Collapse all v0 v0.1.0 Sep 29, 2026 Changes in this version + type APIError struct + Message string + StatusCode int + func (e *APIError) Error() string + type AppointmentsParams struct + AppointmentInstance int + AppointmentModifiedSince string + Base string + Branch string + BranchOfSchool int + Cancelled bool + ChangeDescription string + Changed string + ChoosableInDepartments string + ContainsStudentsFromDepartmentOfBranch string + ContainsStudentsFromGroupInDepartment string + ContainsTeachersFromTeacherTeam string + Created int + Creator string + DepartmentOfBranch string + End int64 + EndTimeSlot int + EndTimeSlotName string + EndWeekOffset string + ExtraStudentSource string + ExtraStudentSourceForDepartment string + Fields string + GroupChanged bool + GroupsInDepartments []int + HasCreator string + Hidden bool + ID int + IgnoreSubstitutions string + IncludeHidden string + LocationChanged bool + Locations []string + LocationsOfBranch []int + Modified bool + ModifiedSince string + Moved bool + New bool + Optional bool + PossibleStudents string + SchedulerRemark string + SchoolInSchoolYear SchoolInSchoolYear + Start int64 + StartTimeSlot int + StartTimeSlotName string + StartWeekOffset string + Subjects []string + TeacherChanged bool + Teachers []string + TimeChanged bool + Type string + User string + Valid bool + type AppointmentsResponse struct + Response struct{ ... } + type AuthService struct + func (a *AuthService) CodeToBearer(code int) (string, error) + func (a *AuthService) SetBearerToken(bearer string) + type BranchesOfSchoolsParams struct + Archived bool + Branch string + Fields string + ID int + Name string + SchoolInSchoolYear SchoolInSchoolYear + SchoolYear int + type BranchesOfSchoolsResponse struct + Response struct{ ... } + type Client struct + func New(baseURL string) *Client + func (c *Client) Auth() *AuthService + func (c *Client) GetAppointments(param AppointmentsParams) ([]AppointmentsParams, error) + func (c *Client) GetBranchesOfSchools(param BranchesOfSchoolsParams) ([]BranchesOfSchoolsParams, error) + func (c *Client) GetContracts(param ContractsParams) ([]ContractsParams, error) + func (c *Client) GetCourses(param CoursesParams) ([]CoursesParams, error) + func (c *Client) GetDepartmentsOfBranches(param DepartmentsOfBranchesParams) ([]DepartmentsOfBranchesParams, error) + func (c *Client) GetEmployeeAbsences(param EmployeeAbsencesParams) ([]EmployeeAbsencesParams, error) + func (c *Client) GetEmployees(param EmployeesParams) ([]EmployeesParams, error) + func (c *Client) GetEnrollmentStatus(param EnrollmentStatusParams) ([]EnrollmentStatusParams, error) + func (c *Client) GetFamilyMembers(param FamilyMembersParams) ([]FamilyMembersParams, error) + func (c *Client) GetGroupsInDepartments(param GroupsInDepartmentsParams) ([]GroupsInDepartmentsParams, error) + func (c *Client) GetHolidays(param HolidaysParams) ([]HolidaysParams, error) + func (c *Client) GetJobs(param JobsParams) ([]JobsParams, error) + func (c *Client) GetLiveSchedule(param LiveScheduleParams) ([]LiveScheduleParams, error) + func (c *Client) GetLocationsOfBranches(param LocationsOfBranchesParams) ([]LocationsOfBranchesParams, error) + func (c *Client) GetParentTeacherNights(param ParentTeacherNightsParams) ([]ParentTeacherNightsParams, error) + func (c *Client) GetParentToSchedulerRemarks(param ParentToSchedulerRemarksParams) ([]ParentToSchedulerRemarksParams, error) + func (c *Client) GetSchoolsInSchoolYears(param SchoolsInSchoolYearsParams) ([]SchoolsInSchoolYearsParams, error) + func (c *Client) GetStudents(param StudentsParams) ([]StudentsParams, error) + func (c *Client) GetStudentsInDepartments(param StudentsInDepartmentsParams) ([]StudentsInDepartmentsParams, error) + func (c *Client) GetTalkDays(param TalkDaysParams) ([]TalkDaysParams, error) + func (c *Client) GetTalkTimeBlockAbsenceParent(param TalkTimeBlockAbsenceParentParams) ([]TalkTimeBlockAbsenceParentParams, error) + func (c *Client) GetTalkTimeBlocks(param TalkTimeBlocksParams) ([]TalkTimeBlocksParams, error) + func (c *Client) GetUsers(param UsersParams) ([]UsersParams, error) + type ContractsParams struct + AvailabilityManually bool + AvailableDayParts int + AvailableDays int + BranchOfSchool int + ClockHoursBalance int + ClockHoursBalancePreviousYear int + ClockHoursGeneralTasks int + ClockHoursGeneralTasksManually bool + ClockHoursGross int + ClockHoursLessonRelief int + ClockHoursLessonReliefManually bool + ClockHoursLessons int + ClockHoursLessonsManually bool + ClockHoursLessonsMax int + ClockHoursNet int + ClockHoursNetManually bool + ClockHoursProfessionalDevelopment int + ClockHoursProfessionalDevelopmentManually bool + ClockHoursTaskRelief int + ClockHoursTaskReliefManually bool + ClockHoursTasks int + ClockHoursToAuxiliaryProjects int + CommencementSchool string + CommencementTeaching string + CompensationAbsenceHours int + DateOfBirth string + DefaultFunctionCategory string + DevelopmentTime int + DevelopmentTimeBudget int + DevelopmentTimeManually bool + DurationManually bool + Email string + Employee string + EmployeeNumber string + EmployerCostBasisMaintenance int + EmployerCostBasisPlanning int + EmployerCostLeaveReductionMaintenance int + EmployerCostLeaveReductionPlanning int + EmployerCostPostingBalanceMaintenance int + EmployerCostPostingBalancePlanning int + EmployerCostTotalMaintenance int + EmployerCostTotalPlanning int + EmployerCostsPercentage float64 + End string + ExtensionsDevelopmentTime int + ExtensionsGeneralTasks int + ExtensionsGeneralTasksManually bool + ExtensionsProfessionalDevelopment int + ExtensionsProfessionalDevelopmentManually bool + ExtraWork int + ExtraWorkAllowance int + ExtraWorkAllowanceBasis int + Fields string + FirstName string + FteNet float64 + FtePermanent float64 + FteTemporary float64 + FteToAuxiliaryProjects float64 + FteYearLeave float64 + FullMonthlySalary int + Gender string + HasLessonReliefStarter bool + HourlySalary float64 + HourlySalaryManually bool + ID int + IsMainContract bool + LastName string + LeavesDevelopmentTime int + LeavesGeneralTasks int + LeavesGeneralTasksManually bool + LeavesProfessionalDevelopment int + LeavesProfessionalDevelopmentManually bool + LessonHoursSectionAssignments float64 + LessonHoursSurplusAllowance int + LessonHoursSurplusAllowanceManually bool + LessonHoursSurplusAllowanceViaSectionAssignments int + LessonHoursTeachingAssignments float64 + LessonReducingTasks int + LessonReplacement int + LessonSpace int + LessonsMax float64 + LessonsMaxManually bool + LessonsToPlan float64 + MainBranchOfSchool int + MainContract int + MaintenanceJobClockHoursBudget int + MaintenanceJobFteBudget float64 + MaintenanceLeaveClockHoursBudget int + MaintenanceLeaveFteBudget float64 + PersonalBudgetStatus string + PostedBranches []int + Postings []int + Prefix string + PreviousSalaryScale int + PreviousSalaryStep int + PrivateComment string + PublicComment string + RelatedToEmployee string + ReplacementBalance int + ReservationReplacement int + SalaryScale int + SalaryStep int + School int + SchoolFunction string + SchoolInSchoolYear SchoolInSchoolYear + SchoolInSchoolYearName string + SchoolName string + SchoolYear int + Section int + SectionOfBranch int + Start string + SubstitutionQuota int + SubstitutionQuotaManually bool + TaskBalance int + TaskLessonSpace int + TaskReplacement int + TaskSpace int + TaskSurplus int + TeacherTeam int + Year int + type ContractsResponse struct + Response struct{ ... } + type CoursesParams struct + BranchCode string + ChoosableInDepartment int + DepartmentCode string + EducationTypes []string + Fields string + GroupName string + ID int + ILTCode int + SchoolInSchoolYear SchoolInSchoolYear + SchoolYear int + Student string + Students []string + SubjectCode string + SubjectName string + Teacher string + Teachers []string + YearOfEducation int + type CoursesResponse struct + Response struct{ ... } + type DepartmentsOfBranchesParams struct + BranchOfSchool int + BranchOfSchoolCode string + ClockHoursPerLesson float64 + ClockHoursPerLessonManually bool + Code string + DefaultEnrollmentValidationType string + DefaultMaximalLessonEnrollmentPerWeek int + DefaultMaximalLessonsPerWeek int + DefaultMinimalLessonEnrollmentPerWeek int + DefaultMinimalLessonsPerWeek int + EducationType string + Educations []int + ExcludedSegments []int + ExpectedInflow float64 + ExpectedInflowManually bool + ExpectedMainGroupCount int + ExpectedMainGroupCountManually bool + ExpectedStudentCount float64 + ExpectedStudentCountManually bool + Fields string + ID int + MainGroupAuthority string + MaxGroupSize int + MaxGroupSizeManually bool + MaximalExtraEnrollmentPerSubject int + MinimalExtraEnrollmentPerSubject int + ParticipationThreshold float64 + Profiles []int + PrognosticInflow float64 + PrognosticStudentCount float64 + SchoolInSchoolYear SchoolInSchoolYear + SchoolInSchoolYearID int + SchoolInSchoolYearName string + SchoolYear int + ScroungeSegments []int + StudentCount int + StudentCountCorrection float64 + StudentCountCorrectionManually bool + StudentsMayViewSubjectSelections bool + SubjectSelectionDeadline string + TeacherTeam int + TeacherTeams []int + TeachingLevel string + WeekTimeTable int + YearOfEducation int + type DepartmentsOfBranchesResponse struct + Response struct{ ... } + type EmployeeAbsencesParams struct + AbsenceDuration float64 + AbsenceDurationManually bool + AbsenceType int + AbsenceTypeCode string + AbsenceTypePriority int + BranchOfSchool int + Contract int + Created int64 + Definitive bool + Employee string + End int64 + EndDate string + EndWeek string + Fields string + FirstName string + ID int + LastModified int64 + LastModifiedBy string + LastName string + Leave int + LinkedToStructuralLeave bool + Prefix string + PrivateComment string + RelatedToEmployee string + SchoolInSchoolYear SchoolInSchoolYear + SectionOfBranch int + Start int64 + StartDate string + StartWeek string + TeacherTeam int + Unlinked bool + type EmployeeAbsencesResponse struct + Response struct{ ... } + type EmployeesParams struct + Archived bool + BranchOfSchool int + City string + CommencementSchool string + CommencementTeaching string + Created int64 + DateOfBirth string + Email string + EmployeeNumber string + Fields string + FirstName string + Gender string + HasPassword bool + HouseNumber string + LastModified int64 + LastModifiedBy string + LastName string + Ldap bool + PostalCode string + Prefix string + Roles []string + SchoolInSchoolYear SchoolInSchoolYear + Street string + TeacherTeam int + User string + UserCode string + type EmployeesResponse struct + Response struct{ ... } + type EnrollmentStatusParams struct + ActivityEnrollment int + ConcurrentPlannedAttendance int + DepartmentOfBranch int + EnrollmentValidationType string + ExamEnrollment int + Fields string + LessonEnrollment int + MaximalLessonEnrollment int + MaximalLessons int + MentorGroup int + MinimalLessonEnrollment int + MinimalLessons int + Name string + PlannedActivityAttendance int + PlannedAttendance int + PlannedExamAttendance int + PlannedLessonAttendance int + SchoolInSchoolYear SchoolInSchoolYear + Status []string + Student string + StudentInDepartment int + Week string + type EnrollmentStatusResponse struct + Response struct{ ... } + type FamilyMembersParams struct + Archived bool + City string + Email string + Fields string + FirstName string + HasPassword bool + HouseNumber string + IncludedForRequests bool + Ldap bool + MagisterUUID string + ParentTeacherNight int + PostalCode string + Prefix string + ScheduleFill int + ScheduleSpanWidthFactor int + ScheduleWidth int + SchoolInSchoolYear SchoolInSchoolYear + SomUUID string + Street string + Students []string + UserCode string + type FamilyMembersResponse struct + Response struct{ ... } + type GroupsInDepartmentsParams struct + BranchOfSchool int + DepartmentOfBranch int + Educations []int + ExtendedName string + Fields string + ID int + IsMainGroup bool + IsMentorGroup bool + IsMentorOrMainGroup bool + MentorUserCodes []string + Name string + SchoolInSchoolYear SchoolInSchoolYear + SchoolYear int + StudentInDepartments []int + YearOfEducation int + type GroupsInDepartmentsResponse struct + Response struct{ ... } + type HolidaysParams struct + End string + Fields string + ID int + Name string + SchoolInSchoolYear SchoolInSchoolYear + Start string + type HolidaysResponse struct + Response struct{ ... } + type JobsParams struct + ClockHoursGross float64 + Contract int + Created int64 + DurationManually bool + Employee string + EmployerCost int + EmploymentType string + End string + ExternalID string + FTE float64 + FTEManually bool + FTEReal float64 + Fields string + FirstName string + FunctionCategory string + FunctionCategoryManually bool + ID int + LastModified int64 + LastModifiedBy string + LastName string + Prefix string + PrivateComment string + ProjectBudget int + PublicComment string + SchoolInSchoolYear SchoolInSchoolYear + Start string + TeacherTeam int + Type string + Week string + type JobsResponse struct + Response struct{ ... } + type LiveScheduleParams struct + Appointments []string + Fields string + Replacements []string + SchoolInSchoolYear SchoolInSchoolYear + Status []string + Student string + Teacher string + User string + Week string + type LiveScheduleResponse struct + Response struct{ ... } + type LocationsOfBranchesParams struct + AllowMeetings bool + Branch int + BranchOfSchool int + CourseCapacity int + Fields string + ID int + Name string + ParentTeacherNightCapacity int + SchoolInSchoolYear SchoolInSchoolYear + SecondaryBranches []int + SupportsConcurrentAppointments bool + type LocationsOfBranchesResponse struct + Response struct{ ... } + type ParentTeacherNightsParams struct + AllowRequestingUntil int64 + Archived bool + Description string + EmployeeScheduleFill int + EmployeeScheduleSpanWidthFactor int + EmployeeScheduleWidth int + FamilyMember []int + Fields string + HasParentToSchedulerRemark bool + HasParentToTeacherRemark bool + ID int + MaxNumberOfRequests int + ParentCanRequestLongTalk bool + ParentScheduleFill int + ParentScheduleSpanWidthFactor int + ParentScheduleWidth int + Published bool + ReferenceWeek string + SchedulePublished bool + SchoolInSchoolYear SchoolInSchoolYear + TalkDays []string + TalkDaysText []string + Title string + type ParentTeacherNightsResponse struct + Response struct{ ... } + type ParentToSchedulerRemarksParams struct + FamilyMember string + Fields string + ID int + ParentTeacherNight int + Processed bool + Remark string + SchoolInSchoolYear SchoolInSchoolYear + type ParentToSchedulerRemarksResponse struct + Response struct{ ... } + type SchoolInSchoolYear string + func (s *SchoolInSchoolYear) UnmarshalJSON(data []byte) error + func (s SchoolInSchoolYear) MarshalJSON() ([]byte, error) + type SchoolsInSchoolYearsParams struct + Archivable bool + Archived bool + ArchivedTime int64 + AtlasNexusEnabled bool + BranchOfSchools []int + Branches string + DesktopProjectSettings string + DesktopStorageOnline bool + Fields string + ID int + Name string + Project string + ProjectName string + Removable bool + School int + SchoolHrmsCode string + SchoolInSchoolYear SchoolInSchoolYear + SchoolName string + SchoolYear int + UseHrms bool + Year int + type SchoolsInSchoolYearsResponse struct + Response struct{ ... } + type StudentsInDepartmentsParams struct + Archived bool + BranchOfSchool int + DeanApprovesSelection bool + DepartmentOfBranch int + DepartmentOfBranchCode string + DepartmentOfBranchPreviousYear int + EducationalTrack int + Educations []int + Email string + FamilyMember string + Fields string + FirstName string + FullName string + Gender string + GroupInDepartmentPreviousYear int + GroupInDepartments []int + ID int + Inflow bool + LastModified int64 + LastName string + Lwoo bool + MainGroup int + MainGroupName string + MainGroupPreviousYear int + MainGroupPreviousYearName string + MentorGroup int + MentorGroupPreviousYear int + Outflow bool + OutflowComment string + OutflowPercentage int + ParentApprovalTime int64 + ParentApprovesSelection bool + ParticipationWeight float64 + Prefix string + PreviousMainGroup string + Profiles []int + PrognosisComment string + RelatedToDepartment int + SchoolInSchoolYear SchoolInSchoolYear + SchoolPreviousYear string + SchoolYear int + Student string + StudentApprovesSelection bool + StudentHasEditedSelection bool + StudentInDepartmentPreviousYear int + Teacher string + TeacherTeam int + VisibleToStudent bool + type StudentsInDepartmentsResponse struct + Response struct{ ... } + type StudentsParams struct + Archived bool + City string + DateOfBirth string + DepartmentOfBranch []int + Email string + FamilyMembers []string + Fields string + FirstName string + Gender string + GroupInDepartments []int + HouseNumber string + IndividualRequestsParents bool + IntakeProjects []int + LastName string + Lwoo bool + NonarchivedFamilyMembers []string + PlacedIntakeForProject int + PossibleIntakeForProject int + PostalCode string + Prefix string + SchoolInSchoolYear SchoolInSchoolYear + Street string + StudentInDepartments []string + UnplacedIntakeForSchoolYear int + UserCode string + type StudentsResponse struct + Response struct{ ... } + type TalkDaysParams struct + Date string + Fields string + ID int + ParentTeacherNight int + SchoolInSchoolYear SchoolInSchoolYear + StringDate string + Title string + type TalkDaysResponse struct + Response struct{ ... } + type TalkTimeBlockAbsenceParentParams struct + Fields string + ID int + Overruled bool + ParentTeacherNight int + SchoolInSchoolYear SchoolInSchoolYear + TalkDay int + TalkTimeBlock int + TalkTimeBlockDefinition int + User string + type TalkTimeBlockAbsenceParentResponse struct + Response struct{ ... } + type TalkTimeBlocksParams struct + Fields string + ID int + ParentTeacherNight int + SchoolInSchoolYear SchoolInSchoolYear + Span string + TalkTimeSlots []int + Title string + type TalkTimeBlocksResponse struct + Response struct{ ... } + type UsersParams struct + Admin bool + Archivable bool + Archived bool + ArchivedSchoolInSchoolYears []int + ArchivedTime int64 + City string + Code string + DateOfBirth string + DisplayName string + Email string + EmployeeSchoolInSchoolYears []int + FamilyMember bool + FamilyMemberSchoolInSchoolYears []int + Fields string + FirstName string + Gender string + HasPassword bool + HouseNumber string + IsApplicationManager bool + IsBranchLeader bool + IsDean bool + IsEmployee bool + IsFamilyMember bool + IsMentor bool + IsParentTeacherNightScheduler bool + IsSchoolLeader bool + IsSchoolScheduler bool + IsSectionLeader bool + IsStudent bool + IsStudentAdministrator bool + IsTeamLeader bool + Ldap bool + MagisterUUID string + MayLogin bool + NoSchoolInSchoolYear bool + ParentTeacherNightOfFamilyIDs []int + ParentTeacherNightOfTeacherIDs []int + PostalCode string + Prefix string + Removable bool + Roles []string + SchoolInSchoolYear SchoolInSchoolYear + SchoolInSchoolYears []int + SchoolYear int + SomUUID string + Street string + StudentSchoolInSchoolYears []int + SubjectSelectionSchoolInSchoolYears []int + TfaMandatory bool + TotpEnabled bool + Type string + UserKind string + UserPrincipalName string + Username string + type UsersResponse struct + Response struct{ ... }