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

IBatchSetService

public interface IBatchSetService
Represents the batch set API service.
BatchSet Create(int workspaceId, BatchSet entity)

Creates the specified batch set.

BatchSet Create(int workspaceId, BatchSet entity, UserCredentials userCredentials)

Creates the specified batch set.

BatchProcessResult CreateBatches(int workspaceId, int entityId)

Runs create batches operation for a specific [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html).

BatchProcessResult CreateBatches(int workspaceId, int entityId, UserCredentials userCredentials)

Runs create batches operation for a specific [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html).

void Delete(int workspaceId, int entityId)

Deletes the [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html) with the specified ID.

void Delete(int workspaceId, int entityId, UserCredentials userCredentials)

Deletes the [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html) with the specified ID.

bool Exists(int workspaceId, int entityId)

Determines whether the [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html) with the specified case artifact ID exists.

bool Exists(int workspaceId, int entityId, UserCredentials userCredentials)

Determines whether the [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html) with the specified case artifact ID exists.

BatchSet Get(int workspaceId, int entityId)

Gets the [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html) by the specified ID.

BatchSet Get(int workspaceId, int entityId, UserCredentials userCredentials)

Gets the [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html) by the specified ID.

BatchProcessResult PurgeBatches(int workspaceId, int entityId)

Runs purge batches operation for a specific [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html).

BatchProcessResult PurgeBatches(int workspaceId, int entityId, UserCredentials userCredentials)

Runs purge bathces operation for a specific [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html).

BatchSet Update(int workspaceId, BatchSet entity)

Updates the specified [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html).

BatchSet Update(int workspaceId, BatchSet entity, UserCredentials userCredentials)

Updates the specified [BatchSet](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.BatchSet.html).