Resource Description for CompanyStaff

Properties for CompanyStaff

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
company Company
person Person
position string

SDK Example for PHP

<?PHP

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

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

$companyStaff = CompanyStaff::retrieve(5433);

$company = $companyStaff->getCompany();
$person = $companyStaff->getPerson();
$position = $companyStaff->getPosition();

 

Related Resources

See also: Company, Person