Create an Adhoc Analysis Job

post/bots/adhocAnalysisJobs
Internal-Use Only

Create an Adhoc Analysis Job with the given content.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2021-11-16T15:58:44.325Z",
3 "createdBy": "sasuser",
4 "modifiedTimeStamp": "2021-11-16T15:58:44.873Z",
5 "modifiedBy": "sasuser",
6 "version": 1,
7 "id": "cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
8 "provider": "TABLE-BOT",
9 "name": "Adhoc analysis Samples (CAS)",
10 "description": "Analyze COSTCHANGE and RAND_RETAILDEMO",
11 "links": [
12 {
13 "method": "GET",
14 "rel": "self",
15 "href": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
16 "uri": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
17 "type": "application/vnd.sas.metadata.bot.adhoc"
18 },
19 {
20 "method": "GET",
21 "rel": "alternate",
22 "href": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
23 "uri": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
24 "type": "application/vnd.sas.metadata.bot.adhoc.summary"
25 },
26 {
27 "method": "DELETE",
28 "rel": "delete",
29 "href": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
30 "uri": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c"
31 },
32 {
33 "method": "GET",
34 "rel": "up",
35 "href": "/catalog/bots/adhocAnalysisJobs",
36 "uri": "/catalog/bots/adhocAnalysisJobs",
37 "type": "application/vnd.sas.collection",
38 "itemType": "application/vnd.sas.metadata.bot.adhoc.summary"
39 }
40 ]
41}

Header Parameters

NameTypeRequiredDescription
Accept
string
false

The desired representation for the response.

Allowed values:
application/vnd.sas.metadata.bot.adhoc.summary+jsonapplication/vnd.sas.metadata.bot.adhoc+jsonapplication/json

Request Body

Information about an Adhoc Analysis Job.

NameTypeRequiredDescription
name
string
true

the name of this job; the maximum length is 100.

description
string
false

The descriptive text for this job; the maximum length is 1000.

provider
string
true

The name of the job provider; the maximum length is 100. This is automatically prefixed with "CATALOG-" to determine the JES provider name.

resources
array [object]
true

An array of resources to analyze.

jobParameters
JobParameters
false

Additional parameters to be used during agent execution. jobParameters is a map of string values, keyed by string values, whose interpretation is left to the provider.

Responses

StatusMeaningDescription
201CreatedCreated. The requested Adhoc Analysis Job has been created.HeadersSchema
400Bad RequestBad request (the request is not well-formed).Schema
401UnauthorizedNot authenticated.Schema
403ForbiddenThe user does not have permission to complete this request.Schema
406Not AcceptableNot Acceptable. Include an Accept header with a supported value on the request.Schema
409ConflictA conflict has occurred.Schema
415Unsupported Media TypeUnsupported Media Type. Include a Content-Type header with a supported value in the request.Schema