Resource Description for StudentLinkedRelationship

Properties for StudentLinkedRelationship

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
effectiveDate DateTime
endDate DateTime
linkedObject mixed
student Student
studentLinkedRelationshipType StudentLinkedRelationshipType

SDK Example for PHP

<?PHP

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

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

$studentLinkedRelationship = StudentLinkedRelationship::retrieve(5433);

$student = $studentLinkedRelationship->getStudent();
$linked = $studentLinkedRelationship->getLinked();
$studentLinkedRelationshipType = $studentLinkedRelationship->getStudentLinkedRelationshipType();
$effectiveDate = $studentLinkedRelationship->getEffectiveDate();
$endDate = $studentLinkedRelationship->getEndDate();

 

Related Resources