Resource Description for SmsMessageDraft

Properties for SmsMessageDraft

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
combineMessagesToSameHousehold bool
combineMessagesToSameRecipient bool
customReport CustomReport
messageText string
recipientsResolvedDatetime DateTime
sendingCompletedDatetime DateTime
sendingProfile SendingProfile
sendingStartedDatetime DateTime

SDK Example for PHP

<?PHP

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

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

$smsMessageDraft = SmsMessageDraft::retrieve(5433);

$sendingProfile = $smsMessageDraft->getSendingProfile();
$messageText = $smsMessageDraft->getMessageText();
$removeDuplicateMessages = $smsMessageDraft->getRemoveDuplicateMessages();
$sendingStartedDatetime = $smsMessageDraft->getSendingStartedDatetime();
$recipientsResolvedDatetime = $smsMessageDraft->getRecipientsResolvedDatetime();
$duplicatesRemovedDatetime = $smsMessageDraft->getDuplicatesRemovedDatetime();
$sendingCompletedDatetime = $smsMessageDraft->getSendingCompletedDatetime();
$createdOperation = $smsMessageDraft->getCreatedOperation();

 

Related Resources