<PackageReference Include="Relativity.Server.Testing.Framework.Api.SDK" Version="10.3.0" />

IImagingJobService

public interface IImagingJobService
Represents the Imaging Job API service.
ImagingJobActionResponse Cancel(int workspaceId, long imagingJobId, ImagingJobRequest cancelImagingJobRequest = null)

Attempt to cancel imaging job.

long RetryErrors(int workspaceId, int imagingSetId, ImagingSetJobRequest retryErrorsRequest = null)

Retry imaging set errors.

long Run(int workspaceId, int imagingSetId, ImagingSetJobRequest imagingSetJobRequest = null)

Schedules an imaging job.

long SubmitMassDocument(int workspaceId, ImagingMassJobRequest imagingMassJobRequest)

Submit a mass image job.

long SubmitSingleDocument(int workspaceId, int documentArtifactId, SingleDocumentImagingJobRequest singleDocumentImagingJobRequest)

Submit a job to image an individual document.

ImagingJobActionResponse UpdatePriority(int workspaceId, long imagingJobId, ImagingJobPriorityRequest updateJobPriorityRequest)

Update the priority of an imaging job.

void WaitForTheJobToComplete(int workspaceId, int imagingSetId, double timeout = 2)

Waits for the job to be in 'Completed' or 'Completed with Errors' status.