Download the XML data of a job
get
/services/rest/v1/jobs/{jobInstanceID}/xmldata
Downloads the XML data of a job.
Request
Path Parameters
-
jobInstanceID(required): string
The instance id of history job
Response
Supported Media Types
- application/OCTET-STREAM
200 Response
Returns document stream.
Root Schema : schema
Examples
The following example shows how to download the XML data 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/1002/xmldata' -o testdata.xml
Example of the Response Body
* Connection #0 to host host.com left intact