WikiAPI-Katalogtoolstools.connections.create

tools.connections.create

POST /api/admin/tools/connections tools

Neue ERP-Verbindung erstellen

Hilfe

Erstellt eine neue ERP-Verbindung. Passwort-Felder werden automatisch verschlüsselt.

Parameter

Name Typ Required Default Beschreibung
name string Ja Name der Verbindung
type string Ja Konnektor-Typ (sql, api, ...)
config object Nein {} Verbindungskonfiguration (typabhaengig)
enabled boolean Nein True Verbindung aktiv

Rueckgabe

Bestätigung mit Verbindungs-ID

Beispiel-Prompts

  • Erstelle eine neue SQL-Verbindung 'Produktions-DB'
  • Neue ERP-Verbindung anlegen

Confirmation

Diese Funktion erfordert eine Bestaetigung vor der Ausfuehrung.

Template: erp-verbindung {name} erstellen

Changelog

Area: connections | Action: create

HTTP-Request (curl)

curl -X POST 'http://HOST:8502/api/admin/tools/connections' \
  -H 'Cookie: kiara_admin_session=SESSION' \
  -H 'X-Requested-With: XMLHttpRequest' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "...",
    "type": "...",
    "config": "...",
    "enabled": "..."
  }'

Metadaten

raw_responseJa
PK-Paramname
Kategorietools