Resource Description for Grade

Properties for Grade

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
active bool
dataOrder int
gradeCode string
gradeOrder int
gradeSet GradeSet
gradeValue float
longName string
lowerGradePointScaleValue float
shortName string
statisticalGradePointScaleValue float
upperGradePointScaleValue float
userDefinedGradeDescription string
userDefinedLongName string
userDefinedShortName string

SDK Example for PHP

<?PHP

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

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

$grade = Grade::retrieve(5433);

$code = $grade->getCode();
$active = $grade->getActive();
$dataOrder = $grade->getDataOrder();
$gradeSet = $grade->getGradeSet();
$gradeName = $grade->getGradeName();
$gradeValue = $grade->getGradeValue();
$gradeDescription = $grade->getGradeDescription();
$gradeLetter = $grade->getGradeLetter();
$lowerGradePointScaleValue = $grade->getLowerGradePointScaleValue();
$upperGradePointScaleValue = $grade->getUpperGradePointScaleValue();
$statisticalGradePointScaleValue = $grade->getStatisticalGradePointScaleValue();
$gradeOrder = $grade->getGradeOrder();

 

Related Resources

See also: GradeSet