Get the table job

get/jobs/{jobId}
Internal-Use Only

Get the specified job, which tracks asynchronous table creation or deletion processes.

Request Samples

1

Response Samples

1{
2 "id": "cas~fs~jes~fs~9bb8f3b2-4787-4955-bc24-6635cd7c2e96",
3 "name": "AIRLINES",
4 "label": "Airlines",
5 "providerId": "cas",
6 "type": "dataTable",
7 "state": "running",
8 "duration": 0.255,
9 "createdBy": "sasjoe",
10 "modifiedBy": "sasjoe",
11 "creationTimeStamp": "0001-01-01T00:00:00Z",
12 "modifiedTimeStamp": "0001-01-01T00:00:00Z",
13 "version": 2,
14 "links": [
15 {
16 "method": "GET",
17 "rel": "self",
18 "href": "/dataTables/jobs/cas~fs~jes~fs~9bb8f3b2-4787-4955-bc24-6635cd7c2e96",
19 "uri": "/dataTables/jobs/cas~fs~jes~fs~9bb8f3b2-4787-4955-bc24-6635cd7c2e96",
20 "type": "application/vnd.sas.data.table.job"
21 },
22 {
23 "method": "GET",
24 "rel": "alternate",
25 "href": "/jobExecution/jobs/9bb8f3b2-4787-4955-bc24-6635cd7c2e96",
26 "uri": "/jobExecution/jobs/9bb8f3b2-4787-4955-bc24-6635cd7c2e96",
27 "type": "application/vnd.sas.job.execution.job"
28 },
29 {
30 "method": "GET",
31 "rel": "state",
32 "href": "/dataTables/jobs/cas~fs~jes~fs~9bb8f3b2-4787-4955-bc24-6635cd7c2e96/state",
33 "uri": "/dataTables/jobs/cas~fs~jes~fs~9bb8f3b2-4787-4955-bc24-6635cd7c2e96/state",
34 "type": "text/plain"
35 },
36 {
37 "method": "GET",
38 "rel": "sourceTable",
39 "href": "/dataTables/dataSources/cas~fs~cas-shared-default~fs~MYCASLIB/tables/AIRLINES",
40 "uri": "/dataTables/dataSources/cas~fs~cas-shared-default~fs~MYCASLIB/tables/AIRLINES",
41 "type": "application/vnd.sas.data.table"
42 },
43 {
44 "method": "GET",
45 "rel": "targetTable",
46 "href": "/dataTables/dataSources/cas~fs~cas-shared-default~fs~MYCASLIB/tables/AIRLINES",
47 "uri": "/dataTables/dataSources/cas~fs~cas-shared-default~fs~MYCASLIB/tables/AIRLINES",
48 "type": "application/vnd.sas.data.table"
49 },
50 {
51 "method": "GET",
52 "rel": "log",
53 "href": "/files/files/103a512d-0caf-4df0-a35f-68908be0aea1",
54 "uri": "/files/files/103a512d-0caf-4df0-a35f-68908be0aea1"
55 }
56 ]
57}

Path Parameters

NameTypeRequiredDescription
jobId
string
true

the jobId

Query Parameters

NameTypeRequiredDescription
wait
number<float>
false

This service implements "long poll", how long to wait for the job to complete before returning anyway, in floating point seconds. The maximum is 30 seconds.

Default:
0

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema
404Not FoundNot found.Schema