Resource Description for Session

Properties for Session

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
academicUnit AcademicUnit
attendanceRegisterType AttendanceRegisterType
endDatetime DateTime
lessonPlan LessonPlan
location Room TripLocation
locationText string
sessionName string
startDatetime DateTime
timetableSlot TimetableSlot

SDK Example for PHP

<?PHP

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

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

$session = Session::retrieve(5433);

$startDatetime = $session->getStartDatetime();
$endDatetime = $session->getEndDatetime();
$locationText = $session->getLocationText();
$location = $session->getLocation();
$scheduledBy = $session->getScheduledBy();
$academicUnit = $session->getAcademicUnit();
$sessionName = $session->getSessionName();
$sessionStream = $session->getSessionStream();
$timetableSlot = $session->getTimetableSlot();
$attendanceRegisterType = $session->getAttendanceRegisterType();
$attendanceRegisterOpenedDatetime = $session->getAttendanceRegisterOpenedDatetime();
$attendanceRegisterClosedDatetime = $session->getAttendanceRegisterClosedDatetime();

 

Related Resources