Resource Description for StudentGuardianRelationship

Properties for StudentGuardianRelationship

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
accessNotes string
emergencyContactPriority string
guardian Guardian
guardianRelationshipType GuardianRelationshipType
guardianUserAuthorized bool
isAuthorizedToCollect bool
isLegalGuardian bool
isPrimaryGuardian bool
student Student
unsubscribedFromComms bool

SDK Example for PHP

<?PHP

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

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

$studentGuardianRelationship = StudentGuardianRelationship::retrieve(5433);

$student = $studentGuardianRelationship->getStudent();
$guardian = $studentGuardianRelationship->getGuardian();
$guardianRelationshipType = $studentGuardianRelationship->getGuardianRelationshipType();
$isLegalGuardian = $studentGuardianRelationship->getIsLegalGuardian();
$isPrimaryGuardian = $studentGuardianRelationship->getIsPrimaryGuardian();
$isAuthorizedToCollect = $studentGuardianRelationship->getIsAuthorizedToCollect();
$emergencyContactPriority = $studentGuardianRelationship->getEmergencyContactPriority();
$guardianUserAuthorized = $studentGuardianRelationship->getGuardianUserAuthorized();
$accessNotes = $studentGuardianRelationship->getAccessNotes();

 

Related Resources