Resource Description for Room

Properties for Room

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
invigilationCapacity int
isInvigilationRoom bool
roomName string
shortName string
site Site
studentCapacity int

SDK Example for PHP

<?PHP

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

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

$room = Room::retrieve(5433);

$site = $room->getSite();
$roomName = $room->getRoomName();
$shortName = $room->getShortName();
$studentCapacity = $room->getStudentCapacity();

 

Related Resources

See also: Site