Skip to content
SvarUt Rest klient for SvarUt forsendelse rest service
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dependabot
svarut-rest-klient
.gitignore
Jenkinsfile
LICENSE
README.md
pom.xml

README.md

SvarUt-rest-klient Maven Central

Klient bibliotek mot SvarUt ForsendelseRestService.

Getting Started

Legg til maven dependency.

Prerequisites

  • Java 1.8 or higher
Maven

Add dependency no.ks.fiks.svarut:svarut-rest-klient in your POM.

<dependencies>
   <dependency>
        <groupId>no.ks.fiks.svarut</groupId>
        <artifactId>svarut-rest-klient</artifactId>
        <version>1.0.0-SNAPSHOT</version>
   </dependency>
</dependencies>

Usage

Forsendelse forsendelse = //construct;
HashMap<String, InputStream> filer = //construct;
SvarUtKlientApi klient = new SvarUtKlientApiImpl("http://test.svarut.ks.no", avsender, servicePassord);
ForsendelseId id = klient.sendForsendelse(forsendelse, filer);

Dokumentasjon på service:

You can’t perform that action at this time.