Administrator
- Administrator
- All Products
POST <server URL>/disnext/api/v1/CodeTask/Start
Field
| Type
| Required / Optional
| Description
|
---|---|---|---|
codeTaskId
| String
| Required
| The
code task ID from the create resource.
|
Name
| Response Value
| Note
|
---|---|---|
CODE_TASK_JOB_ID
| jobId
| Used to cancel the
code task job, or to get job status, session logs, or Spark task status.
|
POST <server URL>/disnext/api/v1/CodeTask/Start Content-Type: application/json Accept: application/json IDS-SESSION-ID:{{IDS_SESSION_ID}} { "codeTaskId" : {{CODE_TASK_ID}} }
{ "summary": "Code Task started successfully", "jobId": "8zcuMdImeshidZ4XVExs20", "codeTaskInstanceName": "Demo-2", "sparkCodeTaskResponseBody": { "agentGroupId": "01000025000000000003", "clusterConfigId": "Default", "logLevel": "normal", "startRunTime": "2022-04-04T20:23:57.154+00:00", "submitTime": "2022-04-04T20:23:57.095+00:00" } }