Resource Description for SchoolEnrolment

Properties for SchoolEnrolment

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
academicYear AcademicYear
endDate DateTime
enrolmentMode EnrolmentMode
enrolmentNotes string
startDate DateTime
student Student
unenrolmentReason UnenrolmentReason

SDK Example for PHP

<?PHP

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

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

$schoolEnrolment = SchoolEnrolment::retrieve(5433);

$academicYear = $schoolEnrolment->getAcademicYear();
$student = $schoolEnrolment->getStudent();
$startDate = $schoolEnrolment->getStartDate();
$endDate = $schoolEnrolment->getEndDate();
$enrolmentMode = $schoolEnrolment->getEnrolmentMode();
$unenrolmentReason = $schoolEnrolment->getUnenrolmentReason();
$enrolmentNotes = $schoolEnrolment->getEnrolmentNotes();

 

Related Resources