LeTTo Doc

POST /open/setconfigurationdata

   
Controller ApiController
Java-Methode setConfigurationData
HTTP-Methode POST
Pfad /open/setconfigurationdata
Erreichbarkeit nur im Docker-Netzwerk
Request-Body PluginSetConfigurationDataRequestDto
Response PluginConfigDto

Beschreibung

Sendet alle notwendigen (im ConfigurationInfo) angeforderten Daten im Mode CONFIGMODE_URL an die Plugin-Konfiguration

Request

Body: PluginSetConfigurationDataRequestDto

Feld Typ ausgewertet Bedeutung
typ String ja Typ des Plugins
configurationID String ja zu verwendende Konfigurations-ID (muss am Plugin-Service zuvor angelegt worden sein mit configurationInfo)
configuration String ja aktueller Konfigurations-String des Plugins
questionDto PluginQuestionDto ja Question-DTO mit Varhashes

Response

Typ: PluginConfigDto

Fehlermeldung wenn etwas nicht korrekt funktioniert hat

Ablauf im Service

Fehlerfälle

Beispiel-Request

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

{
  "typ": "<typ>",
  "configurationID": "<configurationID>",
  "configuration": "<configuration>",
  "questionDto": {
    "…": "PluginQuestionDto"
  }
}

Siehe auch

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