Editing a Job Definition

To modify an existing job definition, use the GET method to read its job descriptor, modify the descriptor as required, and use the POST method of the job service. The POST method replaces the definition of the job with the given job ID.

Method

URL

POST

http://<host>:<port>/jasperserver[-pro]/rest/job/<jobID>/

Content-Type

Content

text/plain

A well-formed XML job descriptor.

Return Value on Success

Typical Return Values on Failure

200 OK

404 Not Found – When the specified job is not found in the server.

Feedback
randomness