Run a Job by ID

post

/taas/runJob/{jobID}

Runs the given job.

Request

Path Parameters
Back to Top

Response

Default Response

Sets the default response.
Back to Top

Examples

The following example shows how to run a job by its ID by submitting a POST request on the REST resource using cURL. For more information about cURL, see "Use cURL".

curl -X POST "hostname:port/taas/runJob/1" -H "accept: */*" -H "Content-Type: application/json"

Example of Response Body

If successful, the response code 200 is returned along with a header. For example:

{
"Status":"In-progress",
"Job-Execution-ID":"20"
}

If the request fails, the response includes the appropriate HTTP code. For a 4xx/5xx code, the message body also contains a ProblemDetails structure with the cause attribute set to the appropriate application error.

Back to Top