Client SDKs

Supported Clients

Documaster supports clients for both Java and C#/.NET.

C#/.NET client library is accessible through NuGet, while the Java client library is available in Maven Central.

Setting up

Since both the clients are available in public repositories, setting up a integration component that uses those libraries is straightforward.

Java

Setting up a Java project using the Documaster Java Client requires adding a dependency to your project as described below. Authentication against the APIs can be done using the IDP client library. It can be used to acquire an access token, in case such is not available through another authentication means.

<dependency>
  <groupId>com.documaster.rms</groupId>
  <artifactId>documaster-ws-client-n5</artifactId>
  <version>{n5-client-version}</version>
</dependency>

<!-- Optionally add the IDP client library -->
<!-- Required in case access token is not provided externally by another system -->
<dependency>
    <groupId>com.documaster.idp</groupId>
    <artifactId>documaster-ws-client-idp</artifactId>
    <version>{idp-client-version}</version>
</dependency>

implementation "com.documaster.rms:documaster-ws-client-n5:$documasterNoark5ClientVer"
implementation "com.documaster.idp:documaster-ws-client-idp:$documasterIDPClientVer"

C#/.NET

Using the Documaster client library for .NET/C# is as easy as adding the required NuGet packages.

dotnet add package Documaster.WebApi.Client.IDP
dotnet add package Documaster.WebApi.Client.Noark5

For details on authentication against the API and setting up the requried objects, please refer to Authentication and Authoization Page

Authentication and Authorization