Resource Description for HouseTutor

Properties for HouseTutor

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
endDate DateTime
house House
staff Staff
startDate DateTime

SDK Example for PHP

<?PHP

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

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

$houseTutor = HouseTutor::retrieve(5433);

$house = $houseTutor->getHouse();
$staff = $houseTutor->getStaff();
$startDate = $houseTutor->getStartDate();
$endDate = $houseTutor->getEndDate();

 

Related Resources

See also: House, Staff