Creates a new instance of the ImportAPI class.
Uses the bearer token for the current ClaimsPrincipal and should only
be used by processes hosted by the Relativity Service Account (IE Agent).
Namespace: kCura.Relativity.ImportAPI
Assembly: Relativity.DataExchange.Client.SDK (in Relativity.DataExchange.Client.SDK.dll) Version: 1.5.0
Syntax
Parameters
- webServiceUrl
- Type: String
The URL to the Relativity WebAPI instance.
Return Value
Type: ImportAPIThe ImportAPI instance.
Exceptions
Exception | Condition |
---|---|
CredentialsNotSupportedException | Thrown when integrated security is not supported when running within a service process. |
InvalidLoginException | Thrown when the current claims principal does not have an access token or an authentication failure occurs. |
RelativityNotSupportedException | The exception thrown when this API version isn't supported with the specified Relativity instance. |
See Also