Resource Description for Person

Properties for Person

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
countryOfBirth Country
dateOfBirth DateTime
dateOfDeath DateTime
deceased bool
gender Gender
legalFirstName string
legalLastName string
legalMiddleNames string
maritalStatus MaritalStatus
preferredFirstName string
preferredLastName string
title Title

SDK Example for PHP

<?PHP

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

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

$person = Person::retrieve(5433);

$gender = $person->getGender();
$title = $person->getTitle();
$legalFirstName = $person->getLegalFirstName();
$legalMiddleNames = $person->getLegalMiddleNames();
$legalLastName = $person->getLegalLastName();
$preferredFirstName = $person->getPreferredFirstName();
$preferredLastName = $person->getPreferredLastName();
$dateOfBirth = $person->getDateOfBirth();
$deceased = $person->getDeceased();
$dateOfDeath = $person->getDateOfDeath();

 

Related Resources