Get specified job

get/jobs/{jobId}

Returns the asynchronous job.

Request Samples

1

Response Samples

1{
2 "id": "d145d576-78d0-42d4-a5fc-569cd0533903",
3 "version": 2,
4 "state": "running",
5 "durationMSec": 155,
6 "creationTimeStamp": "2017-11-17T18:46:59.774000Z",
7 "links": [
8 {
9 "method": "GET",
10 "rel": "self",
11 "href": "/reportImages/jobs/d145d576-78d0-42d4-a5fc-569cd0533903",
12 "uri": "/reportImages/jobs/d145d576-78d0-42d4-a5fc-569cd0533903",
13 "type": "application/vnd.sas.report.images.job+json"
14 },
15 {
16 "method": "GET",
17 "rel": "state",
18 "href": "/reportImages/jobs/d145d576-78d0-42d4-a5fc-569cd0533903/state",
19 "uri": "/reportImages/jobs/d145d576-78d0-42d4-a5fc-569cd0533903/state",
20 "type": "text/plain"
21 }
22 ],
23 "images": [
24 {
25 "sectionIndex": 0,
26 "sectionName": "vi6",
27 "sectionLabel": "Page 1",
28 "elementName": "ve41",
29 "modifiedTimeStamp": "2017-11-16T18:19:23.600000Z",
30 "visualType": "Table",
31 "size": "268x151",
32 "state": "completed",
33 "links": [
34 {
35 "method": "GET",
36 "rel": "image",
37 "href": "/reportImages/images/K738605462B1380786238.svg",
38 "uri": "/reportImages/images/K738605462B1380786238.svg",
39 "type": "image/svg+xml"
40 }
41 ]
42 },
43 {
44 "sectionIndex": 1,
45 "sectionName": "vi47",
46 "sectionLabel": "Page 2",
47 "elementName": "ve50",
48 "modifiedTimeStamp": "2017-11-12T14:05:13.450000Z",
49 "visualType": "pie",
50 "size": "268x151",
51 "state": "running",
52 "links": [
53 {
54 "method": "GET",
55 "rel": "staleImage",
56 "href": "/reportImages/images/K738605462B1234567890.svg",
57 "uri": "/reportImages/images/K738605462B1234567890.svg",
58 "type": "image/svg+xml"
59 }
60 ]
61 }
62 ]
63}

Path Parameters

NameTypeRequiredDescription
jobId
string
true

The jobId.

Query Parameters

NameTypeRequiredDescription
wait
number<float>
false

The number of seconds to wait for an update before returning from the "long poll". The maximum is 30 seconds.

Default:
0.5

Header Parameters

NameTypeRequiredDescription
If-None-Match
string
false

Optional eTag. On a match, 304 (not modified) is returned.

Responses

StatusMeaningDescription
200OK

The requested job, which might be in a terminal state. Terminal states are "completed" and "failed".

HeadersSchema
404Not Found

The job could not be found.

HeadersSchema
500Internal Server Error

An internal service error was returned by one of the services that this operation uses. The response object contains error text and codes to diagnose it.

HeadersSchema