Resource Description for TelephoneNumber

Properties for TelephoneNumber

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
extensionNumber string
notes string
number string
numberOwner mixed
telephoneNumberRanking int
telephoneNumberType string

SDK Example for PHP

<?PHP

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

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

$telephoneNumber = TelephoneNumber::retrieve(5433);

$numberOwner = $telephoneNumber->getNumberOwner();
$telephoneNumberType = $telephoneNumber->getTelephoneNumberType();
$number = $telephoneNumber->getNumber();
$extension = $telephoneNumber->getExtension();
$notes = $telephoneNumber->getNotes();
$telephoneNumberRanking = $telephoneNumber->getTelephoneNumberRanking();