Skip to main content
Skip table of contents

Notificaties

Inleiding

Via deze service is het mogelijk om e-mail notificaties te sturen vanuit het domein van de Vlaamse Overheid. Om deze service te kunnen aanspreken, is een onboarding nodig.

Setup

Onboardingsprocedure

Neem contact op met de Vlaamse overheid om de onboardingsprocedure op te starten.

Maven dependency toevoegen

Voeg onderstaande maven dependency toe in je pom.xml. Dit zorgt ervoor dat de connector code binnengehaald en meegenomen wordt in de build van je applicatie.

CODE
<dependency>
   <groupId>com.skryv.connectors</groupId>
   <artifactId>notification</artifactId>
   <version>${skryv.version}</version>
</dependency>

Applicatie eigenschappen

Voeg onderstaande applicatie eigenschappen toe.

Eigenschap

Default

Beschrijving

NotificationBusinessConnector

skryv.connectors.notification.service-url

http://localhost:1080

Notification service URL

NotificationCamundaConnector

skryv.connectors.notification.afzender-organisatie-code

null

Sender organisation code

NotificationTokenFetcher

skryv.connectors.geosecure.notification.scope

dv_notificaties_import

GeoSecure OAuth scope.

skryv.connectors.geosecure.notification.request-path

https://authenticatie-ti.vlaanderen.be/op/v1/token

GeoSecure token request path

skryv.connectors.geosecure.notification.app-number

-

GeoSecure app number

skryv.connectors.geosecure.notification.keypath

-

GeoSecure keypath

skryv.connectors.geosecure.notification.aws.seed.enabled

false

Enable AWS seed for GeoSecure

skryv.connectors.geosecure.notification.aws.keypath

-

AWS keypath for GeoSecure

Services en functies

sendNotification

Uitsturen van een notificatie.

Voorbeeld workflow expressie

${notificationService.sendNotification(Map<String,String> bestemmelingen, String categorieCode, boolean gelezen, String dossierId, ZonedDateTime expirationDate, List<String> kanalen, String productId, String merkCode, Map<String, String> sleutelWaardeParen)}

Input

Parameter

Data type

Voorbeeld

Uitleg

bestemmelingen

Map<String,String>

-

-

categorieCode

String

-

-

gelezen

Boolean

-

-

dossierId

String

-

-

expirationDate

ZonedDateTime

-

-

kanalen

List<String>

-

-

productId

String

-

-

merkCode

String

-

-

sleutelWaardeParen

Map<String,String>

-

-

Output

Je krijgt een object NotificationResponse terug.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.