Get Run Output Files

POST /api/v1/getrunfiles

Required Headers

Authorization: Bearer <token>

Body

Submit a single JSON encoded GetJobRunFileBody as the POST body.

Returns

HTTP 200 on success

HTTP 400 on malformed query (do not resubmit without fixes)

HTTP 401 on invalid/missing Authorization token (do not resubmit without updating Authorization)

HTTP 5XX on an error internal to DES.

On failure the response body will be a single JSON encoded ErrorResponse

On success the response body be a file stream of either a zip archive (if multiple files requested) or a raw stream of the individual output file.

Remarks

If requesting a zip archive of the files, each individual file will be named according to their JobRunFile.Name

Filenames are template specific and can be discovered using the response from queryjobs endpoint.