Resource Description for CustomGroupMembership

Properties for CustomGroupMembership

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
customGroup CustomGroup
endDate DateTime
person mixed
startDate DateTime

SDK Example for PHP

<?PHP

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

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

$customGroupMembership = CustomGroupMembership::retrieve(5433);

$customGroup = $customGroupMembership->getCustomGroup();
$person = $customGroupMembership->getPerson();
$startDate = $customGroupMembership->getStartDate();
$endDate = $customGroupMembership->getEndDate();

 

Related Resources

See also: CustomGroup