Creates a new instance of the ImportAPI class.
Uses the supplied bearer token to authenticate both WebAPI and REST API endpoints.
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. - bearerToken
- Type: String
The bearer token used to authenticate both WebAPI and REST API endpoints.
Return Value
Type: ImportAPIThe ImportAPI instance.
Exceptions
Exception | Condition |
---|---|
InvalidLoginException | Thrown when bearer token authentication failure occurs. |
RelativityNotSupportedException | The exception thrown when this API version isn't supported with the specified Relativity instance. |
See Also