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

IDocumentService

public interface IDocumentService
Represents the document service.
void Delete(int workspaceId, int entityId)

Deletes the workspace entity by the specified IDs of workspace and entity.

Document Get(int workspaceId, string entityName)

Gets the document by the entity name.

Document[] GetAll(int workspaceId)

Gets the documents by the specified workspace ID.

void ImportGeneratedDocuments(int workspaceId, int numberOfDocuments = 10)

Creates and import basic document metadata to import to the given workspace.

void ImportImages(int workspaceId, DataTable dataTable, ImageImportOptions options = null)

Import image documents from data table object.

void ImportImagesFromCsv(int workspaceId, string pathToFile, ImageImportOptions options = null)

Import image documents from comma-separated values file.

void ImportNatives(int workspaceId, DataTable dataTable, NativeImportOptions options = null)

Import native documents from data table object.

void ImportNativesFromCsv(int workspaceId, string pathToFile, NativeImportOptions options = null)

Import native documents from comma-separated values file.

void ImportProducedImages(int workspaceId, int productionId, DataTable dataTable, ImageImportOptions options = null)

Import produced image documents from data table object.

void ImportProducedImagesFromCsv(int workspaceId, int productionId, string pathToFile, ImageImportOptions options = null)

Import produced image documents from comma-separated values file.

void ImportSingleImage(int workspaceId, string pathToFile)

Import single image document by specified path.

void ImportSingleNative(int workspaceId, string pathToFile)

Import single native document by specified path.

void ImportSingleProducedImage(int workspaceId, int productionId, string pathToFile)

Import single produced image document by specified path.