Resource Description for EmailReference

Properties for EmailReference

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
email Email
referenceEmail Email
referenceIndex int
referenceType string
referencedMessageId string

SDK Example for PHP

<?PHP

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

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

$emailReference = EmailReference::retrieve(5433);

$email = $emailReference->getEmail();
$referenceType = $emailReference->getReferenceType();
$referencedMessageId = $emailReference->getReferencedMessageId();
$referenceEmail = $emailReference->getReferenceEmail();
$referenceIndex = $emailReference->getReferenceIndex();

 

Related Resources

See also: Email, Email