Resource Description for BusinessRoleAssignment

Properties for BusinessRoleAssignment

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
businessRole BusinessRole
endDate DateTime
person mixed
staffContractPost StaffContractPost
startDate DateTime

SDK Example for PHP

<?PHP

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

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

$businessRoleAssignment = BusinessRoleAssignment::retrieve(5433);

$businessRole = $businessRoleAssignment->getBusinessRole();
$staffContractPost = $businessRoleAssignment->getStaffContractPost();
$person = $businessRoleAssignment->getPerson();
$startDate = $businessRoleAssignment->getStartDate();
$endDate = $businessRoleAssignment->getEndDate();

 

Related Resources