LeTTo Doc

POST /open/getconfiguration

   
Controller ApiController
Java-Methode getConfiguration
HTTP-Methode POST
Pfad /open/getconfiguration
Erreichbarkeit nur im Docker-Netzwerk
Request-Body PluginConfigurationRequestDto
Response String

Beschreibung

Liefert die aktuelle Konfiguration eines Plugins welches sich gerade in einem CONFIGMODE_URL Konfigurationsdialog befindet

Request

Body: PluginConfigurationRequestDto

Feld Typ ausgewertet Bedeutung
typ String ja PluginTyp
configurationID String ja zu verwendende Konfigurations-ID (muss am Plugin-Service zuvor angelegt worden sein mit configurationInfo)

Response

Typ: String

Konfigurationsparameter oder “@ERROR: Meldung” wenn etwas nicht funktioniert hat

Ablauf im Service

Fehlerfälle

Beispiel-Request

JSON-Gerüst aus den Feldern des DTOs, Werte sind Platzhalter:

{
  "typ": "<typ>",
  "configurationID": "<configurationID>"
}

Siehe auch

ApiController · REST-Schnittstelle · Referenz-Plugin (Java)