Resource Description for Staff

Properties for Staff

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
bloodGroup string
ethnicity Ethnicity
legacySystemId string
person Person
religion Religion
staffNumber string
timetableAbbreviation string
zendeskUser string

SDK Example for PHP

<?PHP

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

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

$staff = Staff::retrieve(5433);

$person = $staff->getPerson();
$ethnicity = $staff->getEthnicity();
$religion = $staff->getReligion();
$bloodGroup = $staff->getBloodGroup();
$staffNumber = $staff->getStaffNumber();
$zendeskUser = $staff->getZendeskUser();

 

Related Resources

See also: Person, Ethnicity, Religion