src/Jaspersoft/Service/OrganizationService.php
public function getOrganization($id)
	{
		$url = self::makeUrl($id);
		$data = $this->service->prepAndSend($url, array(200, 204), 'GET', null, true, 'application/json', 'application/json');
		$org = json_decode($data);
		return @new Organization(
				$org->alias,
                $org->id,
                $org->parentId,
                $org->tenantName,
                $org->theme,
                $org->tenantDesc,
                $org->tenantFolderUri,
                $org->tenantNote,
                $org->tenantUri
			    );
	}
public function getOrganization($id)
	{
		$url = self::makeUrl($id);
		$data = $this->service->prepAndSend($url, array(200, 204), 'GET', null, true, 'application/json', 'application/json');
		$org = json_decode($data);
		return @new Organization(
				$org->alias,
                $org->id,
                $org->parentId,
                $org->tenantName,
                $org->theme,
                $org->tenantDesc,
                $org->tenantFolderUri,
                $org->tenantNote,
                $org->tenantUri
			    );
	}
public function getOrganization ( $ id ) { $ url = self :: makeUrl ( $ id ) ; $ data = $ this -> service -> prepAndSend ( $ url , array ( 200 , 204 ) , 'GET' , null , true , 'application/json' , 'application/json' ) ; $ org = json_decode ( $ data ) ; return @ new Organization ( $ org -> alias , $ org -> id , $ org -> parentId , $ org -> tenantName , $ org -> theme , $ org -> tenantDesc , $ org -> tenantFolderUri , $ org -> tenantNote , $ org -> tenantUri ) ; }
Get an organization by ID

@param int|string id The ID of the organization
@return \Jaspersoft\Dto\Organization\Organization
Get an organization by ID