Resource Description for TeachingAssistantAllocation

Properties for TeachingAssistantAllocation

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
allocatedTo AcademicLevel RegistrationForm Student Room
dayOfCycle int
effectiveDate DateTime
endDate DateTime
endTime DateTime
staff Staff
startTime DateTime

SDK Example for PHP

<?PHP

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

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

$teachingAssistantAllocation = TeachingAssistantAllocation::retrieve(5433);

$staff = $teachingAssistantAllocation->getStaff();
$dayOfCycle = $teachingAssistantAllocation->getDayOfCycle();
$startTime = $teachingAssistantAllocation->getStartTime();
$endTime = $teachingAssistantAllocation->getEndTime();
$effectiveDate = $teachingAssistantAllocation->getEffectiveDate();
$endDate = $teachingAssistantAllocation->getEndDate();
$allocatedTo = $teachingAssistantAllocation->getAllocatedTo();

 

Related Resources