Resource Description for Case

Properties for Case

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
caseOwnerUser User
createdDatetime DateTime
daysTtl int
description string
endedDatetime DateTime
status string
workflowExecutionId int
workflowId int

SDK Example for PHP

<?PHP

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

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

$case = Case::retrieve(5433);

$caseOwnerUser = $case->getCaseOwnerUser();
$description = $case->getDescription();
$workflowExecutionId = $case->getWorkflowExecutionId();
$workflowId = $case->getWorkflowId();
$createdDatetime = $case->getCreatedDatetime();
$endedDatetime = $case->getEndedDatetime();
$status = $case->getStatus();
$daysTtl = $case->getDaysTtl();

 

Related Resources

See also: User