Resource Description for AcademicProgrammeInstance

Properties for AcademicProgrammeInstance

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
academicProgramme AcademicProgramme
academicYear AcademicYear
instanceName string
topLevelAcademicUnits AcademicUnit

SDK Example for PHP

<?PHP

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

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

$academicProgrammeInstance = AcademicProgrammeInstance::retrieve(5433);

$academicProgramme = $academicProgrammeInstance->getAcademicProgramme();
$instanceName = $academicProgrammeInstance->getInstanceName();
$academicYear = $academicProgrammeInstance->getAcademicYear();
$topLevelAcademicUnits = $academicProgrammeInstance->getTopLevelAcademicUnits();

 

Related Resources