Creates a single Artifact of the supplied DTO type.
Namespace: kCura.Relativity.Client.Repositories
Assembly: kCura.Relativity.Client (in kCura.Relativity.Client.dll) Version: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax
Parameters
- artifact
- Type: T
The Artifact to be created.
Return Value
Type: Int32Returns the Artifact ID of the newly created artifact.
Implements
IGenericRepositoryTCreateSingle(T)Exceptions
Exception | Condition |
---|---|
Exception | An APIException is thrown on an error. The Data collection will contain a "Result" key containing the WriteResult<T> from the underlying Create operation. |
Remarks
See Also