src/Jaspersoft/Service/JobService.php
public function pauseJob($jobsToStop = null)
    {
		$url = $this->service_url . '/jobs/pause';
        $body = json_encode(array("jobId" => (array) $jobsToStop));
		return $this->service->prepAndSend($url, array(200), 'POST', $body, false, 'application/json', 'application/json');
	}
public function pauseJob($jobsToStop = null)
    {
		$url = $this->service_url . '/jobs/pause';
        $body = json_encode(array("jobId" => (array) $jobsToStop));
		return $this->service->prepAndSend($url, array(200), 'POST', $body, false, 'application/json', 'application/json');
	}
public function pauseJob ( $ jobsToStop = null ) { $ url = $ this -> service_url . '/jobs/pause' ; $ body = json_encode ( array ( "jobId" => ( array ) $ jobsToStop ) ) ; return $ this -> service -> prepAndSend ( $ url , array ( 200 ) , 'POST' , $ body , false , 'application/json' , 'application/json' ) ; }
Pause a job, all jobs, or multiple jobs.

@param string|array|int|null $jobsToStop Setting this value to null implies 'all jobs'
@return boolean
Pause a job all jobs or multiple jobs .