Resource Description for SendingProfile

Properties for SendingProfile

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
emailAddress EmailAddress
mobileTelephoneNumber TelephoneNumber
owner mixed
permittedSender mixed

SDK Example for PHP

<?PHP

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

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

$sendingProfile = SendingProfile::retrieve(5433);

$owner = $sendingProfile->getOwner();
$emailAddress = $sendingProfile->getEmailAddress();
$mobileTelephoneNumber = $sendingProfile->getMobileTelephoneNumber();
$permittedSender = $sendingProfile->getPermittedSender();

 

Related Resources