Scalr\Api\Service\User\V1beta0\Controller\CostCenters::fetchAction PHP Method

fetchAction() public method

Fetches detailed info about one project
public fetchAction ( string $ccId ) : Scalr\Api\DataType\ResultEnvelope
$ccId string Unique identifier of the Cost-Center
return Scalr\Api\DataType\ResultEnvelope
    public function fetchAction($ccId)
    {
        $this->checkPermissions(Acl::RESOURCE_ANALYTICS_ACCOUNT);
        return $this->result($this->adapter('costCenter')->toData($this->getCostCenter($ccId)));
    }