Resource Description for StudentAbsenceNote

Properties for StudentAbsenceNote

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
absenceEndDatetime DateTime
absenceStartDatetime DateTime
approvedByStaff Staff
approvedDate DateTime
attendanceMark AttendanceMark
fixedPeriodExclusion FixedPeriodExclusion
notes string
student Student

SDK Example for PHP

<?PHP

use Arbor\Api\Gateway\RestGateway;
use Arbor\Model\ModelBase;
use Arbor\Model\StudentAbsenceNote;

ModelBase::setDefaultGateway(
    new RestGateway(
        "https://my-school.arbor.sc/rest-v2",
        "my.username@my-school.arbor.sc",
        "3bh54435v3gh45"
    )
);

$studentAbsenceNote = StudentAbsenceNote::retrieve(5433);

$student = $studentAbsenceNote->getStudent();
$absenceStartDatetime = $studentAbsenceNote->getAbsenceStartDatetime();
$absenceEndDatetime = $studentAbsenceNote->getAbsenceEndDatetime();
$notes = $studentAbsenceNote->getNotes();
$approvedDate = $studentAbsenceNote->getApprovedDate();
$approvedByStaff = $studentAbsenceNote->getApprovedByStaff();
$attendanceMark = $studentAbsenceNote->getAttendanceMark();
$temporaryExclusion = $studentAbsenceNote->getTemporaryExclusion();

 

Related Resources