REST client utils Nuclet – nuclet: rest client utils (not yet available). |
Language: Deutsch · English
Data sheet and documentation entry point for the REST client utils Nuclet (utilities for calling REST services from Nuclos rules).
On this page |
This page was machine-translated from German as a first draft and is currently under review. The authoritative source remains the German original (see the language switch above). |
| Version | Date | Notes | Compatibility |
|---|---|---|---|
| 1.0.0 | 20.01.2023 | First published version | from Nuclos 4.2022.25.1 |
This Nuclet supports the use of external REST services in rule code.
| Topic | Description |
|---|---|
| REST-Protokoll | The BO System > REST-Protokoll logs all requests generated by the Nuclet |
| Use in rules | The class RESTUtils provides several methods for this |
| Class RESTUtils | |
|---|---|
static RESTContext execute(RESTContext restContext) | Performs a request with the properties specified in restContext . |
| Example GLS shipping order (JSON) | |
RESTContext restContext = new RESTContext(); } catch (JsonProcessingException e) { } | |
Example VAT ID check (inline) | |
| RESTContext result = new RESTContext(); |
The integration after a successful Nuclet import (see Nuclet Import) is to be carried out as follows.
| Step | Description | Screenshot |
|---|---|---|
| 1 | Run the job once Initialisiere Nuclet REST-Client-Utils (under Administration > Job control) |