Resource Description for SiteOperatingPeriod

Properties for SiteOperatingPeriod

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
dayOfCycle int
effectiveDate DateTime
endDate DateTime
endTime DateTime
site Site
startTime DateTime

SDK Example for PHP

<?PHP

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

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

$siteOperatingPeriod = SiteOperatingPeriod::retrieve(5433);

$site = $siteOperatingPeriod->getSite();
$effectiveDate = $siteOperatingPeriod->getEffectiveDate();
$endDate = $siteOperatingPeriod->getEndDate();
$dayOfCycle = $siteOperatingPeriod->getDayOfCycle();
$startTime = $siteOperatingPeriod->getStartTime();
$endTime = $siteOperatingPeriod->getEndTime();

 

Related Resources

See also: Site