Resource Description for SessionStreamEnrolment

Properties for SessionStreamEnrolment

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
endDate DateTime
enrolmentDependency mixed
enrolmentStatus string
sessionStream SessionStream
sessionStreamAutomaticEnrolment SessionStreamAutomaticEnrolment
startDate DateTime
student Student

SDK Example for PHP

<?PHP

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

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

$sessionStreamEnrolment = SessionStreamEnrolment::retrieve(5433);

$sessionStream = $sessionStreamEnrolment->getSessionStream();
$student = $sessionStreamEnrolment->getStudent();
$startDate = $sessionStreamEnrolment->getStartDate();
$endDate = $sessionStreamEnrolment->getEndDate();
$enrolmentStatus = $sessionStreamEnrolment->getEnrolmentStatus();
$sessionStreamAutomaticEnrolment = $sessionStreamEnrolment->getSessionStreamAutomaticEnrolment();
$enrolmentDependency = $sessionStreamEnrolment->getEnrolmentDependency();

 

Related Resources