Resource Description for SenEvent

Properties for SenEvent

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
endDatetime DateTime
location Room TripLocation
locationText string
senEventDescription string
senEventName string
senEventType SenEventType
startDatetime DateTime
student Student

SDK Example for PHP

<?PHP

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

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

$senEvent = SenEvent::retrieve(5433);

$student = $senEvent->getStudent();
$startDatetime = $senEvent->getStartDatetime();
$endDatetime = $senEvent->getEndDatetime();
$senEventType = $senEvent->getSenEventType();
$senEventName = $senEvent->getSenEventName();
$senEventDescription = $senEvent->getSenEventDescription();

 

Related Resources