Resource Description for CommunicationAction

Properties for CommunicationAction

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
actionDatetime DateTime
actionTaken string
communication mixed
reply mixed

SDK Example for PHP

<?PHP

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

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

$communicationAction = CommunicationAction::retrieve(5433);

$communication = $communicationAction->getCommunication();
$actionTaken = $communicationAction->getActionTaken();
$reply = $communicationAction->getReply();
$actionDatetime = $communicationAction->getActionDatetime();