Resource Description for CalendarEntry

Properties for CalendarEntry

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
endDatetime DateTime
event mixed
location mixed
locationText string
notes string
rescheduledTo CalendarEntry
startDatetime DateTime
title string

SDK Example for PHP

<?PHP

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

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

$calendarEntry = CalendarEntry::retrieve(5433);

$startDatetime = $calendarEntry->getStartDatetime();
$endDatetime = $calendarEntry->getEndDatetime();
$title = $calendarEntry->getTitle();
$notes = $calendarEntry->getNotes();
$event = $calendarEntry->getEvent();
$locationText = $calendarEntry->getLocationText();
$location = $calendarEntry->getLocation();
$rescheduledTo = $calendarEntry->getRescheduledTo();

 

Related Resources

See also: CalendarEntry