Resource Description for AcademicUnit

Properties for AcademicUnit

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
academicLevel AcademicLevel
academicProgrammeInstance AcademicProgrammeInstance
academicUnitCode string
academicUnitCohorts AcademicUnitCohort
academicUnitCurriculums AcademicUnitCurriculum
academicUnitName string
academicYear AcademicYear
attendanceRegisterType AttendanceRegisterType
copiedToAcademicUnit AcademicUnit
displayOrder int
effectiveDate DateTime
endDate DateTime
faculty Faculty
isMainAssessableUnit bool
longName string
longNameFormat string
maximumEnrolments int
parentAcademicUnit AcademicUnit
promotedDatetime DateTime
promotedToAcademicUnit AcademicUnit
registrationForm RegistrationForm
selfServiceEnrolment bool
shortName string
shortNameFormat string
subject Subject
targetEnrolments int
timetableSlots TimetableSlot
uniqueIdentifier string

SDK Example for PHP

<?PHP

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

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

$academicUnit = AcademicUnit::retrieve(5433);

$uniqueIdentifier = $academicUnit->getUniqueIdentifier();
$parentAcademicUnit = $academicUnit->getParentAcademicUnit();
$academicProgrammeInstance = $academicUnit->getAcademicProgrammeInstance();
$academicUnitName = $academicUnit->getAcademicUnitName();
$longName = $academicUnit->getLongName();
$longNameFormat = $academicUnit->getLongNameFormat();
$shortName = $academicUnit->getShortName();
$shortNameFormat = $academicUnit->getShortNameFormat();
$academicUnitCode = $academicUnit->getAcademicUnitCode();
$academicYear = $academicUnit->getAcademicYear();
$faculty = $academicUnit->getFaculty();
$selfServiceEnrolment = $academicUnit->getSelfServiceEnrolment();
$maximumEnrolments = $academicUnit->getMaximumEnrolments();
$targetEnrolments = $academicUnit->getTargetEnrolments();
$subject = $academicUnit->getSubject();
$academicLevel = $academicUnit->getAcademicLevel();
$registrationForm = $academicUnit->getRegistrationForm();
$displayOrder = $academicUnit->getDisplayOrder();
$academicUnitCohorts = $academicUnit->getAcademicUnitCohorts();
$sessionStreams = $academicUnit->getSessionStreams();
$academicUnitCurriculums = $academicUnit->getAcademicUnitCurriculums();
$timetableSlots = $academicUnit->getTimetableSlots();

 

Related Resources