Resource Description for CheckType

Properties for CheckType

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
active bool
checkName string
code string
dataOrder int
evidenceRequired bool
hasExpiryDate bool
hasReferenceNumber bool
isRequested bool
relatedEntityType string
requestFromAllStaff string
requestFromTeachingStaff string

SDK Example for PHP

<?PHP

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

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

$checkType = CheckType::retrieve(5433);

$code = $checkType->getCode();
$active = $checkType->getActive();
$dataOrder = $checkType->getDataOrder();
$checkName = $checkType->getCheckName();