Resource Description for BehaviouralContractPeriod

Properties for BehaviouralContractPeriod

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
behaviouralContract BehaviouralContract
behaviouralContractGoal BehaviouralContractGoal
comment string
goalAchieved bool
periodEndDatetime DateTime
periodStartDatetime DateTime
session Session
signedDatetime DateTime
signedPerson mixed

SDK Example for PHP

<?PHP

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

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

$behaviouralContractPeriod = BehaviouralContractPeriod::retrieve(5433);

$behaviouralContract = $behaviouralContractPeriod->getBehaviouralContract();
$behaviouralContractGoal = $behaviouralContractPeriod->getBehaviouralContractGoal();
$session = $behaviouralContractPeriod->getSession();
$goalAchieved = $behaviouralContractPeriod->getGoalAchieved();
$comment = $behaviouralContractPeriod->getComment();
$periodStartDatetime = $behaviouralContractPeriod->getPeriodStartDatetime();
$periodEndDatetime = $behaviouralContractPeriod->getPeriodEndDatetime();
$signedDatetime = $behaviouralContractPeriod->getSignedDatetime();
$signedPerson = $behaviouralContractPeriod->getSignedPerson();

 

Related Resources