Resource Description for PermanentExclusion

Properties for PermanentExclusion

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
decisionDatetime DateTime
exclusionReason ExclusionReason
fromDate DateTime
narrative string
notifiedGuardiansDatetime DateTime
notifiedStudentDatetime DateTime
student Student

SDK Example for PHP

<?PHP

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

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

$permanentExclusion = PermanentExclusion::retrieve(5433);

$student = $permanentExclusion->getStudent();
$exclusionReason = $permanentExclusion->getExclusionReason();
$fromDate = $permanentExclusion->getFromDate();
$decisionDatetime = $permanentExclusion->getDecisionDatetime();
$notifiedStudentDatetime = $permanentExclusion->getNotifiedStudentDatetime();
$notifiedGuardiansDatetime = $permanentExclusion->getNotifiedGuardiansDatetime();
$narrative = $permanentExclusion->getNarrative();

 

Related Resources