Resource Description for PointAward

Properties for PointAward

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
awardedByStaff Staff
awardedDatetime DateTime
event mixed
location mixed
narrative string
pointAwardCategory PointAwardCategory
pointAwardScale PointAwardScale
points float
student Student

SDK Example for PHP

<?PHP

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

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

$pointAward = PointAward::retrieve(5433);

$pointAwardScale = $pointAward->getPointAwardScale();
$student = $pointAward->getStudent();
$session = $pointAward->getSession();
$point_award_category = $pointAward->getPoint_award_category();
$points = $pointAward->getPoints();
$awardedDatetime = $pointAward->getAwardedDatetime();
$narrative = $pointAward->getNarrative();

 

Related Resources