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 v2/jobs service. The POST method replaces the definition of the job with the given job ID.

Method

URL

POST

http://<host>:<port>/jasperserver[-pro]/rest_v2/jobs/<jobID>/

Content-Type

Content

application/xml

application/json

A well-formed XML or JSON 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.

Version: 
Feedback
randomness