Administrator
- Administrator
- All Products
POST /dbmi/public/api/v2/job/resume
Field | Type | Description |
|---|---|---|
jobId | integer | The ID of the job that you want to resume. |
parameters | Map<String, JSON> | Overrides schema drift options and controls how a job that is
in a Stopped, Aborted, or Failed state resumes. For an
incremental load job, resume options are:
Set the resume option based on what your source
supports:
If
you are resynchronizing a subtask for a database
ingestion and replication combined load job that has a
Db2 for i, Db2 for LUW Log-based CDC, Oracle,
PostgreSQL, SAP HANA, or SQL Server source, or an
application ingestion and replication combined load job
that has a NetSuite, Salesforce, or SAP Mass Ingestion
source, use RESYNC_RETAIN or RESYNC_REFRESH option
instead of the Resync option. |
{ "jobId": <jobId>, "parameters": { "resumeOptions":null} }
{ "jobId": <jobId>, "parameters": { "resumeOptions":{"schemaChangeOptions":[{"pattern":"*.*","action":"REPLICATE"}]}} }
{ "jobId": 15, "parameters": { "resumeOptions":{"schemaChangeOptions":[{"pattern":"*.*","action":"REPLICATE"}]}} }
{ "status": "Success", "code": 202, "message": "Job with org id 2HimcQ9cXW5kLUCOUkXGi8 and job name zendeskToSlfk-UserA-test_8 has been accepted to resume successfully." }
HTTP status code | Error code | Error message |
|---|---|---|
400 | CDIR_VALIDATION_MISSING_FIELD | Required parameter {field} is missing. |
400 | CDIR_VALIDATION_ INVALID_VALUE | Value for {field} is invalid. |
401 | CDIR_AUTH_UNAUTHORIZED | Authentication failed. Access token is missing or
expired. |
403 | CDIR_AUTHZ_FORBIDDEN | You do not have the required permissions for this
request. |
404 | CDIR_JOB_NOT_FOUND | Job {jobId} was not found. |
409 | CDIR_JOB_ALREADY_RUNNING | Job {jobId} is already running. |
409 | CDIR_JOB_NOT_DEPLOYED | Deploy the job {jobId} before performing this
operation. |
409 | CDIR_JOB_INVALID_STATE like deployed and completed | Job {jobId} cannot perform the requested action while in
state {state}. Verify the job's status before retrying. |
500 | CDIR_INTERNAL_ERROR | An unexpected internal error occurred with this job. |
503 | CDIR_SERVICE_UNAVAILABLE | Service is temporarily unavailable. |
{ "error": { "httpStatus": 409, "code": "CDIR_JOB_ALREADY_RUNNING", "message": "Job {138593} is already running.", "details": [ { "jobId": "138593" } ], "traceId": "381922d9-45ae-4669-a811-0c9ad363bae9" } }