Create an Adhoc Analysis Job
post/bots/adhocAnalysisJobs
Create an Adhoc Analysis Job with the given content.
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}
Name | Type | Required | Description |
---|---|---|---|
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 |
Information about an Adhoc Analysis Job.
Name | Type | Required | Description |
---|---|---|---|
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. |
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | Created. The requested Adhoc Analysis Job has been created. | Headers | Schema |
400 | Bad Request | Bad request (the request is not well-formed). | Schema | |
401 | Unauthorized | Not authenticated. | Schema | |
403 | Forbidden | The user does not have permission to complete this request. | Schema | |
406 | Not Acceptable | Not Acceptable. Include an Accept header with a supported value on the request. | Schema | |
409 | Conflict | A conflict has occurred. | Schema | |
415 | Unsupported Media Type | Unsupported Media Type. Include a Content-Type header with a supported value in the request. | Schema |