RSAPIClient Class

Relativity Services API
Exposes the available Services API functionality.
Inheritance Hierarchy

System.Object
  kCura.Relativity.Client.RSAPIClient

Namespace:  kCura.Relativity.Client
Assembly:  kCura.Relativity.Client (in kCura.Relativity.Client.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

public sealed class RSAPIClient : IRSAPIClient, 
	IProcessMonitorable, IDisposable

The RSAPIClient type exposes the following members.

Constructors

  NameDescription
Public methodRSAPIClient(Uri, AuthenticationType)
Instantiate the RSAPIClient, specifying the Services API location and authentication type.
Public methodRSAPIClient(Uri, AuthenticationType, RSAPIClientSettings)
Instantiate the RSAPIClient, specifying the Services API location, authentication type, and settings.
Top
Properties

  NameDescription
Public propertyAPIOptions
Provides an instance of APIOptions associated with the current RSAPIClient instance.
Public propertyAuthType
Used to provide the type of Authentication and set credentials when required by the type.
Public propertyEndpointUri
The location of the Services API.
Public propertyRepositories
Used to access the group of repositories.
Top
Methods

  NameDescription
Public methodClear
Clears the value of a file field in Relativity.
Public methodConvertToScriptInputList
Outputs a list of RelativityScriptInput objects for use with the ExecuteRelativityScript method.
Public methodCreate
Creates the specified ArtifactRequests.
Public methodCreateBatchesForBatchSetAsync(APIOptions, Int32)
Asynchronously creates batches for a given batchset. This method monitors the process by default.
Public methodCreateBatchesForBatchSetAsync(APIOptions, Int32, Boolean)
Asynchronously creates batches for a given batchset.
Public methodDelete
Deletes the specified ArtifactRequests.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodDownload(FileRequest)
Download the contents of a Relativity file field as a Stream object.
Public methodDownload(FileRequest, String)
Download the contents of a Relativity file field to disk.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteBatch
Executes Create, Update, Delete, MassEdit and/or MassCreate Commands within a database transaction.
Public methodExecuteRelativityScript
Executes a Relativity Script configured in a workspace by the Relativity Administrator.
Public methodExportApplication
Exports an application.
Public methodFlagProcessForCancellationAsync
Cancels a running process.
Public methodGenerateRelativityAuthenticationToken
Generate Relativity Authorization Token from Session Token
Public methodGetAuthenticationToken Obsolete.
This method is obsolete. Do not use.
Public methodGetFileFieldDownloadURL
Get a URL to download the file contained in a file field.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLicense
Gets serialized license object.
Public methodGetProcessState
Returns information on the state of an active long-running process within the system.
Public methodGetRelativityScriptInputs
Gets a list of inputs required for a script configured in a workspace by a Relativity Administrator.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInstallApplication
Installs an Application.
Public methodInstallLibraryApplication
Imports a Application to the Application Library.
Public methodLogin
Returns a string used to identify the current session, and establishes a session with the Services API.
Public methodLoginWithCredentials
Returns a string used to identify the current session, and establishes a session with the Services API.
Public methodLogout
Terminates the session with the Relativity.Services API
Public methodMassCreate
Creates new custom objects in bulk using Field values provided by a template Artifact.
Public methodMassCreateWithAPIParameters
MassCreate will create RDO instances based upon the Field values provided by a 'template' ArtifactRequest. The template provides the default values. An RDO instance will be created for each ArtifactRequest in the ArtifactRequests list. Any field values provided in an ArtifactRequest will override the defaults provided by the template ArtifactRequest.
Public methodMassCreateWithDetails
Creates new custom objects in bulk using Field values provided by a template Artifact. The results contain the IDs for the created artifacts.
Public methodMassDelete
Deletes all artifacts of the type specified in the MassDeleteOptions whose identifier matches items specified in the artifact identifiers list.
Public methodMassDeleteAllDocuments
Deletes all documents in a workspace.
Public methodMassDeleteAllObjects
Deletes all artifacts of the type specified.
Public methodMassDeleteDocuments
Deletes all artifacts of the type specified in the MassDeleteOptions whose identifier matches items specified in the artifact identifiers list.
Public methodMassEdit
Updates Documents with Field values from a template.
Public methodMonitorProcessState
Registers the current proxy to monitor and raise status events for a running process.
Public methodPurgeBatchesOfBatchSetAsync(APIOptions, Int32)
Asynchronously purges batches associated with a given batchset.
Public methodPurgeBatchesOfBatchSetAsync(APIOptions, Int32, Boolean)
Asynchronously purges batches associated with a given batchset.
Public methodPushResourceFiles
Creates or Updates a Resource File.
Public methodQuery
Queries Relativity to find Artifacts matching the selection criteria.
Public methodQuerySubset
Fetches search results not returned in the first call to Query.
Public methodRead
Searches for the objects specified in the ArtifactRequest list and reads them.
Public methodTokenLogin
Logs on using a token.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Updates the specified ArtifactRequest objects.
Public methodUpload
Populates the contents of a file field in Relativity.
Public methodValidateEndpoint
Tries to create a channel with the EndpointUri.
Top
Events

  NameDescription
Public eventCancel
Occurs when the cancellation of an upload or download operation succeeds.
Public eventDownloadComplete
Occurs when a download operation succeeds.
Public eventFailure
Occurs when a download or upload file transfer encounters an error.
Public eventProcessCancelled
Occurs when a running process is cancelled.
Public eventProcessComplete
Occurs when a running process has completed.
Public eventProcessCompleteWithError
Occurs when a running process has completed.
Public eventProcessFailure
Occurs when a running process has failed during execution.
Public eventProcessProgress
Occurs when there is a notable change in the progress of a running process.
Public eventProgress
Occurs when the percentage completed for an upload or download operation changes.
Public eventRSAPIClientServiceOperationFailed
The ServiceOperationFailed event is raised when an error occurs attempting to perform an operation.
Public eventUploadComplete
Occurs when an upload operation succeeds.
Top
See Also

Reference