Resource Description for SmsMessagePart

Properties for SmsMessagePart

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
cost string
failedDatetime DateTime
partIdentifier string
receivedDatetime DateTime
recipientNetworkCode string
smsMessage SmsMessage

SDK Example for PHP

<?PHP

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

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

$smsMessagePart = SmsMessagePart::retrieve(5433);

$smsMessage = $smsMessagePart->getSmsMessage();
$partIdentifier = $smsMessagePart->getPartIdentifier();
$receivedDatetime = $smsMessagePart->getReceivedDatetime();
$failedDatetime = $smsMessagePart->getFailedDatetime();
$recipientNetworkCode = $smsMessagePart->getRecipientNetworkCode();
$cost = $smsMessagePart->getCost();

 

Related Resources

See also: SmsMessage