v7

latestSwagger 2.02026-07-13322074.5 KB
Jobs

Cancels an import job that is currently running. Service will stop any import operations triggered by the current import job that are in progress, and go to a cancelled state. Please note that this will leave your instance in an unknown state as there won't be any rollback operation. Status codes:

  • 200 Request Accepted
  • 400 Bad Request
    • ValidationFailed - The import job request is not valid.
post/jobs/imports/{id}/cancel

Path parameters

idstring required

The id for the import job. The id is unique within the service and case sensitive.

Query parameters

api-versionstring required

The requested API version.

Response

Success

idstring

The identifier of the import job.

inputBlobUristring required

The path to the input Azure storage blob that contains file(s) describing the operations to perform in the job.

outputBlobUristring required

The path to the output Azure storage blob that will contain the errors and progress logs of import job.

status'notstarted' | 'running' | 'failed' | 'succeeded' | 'cancelling' | 'cancelled'

Status of the job.

createdDateTimestring date-time

Start time of the job. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.

lastActionDateTimestring date-time

Last time service performed any action from the job. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.

finishedDateTimestring date-time

End time of the job. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.

purgeDateTimestring date-time

Time at which job will be purged by the service from the system. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.