Download output from a job history
get
/services/rest/v1/jobs/outputs/{JobOutputID}
Downloads the output from a job history.
Request
Path Parameters
-
JobOutputID(required): string
The ID of the job output you want to download from a job history.
Response
Supported Media Types
- application/OCTET-STREAM
200 Response
The ID of the job output you want to download from a job history.
Root Schema : schema
Examples
The following example shows how to download the output of a job to a file by submitting a GET request on the REST resource using cURL. You must specify the ID of the job and the filename.
curl \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--request GET 'https://hostname/xmlpserver/services/rest/v1/jobs/outputs/13870' -o test.pdf
Example of the Response Body
* Connection #0 to host host.com left intact