getJobDetails
Deprecated. see jobs. Returns the results of the specified job.
Return value
Returns the SPXML string containing the results of the requested job. See Output SPXML string for more information.
Remarks
When you send an asynchronous or scheduled evaluation to the server, the server immediately returns the results containing the jobId and status. Use this jobId to retrieve the job.
Note that the Function Service API, the Expression Service API, and the Administration Service API all contain getJobDetails functions that are identical. This design allows you to retrieve a job using only the API for that service.
An existing job can have a status of:
Deleted jobs are not considered existing jobs.Example
The following link retrieves job 24 from the server.
http://servername:8080/SplusServer/api/v8/function/getJobDetails?jobId=24
See jobs for an example of returned SPXML from such a call.