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

IProductionService

public interface IProductionService
Represents the production API service.
Production Create(int workspaceId, Production entity)

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

void Delete(int workspaceId, int entityId)

Delete the [Production](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.Production.html) by the specified ArtifactID.

bool Exists(int workspaceId, int entityId)

Determines whether the production with the specified ArtifactID exists.

Production Get(int workspaceId, int entityId)

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

Production Get(int workspaceId, string entityName)

Gets the production by the specified name.

Production[] GetAll(int workspaceId)

Gets all [Production](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.Production.html)s.

ProductionStatus GetStatus(int workspaceId, int entityId)

Gets status of a specific [Production](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.Production.html).

void Run(int workspaceId, int entityId, int timeout = 120)

Runs a specific [Production](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.Production.html).

void Stage(int workspaceId, int entityId, int seconds = 60)

Stages a specific [Production](https://relativitydev.github.io/relativity.testing.framework/api/Relativity.Testing.Framework.Models.Production.html).