Resource Description for PointAwardTotal

Properties for PointAwardTotal

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
periodEndDate DateTime
periodStartDate DateTime
periodType string
pointAwardScale PointAwardScale
student Student
totalPoints float

SDK Example for PHP

<?PHP

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

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

$pointAwardTotal = PointAwardTotal::retrieve(5433);

$student = $pointAwardTotal->getStudent();
$pointAwardScale = $pointAwardTotal->getPointAwardScale();
$periodType = $pointAwardTotal->getPeriodType();
$periodStartDate = $pointAwardTotal->getPeriodStartDate();
$periodEndDate = $pointAwardTotal->getPeriodEndDate();
$totalPoints = $pointAwardTotal->getTotalPoints();

 

Related Resources