Resource Description for DashboardKpi

Properties for DashboardKpi

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
comparisonKpi Kpi
dashboardSection DashboardSection
displayOrder int
fallbackKpi Kpi
kpi Kpi

SDK Example for PHP

<?PHP

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

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

$dashboardKpi = DashboardKpi::retrieve(5433);

$dashboardSection = $dashboardKpi->getDashboardSection();
$kpi = $dashboardKpi->getKpi();
$fallbackKpi = $dashboardKpi->getFallbackKpi();
$comparisonKpi = $dashboardKpi->getComparisonKpi();
$displayOrder = $dashboardKpi->getDisplayOrder();

 

Related Resources

See also: DashboardSection, Kpi, Kpi, Kpi