src/Jaspersoft/Service/JobService.php
public function getJobState($id)
    {
		$url = $this->service_url . '/jobs/' . $id . '/state';
		$data = $this->service->prepAndSend($url, array(200), 'GET', null, true, 'application/json', 'application/json');
		return JobState::createFromJSON(json_decode($data));
	}
public function getJobState($id)
    {
		$url = $this->service_url . '/jobs/' . $id . '/state';
		$data = $this->service->prepAndSend($url, array(200), 'GET', null, true, 'application/json', 'application/json');
		return JobState::createFromJSON(json_decode($data));
	}
public function getJobState ( $ id ) { $ url = $ this -> service_url . '/jobs/' . $ id . '/state' ; $ data = $ this -> service -> prepAndSend ( $ url , array ( 200 ) , 'GET' , null , true , 'application/json' , 'application/json' ) ; return JobState :: createFromJSON ( json_decode ( $ data ) ) ; }
Get the State of a Job

@param int|string $id
@return \Jaspersoft\Dto\Job\JobState
Get the State of a Job