Resource Description for LetterDraft

Properties for LetterDraft

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
body string
createdOperation Operation
duplicatesRemovedDatetime DateTime
recipientsResolvedDatetime DateTime
removeDuplicateMessages bool
sendingCompletedDatetime DateTime
sendingProfile SendingProfile
sendingStartedDatetime DateTime
summary string

SDK Example for PHP

<?PHP

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

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

$letterDraft = LetterDraft::retrieve(5433);

$sendingProfile = $letterDraft->getSendingProfile();
$summary = $letterDraft->getSummary();
$body = $letterDraft->getBody();
$removeDuplicateMessages = $letterDraft->getRemoveDuplicateMessages();
$sendingStartedDatetime = $letterDraft->getSendingStartedDatetime();
$recipientsResolvedDatetime = $letterDraft->getRecipientsResolvedDatetime();
$duplicatesRemovedDatetime = $letterDraft->getDuplicatesRemovedDatetime();
$sendingCompletedDatetime = $letterDraft->getSendingCompletedDatetime();
$createdOperation = $letterDraft->getCreatedOperation();

 

Related Resources