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

IBatchService

public interface IBatchService
Represents the batch API service.
void AssignToUser(int workspaceId, int batchId, int userId)

Assign a [Batch](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.Batch.html) to a user.

void Checkin(int workspaceId, int batchId, bool isCompleted)

Checks in the batch.

void Checkout(int workspaceId, int batchId, int userId)

Checks out the batch.

Batch Get(int workspaceId, int entityId)

Gets the batch by the specified ID.

Batch[] GetAll(int workspaceId)

Gets all batches.

Batch[] Query(int workspaceId, Expression<Func<Batch, object>> wherePropertySelector, object whereValue)

Query the [Batch](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.Batch.html) by specified condition.