ClientRepositoryMassCreate Method

Relativity Services API

Note: This API is now obsolete.

Creates RDO instances for each ArtifactRequest in artifacts based on the Field values provided by a 'template' ArtifactRequest.

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 WriteResultSet<Client> MassCreate(
	Client templateArtifact,
	List<Client> artifacts
)

Parameters

templateArtifact
Type: kCura.Relativity.Client.DTOsClient
An Artifact with a set of fields providing default values.
artifacts
Type: System.Collections.GenericListClient
A list of Artifacts to be created. An RDO will be created for each Artifact in the list.

Return Value

Type: WriteResultSetClient
A WriteResultSet indicating the status of the MassCreate operation.

Implements

IGenericRepositoryTMassCreate(T, ListT)
Remarks

The template provides the default values. Any field values provided in an ArtifactRequest will override the defaults provided by the template ArtifactRequest.

Only the Fields defined in the template will be populated in the created RDO instances. Any Field defined in an Artifact which is not also in the template will be ignored. All RDO instances must be of the same ArtifactType.

See Also

Reference