The Webservice Response Handlers are executed when data is sent to an external webservice.See: Send data to an external web service
This allows the response and the associated data to be processed and forwarded to various other locations. The data in the first parameter is an object that contains the following keys:
status_code
: The HTTP status code from the called interfaceresponse
: The response from the interfacedata
: The evaluation data that was sent to the interface.{
"status_code": 200,
"response": "transfer successful",
"data": [
{
"Probe": "P01",
"Bezeichnung": "Glutprobe 1"
},
{
"Probe": "P02",
"Bezeichnung": "Glutprobe 2"
}
]
}
Example for a JavaScript Handler:
function transform (data) {
axios.post('https://USER:PASSWORT@labordatenbank.com/X/imports/import/X/0/https',
data.data.map(d => {
...d,
status_code: d.status_code
})
)
}
In this case, the return value is irrelevant, as this code is currently only intended to forward data to another interface.
Continue with: Import transformation code
Last change: 22.08.2025
Allgemeines
Einführungsphase
Auswertungen
Mitarbeiter
Aufträge
Proben
Probenvorlage
Berichte
Kunden
Berichtstabellen Editor
Kundenzone (optional)
Anlagen
Angebote
Rechnungen
Parameter
Rechnen mit Parametern
Schnittstellen
Webservice
Transformationscode
Prüfpläne / Grenzwerte / Spezifikationen
Dokumentenlenkung
Prüfmittel
Material
Mitarbeiterschulungen
8D-Report
Sonstiges
PDF-Vorlagen
Fragen und Antworten
Lieferantenbewertung
Dateiverwaltung
Prozesse