Resource Description for CoverArrangement

Properties for CoverArrangement

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
agreedDatetime DateTime
coverEndDatetime DateTime
coverRequirement CoverRequirement
coverStartDatetime DateTime
coveringStaff Staff
notAgreedDatetime DateTime

SDK Example for PHP

<?PHP

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

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

$coverArrangement = CoverArrangement::retrieve(5433);

$coverRequirement = $coverArrangement->getCoverRequirement();
$coveringStaff = $coverArrangement->getCoveringStaff();
$coverStartDatetime = $coverArrangement->getCoverStartDatetime();
$coverEndDatetime = $coverArrangement->getCoverEndDatetime();
$agreedDatetime = $coverArrangement->getAgreedDatetime();
$notAgreedDatetime = $coverArrangement->getNotAgreedDatetime();

 

Related Resources

See also: CoverRequirement, Staff