Resource Description for SiteOperatingPeriodException

Properties for SiteOperatingPeriodException

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
endDate DateTime
site Site
startDate DateTime

SDK Example for PHP

<?PHP

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

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

$siteOperatingPeriodException = SiteOperatingPeriodException::retrieve(5433);

$site = $siteOperatingPeriodException->getSite();
$startDate = $siteOperatingPeriodException->getStartDate();
$endDate = $siteOperatingPeriodException->getEndDate();

 

Related Resources

See also: Site