ClientRepositoryReadSingle Method (Guid)

Relativity Services API

Note: This API is now obsolete.

Returns the Artifact matching the specified artifact GUID.

Namespace:  kCura.Relativity.Client.Repositories
Assembly:  kCura.Relativity.Client (in kCura.Relativity.Client.dll) Version: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax

[ObsoleteAttribute("Use IClientManager instead. See https://platform.relativity.com/RelativityOne/Content/What_s_new/RSAPI_deprecation_process.htm for more details.")]
public Client ReadSingle(
	Guid artifactGuid
)

Parameters

artifactGuid
Type: SystemGuid
The artifact GUID of the Artifact to read.

Return Value

Type: Client
Returns the Artifact requested with all Fields populated.

Implements

IGenericRepositoryTReadSingle(Guid)
Exceptions

ExceptionCondition
ExceptionAn exception is thrown if there is not exactly one Artifact with that artifact GUID found.
Remarks

Exceptions are thrown as an APIException with the Data object containing a ResultSet<T>.
See Also

Reference