TIBCO Spotfire® Statistics Services URL API

JobStatus

Retrieves the job status.

Return value

The status of the specified job, or if no jobId is specified, retrieves the job ID and status for every job on the server.

Example

The following link returns the status for the specified job.

http://servername:8080/SplusServer/api/public/JobStatus/15

The returned status appears as follows:

<value>2</value>

The following link returns the status for all jobs on the server http://servername:8080/SplusServer/api/public/JobStatus . The returned status appears as follows:

 <jobs>
  <job id="0" status="2" /> 
  <job id="1" status="2" /> 
  <job id="2" status="2" /> 
  <job id="3" status="2" /> 
  <job id="4" status="2" /> 
  <job id="5" status="-2" /> 
  <job id="6" status="2" /> 
  <job id="7" status="-2" /> 
  <job id="8" status="2" /> 
  <job id="9" status="3" /> 
  <job id="10" status="2" /> 
  <job id="11" status="2" /> 
  <job id="12" status="2" /> 
  <job id="13" status="2" /> 
  <job id="14" status="-1" /> 
  <job id="15" status="3" /> 
  <job id="16" status="4" /> 
  <job id="17" status="2" /> 
  <job id="18" status="2" /> 
  <job id="19" status="2" /> 
...