Resource Description for BehaviouralContract

Properties for BehaviouralContract

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
behaviouralContractTitle string
contractEndDate DateTime
contractReviewDate DateTime
contractStartDate DateTime
narrative string
student Student

SDK Example for PHP

<?PHP

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

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

$behaviouralContract = BehaviouralContract::retrieve(5433);

$behaviouralContractTitle = $behaviouralContract->getBehaviouralContractTitle();
$student = $behaviouralContract->getStudent();
$narrative = $behaviouralContract->getNarrative();
$contractStartDate = $behaviouralContract->getContractStartDate();
$contractEndDate = $behaviouralContract->getContractEndDate();
$contractReviewDate = $behaviouralContract->getContractReviewDate();

 

Related Resources

See also: Student