Resource Description for PersonIdentificationDocument

Properties for PersonIdentificationDocument

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
documentNumber string
documentType IdentificationDocumentType
expiryDate DateTime
issueDate DateTime
issuingCountry Country
nameOnDocument string
person mixed

SDK Example for PHP

<?PHP

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

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

$personIdentificationDocument = PersonIdentificationDocument::retrieve(5433);

$person = $personIdentificationDocument->getPerson();
$documentType = $personIdentificationDocument->getDocumentType();
$documentNumber = $personIdentificationDocument->getDocumentNumber();
$issueDate = $personIdentificationDocument->getIssueDate();
$expiryDate = $personIdentificationDocument->getExpiryDate();
$nameOnDocument = $personIdentificationDocument->getNameOnDocument();
$issuingCountry = $personIdentificationDocument->getIssuingCountry();
$file = $personIdentificationDocument->getFile();

 

Related Resources