Get the job with its status and links to results

get/jobs/{jobId}

Get the job with its status and links to results. This operation is specific to the case of asynchronous execution of a report action job. If the job has completed and is successful, the response object will have links to individual results.

Request Samples

1

Response Samples

1{
2 "id": "12345678-abcd-ef12-3456-12345678abab",
3 "state": "running",
4 "inputReport": "/reports/reports/12345678-abcd-ef12-3456-12345678abcd",
5 "reportObjects": [
6 "Bar Graph 1",
7 "Table of Frequencies"
8 ],
9 "resultFolder": "/folders/folders/01234567-0123-0123-0123-0123456789ab",
10 "resultFileName": "Status Report Final",
11 "nameConflict": "replace",
12 "resultMediaType": "application/pdf",
13 "creationTimeStamp": "2021-06-21T21:10:31.123Z",
14 "endTimeStamp": "2021-06-21T21:10:41.123Z",
15 "links": [
16 {
17 "rel": "self",
18 "method": "GET",
19 "type": "application/vnd.sas.visual.analytics.report.export.pdf.job",
20 "uri": "/visualAnalytics/jobs/12345678-1234-1234-1234-123456789abc",
21 "href": "/visualAnalytics/jobs/12345678-1234-1234-1234-123456789abc"
22 },
23 {
24 "rel": "result",
25 "method": "GET",
26 "type": "application/*",
27 "uri": "/files/files/12345678-1234-1234-1234-123456789abc/content",
28 "href": "/files/files/12345678-1234-1234-1234-123456789abc/content"
29 },
30 {
31 "rel": "delete",
32 "method": "DELETE",
33 "uri": "/visualAnalytics/jobs/12345678-1234-1234-1234-123456789abc",
34 "href": "/visualAnalytics/jobs/12345678-1234-1234-1234-123456789abc"
35 },
36 {
37 "rel": "deleteContent",
38 "method": "DELETE",
39 "uri": "/files/files/12345678-1234-1234-1234-123456789abc",
40 "href": "/files/files/12345678-1234-1234-1234-123456789abc"
41 }
42 ],
43 "version": 1
44}

Path Parameters

NameTypeRequiredDescription
jobId
string
true

The identifier of an existing job that might not be running.

Responses

StatusMeaningDescription
200OK

Success.

HeadersSchema
400Bad Request

There was an error in the request.

HeadersSchema
404Not Found

Job not found Error

Schema