Resource Description for DataItemSubscription

Properties for DataItemSubscription

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
dataSetSubscription DataSetSubscription
doNotUpdate bool
entityType int
lastUpdatedDatetime DateTime
url string

SDK Example for PHP

<?PHP

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

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

$dataItemSubscription = DataItemSubscription::retrieve(5433);

$entityType = $dataItemSubscription->getEntityType();
$url = $dataItemSubscription->getUrl();
$lastUpdatedDatetime = $dataItemSubscription->getLastUpdatedDatetime();
$dataSetSubscription = $dataItemSubscription->getDataSetSubscription();
$doNotUpdate = $dataItemSubscription->getDoNotUpdate();

 

Related Resources