Resource Description for StaffAttendanceRecord

Properties for StaffAttendanceRecord

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
actualEndTime DateTime
actualStartTime DateTime
attendancePeriodDate DateTime
attendancePeriodEndTime DateTime
attendancePeriodStartTime DateTime
narrative string
staff Staff
staffAbsence StaffAbsence
staffAttendanceMark StaffAttendanceMark

SDK Example for PHP

<?PHP

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

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

$staffAttendanceRecord = StaffAttendanceRecord::retrieve(5433);

$staff = $staffAttendanceRecord->getStaff();
$attendancePeriodDate = $staffAttendanceRecord->getAttendancePeriodDate();
$attendancePeriodStartTime = $staffAttendanceRecord->getAttendancePeriodStartTime();
$attendancePeriodEndTime = $staffAttendanceRecord->getAttendancePeriodEndTime();
$actualStartTime = $staffAttendanceRecord->getActualStartTime();
$actualEndTime = $staffAttendanceRecord->getActualEndTime();
$staffAttendanceMark = $staffAttendanceRecord->getStaffAttendanceMark();
$narrative = $staffAttendanceRecord->getNarrative();
$staffAbsence = $staffAttendanceRecord->getStaffAbsence();

 

Related Resources