Resource Description for AcademicUnitEnrolment

Properties for AcademicUnitEnrolment

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
academicUnit AcademicUnit
academicUnitAutomaticEnrolment AcademicUnitAutomaticEnrolment
endDate DateTime
enrolmentDependency mixed
enrolmentStatus string
repeatEnrolment bool
startDate DateTime
student Student
studentAttendancePatternDependency StudentAttendancePattern

SDK Example for PHP

<?PHP

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

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

$academicUnitEnrolment = AcademicUnitEnrolment::retrieve(5433);

$academicUnit = $academicUnitEnrolment->getAcademicUnit();
$student = $academicUnitEnrolment->getStudent();
$startDate = $academicUnitEnrolment->getStartDate();
$endDate = $academicUnitEnrolment->getEndDate();
$enrolmentStatus = $academicUnitEnrolment->getEnrolmentStatus();
$academicUnitAutomaticEnrolment = $academicUnitEnrolment->getAcademicUnitAutomaticEnrolment();
$enrolmentDependency = $academicUnitEnrolment->getEnrolmentDependency();
$studentAttendancePatternDependency = $academicUnitEnrolment->getStudentAttendancePatternDependency();

 

Related Resources