Resource Description for StudentSchool

Properties for StudentSchool

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
arrivalDate DateTime
attendanceMode string
enrolmentMode EnrolmentMode
leavingDate DateTime
school School
student Student
unenrolmentReason UnenrolmentReason

SDK Example for PHP

<?PHP

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

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

$studentSchool = StudentSchool::retrieve(5433);

$student = $studentSchool->getStudent();
$school = $studentSchool->getSchool();
$arrivalDate = $studentSchool->getArrivalDate();
$leavingDate = $studentSchool->getLeavingDate();
$unenrolmentReason = $studentSchool->getUnenrolmentReason();
$enrolmentMode = $studentSchool->getEnrolmentMode();
$attendanceMode = $studentSchool->getAttendanceMode();

 

Related Resources