Get a job request

get/jobRequests/{jobRequestId}
Internal-Use Only

Returns information about a single job request based on its unique ID.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2022-04-06T22:09:12.929Z",
3 "modifiedTimeStamp": "2022-04-06T22:09:12.929Z",
4 "createdBy": "sas.catalog",
5 "modifiedBy": "sas.catalog",
6 "version": 3,
7 "id": "fe697677-15a8-4d33-807c-6c34b743bb8b",
8 "name": "List Catalogs",
9 "jobDefinition": {
10 "creationTimeStamp": "0001-01-01T00:00:00.000Z",
11 "modifiedTimeStamp": "0001-01-01T00:00:00.000Z",
12 "version": 1,
13 "name": "List Catalogs",
14 "type": "Compute",
15 "parameters": [],
16 "code": "%macro web_list_catalogs(library);\n\t%let library=%upcase(&library);\n proc sql ;\n create table work.catalogs as select memname as Catalog, memtype as \n Type, engine as Engine from sashelp.vmember where \n libname=\"&library\" and memtype=\"CATALOG\";\n run;\n title \"Catalogs in &library\";\n\n proc print data=work.catalogs;\n run;\n%mend;\n\n%web_list_catalogs(SASHELP);\n",
17 "properties": []
18 },
19 "arguments": {
20 "_contextName": "SAS Job Execution compute context"
21 },
22 "properties": [],
23 "links": [
24 {
25 "method": "GET",
26 "rel": "self",
27 "href": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b",
28 "uri": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b",
29 "type": "application/vnd.sas.job.execution.job.request"
30 },
31 {
32 "method": "GET",
33 "rel": "alternate",
34 "href": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b",
35 "uri": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b",
36 "type": "application/vnd.sas.summary"
37 },
38 {
39 "method": "GET",
40 "rel": "export",
41 "href": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b",
42 "uri": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b",
43 "type": "application/vnd.sas.transfer.object"
44 },
45 {
46 "method": "DELETE",
47 "rel": "delete",
48 "href": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b",
49 "uri": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b"
50 },
51 {
52 "method": "PUT",
53 "rel": "update",
54 "href": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b",
55 "uri": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b",
56 "type": "application/vnd.sas.job.execution.job.request"
57 },
58 {
59 "method": "PUT",
60 "rel": "import",
61 "href": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b",
62 "uri": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b",
63 "type": "application/vnd.sas.transfer.object",
64 "responseType": "application/vnd.sas.summary"
65 },
66 {
67 "method": "GET",
68 "rel": "up",
69 "href": "/jobExecution/jobRequests",
70 "uri": "/jobExecution/jobRequests",
71 "type": "application/vnd.sas.collection",
72 "itemType": "application/vnd.sas.job.execution.job.request"
73 },
74 {
75 "method": "GET",
76 "rel": "jobs",
77 "href": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b/jobs",
78 "uri": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b/jobs",
79 "type": "application/vnd.sas.collection",
80 "itemType": "application/vnd.sas.job.execution.job"
81 },
82 {
83 "method": "POST",
84 "rel": "submitJob",
85 "href": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b/jobs",
86 "uri": "/jobExecution/jobRequests/fe697677-15a8-4d33-807c-6c34b743bb8b/jobs",
87 "responseType": "application/vnd.sas.job.execution.job"
88 }
89 ]
90}

Path Parameters

NameTypeRequiredDescription
jobRequestId
string
true

The ID of the job request.

Header Parameters

NameTypeRequiredDescription
Delegate-Domain
string
false

Name of a credential domain of type OAuth2.0. The credential secret is retrieved to impersonate a group-managed service account for the current request.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundNo job request exists at the requested path.Schema