Nicht korrekt angelegte Mitglieder

5 Beiträge • 5 Abonnenten • 109 Ansichten
dieterwichmann
 veröffentlicht letzten Monat

Liebes Campai-Team,

mit der Freigabe des neuen Finanzmoduls funktioniert unser Mitgliederupload (per API) leider nicht mehr. Das ist sehr ärgerlich.

Die Felder zur Zahlungsinformation (Kontoinhaber, Lastschrift.IBAN usw.) sind zwar gefüllt (und in "hellgrau" dargestellt), es wird aber kein Debitor angelegt.

Könnt Ihr das bitte ändern und auwärtskompatibel sein.

Vielen Dank

-Dieter

TG07 Eberstadt e.V.

Oliver
 veröffentlicht letzten Monat

Hallo Dieter,

an dem Problem wird schon gearbeitet. Wir werden in den Updates Bescheid geben, wenn wir das gefixt haben.

Liebe Grüße
Oliver

peter.brueller
 veröffentlicht letzten Monat

Hi zusammen,

wir haben ein ähnliches Problem. Wir nutzen das Formular und beim Import wird die IBAN gar nicht übernommen. In welches Feld schreibt ihr die IBAN?

dieterwichmann
 veröffentlicht letzten Monat

Hallo Oliver,


falls es bei der Fehlersuche hilft: das hat am 12.01.2025 noch funktioniert.


Liebe Grüße

-Dieter

Oliver
 veröffentlicht letzten Monat

Hallo zusammen. Hier die Antwort unseres Entwicklers:

here's the api endpoints they can use to manipulate debtors of contacts. its all in curl so if they know what they're doing they can adapt this to any language they use. ask them to wait until tomorrow to use because i still need to release a change to allow them to be called via apiGet details of the debtor that is linked to the provided contact

curl -H "Content-Type: application/json" -H "Authorization: ${apiKey}" https://api.campai.com/contacts/${contactId}/debtors/debtor

Creates a new debtor from the provided contact and link the debtor to the contact (this is basically what we do when importing or when the user clicks to create a new debtor for the member)

curl -d '{"mandateId":"${mandateId}"}' -H "Content-Type: application/json" -H "Authorization: ${apiKey}" -X POST https://api.campai.com/contacts/${contactId}/debtors/createDebtor

Updates the debtor of the provided contact. If the contact already has a debtor, it will be unlinked from the contact and the provided debtor will be linked

curl -d '{"debtorId":"${debtorId}"}' -H "Content-Type: application/json" -H "Authorization: ${apiKey}" -X POST https://api.campai.com/contacts/${contactId}/debtors/updateDebtor

Unlinks the provided contact from the debtor (if any)

curl -H "Content-Type: application/json" -H "Authorization: ${apiKey}" -X POST https://api.campai.com/contacts/${contactId}/debtors/removeDebtor
guido
 veröffentlicht letzten Monat

Hallo zusammen!

Danke für die obigen curl Beispiele. Das ist allerdings recht spärliche Dokumentation und obiges Beispiel sieht die Erstellung eines Debitors aus einem Mitgliederdatensatz vor. Mitglied und Debitor sind alleridngs nicht immer identisch (z.B. Vater ist nicht MItglied zahlt aber für Tochter, die Mitglied ist). Für den Fall, dass Debitor und Mitglied nicht identisch sind, muss man für den Debitor weitere Attribute wie IBAN, etc setzen. Aus obiger Beschreibung geht nicht hervor wie man einen kompletten Debitor Datensatz anlegt.

Ich würde mir auch eine vollständige OPENAPI Spezifikation unter https://docs.campai.com wünschen. Dort sind diese neuen REST Endpunkte noch nicht dokumentiert worden. Damit fehlt auch die praktische Test-Möglichkeit.

Hier wurden wieder einmal Änderungen an der API gemacht, ohne die Nutzer vorher zu informieren.

Automationen, die die API nutzen funktionieren dadurch nicht mehr oder nur eingeschränkt. Warum werden solche Änderungen an der API nicht frühzeitiger angekündigt?

Liebe Grüße,

Guido


Chatbot
Bot

Hallo! Wie kann ich dir heute helfen?