Fetch the results of a job
get/sessions/{sessionId}/jobs/{jobId}/results
Retrieves the results of a job as a collection. The results might be ODS output or other output. Standard paging options are available.
1{2 "links": [3 {4 "method": "GET",5 "rel": "self",6 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/jobs/0/results?start=0&limit=2",7 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/jobs/0/results?start=0&limit=2",8 "type": "application/vnd.sas.collection",9 "itemType": "application/vnd.sas.compute.result"10 },11 {12 "method": "GET",13 "rel": "collection",14 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/jobs/0/results",15 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/jobs/0/results",16 "type": "application/vnd.sas.collection",17 "itemType": "application/vnd.sas.compute.result"18 }19 ],20 "name": "Results",21 "accept": "application/vnd.sas.compute.result",22 "start": 0,23 "count": 2,24 "items": [25 {26 "links": [27 {28 "method": "GET",29 "rel": "self",30 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/results/d23e6437/sashtml.htm",31 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/results/d23e6437/sashtml.htm",32 "type": "*/*"33 }34 ],35 "id": "sashtml.htm",36 "name": "sashtml.htm",37 "type": "ODS",38 "version": 139 },40 {41 "links": [42 {43 "method": "GET",44 "rel": "self",45 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/WORK/TEST",46 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/WORK/TEST",47 "type": "application/vnd.sas.compute.data.table.summary"48 }49 ],50 "id": "TEST",51 "name": "TEST",52 "type": "TABLE",53 "version": 154 }55 ],56 "limit": 2,57 "version": 258}
Name | Type | Required | Description |
---|---|---|---|
jobId | string | true | Specifies the ID of the job whose results you want to retrieve. |
sessionId | string<object-id> | true | Specifies the ID of the session. |
Name | Type | Required | Description |
---|---|---|---|
filter | string<filter-criteria> | false | Specifies the filter criteria for returned items. |
limit | integer<int32> | false | Specifies the number of items requested. |
sortBy | string<sort-criteria> | false | Sorts returned items. |
start | integer<int64> | false | Specifies the offset of the first item in the collection. The first line is at start=0. |