Resource Description for Position

Properties for Position

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
endDate DateTime
expectedEndDate DateTime
expectedHoursPerWeek string
expectedWeeksPerYear float
fteHoursPerWeek DateTime
positionName string
positionReference string
startDate DateTime
supervisorPosition Position

SDK Example for PHP

<?PHP

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

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

$position = Position::retrieve(5433);

$startDate = $position->getStartDate();
$expectedEndDate = $position->getExpectedEndDate();
$endDate = $position->getEndDate();
$positionName = $position->getPositionName();
$positionReference = $position->getPositionReference();
$supervisorPosition = $position->getSupervisorPosition();
$expectedHoursPerWeek = $position->getExpectedHoursPerWeek();
$expectedWeeksPerYear = $position->getExpectedWeeksPerYear();
$fteHoursPerWeek = $position->getFteHoursPerWeek();

 

Related Resources

See also: Position