Resource Description for StaffContractPost

Properties for StaffContractPost

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
acceptedDate DateTime
endDate DateTime
endReason StaffContractPostEndReason
expectedEndDate DateTime
expectedEndReason StaffContractPostEndReason
jobTitle string
offeredDate DateTime
position Position
postReference string
staffContract StaffContract
startDate DateTime
startReason StaffContractPostStartReason

SDK Example for PHP

<?PHP

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

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

$staffContractPost = StaffContractPost::retrieve(5433);

$staffContract = $staffContractPost->getStaffContract();
$position = $staffContractPost->getPosition();
$postReference = $staffContractPost->getPostReference();
$jobTitle = $staffContractPost->getJobTitle();
$offeredDate = $staffContractPost->getOfferedDate();
$acceptedDate = $staffContractPost->getAcceptedDate();
$startDate = $staffContractPost->getStartDate();
$startReason = $staffContractPost->getStartReason();
$expectedEndDate = $staffContractPost->getExpectedEndDate();
$expectedEndReason = $staffContractPost->getExpectedEndReason();
$endDate = $staffContractPost->getEndDate();
$endReason = $staffContractPost->getEndReason();

 

Related Resources