Resource Description for TemporaryExclusion

Properties for TemporaryExclusion

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
dailyEndTime DateTime
dailyStartTime DateTime
decisionDatetime DateTime
exclusionReason ExclusionReason
fromDatetime DateTime
narrative string
notifiedGuardiansDatetime DateTime
notifiedStudentDatetime DateTime
statisticalDaysExcluded float
student Student
untilDatetime DateTime

SDK Example for PHP

<?PHP

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

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

$temporaryExclusion = TemporaryExclusion::retrieve(5433);

$student = $temporaryExclusion->getStudent();
$exclusionReason = $temporaryExclusion->getExclusionReason();
$fromDatetime = $temporaryExclusion->getFromDatetime();
$untilDatetime = $temporaryExclusion->getUntilDatetime();
$dailyStartTime = $temporaryExclusion->getDailyStartTime();
$dailyEndTime = $temporaryExclusion->getDailyEndTime();
$decisionDatetime = $temporaryExclusion->getDecisionDatetime();
$notifiedStudentDatetime = $temporaryExclusion->getNotifiedStudentDatetime();
$notifiedGuardiansDatetime = $temporaryExclusion->getNotifiedGuardiansDatetime();
$statisticalDaysExcluded = $temporaryExclusion->getStatisticalDaysExcluded();
$narrative = $temporaryExclusion->getNarrative();

 

Related Resources