src/Jaspersoft/Service/OrganizationService.php
public function updateOrganization(Organization $org)
	{
        $url = self::makeUrl($org->id);
        $data = json_encode($org);
        $this->service->prepAndSend($url, array(201, 200), 'PUT', $data, false, 'application/json', 'application/json');
    }
public function updateOrganization(Organization $org)
	{
        $url = self::makeUrl($org->id);
        $data = json_encode($org);
        $this->service->prepAndSend($url, array(201, 200), 'PUT', $data, false, 'application/json', 'application/json');
    }
public function updateOrganization ( Organization $ org ) { $ url = self :: makeUrl ( $ org -> id ) ; $ data = json_encode ( $ org ) ; $ this -> service -> prepAndSend ( $ url , array ( 201 , 200 ) , 'PUT' , $ data , false , 'application/json' , 'application/json' ) ; }
Update an organization

@param \Jaspersoft\Dto\Organization\Organization $org
Update an organization