churchtools-api
churchtools-apiChurchTools 3.139.0 (build 32955)

Einstieg

Vom Installieren bis zum ersten Aufruf in wenigen Minuten.

Worum es geht

churchtools-api ist ein Client für die REST-API von ChurchTools: Personen, Gruppen, Kalender, Events, Dienste, Lieder, Finanzen und alles Weitere, was die API anbietet.

Es gibt ihn für zwei Sprachen. Beide entstehen aus derselben API-Beschreibung und funktionieren gleich:

  • Python: Rückgaben sind Pydantic-Modelle mit Autovervollständigung in der IDE.
  • Rust: Rückgaben sind serde-Structs, Fehler sind ein Result.

Wähle oben rechts deine Sprache. Alle Beispiele auf dieser Seite wechseln mit.

Was du brauchst

  • Die Adresse deiner ChurchTools-Instanz, z. B. https://meinegemeinde.church.tools.
  • Ein Login-Token für alles, was nicht öffentlich ist. Das Token gehört zu einer Person in ChurchTools, und der Client sieht genau das, was diese Person sehen darf. Für Skripte lohnt sich ein eigener Benutzer mit passend eingeschränkten Rechten.

Öffentliche Daten wie öffentliche Kalender funktionieren auch ohne Token. Damit kannst du sofort loslegen.

Installation

Das Rust-Crate heißt churchtools-api, das Python-Paket churchtools-api-rs; importiert wird es als churchtools_api. (Der Name churchtools-api ist auf PyPI wegen eines älteren, nicht verwandten Projekts gesperrt.)

  • Python: pip install churchtools-api-rs (ab Python 3.10). Für Linux (x86-64, ARM64, auch musl), macOS (Intel und Apple Silicon) und Windows (x86-64) gibt es fertige Wheels; ein Wheel deckt alle Python-Versionen ab 3.10 ab. Auf anderen Plattformen baut pip das Paket aus dem Quellcode mit maturin; dafür braucht es eine Rust-Toolchain ab 1.88 und einen C-Compiler (für die TLS-Bibliothek; unter Linux gcc oder clang, unter macOS die Xcode-Kommandozeilenwerkzeuge, unter Windows die Visual-Studio-Build-Tools).
  • Rust: cargo add churchtools-api (ab Rust 1.88). Auch hier wird ein C-Compiler gebraucht.

Den neuesten Entwicklungsstand bekommst du direkt aus dem Git-Repository.

pip install churchtools-api-rs

# Entwicklungsstand aus dem Git-Repository (baut aus dem Quellcode)
pip install "churchtools-api-rs @ git+https://github.com/churchtools-api/churchtools-api#subdirectory=python"
# Cargo.toml
[dependencies]
churchtools-api = "0.3"
# oder der Entwicklungsstand aus dem Git-Repository
churchtools-api = { git = "https://github.com/churchtools-api/churchtools-api" }

Dein erster Aufruf

Dieses Programm fragt ab, welche ChurchTools-Version eine Instanz verwendet. Es braucht kein Token und läuft gegen die öffentliche Demo-Instanz.

Danach bist du startklar. Die folgenden Beispiele zeigen nur noch den Teil, der sich ändert, und setzen einen fertigen client voraus.

import churchtools_api as ct

client = ct.Client("https://demo.church.tools")
info = client.info.get()
print(info.site_name, info.version)
use churchtools_api::Client;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Client::new("https://demo.church.tools", None)?;
    let info = client.info().get()?;
    println!("{:?} {:?}", info.site_name, info.version);
    Ok(())
}

Ausgabe: ChuToo Church 3.138.3

Grundlagen

Die Konzepte, die für jeden Aufruf gelten. Wer sie kennt, findet sich in der ganzen Referenz zurecht.

Client und Anmeldung

Ein Client gehört zu einer Instanz und einem Token. Das Token wird als Authorization: Login <token> mitgeschickt. Du musst dich um nichts weiter kümmern.

Lege das Token nicht in den Quelltext. Am einfachsten liest du es aus den Umgebungsvariablen CT_URL und CT_TOKEN.

import churchtools_api as ct

client = ct.Client("https://meinegemeinde.church.tools", token="DEIN_TOKEN")

# besser: CT_URL und CT_TOKEN aus der Umgebung lesen
client = ct.Client.from_env()

me = client.whoami.get()
print(f"Angemeldet als {me.first_name} {me.last_name}")
use churchtools_api::Client;

let client = Client::new("https://meinegemeinde.church.tools", Some("DEIN_TOKEN".into()))?;

// besser: CT_URL und CT_TOKEN aus der Umgebung lesen
let client = Client::from_env()?;

let me = client.whoami().get()?;
println!("Angemeldet als {:?} {:?}", me.first_name, me.last_name);

Anfragen drosseln

Für Skripte, die viele Anfragen schicken, kannst du einen Mindestabstand zwischen zwei Anfragen festlegen. So belastest du die Instanz nicht unnötig. Der Abstand gilt auch für Kopien des Clients.

Antwortet der Server mit 429 Too Many Requests, wartet der Client die verlangte Zeit (Retry-After, höchstens 60 Sekunden) und versucht es bis zu dreimal erneut. Das passiert immer, auch ohne Mindestabstand. Bei 502, 503 und 504 wiederholt er lesende und andere idempotente Anfragen (GET, PUT, DELETE) genauso; ein POST wird nicht wiederholt, weil er sonst doppelt ausgeführt werden könnte. Kommt keine Verbindung zustande, versucht er es nach einer Sekunde einmal erneut.

Für Tests gegen eine Demo-Instanz gibt es außerdem login_with_password. Es meldet sich mit Benutzername und Passwort an und holt das Login-Token der Person. In eigenen Skripten ist ein gespeichertes Token besser.

# höchstens vier Anfragen pro Sekunde
client = ct.Client.from_env(min_interval=0.25)

for person in client.persons.list():
    print(person.id, person.first_name)

# nur für Tests: mit Benutzername und Passwort anmelden
test = ct.Client("https://xyz.church.tools").login_with_password("benutzer", "passwort")
use std::time::Duration;

// höchstens vier Anfragen pro Sekunde
let client = Client::from_env()?.with_min_interval(Duration::from_millis(250));

for person in client.persons().list()? {
    println!("{} {:?}", person.id, person.first_name);
}

// nur für Tests: mit Benutzername und Passwort anmelden
let test = Client::new("https://xyz.church.tools", None)?.login_with_password("benutzer", "passwort")?;

Wie Aufrufe aufgebaut sind

Jeder Aufruf folgt dem Pfad der API. Aus jedem festen Teil des Pfads wird eine Ressource. Platzhalter wie {groupId} werden zu Argumenten:

APIPythonRust
GET /groupsclient.groups.list()client.groups().list()
GET /groups/{groupId}client.groups.get(42)client.groups().get(42)
GET /groups/{groupId}/membersclient.groups.members.list(42)client.groups().members().list(42)

Der Methodenname richtet sich nach der HTTP-Methode:

HTTPMethodebedeutet
GETlist / getmehrere lesen / eins lesen
POSTcreateneu anlegen
PUTupdateersetzen oder setzen
PATCHpatcheinzelne Felder ändern
DELETEdeletelöschen

Aktionen behalten ihren Namen, z. B. client.persons.invite(7) für POST /persons/{personId}/invite. POST-Aufrufe, die nichts anlegen, sondern nur lesen oder berechnen, heißen nach dem, was sie tun: client.actions.filter(), client.repeat_calculation.calculate().

Zusammengeschriebene Pfadteile werden in Wörter getrennt: /agendatemplates wird zu agenda_templates, genauso wie /external-logins zu external_logins.

Einige Bereiche gibt es im Singular und im Plural. Der Plural enthält die Objekte selbst, der Singular die Stammdaten des Bereichs: client.groups sind die Gruppen, client.group ihre Gruppentypen, Rollen und Kategorien. Genauso persons/person, events/event und posts/post.

group = client.groups.get(42)
print(group.name)

for member in client.groups.members.list(42):
    print(member.person.title)
let group = client.groups().get(42)?;
println!("{}", group.name);

for member in client.groups().members().list(42)? {
    println!("{}", member.person.title);
}

Parameter übergeben

Es gibt drei Arten von Parametern:

  • Pfad: Platzhalter im Pfad. Sie stehen vorne und haben keinen Namen.
  • Query: Filter und Optionen wie from, to, limit. In Python sind das Schlüsselwort-Argumente. In Rust gibt es dafür eine …Query-Struktur. Sind alle Filter optional, hat die Methode zwei Varianten: list() ohne Filter und list_with(&query) mit Filtern. ..Default::default() füllt alles, was du nicht setzt.
  • Body: Daten zum Anlegen oder Ändern. In Python sind es ebenfalls Schlüsselwort-Argumente, in Rust ein Modell als Struct-Literal. Auch hier füllt ..Default::default() alle Felder, die du nicht setzt.

Die Namen sind in Python im üblichen snake_case geschrieben (first_name statt firstName). Wo ein Name ein Python-Schlüsselwort ist, kommt ein Unterstrich dazu: from_.

Hat ein Wert eine feste Auswahl (z. B. group_member_status: active, requested, waiting, …), steht sie in der Doku unter „Allowed values“. In Python ist das Argument als Literal[...] typisiert: Die IDE schlägt die Werte vor, und mypy meldet Tippfehler. In Antworten ist zusätzlich jeder str erlaubt, damit ein neuer Wert einer neueren ChurchTools-Version nicht zu einem Fehler führt. In Rust sind solche Werte String.

import datetime as dt

persons = client.persons.list(last_name="Müller", is_archived=False)

events = client.events.list(from_=dt.date(2026, 11, 1), to=dt.date(2026, 11, 30))

client.persons.patch(7, city="Esslingen", zip="73728")
let query = GetPersonsQuery {
    last_name: Some("Müller".into()),
    is_archived: Some(false),
    ..Default::default()
};
let persons = client.persons().list_with(&query)?;

let query = GetEventsQuery {
    from: Some("2026-11-01".parse()?),
    to: Some("2026-11-30".parse()?),
    ..Default::default()
};
let events = client.events().list_with(&query)?;

let body = models::PatchPersonsIdBody {
    city: Some(Some("Esslingen".into())),
    zip: Some(Some("73728".into())),
    ..Default::default()
};
client.persons().patch(7, &body)?;

Rückgabewerte und Modelle

Antworten kommen als typisierte Objekte zurück. Die Felder heißen wie in der API, nur in snake_case.

Jede ChurchTools-Instanz kann eigene Datenbankfelder haben, die in keiner Beschreibung stehen. Diese Felder gehen nicht verloren: In Python liegen sie in model_extra, in Rust im Feld extra.

Willst du ein Objekt weitergeben oder speichern, wandelst du es in ein Dict oder JSON um.

person = client.persons.get(7)
print(person.first_name, person.birthday)

# eigene Felder der Instanz
print(person.model_extra)

# als dict / JSON (mit den Feldnamen der API)
data = person.model_dump(exclude_none=True)
text = person.model_dump_json()
let person = client.persons().get(7)?;
println!("{:?} {:?}", person.first_name, person.birthday);

// eigene Felder der Instanz
println!("{:?}", person.extra);

// als JSON (mit den Feldnamen der API)
let text = serde_json::to_string(&person)?;

Listen und Seiten

Große Listen liefert ChurchTools seitenweise. Der Client blättert für dich:

  • In Python bekommst du einen Paginator. Er lädt Seiten erst, wenn du sie brauchst: first() holt nur das erste Element, to_list() alles. Brichst du die Schleife ab, werden keine weiteren Seiten geladen.
  • In Rust liefert list() gleich einen Vec mit allen Einträgen. list_iter(&query) lädt dagegen wie in Python erst beim Iterieren nach; jedes Element ist ein Result.

Mit limit bestimmst du, wie viele Einträge pro Seite geladen werden (höchstens 100).

Ab der zweiten Seite fordert der Client die jeweils nächste Seite in einem Hintergrund-Thread an, während du die aktuelle verarbeitest. Die Wartezeit auf den Server überlappt so mit dem Dekodieren und deiner Verarbeitung. Brichst du eine Schleife mitten in einer späteren Seite ab, kann dadurch eine Anfrage mehr unterwegs sein; ihre Antwort wird verworfen. Mit .prefetch(False) (Python) bzw. .prefetch(false) (Rust) wird jede Seite erst angefordert, wenn sie gebraucht wird.

Die Seiten werden nacheinander abgerufen. Ändert sich die Liste währenddessen, etwa weil jemand eine Person anlegt oder löscht, kann ein Eintrag doppelt vorkommen oder fehlen. Für Abgleiche lohnt es sich deshalb, nach id zu deduplizieren. Eine leere Seite beendet das Blättern, auch wenn der Server mehr Seiten ankündigt.

Der Client ist synchron. In Rust darfst du ihn nicht direkt in async-Code (Tokio) aufrufen, sondern nur über tokio::task::spawn_blocking.

for person in client.persons.list(limit=100):
    print(person.last_name)
    if person.last_name == "Zimmermann":
        break               # weitere Seiten werden nicht mehr geladen

first = client.groups.list().first()
all_groups = client.groups.list().to_list()
let query = GetPersonsQuery { limit: Some(100), ..Default::default() };
for person in client.persons().list_iter(&query) {
    let person = person?;
    println!("{:?}", person.last_name);
    if person.last_name.as_deref() == Some("Zimmermann") {
        break;              // weitere Seiten werden nicht mehr geladen
    }
}

let all_groups = client.groups().list()?;

Datum und Uhrzeit

Datumswerte (Geburtstage, ganztägige Termine) sind reine Kalenderdaten. Zeitpunkte kommen immer in UTC und mit Zeitzone. Für die Anzeige rechnest du sie in die lokale Zeit um.

Termine können beides sein: Ganztägige Termine haben nur ein Datum, alle anderen einen Zeitpunkt.

import datetime as dt
from zoneinfo import ZoneInfo

berlin = ZoneInfo("Europe/Berlin")
event = client.events.get(42)
print(event.start_date.astimezone(berlin))   # 2026-11-01 10:00:00+01:00

# date | datetime: erst prüfen, was es ist
appointment = client.calendars.appointments.get_occurrence(42, dt.date(2026, 11, 1))
start = appointment.appointment.calculated.start_date
if isinstance(start, dt.datetime):
    print("um", start.astimezone(berlin).strftime("%H:%M"))
else:
    print("ganztägig am", start)
use churchtools_api::chrono::Local;

let event = client.events().get(42)?;
println!("{}", event.start_date.with_timezone(&Local));

// DateOrDateTime: erst prüfen, was es ist
let appointment = client.calendars().appointments()
    .get_occurrence(42, "2026-11-01")?;
match appointment.appointment.calculated.start_date {
    DateOrDateTime::DateTime(t) => println!("um {}", t.with_timezone(&Local).format("%H:%M")),
    DateOrDateTime::Date(d) => println!("ganztägig am {d}"),
}

Fehler behandeln

Antwortet ChurchTools mit einem Fehler, bekommst du die Meldung des Servers, auf Wunsch auch in der übersetzten Fassung (translated_message). In Python gibt es für die häufigsten Statuscodes eigene Ausnahmen, siehe die Fehlerübersicht. In Rust gibt es dafür is_not_found(), is_unauthorized(), is_forbidden(), is_timeout() und status(). Weil neue Fehlerarten dazukommen können, braucht ein match über Error immer einen Zweig _ bzw. Err(e).

try:
    person = client.persons.get(999999)
except ct.NotFound:
    print("Diese Person gibt es nicht.")
except ct.Unauthorized:
    print("Token fehlt oder ist abgelaufen.")
except ct.ApiError as e:
    print(e.status, e.translated_message)
use churchtools_api::Error;

match client.persons().get(999999) {
    Ok(person) => println!("{:?}", person.first_name),
    Err(e) if e.is_not_found() => println!("Diese Person gibt es nicht."),
    Err(e) if e.is_unauthorized() => println!("Token fehlt oder ist abgelaufen."),
    Err(Error::Api(e)) => println!("{} {:?}", e.status, e.translated_message),
    Err(e) => return Err(e.into()),
}

Felder weglassen oder leeren

Beim Ändern macht es einen Unterschied, ob ein Feld fehlt oder leer ist:

  • Weggelassen: Das Feld bleibt, wie es ist. In Python ist das der Standard (UNSET), in Rust None, das ..Default::default() setzt.
  • **None / null**: Das Feld wird geleert. In Rust haben Felder, die man leeren kann, den Typ Option<Option<T>>; Some(None) schickt null.

Felder, die der Client nicht kennt (z. B. eigene DB-Felder), übergibst du in Python mit extra_body, in Rust über das Feld extra.

# nur die Stadt ändern, alles andere bleibt
client.persons.patch(7, city="Esslingen")

# Geburtstag löschen
client.persons.patch(7, birthday=None)

# eigenes Datenbankfeld setzen
client.persons.patch(7, extra_body={"konfession": "evangelisch"})
// nur die Stadt ändern, alles andere bleibt
let body = models::PatchPersonsIdBody { city: Some(Some("Esslingen".into())), ..Default::default() };
client.persons().patch(7, &body)?;

// Geburtstag löschen
let body = models::PatchPersonsIdBody { birthday: Some(None), ..Default::default() };
client.persons().patch(7, &body)?;

// eigenes Datenbankfeld setzen
let mut body = models::PatchPersonsIdBody::default();
body.extra.insert("konfession".into(), "evangelisch".into());
client.persons().patch(7, &body)?;

Dateien hochladen und herunterladen

Endpunkte mit Datei-Upload nehmen eine Liste von Upload-Objekten. Upload.from_path liest eine Datei und leitet den Dateityp aus der Endung ab; Upload(name, inhalt, typ) nimmt Bytes aus dem Speicher.

Downloads (PDF, CSV, Excel, Bilder) kommen als Bytes zurück, die du direkt speichern kannst.

import churchtools_api as ct

# an eine Person anhängen
client.files.create("person", "7", files=[ct.Upload.from_path("brief.pdf")])

# aus dem Speicher
client.files.create("person", "7", files=[ct.Upload("notiz.txt", b"Hallo", "text/plain")])

# herunterladen
data = client.groups.members.get_export(42)
with open("mitglieder.xlsx", "wb") as f:
    f.write(data)
let file = Upload::from_path("brief.pdf")?;
client.files().create("person", 7, &[file])?;

let note = Upload::new("notiz.txt", b"Hallo".to_vec(), "text/plain");
client.files().create("person", 7, &[note])?;

let data = client.groups().members().get_export(42)?;
std::fs::write("mitglieder.xlsx", &data)?;

Zeitlimits und große Antworten

Ohne weitere Angaben gelten diese Grenzen:

EinstellungStandardbedeutet
timeout30 sdie ganze Anfrage inklusive Antwort
connect_timeout10 snur der Verbindungsaufbau, höchstens timeout
max_response_size256 MiBgrößere Antworten brechen mit ResponseTooLarge ab

Für große Exporte und Uploads lohnt ein längeres timeout. Ein kurzes connect_timeout sorgt dafür, dass eine nicht erreichbare Instanz schnell auffällt. Zu langsame Anfragen enden mit Timeout, fehlende Verbindungen mit ConnectError; in Rust prüfst du is_timeout() und is_connect().

client = ct.Client(
    "https://meinegemeinde.church.tools",
    token="DEIN_TOKEN",
    timeout=300,            # große Exporte
    connect_timeout=5,
    max_response_size=1024**3,
)
use std::time::Duration;

let client = Client::builder("https://meinegemeinde.church.tools")
    .token(Some("DEIN_TOKEN".into()))
    .timeout(Duration::from_secs(300))
    .connect_timeout(Duration::from_secs(5))
    .max_response_size(1 << 30)
    .build()?;

Endpunkte ohne generierte Methode

Manche Endpunkte stehen nicht in der API-Beschreibung, etwa ganz neue oder interne. Für sie gibt es client.request: Methode, Pfad unterhalb von /api, Query und JSON-Body. Zurück kommen die rohen Bytes, Fehler sind dieselben Ausnahmen wie sonst. Login, Drosselung und Wiederholungen gelten auch hier.

Die Antwort wandelst du mit json.loads oder direkt in ein Modell um.

import json

body = client.request("GET", "/persons/7", query={"include": ["tags"]})
person = ct.models.Person.model_validate(json.loads(body)["data"])

client.request("POST", "/persons", json={"departmentIds": [1], "firstName": "Ben"})
let query = vec![("include[]".to_string(), "tags".to_string())];
let person: models::Person = client.request_data(Method::Get, "/persons/7", &query, None)?;

let body = serde_json::json!({ "departmentIds": [1], "firstName": "Ben" });
client.request(Method::Post, "/persons", &[], Some(&body))?;

ChurchTools-Versionen

Der Client ist aus der API-Beschreibung einer bestimmten ChurchTools-Version erzeugt. Welche das ist, steht in API_VERSION (z. B. 3.138.1). Gegen andere Versionen funktioniert er, soweit die API gleich ist:

  • Neue Felder einer neueren Version gehen nicht verloren: Sie landen in model_extra bzw. extra.
  • Neue Werte in Feldern mit fester Auswahl führen nicht zu Fehlern, Antworten erlauben jeden str.
  • Fehlende Endpunkte einer älteren Version antworten mit 404.
  • Geänderte Pflichtfelder können ein DecodeError auslösen. Dann hilft eine neuere Version des Clients.

Die eigene Version (__version__, in Rust die Crate-Version) folgt SemVer. Was sich ändert, steht im CHANGELOG.md. Neue ChurchTools-Versionen bringen meist eine neue Minor-Version.

import churchtools_api as ct

info = client.info.get()
if info.version != ct.API_VERSION:
    print(f"Instanz {info.version}, Client erzeugt für {ct.API_VERSION} (Version {ct.__version__})")
let info = client.info().get()?;
if info.version.as_deref() != Some(churchtools_api::API_VERSION) {
    println!("Instanz {:?}, Client erzeugt für {}", info.version, churchtools_api::API_VERSION);
}

Projekte

Kleine, vollständige Aufgaben aus dem Gemeindealltag. Jedes Projekt verbindet mehrere Aufrufe.

Monatsplan aus öffentlichen Kalendern

Ziel: alle Termine eines Monats aus allen öffentlichen Kalendern, sortiert und in Ortszeit.

  1. Kalender laden und ihre IDs sammeln.
  2. Die Termine aller Kalender in einem Aufruf holen.
  3. Ganztägige Termine und Termine mit Uhrzeit unterschiedlich ausgeben.

Das funktioniert ohne Token, solange die Kalender öffentlich sind.

import datetime as dt
from zoneinfo import ZoneInfo

berlin = ZoneInfo("Europe/Berlin")
calendars = client.calendars.list()

termine = client.calendars.appointments.list(
    calendar_ids=[c.id for c in calendars],
    from_=dt.date(2026, 11, 1),
    to=dt.date(2026, 11, 30),
)
for termin in termine:
    start = termin.appointment.calculated.start_date
    if isinstance(start, dt.datetime):
        wann = start.astimezone(berlin).strftime("%d.%m. %H:%M")
    else:
        wann = start.strftime("%d.%m.") + " ganztags"
    print(wann, termin.appointment.base.title)
use churchtools_api::chrono::Local;

let calendars = client.calendars().list()?;
let query = GetCalendarsAppointmentsQuery {
    calendar_ids: Some(calendars.iter().map(|c| c.id).collect()),
    from: Some("2026-11-01".parse()?),
    to: Some("2026-11-30".parse()?),
    ..Default::default()
};
for termin in client.calendars().appointments().list(&query)? {
    let wann = match termin.appointment.calculated.start_date {
        DateOrDateTime::DateTime(t) => t.with_timezone(&Local).format("%d.%m. %H:%M").to_string(),
        DateOrDateTime::Date(d) => format!("{} ganztags", d.format("%d.%m.")),
    };
    println!("{wann} {}", termin.appointment.base.title);
}

Dienstplan für den Gottesdienst

Ziel: für jedes Event im Monat anzeigen, wer welchen Dienst übernimmt und welche Dienste noch offen sind.

  1. Die Liste der Dienste laden, um Dienst-IDs in Namen zu übersetzen.
  2. Events mit include="event_services" laden. Dann hängen die Dienste direkt am Event.
  3. Pro Dienst die eingetragene Person ausgeben oder „offen“.

Dafür braucht der Token-Benutzer Leserechte in der Dienstplanung.

import datetime as dt

dienste = {s.id: s.name for s in client.services.list()}

for event in client.events.list(
    from_=dt.date(2026, 11, 1),
    to=dt.date(2026, 11, 30),
    include="event_services",
):
    print(f"{event.start_date:%d.%m.} {event.name}")
    for eintrag in event.event_services or []:
        wer = eintrag.person.title if eintrag.person else "offen"
        print(f"    {dienste.get(eintrag.service_id, '?')}: {wer}")
use std::collections::HashMap;

let dienste: HashMap<i64, String> =
    client.services().list()?.into_iter().map(|s| (s.id, s.name)).collect();

let query = GetEventsQuery {
    from: Some("2026-11-01".parse()?),
    to: Some("2026-11-30".parse()?),
    include: Some("event_services".into()),
    ..Default::default()
};
for event in client.events().list_with(&query)? {
    println!("{} {}", event.start_date.format("%d.%m."), event.name);
    for eintrag in event.event_services.unwrap_or_default() {
        let wer = eintrag.person.map(|p| p.title).unwrap_or("offen".into());
        let dienst = dienste.get(&eintrag.service_id).map_or("?", |s| s.as_str());
        println!("    {dienst}: {wer}");
    }
}

Geburtstagsliste der Woche

Ziel: alle Geburtstage der nächsten sieben Tage, z. B. für die Mitteilungen im Gottesdienst.

ChurchTools hat dafür einen eigenen Endpunkt. Er liefert das Datum, das neue Alter und die Person.

import datetime as dt

heute = dt.date.today()
for eintrag in client.persons.list_birthdays(
    start_date=heute,
    end_date=heute + dt.timedelta(days=7),
):
    if eintrag.person:
        print(f"{eintrag.anniversary:%d.%m.}  {eintrag.person.title} wird {eintrag.age}")
use churchtools_api::chrono::{Days, Local};

let heute = Local::now().date_naive();
let query = GetPersonsBirthdaysQuery {
    start_date: Some(heute),
    end_date: heute.checked_add_days(Days::new(7)),
    ..Default::default()
};
for eintrag in client.persons().list_birthdays_with(&query)? {
    if let (Some(person), Some(tag)) = (eintrag.person, eintrag.anniversary) {
        println!("{}  {} wird {}", tag.format("%d.%m."), person.title, eintrag.age);
    }
}

Gruppenmitglieder als CSV-Datei

Ziel: die Mitglieder einer Gruppe als Tabelle, die sich in Excel oder LibreOffice öffnen lässt.

Die Mitgliederliste enthält die Person, den Status (active, requested, waiting, …) und das Eintrittsdatum. Das Semikolon als Trennzeichen erkennt Excel in deutscher Einstellung direkt.

import csv

with open("mitglieder.csv", "w", newline="", encoding="utf-8-sig") as f:
    writer = csv.writer(f, delimiter=";")
    writer.writerow(["Name", "Status", "Mitglied seit"])
    for member in client.groups.members.list(42):
        writer.writerow([member.person.title, member.group_member_status, member.member_start_date or ""])
let mut csv = String::from("Name;Status;Mitglied seit\n");
for member in client.groups().members().list(42)? {
    let seit = member.member_start_date.map(|d| d.to_string()).unwrap_or_default();
    csv += &format!("{};{};{}\n", member.person.title, member.group_member_status, seit);
}
std::fs::write("mitglieder.csv", csv)?;

Heizung nach Raumbuchungen steuern

Ziel: Räume nur dann heizen, wenn sie gebucht sind. Ein Skript läuft regelmäßig, etwa alle 15 Minuten per Cron oder systemd-Timer, schaut in die Raumbuchungen und stellt für jeden Raum die passende Temperatur ein: rechtzeitig vor der Buchung warm, sonst abgesenkt.

  1. Die Räume laden und auf die mit Heizkreis beschränken. Welcher Raum zu welchem Heizkreis gehört, legst du einmal fest; hier über den Namen der Ressource.
  2. Die bestätigten Buchungen dieser Räume für die nächsten sieben Tage holen (status_ids=[2]; 1 sind Anfragen, 3 abgelehnte Buchungen). Wiederkehrende Buchungen kommen dabei schon als einzelne Termine.
  3. Für jede Buchung eine Heizzeit berechnen: Beginn minus Vorlauf bis Ende. Ganztägige Buchungen haben ein Datum statt einer Uhrzeit und heizen den ganzen Tag.
  4. Ist der Raum jetzt in einer Heizzeit, Komfort-Temperatur setzen, sonst Absenk-Temperatur.

Die Heizung selbst ist hier nur ein Platzhalter, der ausgibt, was er tun würde. In der Praxis stünde dort der Aufruf an die Heizungssteuerung, etwa die API von Home Assistant, ein KNX-Gateway oder die Cloud des Thermostat-Herstellers. Weil das Skript bei jedem Lauf den Sollwert neu aus den Buchungen ableitet, braucht es keinen eigenen Zustand: Wird eine Buchung verschoben oder abgesagt, stimmt die Heizung beim nächsten Lauf.

Der Token-Benutzer braucht Leserechte für die Räume in der Ressourcenverwaltung.

import datetime as dt
from zoneinfo import ZoneInfo

# Einstellungen: Vorlauf, Temperaturen und welcher Raum zu welchem Heizkreis gehört
berlin = ZoneInfo("Europe/Berlin")
VORLAUF = dt.timedelta(hours=2)  # so lange braucht ein Raum zum Aufheizen
KOMFORT, ABSENKUNG = 21.0, 16.0
HEIZKREISE = {"Saal": "heizkreis-saal", "Kapelle": "heizkreis-kapelle"}


class Heizung:
    """Platzhalter für die echte Heizungssteuerung."""

    def setze(self, heizkreis: str, grad: float) -> None:
        print(f"  → {heizkreis}: {grad} °C")


def als_zeit(wert: dt.date | dt.datetime, ende: bool = False) -> dt.datetime:
    """Zeitpunkt in Ortszeit; ganztägige Buchungen reichen bis zum Ende des Tags."""
    if isinstance(wert, dt.datetime):
        return wert.astimezone(berlin)
    tag = wert + dt.timedelta(days=1) if ende else wert
    return dt.datetime.combine(tag, dt.time(), berlin)


# 1. Räume mit Heizkreis: Ressourcen-ID → Name
raeume = {r.id: r.name for r in client.resources.list() if r.name in HEIZKREISE}

# 2. Bestätigte Buchungen dieser Räume für die nächsten sieben Tage
heute = dt.date.today()
buchungen = client.bookings.list(
    resource_ids=list(raeume),
    status_ids=[2],  # 1 = angefragt, 2 = bestätigt, 3 = abgelehnt
    from_=heute,
    to=heute + dt.timedelta(days=7),
)

# 3. Heizzeiten pro Raum: Beginn minus Vorlauf bis Ende der Buchung
heizzeiten: dict[str, list[tuple[dt.datetime, dt.datetime, str]]] = {
    name: [] for name in raeume.values()
}
for eintrag in buchungen:
    buchung, termin = eintrag.booking.base, eintrag.booking.calculated
    if buchung.resource_id not in raeume:
        continue
    start = als_zeit(termin.start_date) - VORLAUF
    ende = als_zeit(termin.end_date, ende=True)
    heizzeiten[raeume[buchung.resource_id]].append((start, ende, buchung.title))

# 4. Plan ausgeben und für jeden Raum die Temperatur setzen, die jetzt gilt
jetzt = dt.datetime.now(berlin)
heizung = Heizung()
for raum, zeiten in heizzeiten.items():
    print(raum)
    for start, ende, titel in sorted(zeiten):
        print(f"  heizen {start:%d.%m. %H:%M} – {ende:%d.%m. %H:%M}  {titel}")
    belegt = any(start <= jetzt < ende for start, ende, _ in zeiten)
    heizung.setze(HEIZKREISE[raum], KOMFORT if belegt else ABSENKUNG)
use std::collections::HashMap;
use churchtools_api::chrono::{DateTime, Days, Local, NaiveTime, TimeDelta, TimeZone};

// Einstellungen: Vorlauf, Temperaturen und welcher Raum zu welchem Heizkreis gehört
const KOMFORT: f64 = 21.0;
const ABSENKUNG: f64 = 16.0;
let vorlauf = TimeDelta::hours(2); // so lange braucht ein Raum zum Aufheizen
let heizkreise = HashMap::from([("Saal", "heizkreis-saal"), ("Kapelle", "heizkreis-kapelle")]);

/// Platzhalter für die echte Heizungssteuerung.
fn setze_heizung(heizkreis: &str, grad: f64) {
    println!("  → {heizkreis}: {grad} °C");
}

/// Zeitpunkt in Ortszeit; ganztägige Buchungen reichen bis zum Ende des Tags.
fn als_zeit(wert: &DateOrDateTime, ende: bool) -> DateTime<Local> {
    match wert {
        DateOrDateTime::DateTime(t) => t.with_timezone(&Local),
        DateOrDateTime::Date(d) => {
            let tag = if ende { d.checked_add_days(Days::new(1)).unwrap_or(*d) } else { *d };
            let mitternacht = tag.and_time(NaiveTime::MIN);
            Local.from_local_datetime(&mitternacht).earliest().unwrap_or_else(Local::now)
        }
    }
}

// 1. Räume mit Heizkreis: Ressourcen-ID → Name
let raeume: HashMap<i64, String> = client
    .resources()
    .list()?
    .into_iter()
    .filter(|r| heizkreise.contains_key(r.name.as_str()))
    .map(|r| (r.id, r.name))
    .collect();

// 2. Bestätigte Buchungen dieser Räume für die nächsten sieben Tage
let heute = Local::now().date_naive();
let query = GetBookingsQuery {
    resource_ids: Some(raeume.keys().copied().collect()),
    status_ids: Some(vec![2]), // 1 = angefragt, 2 = bestätigt, 3 = abgelehnt
    from: Some(heute),
    to: heute.checked_add_days(Days::new(7)),
    ..Default::default()
};

// 3. Heizzeiten pro Raum: Beginn minus Vorlauf bis Ende der Buchung
let mut heizzeiten: HashMap<&str, Vec<(DateTime<Local>, DateTime<Local>, String)>> =
    HashMap::new();
for eintrag in client.bookings().list(&query)? {
    let (buchung, termin) = (eintrag.booking.base, eintrag.booking.calculated);
    let Some(raum) = raeume.get(&buchung.resource_id) else { continue };
    let start = als_zeit(&termin.start_date, false) - vorlauf;
    let ende = als_zeit(&termin.end_date, true);
    heizzeiten.entry(raum.as_str()).or_default().push((start, ende, buchung.title));
}

// 4. Plan ausgeben und für jeden Raum die Temperatur setzen, die jetzt gilt
let jetzt = Local::now();
for raum in raeume.values() {
    println!("{raum}");
    let mut zeiten = heizzeiten.remove(raum.as_str()).unwrap_or_default();
    zeiten.sort();
    for (start, ende, titel) in &zeiten {
        let (von, bis) = (start.format("%d.%m. %H:%M"), ende.format("%d.%m. %H:%M"));
        println!("  heizen {von} – {bis}  {titel}");
    }
    let belegt = zeiten.iter().any(|(start, ende, _)| *start <= jetzt && jetzt < *ende);
    setze_heizung(heizkreise[raum.as_str()], if belegt { KOMFORT } else { ABSENKUNG });
}

Neue Person anlegen und in eine Gruppe aufnehmen

Ziel: eine Anmeldung aus einem Formular übernehmen: Person anlegen und direkt einer Gruppe zuordnen.

  1. Person mit Abteilung (department_ids) und Namen anlegen. Die Abteilung ist Pflicht.
  2. Mit der neuen ID die Mitgliedschaft in der Gruppe setzen.

ChurchTools prüft beim Anlegen auf Dubletten. Findet es eine ähnliche Person, antwortet es mit einem Fehler. force=True legt die Person trotzdem an.

person = client.persons.create(
    department_ids=[1],
    first_name="Ben",
    last_name="Beispiel",
    email="ben@example.org",
)
client.groups.members.update(42, person.id, group_member_status="active")
print(f"{person.first_name} angelegt (ID {person.id}) und Gruppe 42 zugeordnet")
let body = models::PostPersonsBody {
    department_ids: vec![1],
    first_name: Some("Ben".into()),
    last_name: Some("Beispiel".into()),
    email: Some("ben@example.org".into()),
    ..Default::default()
};
let person = client.persons().create(&body)?;

let membership = models::MembershipCreate {
    group_member_status: Some(Some("active".into())),
    ..Default::default()
};
client.groups().members().update(42, person.id, &membership)?;
println!("{:?} angelegt (ID {})", person.first_name, person.id);

Testen

Skripte ausprobieren, ohne echte Gemeindedaten anzufassen.

Mit einer Demo-Instanz testen

Für eigene Versuche bietet ChurchTools eine kostenlose Test-Instanz an. Sie ist mit erfundenen Beispieldaten einer Gemeinde gefüllt, du bist darin Administrator, und nach drei Tagen wird sie gelöscht. Dort kannst du auch schreibende Aufrufe ausprobieren, ohne etwas kaputtzumachen.

  1. Auf der Seite oben eine Test-Instanz anfordern. Adresse, Benutzername und Passwort kommen per E-Mail.
  2. Die Zugangsdaten als Umgebungsvariablen setzen, nicht in den Quelltext schreiben.
  3. Im Skript mit login_with_password anmelden und min_interval setzen, damit die Instanz nicht mit Anfragen überflutet wird.

login_with_password holt das dauerhafte Login-Token des Benutzers. Für eine Demo-Instanz ist das in Ordnung; in einer echten Instanz legst du besser einen eigenen Benutzer mit passenden Rechten an und speicherst dessen Token.

Teste nie gegen eine Produktivinstanz, wenn dein Skript Daten anlegt oder löscht.

import os
import churchtools_api as ct

demo = ct.Client(os.environ["CT_URL"], min_interval=0.25)
client = demo.login_with_password(os.environ["CT_USER"], os.environ["CT_PASSWORD"])

me = client.whoami.get()
print(f"Angemeldet als {me.first_name} {me.last_name}")
print(sum(1 for _ in client.persons.list()), "Personen in der Demo")
use std::{env, time::Duration};

let demo = Client::new(&env::var("CT_URL")?, None)?.with_min_interval(Duration::from_millis(250));
let client = demo.login_with_password(&env::var("CT_USER")?, &env::var("CT_PASSWORD")?)?;

let me = client.whoami().get()?;
println!("Angemeldet als {:?} {:?}", me.first_name, me.last_name);
println!("{} Personen in der Demo", client.persons().list()?.len());

Die Tests dieses Projekts gegen eine Demo-Instanz

Das Projekt prüft jeden Endpunkt gegen eine echte Instanz. Diese Live-Tests legen Daten an und löschen sie wieder, deshalb laufen sie nur gegen eine Demo-Instanz. Sie dauern etwa vier Minuten.

  • pytest tests/live ruft jeden GET-Endpunkt auf und spielt Schreib-Szenarien durch (anlegen, ändern, löschen). Ohne CT_URL und Zugangsdaten werden sie übersprungen.
  • Die Antworten landen in fixtures/recorded/. Zugangsdaten und der Name der Instanz werden dabei ersetzt (gemeinde.example). Aus den Aufzeichnungen entstehen die Offline-Tests, die ohne Netz laufen.
  • python tests/live/summary.py fasst das Ergebnis zusammen, fixtures/live-results.json hält es pro Endpunkt fest. Die Testabdeckung dieser Seite stammt daraus.

Vor dem Einchecken neuer Aufzeichnungen lohnt ein Blick hinein: Die Demo enthält neben den erfundenen Personen auch öffentliche Inhalte von ChurchTools, etwa Blog- und News-Beiträge.

# im Ordner python/, mit den Zugangsdaten der Demo
export CT_URL=https://xyz.church.tools CT_USER=... CT_PASSWORD=...
export CT_MIN_INTERVAL=0.25
pytest tests/live
python tests/live/summary.py
# Login, Drosselung und Kalender aus Rust
export CT_URL=https://xyz.church.tools CT_USER=... CT_PASSWORD=...
cargo test -p churchtools-api --test live -- --ignored

Referenz

GET/captcha

client.captcha.get()client.captcha().get()

Altcha Captcha Challenge

Get a new challenge to solve. To be used with https://altcha.org/docs/website-integration/

Rückgabe GetCaptchaResponse

captcha = client.captcha.get()
print(captcha.signature)
let captcha = client.captcha().get()?;
println!("{}", captcha.signature);

POST/captcha*

client.captcha.create()client.captcha().create()

Altcha Captcha Verification

Verify a captcha solution. Only for testing purposes. Other endpoints that require a captcha take the solution directly. See https://altcha.org/docs/website-integration/ for more information

ParameterTypOrtPflichtBeschreibung
solution"solution"strStringBodyja

Rückgabe PostCaptchaResponse

result = client.captcha.create(solution="beispiel")
print(result.is_valid)
let body = models::PostCaptchaBody {
    solution: "beispiel".into(),
    ..Default::default()
};
let result = client.captcha().create(&body)?;
println!("{}", result.is_valid);

GET/config

client.config.get()client.config().get()mit Filtern: .get_with(&GetConfigQuery)

Get the ChurchTools-Config

ParameterTypOrtPflichtBeschreibung
extendedboolQueryIf true the response will contain the extended config.

Rückgabe GetConfigResponse

config = client.config.get()
print(config.current_config_file)
let config = client.config().get()?;
println!("{:?}", config.current_config_file);

PUT/config*

client.config.update()client.config().update()

Change the ChurchTools-Config

149 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
accept_datasecurity"accept_datasecurity"boolBody
access_control_allow_origins"access_control_allow_origins"strStringBody
admin_mail"admin_mail"strStringBody
admin_message"admin_message"strStringBody
ai_description_available_generation_tests"ai_description_available_generation_tests"floatf64Body
ai_description_generation_count"ai_description_generation_count"floatf64Body
ai_description_generation_enabled"ai_description_generation_enabled"boolBody
allowaiassistant"allowaiassistant"boolBody
authorized_persons"authorized_persons"strStringBody
ccli_auto_reporting_enabled"ccli_auto_reporting_enabled"boolBody
churchcal_active"churchcal_active"boolBody
churchcal_css"churchcal_css"strStringBody
churchcal_entries_last_days"churchcal_entries_last_days"inti64Body
churchcal_firstdayinweek"churchcal_firstdayinweek"inti64Body
churchcal_maincalname"churchcal_maincalname"strStringBody
churchcal_name"churchcal_name"strStringBody
churchcal_sortcode"churchcal_sortcode"inti64Body
churchchat_allow_event_chat"churchchat_allow_event_chat"boolBody
churchchat_allow_group_chat"churchchat_allow_group_chat"boolBody
churchchat_allow_person_chat"churchchat_allow_person_chat"boolBody
churchchat_delete_event_chat_after_x_days"churchchat_delete_event_chat_after_x_days"inti64Body
churchchat_invite_ct_event_chat"churchchat_invite_ct_event_chat"boolBody
churchchat_invite_ct_group_chat"churchchat_invite_ct_group_chat"boolBody
churchchat_start_event_chat_before_x_days"churchchat_start_event_chat_before_x_days"inti64Body
churchchat_start_event_chat_for_calendars"churchchat_start_event_chat_for_calendars"strStringBodyA stringified array of calendar ids
churchcheckin_active"churchcheckin_active"boolBody
churchcheckin_label_child"churchcheckin_label_child"strStringBody
churchcheckin_label_parent"churchcheckin_label_parent"strStringBody
churchcheckin_label_standard"churchcheckin_label_standard"strStringBody
churchcheckin_name"churchcheckin_name"strStringBody
churchcheckin_sortcode"churchcheckin_sortcode"inti64Body
churchcheckin_tags"churchcheckin_tags"strStringBody
churchdb_active"churchdb_active"boolBody
churchdb_archivedeletehistory"churchdb_archivedeletehistory"boolBody
churchdb_birthdaylist_station"churchdb_birthdaylist_station"strStringBody
churchdb_birthdaylist_status"churchdb_birthdaylist_status"strStringBody
churchdb_cleverreach_client_id"churchdb_cleverreach_client_id"strStringBody
churchdb_cleverreach_client_secret"churchdb_cleverreach_client_secret"strStringBody
churchdb_cleverreach_connected"churchdb_cleverreach_connected"Union[bool, str]serde_json::ValueBody
churchdb_emailseparator"churchdb_emailseparator"strStringBody
churchdb_groupnotchoosable"churchdb_groupnotchoosable"inti64Body
churchdb_home_lat"churchdb_home_lat"strStringBody
churchdb_home_lng"churchdb_home_lng"strStringBody
churchdb_mailchimp_apikey"churchdb_mailchimp_apikey"strStringBody
churchdb_mailchimp_connected"churchdb_mailchimp_connected"boolBody
churchdb_mailjet_apikey"churchdb_mailjet_apikey"strStringBody
churchdb_mailjet_apisecret"churchdb_mailjet_apisecret"strStringBody
churchdb_mailjet_connected"churchdb_mailjet_connected"boolBody
churchdb_memberlist_station"churchdb_memberlist_station"strStringBody
churchdb_memberlist_status"churchdb_memberlist_status"strStringBody
churchdb_name"churchdb_name"strStringBody
churchdb_sendgroupmails"churchdb_sendgroupmails"boolBody
churchdb_smscmtelecom_apikey"churchdb_smscmtelecom_apikey"strStringBody
churchdb_sortcode"churchdb_sortcode"inti64Body
churchfinance_active"churchfinance_active"boolBody
churchfinance_name"churchfinance_name"strStringBody
churchfinance_sortcode"churchfinance_sortcode"inti64Body
churchgroup_active"churchgroup_active"boolBody
churchgroup_name"churchgroup_name"strStringBody
churchgroup_sortcode"churchgroup_sortcode"inti64Body
churchreport_active"churchreport_active"boolBody
churchreport_name"churchreport_name"strStringBody
churchreport_sortcode"churchreport_sortcode"inti64Body
churchresource_active"churchresource_active"boolBody
churchresource_anonymize_for_public_user"churchresource_anonymize_for_public_user"boolBody
churchresource_entries_last_days"churchresource_entries_last_days"inti64Body
churchresource_name"churchresource_name"strStringBody
churchresource_send_emails"churchresource_send_emails"boolBody
churchresource_sortcode"churchresource_sortcode"inti64Body
churchservice_active"churchservice_active"boolBody
churchservice_agendashowenumeration"churchservice_agendashowenumeration"boolBody
churchservice_ccli_token"churchservice_ccli_token"strStringBody
churchservice_ccli_token_secret"churchservice_ccli_token_secret"strStringBody
churchservice_entries_last_days"churchservice_entries_last_days"inti64Body
churchservice_invite_persons"churchservice_invite_persons"boolBody
churchservice_name"churchservice_name"strStringBody
churchservice_openservice_rememberdays"churchservice_openservice_rememberdays"inti64Body
churchservice_reminderhours"churchservice_reminderhours"inti64Body
churchservice_songwithcategoryasdir"churchservice_songwithcategoryasdir"boolBody
churchservice_sortcode"churchservice_sortcode"inti64Body
churchsync_active"churchsync_active"boolBody
churchsync_name"churchsync_name"strStringBody
churchsync_sortcode"churchsync_sortcode"inti64Body
churchwiki_active"churchwiki_active"boolBody
churchwiki_name"churchwiki_name"strStringBody
churchwiki_sortcode"churchwiki_sortcode"inti64Body
cronjob_delay"cronjob_delay"inti64Body
data_privacy_text"data_privacy_text"strStringBody
datasecurity_banner_enabled"datasecurity_banner_enabled"boolBody
datasecurity_privacy_agreement_text"datasecurity_privacy_agreement_text"strStringBodyOnly in extended config
datasecurity_privacy_agreement_text_for_children"datasecurity_privacy_agreement_text_for_children"strStringBodyOnly in extended config
deactivate_default_login"deactivate_default_login"boolBody
email_server"emailServer"strStringBody
evangelische_termine_api_key"evangelische_termine_api_key"strStringBody
evangelische_termine_enabled"evangelische_termine_enabled"boolBody
evangelische_termine_name"evangelische_termine_name"strStringBody
evangelische_termine_url"evangelische_termine_url"strStringBody
evangelische_termine_vid"evangelische_termine_vid"strStringBody
feature_sessionless_login"feature_sessionless_login"boolBody
hide_licensetab"hide_licensetab"strStringBody
impressum_external"impressum_external"strStringBody
impressum_external_link"impressum_external_link"strStringBody
impressum_internal"impressum_internal"strStringBodyThis is a string that can only be true or false.
invite_email_text"invite_email_text"strStringBody
is_churchtools_blog_widget_active"is_churchtools_blog_widget_active"boolBody
is_churchtools_onboarding_widget_active"is_churchtools_onboarding_widget_active"boolBody
is_pr_widget_active"is_pr_widget_active"boolBody
is_rss_widget_active"is_rss_widget_active"boolBody
ldap_otp_enabled"ldap_otp_enabled"boolBody
login_message"login_message"strStringBody
mail_enabled"mail_enabled"boolBody
mail_smtp_args_host"mail_smtp_args_host"strStringBody
mail_smtp_args_password"mail_smtp_args_password"strStringBody
mail_smtp_args_port"mail_smtp_args_port"strStringBody
mail_smtp_args_smtpsecure"mail_smtp_args_smtpsecure"strStringBody
mail_smtp_args_username"mail_smtp_args_username"strStringBody
matomo_uri"matomo_uri"strStringBody
max_uploadfile_size_kb"max_uploadfile_size_kb"inti64Body
post_active"post_active"boolBody
post_edit_time_limited"post_edit_time_limited"boolBody
post_email_summary_default_enabled"post_email_summary_default_enabled"boolBody
post_email_summary_default_filter"post_email_summary_default_filter"strStringBody
post_email_summary_default_weekdays"post_email_summary_default_weekdays"strStringBody
post_featured_groups"post_featured_groups"strStringBody
post_inmenu"post_inmenu"boolBody
post_name"post_name"strStringBody
post_sortcode"post_sortcode"inti64Body
post_wizard_completed"post_wizard_completed"boolBody
post_wizard_groups"post_wizard_groups"strStringBody
prevent_export"prevent_export"boolBody
privacy_policy_external"privacy_policy_external"boolBody
privacy_policy_external_link"privacy_policy_external_link"strStringBody
privacy_policy_fields_mandatory"privacy_policy_fields_mandatory"boolBody
privacy_policy_fields_mandatory_api"privacy_policy_fields_mandatory_api"boolBody
privacy_policy_internal"privacy_policy_internal"boolBody
rss_widget_link"rss_widget_link"strStringBody
send_data_security_mails"send_data_security_mails"boolBody
show_remember_me"show_remember_me"boolBody
site_licensekey"site_licensekey"strStringBody
site_logo"site_logo"strStringBody
site_mail"site_mail"strStringBody
site_name"site_name"strStringBody
site_offline"site_offline"boolBody
site_region"site_region"strStringBody
site_startpage"site_startpage"strStringBody
support_user_active_since"support-user-active-since"datetimeDateTime<Utc>BodyA timestamp in Zulu time format, e.g.
timezone"timezone"strStringBody
welcome"welcome"strStringBody
welcome_subtext"welcome_subtext"strStringBody

Rückgabe None()

client.config.update(accept_datasecurity=True)
let body = models::PutConfigRequest {
    accept_datasecurity: Some(true),
    ..Default::default()
};
client.config().update(&body)?;

GET/csrftoken

client.csrf_token.get()client.csrf_token().get()

CSRF token for the current user

Returns the CSRF-Token for the current user in the current session. If the session does not exist, null is returned.

Rückgabe Optional[str]Option<String>

result = client.csrf_token.get()
print(result)
let result = client.csrf_token().get()?;
println!("{:?}", result);

GET/externallogins

client.external_logins.list()client.external_logins().list()

List external login providers

Returns all external login provider configurations, including hidden providers. Requires "churchcore administer settings" permission. Client secrets and SAML SP private keys are not included.

Rückgabe List[ExternalLogin]Vec<ExternalLogin>

for external_login in client.external_logins.list():
    print(external_login.name)
for external_login in client.external_logins().list()? {
    println!("{}", external_login.name);
}

GET/externallogins/{externalLoginId}

client.external_logins.get()client.external_logins().get()

Get an external login provider

Returns one provider configuration. Requires "churchcore administer settings" permission. Hidden providers remain accessible. Client secrets and SAML SP private keys are not included.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja

Rückgabe ExternalLogin

external_login = client.external_logins.get(7)
print(external_login.name)
let external_login = client.external_logins().get(7)?;
println!("{}", external_login.name);

POST/externallogins*

client.external_logins.create()client.external_logins().create()

Create an external login provider

Creates an OAuth, OpenID Connect or SAML provider configuration. Requires "churchcore administer settings" permission; SAML additionally requires the SAML settings feature flag. Logo discovery may contact the provider while saving. Only one provider can be primary.

13 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
config"config"Union[ExternalLoginOAuthConfig, ExternalLoginOidcConfig, ExternalLoginSamlConfig]serde_json::ValueBodyja
create_new_person"createNewPerson"boolBodyjaWhether the login flow may create a ChurchTools person when no local identity mapping exists.
has_registration"hasRegistration"boolBodyjaWhether the external provider offers a registration flow; support depends on the protocol handler.
is_visible"isVisible"boolBody
matching_mode"matchingMode"strStringBodyDetermines how an authenticated external identity without an existing person mapping is handled.
name"name"strStringBodyjaDisplay name shown for this provider.
new_person_campus_id"newPersonCampusId"Optional[int]Option<i64>BodyjaDefault campus ID for newly created people.
new_person_department_id"newPersonDepartmentId"Optional[int]Option<i64>BodyjaDefault department ID for newly created people.
new_person_status_id"newPersonStatusId"Optional[int]Option<i64>BodyjaDefault person status ID for newly created people.
primary_login"primaryLogin"boolBody
subtitle"subtitle"Optional[str]Option<String>BodySecondary text on the login choice.
type_"type"strStringBodyjaConfigured login protocol.
update_data_on_login"updateDataOnLogin"boolBodyjaWhether existing person data is updated from provider data after successful matching.

Rückgabe ExternalLogin

result = client.external_logins.create(
    config=ct.models.ExternalLoginOAuthConfig.model_validate({"accessTokenUrl": "https://identity.example.org/accessTokenUrl", "authorizeUrl": "https://identity.example.org/authorizeUrl", "clientId": "churchtools", "urlResourceOwnerDetails": "https://identity.example.org/urlResourceOwnerDetails"}),
    create_new_person=True,
    has_registration=True,
    name="Organization login",
    new_person_campus_id=42,
    new_person_department_id=42,
    new_person_status_id=42,
    type_="oauth",
    update_data_on_login=True,
)
print(result.name)
let body = models::ExternalLoginCreate {
    config: serde_json::json!({"accessTokenUrl": "https://identity.example.org/accessTokenUrl", "authorizeUrl": "https://identity.example.org/authorizeUrl", "clientId": "churchtools", "urlResourceOwnerDetails": "https://identity.example.org/urlResourceOwnerDetails"}),
    create_new_person: true,
    has_registration: true,
    name: "Organization login".into(),
    new_person_campus_id: Some(42),
    new_person_department_id: Some(42),
    new_person_status_id: Some(42),
    r#type: "oauth".into(),
    update_data_on_login: true,
    ..Default::default()
};
let result = client.external_logins().create(&body)?;
println!("{}", result.name);

PUT/externallogins/{externalLoginId}*

client.external_logins.update()client.external_logins().update()

Update an external login provider

Updates an existing provider. Requires "churchcore administer settings" permission; SAML changes additionally require the SAML settings feature flag. The protocol cannot be changed. Logo discovery is repeated, and setting primaryLogin does not demote another primary provider.

14 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
config"config"Union[ExternalLoginOAuthConfig, ExternalLoginOidcConfig, ExternalLoginSamlConfig]serde_json::ValueBodyja
create_new_person"createNewPerson"boolBodyjaWhether the login flow may create a ChurchTools person when no local identity mapping exists.
has_registration"hasRegistration"boolBodyjaWhether the external provider offers a registration flow; support depends on the protocol handler.
is_visible"isVisible"boolBodyWhether this provider is listed among available SSO login choices.
matching_mode"matchingMode"strStringBodyDetermines how an authenticated external identity without an existing person mapping is handled.
name"name"strStringBodyjaDisplay name shown for this provider.
new_person_campus_id"newPersonCampusId"Optional[int]Option<i64>BodyjaDefault campus ID for newly created people.
new_person_department_id"newPersonDepartmentId"Optional[int]Option<i64>BodyjaDefault department ID for newly created people.
new_person_status_id"newPersonStatusId"Optional[int]Option<i64>BodyjaDefault person status ID for newly created people.
primary_login"primaryLogin"boolBodyMarks the preferred external login.
subtitle"subtitle"Optional[str]Option<String>BodySecondary text on the login choice.
type_"type"strStringBodyjaConfigured login protocol.
update_data_on_login"updateDataOnLogin"boolBodyjaWhether existing person data is updated from provider data after successful matching.

Rückgabe ExternalLogin

result = client.external_logins.update(
    7,
    config=ct.models.ExternalLoginOAuthConfig.model_validate({"accessTokenUrl": "https://identity.example.org/accessTokenUrl", "authorizeUrl": "https://identity.example.org/authorizeUrl", "clientId": "churchtools", "urlResourceOwnerDetails": "https://identity.example.org/urlResourceOwnerDetails"}),
    create_new_person=True,
    has_registration=True,
    name="Nextcloud",
    new_person_campus_id=42,
    new_person_department_id=42,
    new_person_status_id=42,
    type_="oauth",
    update_data_on_login=True,
)
print(result.name)
let body = models::ExternalLoginUpdate {
    config: serde_json::json!({"accessTokenUrl": "https://identity.example.org/accessTokenUrl", "authorizeUrl": "https://identity.example.org/authorizeUrl", "clientId": "churchtools", "urlResourceOwnerDetails": "https://identity.example.org/urlResourceOwnerDetails"}),
    create_new_person: true,
    has_registration: true,
    name: "Nextcloud".into(),
    new_person_campus_id: Some(42),
    new_person_department_id: Some(42),
    new_person_status_id: Some(42),
    r#type: "oauth".into(),
    update_data_on_login: true,
    ..Default::default()
};
let result = client.external_logins().update(7, &body)?;
println!("{}", result.name);

DELETE/externallogins/{externalLoginId}*

client.external_logins.delete()client.external_logins().delete()

Delete an external login provider

Deletes the provider configuration and its stored person-identity mappings. Requires "churchcore administer settings" permission; deleting a SAML provider also requires the SAML settings feature flag. ChurchTools persons and sessions at the external provider remain.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja

Rückgabe None()

client.external_logins.delete(7)
client.external_logins().delete(7)?;

POST/externallogins/oidc/backchannel-logout*

client.external_logins.oidc.backchannel_logout()client.external_logins().oidc().backchannel_logout()

Receive an OIDC back-channel logout

Accepts an OIDC Back-Channel Logout token signed by a configured provider. No browser session, CSRF token or API authentication is required. Issuer, audience, signature, lifetime, event and session/subject claims are checked. Matching local OIDC sessions are rejected on their next request. Repeated valid tokens and tokens without a matching local session succeed. Local password sessions remain unaffected. Responses have Cache-Control: no-store.

Rückgabe None()

client.external_logins.oidc.backchannel_logout()
client.external_logins().oidc().backchannel_logout()?;

GET/externallogins/{externalLoginId}/saml/login*

client.external_logins.saml.get_login()client.external_logins().saml().get_login()mit Filtern: .get_login_with(&GetExternalloginsExternalLoginIdSamlLoginQuery)

Start a SAML browser login

Starts the browser-based SAML login for a visible SAML external-login provider. Redirects to the configured identity provider with a SAML authentication request and an opaque RelayState. An optional post-login redirect is saved in the browser session, so the callback must retain that session. Only absolute URLs on this installation’s origin and within its base path are accepted; invalid redirect values are ignored. Missing, hidden or invalid providers and other setup failures produce a localized 404 response. No login or JSON access token is returned by this endpoint itself.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
redirectstrStringQueryAbsolute same-origin destination after successful login.

Rückgabe None()

client.external_logins.saml.get_login(7)
client.external_logins().saml().get_login(7)?;

GET/externallogins/{externalLoginId}/saml/metadata

client.external_logins.saml.get_metadata()client.external_logins().saml().get_metadata()

Get SAML service-provider metadata

Returns the XML metadata that an identity-provider administrator uses to configure ChurchTools as a SAML service provider. The entity ID, assertion-consumer URL and logout URL refer to this external-login provider. This endpoint is public and also works for a hidden provider, allowing setup before enabling login. Any provider/configuration/metadata-generation failure is returned as 404 with localized text, not a JSON error envelope.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja

Rückgabe bytes (text/xml)Vec<u8> (text/xml)

data = client.external_logins.saml.get_metadata(7)
with open("ergebnis.bin", "wb") as f:
    f.write(data)
let data = client.external_logins().saml().get_metadata(7)?;
std::fs::write("ergebnis.bin", &data)?;

GET/externallogins/{externalLoginId}/saml/sls*

client.external_logins.saml.get_sls()client.external_logins().saml().get_sls()mit Filtern: .get_sls_with(&GetExternalloginsExternalLoginIdSamlSlsQuery)

Process a SAML single-logout message

Processes a signed SAML HTTP-Redirect single-logout message for a visible provider. A redirect does not confirm successful logout.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
saml_requeststrStringQueryBase64-encoded, DEFLATE-compressed SAML LogoutRequest.
saml_responsestrStringQueryBase64-encoded, DEFLATE-compressed SAML LogoutResponse.
relay_statestrStringQueryOpaque state echoed when responding to a logout request.
sig_algstrStringQueryURI of the redirect-binding signature algorithm.
signaturestrStringQueryBase64-encoded redirect-binding signature.

Rückgabe None()

client.external_logins.saml.get_sls(7)
client.external_logins().saml().get_sls(7)?;

POST/externallogins/{externalLoginId}/saml/sls*

client.external_logins.saml.create_sls()client.external_logins().saml().create_sls()mit Filtern: .create_sls_with(&PostExternalloginsExternalLoginIdSamlSlsQuery)

Process a SAML single-logout message

Processes a signed SAML HTTP-Redirect single-logout message for a visible provider. Prefer the GET binding for new integrations. A redirect does not confirm successful logout.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
saml_requeststrStringQueryBase64-encoded, DEFLATE-compressed SAML LogoutRequest.
saml_responsestrStringQueryBase64-encoded, DEFLATE-compressed SAML LogoutResponse.
relay_statestrStringQueryOpaque state echoed when responding to a logout request.
sig_algstrStringQueryURI of the redirect-binding signature algorithm.
signaturestrStringQueryBase64-encoded redirect-binding signature.

Rückgabe None()

client.external_logins.saml.create_sls(7)
client.external_logins().saml().create_sls(7)?;

PUT/externallogins/{externalLoginId}/saml/sls*

client.external_logins.saml.update_sls()client.external_logins().saml().update_sls()mit Filtern: .update_sls_with(&PutExternalloginsExternalLoginIdSamlSlsQuery)

Process a SAML single-logout message

Processes a signed SAML HTTP-Redirect single-logout message for a visible provider. Prefer the GET binding for new integrations. A redirect does not confirm successful logout.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
saml_requeststrStringQueryBase64-encoded, DEFLATE-compressed SAML LogoutRequest.
saml_responsestrStringQueryBase64-encoded, DEFLATE-compressed SAML LogoutResponse.
relay_statestrStringQueryOpaque state echoed when responding to a logout request.
sig_algstrStringQueryURI of the redirect-binding signature algorithm.
signaturestrStringQueryBase64-encoded redirect-binding signature.

Rückgabe None()

client.external_logins.saml.update_sls(7)
client.external_logins().saml().update_sls(7)?;

PATCH/externallogins/{externalLoginId}/saml/sls*

client.external_logins.saml.patch_sls()client.external_logins().saml().patch_sls()mit Filtern: .patch_sls_with(&PatchExternalloginsExternalLoginIdSamlSlsQuery)

Process a SAML single-logout message

Processes a signed SAML HTTP-Redirect single-logout message for a visible provider. Prefer the GET binding for new integrations. A redirect does not confirm successful logout.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
saml_requeststrStringQueryBase64-encoded, DEFLATE-compressed SAML LogoutRequest.
saml_responsestrStringQueryBase64-encoded, DEFLATE-compressed SAML LogoutResponse.
relay_statestrStringQueryOpaque state echoed when responding to a logout request.
sig_algstrStringQueryURI of the redirect-binding signature algorithm.
signaturestrStringQueryBase64-encoded redirect-binding signature.

Rückgabe None()

client.external_logins.saml.patch_sls(7)
client.external_logins().saml().patch_sls(7)?;

DELETE/externallogins/{externalLoginId}/saml/sls*

client.external_logins.saml.delete_sls()client.external_logins().saml().delete_sls()mit Filtern: .delete_sls_with(&DeleteExternalloginsExternalLoginIdSamlSlsQuery)

Process a SAML single-logout message

Processes a signed SAML HTTP-Redirect single-logout message for a visible provider. Prefer the GET binding for new integrations. A redirect does not confirm successful logout.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
saml_requeststrStringQueryBase64-encoded, DEFLATE-compressed SAML LogoutRequest.
saml_responsestrStringQueryBase64-encoded, DEFLATE-compressed SAML LogoutResponse.
relay_statestrStringQueryOpaque state echoed when responding to a logout request.
sig_algstrStringQueryURI of the redirect-binding signature algorithm.
signaturestrStringQueryBase64-encoded redirect-binding signature.

Rückgabe None()

client.external_logins.saml.delete_sls(7)
client.external_logins().saml().delete_sls(7)?;

POST/externallogins/{externalLoginId}/saml/acs*

client.external_logins.saml.acs()client.external_logins().saml().acs()

Consume a SAML authentication response

Public assertion-consumer callback for the identity provider’s form POST. Validates the SAML response and maps the external identity to a ChurchTools person. Successful login redirects to the stored destination or the installation landing page; identities needing account linking are redirected into that flow instead. Normal login requires a visible provider. Administrator test flows can use hidden providers and return a small HTML page that closes the popup, without logging the tested identity in. Test failures can also return that 200 HTML page: read the separate test-result endpoint for the outcome. A pending administrator test with missing RelayState also returns the popup page. Normal failures return 401 as localized text or an HTML error page, never the usual JSON error envelope.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja

Rückgabe bytes (text/html)Vec<u8> (text/html)

data = client.external_logins.saml.acs(7)
with open("ergebnis.bin", "wb") as f:
    f.write(data)
let data = client.external_logins().saml().acs(7)?;
std::fs::write("ergebnis.bin", &data)?;

POST/externallogins/saml/metadata/parse*

client.external_logins.saml.metadata.parse()client.external_logins().saml().metadata().parse()

Parse uploaded SAML identity-provider metadata

Parses supplied XML into selectable IdP configuration candidates. Requires "churchcore administer settings" permission. Supports EntityDescriptor and EntitiesDescriptor documents and HTTP-Redirect SSO/SLO bindings. Parsing does not verify metadata signatures or certificate trust.

ParameterTypOrtPflichtBeschreibung
xml"xml"strStringBodyjaXML document with EntityDescriptor or EntitiesDescriptor root in the SAML metadata namespace.

Rückgabe PostExternalloginsSamlMetadataParseData

metadata = client.external_logins.saml.metadata.parse(xml="beispiel")
print(metadata)
let body = models::SamlMetadataParseCreate {
    xml: "beispiel".into(),
    ..Default::default()
};
let metadata = client.external_logins().saml().metadata().parse(&body)?;
println!("{:?}", metadata);

GET/info

client.info.get()client.info().get()

Information about API

The API envoles and dependes on the ChurchTools version. This endpoint provides the build version and CT version.

Rückgabe GetInfoResponse

info = client.info.get()
print(info.build)
let info = client.info().get()?;
println!("{:?}", info.build);

POST/login*

client.login.create()client.login().create()

Start password-based login

Verifies a username/email and password, using configured LDAP authentication before local credentials. The configured default-login policy is enforced. HTTP 200 may mean login succeeded or that a second step is required; inspect data.status. With totp, submit the code and personId to POST /login/totp. With twoFactorSetup, initialize and activate two-factor setup before login is completed. Preserve cookies across all steps. rememberMe controls persistent browser login. Invalid credentials and locked accounts return 400, not 401. Failed local attempts increment account counters. All login steps share the configured login rate limit.

ParameterTypOrtPflichtBeschreibung
password"password"strStringBodyjaAccount password; preserve spaces exactly.
username"username"strStringBodyjaLogin name or email address.
remember_me"rememberMe"Optional[bool]Option<bool>BodyRequest persistent browser login.

Rückgabe LoginResult

result = client.login.create(password="example-password", username="alex@example.org")
print(result.location)
let body = models::LoginCreate {
    password: "example-password".into(),
    username: "alex@example.org".into(),
    ..Default::default()
};
let result = client.login().create(&body)?;
println!("{:?}", result.location);

POST/login/token*

client.login.token()client.login().token()

Get or create a persistent login token

Verifies username/email and password and returns the person’s existing persistent login token, creating one only if none exists. No browser login is completed by this operation. The configured default-login policy applies. Accounts with activated two-factor authentication are rejected with 400. Token retrieval is blocked during non-support simulation. The returned credential has no expiry field and remains independent of logout. Failed credential checks can increment local account error counters. This route shares the configured login rate limit with the other login steps.

ParameterTypOrtPflichtBeschreibung
password"password"strStringBodyjaAccount password; preserve spaces exactly.
username"username"strStringBodyjaLogin name or email address.

Rückgabe LoginTokenResult

login = client.login.token(password="example-password", username="alex@example.org")
print(login.person_id)
let body = models::LoginCredentials {
    password: "example-password".into(),
    username: "alex@example.org".into(),
    ..Default::default()
};
let login = client.login().token(&body)?;
println!("{}", login.person_id);

POST/login/totp*

client.login.totp()client.login().totp()

Complete login with an authenticator code

Verifies the authenticator code for the person bound to the pending password-verified session. Retain the same session cookie from POST /login; this operation does not use ordinary API authentication to select a person. On success the code is temporarily blacklisted, login is completed and the pending session is removed. A pending external-account link is completed instead when that context exists. If two-factor authentication was disabled or its secret disappeared after the password step, the legacy normal-login branch returns success without redirectTo and without completing login; clients should restart the login flow. Invalid or reused codes, missing pending session and person mismatch return 400. Shares the login rate limit.

ParameterTypOrtPflichtBeschreibung
code"code"strStringBodyjaSix-digit current authenticator code.
person_id"personId"inti64BodyjaPerson ID from the password step; must match the pending two-factor session.

Rückgabe TwoFactorLoginResult

login = client.login.totp(code="012345", person_id=42)
print(login.redirect_to)
let body = models::LoginTotpVerify {
    code: "012345".into(),
    person_id: 42,
    ..Default::default()
};
let login = client.login().totp(&body)?;
println!("{:?}", login.redirect_to);

POST/login/twofactor/setup*

client.login.two_factor.setup.create()client.login().two_factor().setup().create()

Initialize required authenticator setup

Starts authenticator enrollment for the person in a pending twoFactorSetup login session. Use the same cookies as the password step. Creates and stores a new secret and sets the enabled flag to false. Returns the secret and its QR-code image as a data URI. Repeating this request replaces the previous secret and invalidates its QR code, so do not use it as a read-only setup-status request. Submit a code generated from this secret to POST /login/twofactor/setup/activate. A missing or unsuitable pending session returns 400. Shares the login rate limit.

Rückgabe TwoFactorSetupSecret

result = client.login.two_factor.setup.create()
print(result.qrcode)
let result = client.login().two_factor().setup().create()?;
println!("{}", result.qrcode);

POST/login/twofactor/setup/activate*

client.login.two_factor.setup.activate()client.login().two_factor().setup().activate()

Activate authenticator and complete required setup

Verifies a code from the secret initialized through POST /login/twofactor/setup in the same pending login session. The session identifies the person. On success, blacklists the code, enables two-factor authentication, completes browser login using the original rememberMe choice, and clears the pending session. The response includes a navigation target from that session. Invalid/reused codes, missing secret or missing setup session return 400. Activation is saved before browser login finishes, so a later failure can leave two-factor authentication enabled. This endpoint is not an idempotent status-setting operation; after success the pending session is gone. Shares the login rate limit.

ParameterTypOrtPflichtBeschreibung
code"code"strStringBodyjaSix-digit current authenticator code.

Rückgabe PostLoginTwofactorSetupActivateData

setup = client.login.two_factor.setup.activate(code="012345")
print(setup.redirect_to)
let body = models::TwoFactorSetupActivate {
    code: "012345".into(),
    ..Default::default()
};
let setup = client.login().two_factor().setup().activate(&body)?;
println!("{}", setup.redirect_to);

POST/logout*

client.logout.create()client.logout().create()

End the current browser session

Deletes the current session cookie, destroys the server-side session and resets the current user to anonymous. Also usable to leave a pending two-factor login. This affects the current session only; it does not revoke persistent login tokens or OAuth tokens. A subsequent request still carrying such an Authorization header may authenticate again. An unauthenticated request without an applicable session may be rejected by authentication middleware.

Rückgabe None()

client.logout.create()
client.logout().create()?;

POST/markdown/check

client.markdown.check()client.markdown().check()

Validate Markdown string

Check if the provided Markdown content is valid for the specified scope

ParameterTypOrtPflichtBeschreibung
input_scope"inputScope"strStringBodyjaValidates the provided Markdown content against the specified scope's rules and restrictions.
markdown"markdown"strStringBodyjaThe Markdown text to be processed

Rückgabe PostMarkdownCheckData

markdown = client.markdown.check(input_scope="description", markdown="Hallo zusammen")
print(markdown.is_valid)
let body = models::PostMarkdownCheckBody {
    input_scope: "description".into(),
    markdown: "Hallo zusammen".into(),
    ..Default::default()
};
let markdown = client.markdown().check(&body)?;
println!("{}", markdown.is_valid);

POST/markdown/convert*

client.markdown.convert()client.markdown().convert()

Convert Markdown to HTML etc.

convert a set of markdown strings

ParameterTypOrtPflichtBeschreibung
options"options"MarkdownRequestOptionsBodyGlobal options for all sources
sources"sources"List[MarkdownRequestSourcesItem]Vec<MarkdownRequestSourcesItem>Bodyja

Rückgabe Config

markdown = client.markdown.convert(
    sources=[ct.models.MarkdownRequestSourcesItem.model_validate({"inputScope": "description", "markdown": "Hallo zusammen", "outputFormats": ["html"], "outputScopes": ["description"], "shortName": "Hauskreis Nord"})],
)
print(markdown.current_config_file)
let body = models::MarkdownRequest {
    sources: vec![models::MarkdownRequestSourcesItem {
        input_scope: "description".into(),
        markdown: "Hallo zusammen".into(),
        output_formats: vec!["html".into()],
        output_scopes: vec!["description".into()],
        short_name: "Hauskreis Nord".into(),
        ..Default::default()
    }],
    ..Default::default()
};
let markdown = client.markdown().convert(&body)?;
println!("{:?}", markdown.current_config_file);

GET/pollfornews

client.poll_for_news.list()client.poll_for_news().list()Query: GetPollfornewsQuery

This endpoint returns the identifiers of changed entities since the last call.

ParameterTypOrtPflichtBeschreibung
domain_typesList[str]Vec<String>QueryjaFilters for which domain types the changes should be checked.
sincedatetimeDateTime<Utc>QueryjaThe date when you last called the API.

Rückgabe List[PollForNewsResult]Vec<PollForNewsResult>

for poll_for_new in client.poll_for_news.list(
    domain_types=["beispiel"],
    since=dt.datetime(2022, 10, 19, 12, 0, tzinfo=dt.timezone.utc),
):
    print(poll_for_new.domain_id)
let query = GetPollfornewsQuery {
    domain_types: Some(vec!["beispiel".into()]),
    since: Some("2022-10-19T12:00:00Z".parse()?),
    ..Default::default()
};
for poll_for_new in client.poll_for_news().list(&query)? {
    println!("{}", poll_for_new.domain_id);
}

POST/reset-password*

client.reset_password.create()client.reset_password().create()

Request password reset

Requests password-reset emails for active, non-archived accounts matching the stored email address or login name. More than one account can match. The account must already have a password, a previous login or a stored invitation login token. Eligible accounts receive a reset link valid for two weeks. The response always contains a generic translated information message, including when no account matches; it does not reveal which accounts exist or confirm delivery. This public endpoint is rate-limited (normally 20 requests per 60 seconds; configurable through ratelimit.login). Opening a reset link loads the reset page, which exchanges its token through POST /reset-password/session before the new password is submitted through PUT /persons/{personId}/password.

ParameterTypOrtPflichtBeschreibung
email_or_username"emailOrUsername"strStringBodyjaStored email address or login name.

Rückgabe PostResetPasswordData

result = client.reset_password.create(email_or_username="alex@example.org")
print(result)
let body = models::PasswordResetCreate {
    email_or_username: "alex@example.org".into(),
    ..Default::default()
};
let result = client.reset_password().create(&body)?;
println!("{:?}", result);

POST/reset-password/session*

client.reset_password.session()client.reset_password().session()

Exchange password-reset token

Exchanges a valid password-reset token for a restricted session and invalidates the token. The session can then set the new password through PUT /persons/{personId}/password.

ParameterTypOrtPflichtBeschreibung
token"token"strStringBodyjaToken from the password-reset link.

Rückgabe None()

client.reset_password.session(token="8Aq4zGm2Vn7Lx9Rk3Yp6Td1Hs5Wc0B")
let body = models::PasswordResetSessionCreate {
    token: "8Aq4zGm2Vn7Lx9Rk3Yp6Td1Hs5Wc0B".into(),
    ..Default::default()
};
client.reset_password().session(&body)?;

GET/saml/login*

client.saml.get_login()client.saml().get_login()mit Filtern: .get_login_with(&GetSamlLoginQuery)

Start a SAML browser login

Legacy SAML URL. Resolves the single configured SAML provider; with zero or multiple SAML providers it cannot resolve a provider. Prefer the provider-specific /externallogins/{externalLoginId}/saml/login URL. Starts the browser-based SAML login for a visible SAML external-login provider. Redirects to the configured identity provider with a SAML authentication request and an opaque RelayState. An optional post-login redirect is saved in the browser session, so the callback must retain that session. Only absolute URLs on this installation’s origin and within its base path are accepted; invalid redirect values are ignored. Missing, hidden or invalid providers and other setup failures produce a localized 404 response. No login or JSON access token is returned by this endpoint itself.

ParameterTypOrtPflichtBeschreibung
redirectstrStringQueryAbsolute same-origin destination after successful login.

Rückgabe None()

client.saml.get_login()
client.saml().get_login()?;

GET/saml/metadata

client.saml.get_metadata()client.saml().get_metadata()

Get SAML service-provider metadata

Legacy SAML URL. Resolves the single configured SAML provider; with zero or multiple SAML providers it cannot resolve a provider. Prefer the provider-specific /externallogins/{externalLoginId}/saml/metadata URL. Returns the XML metadata that an identity-provider administrator uses to configure ChurchTools as a SAML service provider. The entity ID, assertion-consumer URL and logout URL refer to this external-login provider. This endpoint is public and also works for a hidden provider, allowing setup before enabling login. Any provider/configuration/metadata-generation failure is returned as 404 with localized text, not a JSON error envelope.

Rückgabe bytes (text/xml)Vec<u8> (text/xml)

data = client.saml.get_metadata()
with open("ergebnis.bin", "wb") as f:
    f.write(data)
let data = client.saml().get_metadata()?;
std::fs::write("ergebnis.bin", &data)?;

POST/saml/acs*

client.saml.acs()client.saml().acs()

Consume a SAML authentication response

Legacy SAML URL. Resolves the single configured SAML provider; with zero or multiple SAML providers it cannot resolve a provider. Prefer the provider-specific /externallogins/{externalLoginId}/saml/acs URL. Public assertion-consumer callback for the identity provider’s form POST. Validates the SAML response and maps the external identity to a ChurchTools person. Successful login redirects to the stored destination or the installation landing page; identities needing account linking are redirected into that flow instead. Normal login requires a visible provider. Administrator test flows can use hidden providers and return a small HTML page that closes the popup, without logging the tested identity in. Test failures can also return that 200 HTML page: read the separate test-result endpoint for the outcome. A pending administrator test with missing RelayState also returns the popup page. Normal failures return 401 as localized text or an HTML error page, never the usual JSON error envelope.

Rückgabe bytes (text/html)Vec<u8> (text/html)

data = client.saml.acs()
with open("ergebnis.bin", "wb") as f:
    f.write(data)
let data = client.saml().acs()?;
std::fs::write("ergebnis.bin", &data)?;

POST/simulate*

client.simulate.create()client.simulate().create()

Start person simulation

Starts simulating another person. The current user's session will act as the specified person until the simulation is stopped.

ParameterTypOrtPflichtBeschreibung
person_id"personId"inti64Bodyja

Rückgabe None()

client.simulate.create(person_id=42)
let body = models::PostSimulateBody {
    person_id: 42,
    ..Default::default()
};
client.simulate().create(&body)?;

DELETE/simulate*

client.simulate.delete()client.simulate().delete()

Stop person simulation

Stops the current person simulation and returns a redirect path to navigate back.

Rückgabe DeleteSimulateData

simulate = client.simulate.delete()
print(simulate.redirect)
let simulate = client.simulate().delete()?;
println!("{}", simulate.redirect);

GET/sso-logins

client.sso_logins.list()client.sso_logins().list()

List visible single sign-on providers

Returns visible external login providers that have a registered handler and login link. This public list is intended for the login screen and does not expose provider credentials or configuration. Providers are returned without pagination or a guaranteed order. Hidden providers are omitted. primaryLogin and hasRegistration are presentation/configuration flags, not a guarantee that an external login or account creation will succeed.

Rückgabe List[SsoLogin]Vec<SsoLogin>

for sso_login in client.sso_logins.list():
    print(sso_login.name)
for sso_login in client.sso_logins().list()? {
    println!("{}", sso_login.name);
}

GET/whoami

client.whoami.get()client.whoami().get()mit Filtern: .get_with(&GetWhoamiQuery)

Currently logged in user.

This endpoint returns the current user. If the request is unauthorized, the anonymous user (aka public user) is returned.

ParameterTypOrtPflichtBeschreibung
only_allow_authenticatedboolQueryIf set to true the route will return 401 Unauthorized if the user is not logged in.

Rückgabe Person

whoami = client.whoami.get()
print(whoami.title)
let whoami = client.whoami().get()?;
println!("{:?}", whoami.title);

Person

Personen, ihre Daten, Beziehungen, Einstellungen und Dienstanfragen.

74 Endpunkte im Überblick

POST/labels*

client.labels.create()client.labels().create()

Create an address-label PDF

Generates and stores a PDF of address labels, returning an absolute download URL. Labels use the configured German address formatter and one of three A4 layouts. Only visible selected persons are included; individual printable fields are checked against security levels. Incomplete addresses are still included. With combineSpouses=true, selected visible spouses may share a label even when their addresses differ; the first spouse with a complete address is preferred. Birthday sorting forces separate labels. PDF files are scheduled to expire after one day. The generation handler checks person visibility but has no explicit create print labels permission check; the labels file-download handler checks that permission. Input is currently read without the shared request validator, so malformed input can cause server errors.

ParameterTypOrtPflichtBeschreibung
combine_spouses"combineSpouses"boolBodyCombine selected visible spouses linked by relationship type 2 into one label.
person_ids"personIds"Union[List[int], str, int]serde_json::ValueBodyjaSelected person IDs. Prefer an array of integers; legacy comma-separated strings and a single integer are also accepted.
sortpolicy"sortpolicy"strStringBodyname sorts by surname/given name; postal by country/postal code/street/name; birthday by month/day/year/name.
type_"type"strStringBodyjaA4 sheet layout: Avery3475 has 24 labels (70×36 mm), Herma4425 has 10 (105×57 mm), Herma4677 has 21 (63.5×38.1 mm).

Rückgabe PostLabelsData

result = client.labels.create(person_ids=[42], type_="AveryLabels3475")
print(result.pdf)
let body = models::LabelCreate {
    person_ids: serde_json::json!([42]),
    r#type: "AveryLabels3475".into(),
    ..Default::default()
};
let result = client.labels().create(&body)?;
println!("{}", result.pdf);

POST/labels/totals

client.labels.totals()client.labels().totals()

Count address labels

Calculates four label counts for visible selected persons without generating a PDF. ignoreAddress includes incomplete addresses; onlyCompleteAddress requires street, postal code and city, but not country or address addition. Each contains the count with separate persons and after spouse grouping. Both spouses must be in the visible selection, but their addresses need not match. These counts do not take sortpolicy or layout into account; birthday PDF sorting always uses separate labels. Stored field completeness is checked before any printable-field security filtering.

ParameterTypOrtPflichtBeschreibung
person_ids"personIds"Union[List[int], str, int]serde_json::ValueBodyjaSelected person IDs. Prefer an array of integers; legacy comma-separated strings and a single integer are also accepted.

Rückgabe LabelTotals

label = client.labels.totals(person_ids=[42])
print(label)
let body = models::LabelTotalsRequest {
    person_ids: serde_json::json!([42]),
    ..Default::default()
};
let label = client.labels().totals(&body)?;
println!("{:?}", label);

POST/notifications/test*

client.notifications.test()client.notifications().test()

Send a test push notification to my devices

Sends a localized test push notification to the authenticated person’s registered push-capable devices. No request body or target person is needed. The response has no body. A 201 response does not confirm delivery: it is also returned when no device is registered, Safe Mode suppresses sending, or a handled proxy/network error occurs.

Rückgabe None()

client.notifications.test()
client.notifications().test()?;

GET/person/commentviewers

client.person.comment_viewers.list()client.person().comment_viewers().list()

List person-comment visibility categories

Lists all configured visibility categories for person comments and person-linked notes. A category is not a user group: assign churchdb view comments for its ID to control who may see matching content, subject to the content endpoint’s additional rules. Requires authentication, but no master-data-edit or per-category view-comments permission is checked here. The catalog is unpaginated and includes categories the caller cannot use to read content. Results are sorted by sortKey, then the stored name, both ascending.

Rückgabe List[CommentViewer]Vec<CommentViewer>

for comment_viewer in client.person.comment_viewers.list():
    print(comment_viewer.name)
for comment_viewer in client.person().comment_viewers().list()? {
    println!("{}", comment_viewer.name);
}

GET/person/commentviewers/{id}

client.person.comment_viewers.get()client.person().comment_viewers().get()

Get a person-comment visibility category

Returns one category used to classify the visibility of person comments and person-linked notes. Requires authentication; no master-data-edit or view-comments grant for this category is checked. Reading this catalog entry does not authorize reading comments assigned to it. Includes its stored name, translated display name and sort key. Unknown IDs return 404.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe CommentViewer

comment_viewer = client.person.comment_viewers.get(1)
print(comment_viewer.name)
let comment_viewer = client.person().comment_viewers().get(1)?;
println!("{}", comment_viewer.name);

POST/person/commentviewers

client.person.comment_viewers.create()client.person().comment_viewers().create()

Create a person-comment visibility category

Creates a visibility category for person comments and person-linked notes. Requires edit masterdata in churchdb. name is trimmed and must contain 1–50 characters; duplicate names are allowed. sortKey defaults to 0. The returned category has a generated ID and a translated display name. Creating a category does not assign view comments permissions to any person or role.

ParameterTypOrtPflichtBeschreibung
name"name"strStringBodyjaTrimmed display name or translation key, 1–50 characters.
sort_key"sortKey"inti64BodyNonnegative display sort key; defaults to 0.

Rückgabe CommentViewer

result = client.person.comment_viewers.create(name="Pastoral team")
print(result.name)
let body = models::CommentViewerCreate {
    name: "Pastoral team".into(),
    ..Default::default()
};
let result = client.person().comment_viewers().create(&body)?;
println!("{}", result.name);

PUT/person/commentviewers/{id}

client.person.comment_viewers.update()client.person().comment_viewers().update()

Update a person-comment visibility category

Updates a category’s name and optionally its sort key. Requires edit masterdata in churchdb. The ID is taken from the path; no duplicate ID is required in the body. name is required, trimmed to 1–50 characters, and need not be unique. Unlike create, an omitted sortKey preserves the existing value. Explicit null currently passes validation but fails the integer setter, so omit the field to preserve it. Existing comment/note assignments and permission selections keep referencing the same category ID. Unknown IDs return 404.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
name"name"strStringBodyjaTrimmed display name or translation key, 1–50 characters.
sort_key"sortKey"inti64BodyOptional nonnegative sort key.

Rückgabe CommentViewer

result = client.person.comment_viewers.update(1, name="Pastoral team")
print(result.name)
let body = models::CommentViewerUpdate {
    name: "Pastoral team".into(),
    ..Default::default()
};
let result = client.person().comment_viewers().update(1, &body)?;
println!("{}", result.name);

DELETE/person/commentviewers/{id}

client.person.comment_viewers.delete()client.person().comment_viewers().delete()mit Filtern: .delete_with(&DeletePersonCommentviewersIdQuery)

Delete a person-comment visibility category

Deletes an unused visibility category. Requires edit masterdata in churchdb. Legacy person comments and note links referencing this category block deletion with 409. Successful deletion also removes explicit churchdb view comments assignments for this category and invalidates the permission cache. dry_run=true only checks references and returns 409 with the deletion report even when deletion would be allowed; it never returns 204. A missing category is not explicitly loaded before deletion, so a real delete can return 204 without having removed a row.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.person.comment_viewers.delete(1)
client.person().comment_viewers().delete(1)?;

GET/person/growpaths

client.person.grow_paths.list()client.person().grow_paths().list()

List growth-path stages

Lists the configured growth-path stages, ordered by sortKey and stored name ascending. Requires view in churchdb. Stages are assigned to group-type roles or concrete group roles; ChurchTools derives a person’s stage from active memberships in active or finished groups, using the highest matching stage sortKey. A concrete group-role stage overrides the group-type-role stage for that membership. This endpoint returns the complete unpaginated stage catalog, not people or their progress history. Each stage includes translated display text, color and creation/modification metadata.

Rückgabe List[GrowPath]Vec<GrowPath>

for grow_path in client.person.grow_paths.list():
    print(grow_path.name)
for grow_path in client.person().grow_paths().list()? {
    println!("{}", grow_path.name);
}

GET/person/growpaths/{id}

client.person.grow_paths.get()client.person().grow_paths().get()

Get a growth-path stage

Returns one configured growth-path stage, including translated name, display color, ordering/priority and metadata. Requires view in churchdb. The ID identifies a stage referenced by group roles and person growPathId values; this is not the history or progression of a particular person. Unknown IDs return 404.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe GrowPath

grow_path = client.person.grow_paths.get(1)
print(grow_path.name)
let grow_path = client.person().grow_paths().get(1)?;
println!("{}", grow_path.name);

POST/person/growpaths

client.person.grow_paths.create()client.person().grow_paths().create()

Create a growth-path stage

Creates a stage in the growth-path catalog. Requires edit masterdata in churchdb. name is trimmed to 1–100 characters and need not be unique. color must be one of the accepted CTColor keys. sortKey is optional and defaults to 0; it controls both display ordering and precedence when deriving a person’s stage. The new stage is not automatically assigned to a role or person. Returns 201 with the generated ID, translated name and metadata.

ParameterTypOrtPflichtBeschreibung
color"color"Union[str, str]serde_json::ValueBodyjaColor key accepted by the growth-path validator.
name"name"strStringBodyjaTrimmed stage name or translation key, 1–100 characters.
sort_key"sortKey"inti64BodyNonnegative display order and calculation priority; defaults to 0.

Rückgabe GrowPath

result = client.person.grow_paths.create(color="accent", name="New Believer")
print(result.name)
let body = models::GrowPathCreate {
    color: serde_json::json!("accent"),
    name: "New Believer".into(),
    ..Default::default()
};
let result = client.person().grow_paths().create(&body)?;
println!("{}", result.name);

PUT/person/growpaths/{id}

client.person.grow_paths.update()client.person().grow_paths().update()

Update a growth-path stage

Updates a stage’s name, color and ordering/priority. Requires edit masterdata in churchdb. ID comes from the path; name and color are required. sortKey is optional but defaults to 0 on every update, so send its current value to retain it. This differs from comment-viewer updates, which preserve an omitted sort key. sortKey affects both display order and which stage wins when calculating a person’s growth path. This handler only persists the stage; it does not trigger recalculation of all already stored person growPathId values. Equal priorities have no explicit tie-breaker in person calculation. Unknown IDs return 404.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
color"color"Union[str, str]serde_json::ValueBodyjaColor key accepted by the growth-path validator.
name"name"strStringBodyjaTrimmed stage name or translation key, 1–100 characters.
sort_key"sortKey"inti64BodyNonnegative display order and calculation priority; defaults to 0.

Rückgabe GrowPath

result = client.person.grow_paths.update(1, color="accent", name="New Believer")
print(result.name)
let body = models::GrowPathUpdate {
    color: serde_json::json!("accent"),
    name: "New Believer".into(),
    ..Default::default()
};
let result = client.person().grow_paths().update(1, &body)?;
println!("{}", result.name);

DELETE/person/growpaths/{id}

client.person.grow_paths.delete()client.person().grow_paths().delete()mit Filtern: .delete_with(&DeletePersonGrowpathsIdQuery)

Delete a growth-path stage

Deletes an unused growth-path stage. Requires edit masterdata in churchdb. References from group-type roles and concrete group roles block deletion with 409. Use dryRun=true to inspect deletion dependencies without deleting anything; the report also uses 409 when there are no blockers. The snake_case dry_run parameter used by other endpoints is not the flag read here. The stage is not loaded before deletion, so an unknown ID can return 204 without removing a row.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQuerySimulate deletion. Returns 409 with a deletion report even when deletion would be allowed.

Rückgabe None()

client.person.grow_paths.delete(1)
client.person().grow_paths().delete(1)?;

GET/person/sexes

client.person.sexes.list()client.person().sexes().list()

Get all sexes

Lists the configured sex catalog used by person records and salutations. Requires view permission for Persons (churchdb). Ordered by sortKey and stored name ascending; localized display text can have a different order. The complete catalog is returned without pagination.

Rückgabe List[Sex]Vec<Sex>

for sex in client.person.sexes.list():
    print(sex.name)
for sex in client.person().sexes().list()? {
    println!("{}", sex.name);
}

GET/person/sexes/{id}

client.person.sexes.get()client.person().sexes().get()

Get sex

Returns one sex catalog entry with raw and localized labels and salutations. Requires view permission for Persons (churchdb).

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe Sex

sex = client.person.sexes.get(1)
print(sex.name)
let sex = client.person().sexes().get(1)?;
println!("{}", sex.name);

POST/person/sexes

client.person.sexes.create()client.person().sexes().create()

Create sex

Creates a sex catalog entry, not a person. Requires edit masterdata permission for Persons (churchdb). Text is trimmed; omitted salutations are null and sortKey defaults to 0. Name and salutation values may be translation keys or literal text. Creation is transactional.

ParameterTypOrtPflichtBeschreibung
name"name"strStringBodyjaStored name or translation key.
salutation_formal"salutationFormal"Optional[str]Option<String>BodyStored salutation text or translation key.
salutation_informal"salutationInformal"Optional[str]Option<String>BodyStored salutation text or translation key.
sort_key"sortKey"Optional[int]Option<i64>BodySort order. Omission or null becomes 0.

Rückgabe Sex

result = client.person.sexes.create(name="sex.other")
print(result.name)
let body = models::SexCreate {
    name: "sex.other".into(),
    ..Default::default()
};
let result = client.person().sexes().create(&body)?;
println!("{}", result.name);

PUT/person/sexes/{id}

client.person.sexes.update()client.person().sexes().update()

Update a sex entry

Replaces the writable values of a sex catalog entry. Requires edit masterdata permission for Persons (churchdb). name is required; omitted sortKey is reset to 0 and omitted salutations are cleared to null. IDs 1 and 2 are protected against deletion but can be updated here. The ID is taken from the URL and is not required in the body. The update is transactional.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
name"name"strStringBodyjaStored name or translation key.
salutation_formal"salutationFormal"Optional[str]Option<String>BodyStored salutation text or translation key.
salutation_informal"salutationInformal"Optional[str]Option<String>BodyStored salutation text or translation key.
sort_key"sortKey"Optional[int]Option<i64>BodySort order. Omission or null becomes 0.

Rückgabe Sex

result = client.person.sexes.update(1, name="sex.other")
print(result.name)
let body = models::SexUpdate {
    name: "sex.other".into(),
    ..Default::default()
};
let result = client.person().sexes().update(1, &body)?;
println!("{}", result.name);

DELETE/person/sexes/{id}

client.person.sexes.delete()client.person().sexes().delete()mit Filtern: .delete_with(&DeletePersonSexesIdQuery)

Delete sex

Deletes an unused sex catalog entry. Requires edit masterdata permission for Persons (churchdb). IDs 1 and 2 return 403 even for dryRun. Person references block deletion with 409. dryRun=true always returns a 409 deletion report for otherwise eligible IDs, including when deletion would be allowed. A missing unused ID is a successful no-op with 204.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.person.sexes.delete(1)
client.person().sexes().delete(1)?;

GET/persons

client.persons.list()client.persons().list()mit Filtern: .list_with(&GetPersonsQuery)seitenweise

Get all persons

This endpoint gives you all the people you are allowed to see. Each person object holds only those fields you may see. You will get at least an empty array even if you cannot see any person. The results are sorted by lastname, firstname.

We distinguish between date and date-time fields. date is a ISO representation like YYYY-MM-DD. On the other hand, for date-time we return and accept a W3C Zulu date string. Example 1994-11-05T08:15:30Z

16 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
idsList[int]Vec<i64>QueryArray of person ids
status_idsList[int]Vec<i64>QueryFilter by status id
campus_idsList[int]Vec<i64>QueryFilter by campus id
birthday_beforedateNaiveDateQueryFilter by birthdays before that date (Format: YYYY-MM-DD)
birthday_afterdateNaiveDateQueryFilter by birthdays after that date (Format: YYYY-MM-DD)
is_archivedboolQueryShow only archived or not archived people
is_account_lockedboolQueryShow only persons with locked/not locked account
is_system_userboolQueryShow only persons with or without a system user account
first_namestrStringQueryFilter by first name (case-insensitive substring match)
nick_namestrStringQueryFilter by nickname (case-insensitive substring match)
last_namestrStringQueryFilter by last name (case-insensitive substring match)
querystrStringQueryFilter by a substring in first name, last name, or nickname (case-insensitive)
emailstrStringQueryFilter by an email address substring (case-insensitive)
email_exactstrStringQueryFilter by an exact email address
limitinti64QueryNumber of results per page.
includeList[str]Vec<String>QueryInclude additional information

Rückgabe Paginator[Person]Vec<Person>

for person in client.persons.list():
    print(person.title)
for person in client.persons().list()? {
    println!("{:?}", person.title);
}

GET/persons/birthdays

client.persons.list_birthdays()client.persons().list_birthdays()mit Filtern: .list_birthdays_with(&GetPersonsBirthdaysQuery)seitenweise

Fetch Birthdays

This endpoint returns birthdays within a specific time interval. The returned objects are ordered by MONTH-DAY, where the first birthday in the list is the one next from the start date. The API also returns the age of the birthday. That age is calculated based on the date interval. That means, it is not the current age and also not the next birthday, but the age which the person had/will have at the end of the given date interval. There are two ways to utilize this endpoint: 1. With a fixed date interval (start_date, end_date). This interval must not be larger than one year. 2. With a start_date and a direction field. This combination also accepts a page and limit parameter (both with suitable defaults) to paginate through the results.

ParameterTypOrtPflichtBeschreibung
start_datedateNaiveDateQueryBirthdays from that date on, defaults to yesterday
end_datedateNaiveDateQueryBirthdays up to that date, defaults to 30 days from now
directionstrStringQueryThe direction of the result set
limitinti64QueryNumber of results per page.
campus_idsList[int]Vec<i64>QueryFilter by campus ids
group_idsList[int]Vec<i64>QueryFilter by group ids
my_groupsboolQueryFilter by people in my groups
status_idsList[int]Vec<i64>QueryFilter by status ids

Rückgabe Paginator[GetPersonsBirthdaysDataItem]Vec<GetPersonsBirthdaysDataItem>

for birthday in client.persons.list_birthdays():
    print(birthday.deprecated)
for birthday in client.persons().list_birthdays()? {
    println!("{:?}", birthday.deprecated);
}

GET/persons/duplicates

client.persons.list_duplicates()client.persons().list_duplicates()mit Filtern: .list_duplicates_with(&GetPersonsDuplicatesQuery)

get potential duplicates of persons

Caution: This API is published as Beta and subject to be changed. It is published such that customers can play evaluate it with production data.

Provide a list of potential duplicate person records. You can suppress some duplicates

The other parameters are used to filter duplicates.

Returns an array of duplicates

* p1 - properties of Person 1 * p2 - properties of Person 2

ParameterTypOrtPflichtBeschreibung
reset_cacheboolQuery

Rückgabe List[GetPersonsDuplicatesDataItem]Vec<GetPersonsDuplicatesDataItem>

for duplicate in client.persons.list_duplicates():
    print(duplicate.relationship_type_id)
for duplicate in client.persons().list_duplicates()? {
    println!("{:?}", duplicate.relationship_type_id);
}

GET/persons/{personId}/openmeetingrequests

client.persons.list_open_meeting_requests()client.persons().list_open_meeting_requests()

Get my unanswered meeting invitations

Lists meeting invitations for the authenticated person that have no response date and still have an occurrence found by recurrence calculation. personId must match the current user; querying another person returns 403, including for administrators. Tentative answers are excluded because they already have a response date. Invitations apply to the stored appointment or series, not separately to every occurrence. Results include nextStartDate and nextEndDate, are sorted by nextStartDate ascending, and are not paginated. The embedded appointment and legacy eventDate describe the stored appointment, which can start in the past for a recurring series.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe List[OpenMeetingRequest]Vec<OpenMeetingRequest>

for open_meeting_request in client.persons.list_open_meeting_requests(42):
    print(open_meeting_request.id)
for open_meeting_request in client.persons().list_open_meeting_requests(42)? {
    println!("{}", open_meeting_request.id);
}

GET/persons/{personId}/posts

client.persons.list_posts()client.persons().list_posts()mit Filtern: .list_posts_with(&GetPersonsPersonIdPostsQuery)

Returns the posts authored by a person

ParameterTypOrtPflichtBeschreibung
person_idstrimpl DisplayPfadja
filterList[str]Vec<String>QueryCan only be used if the endpoint is called with the personId of the currently logged in user.
limitinti64QueryNumber of results per page.
beforedatetimeDateTime<Utc>QueryIf set, only posts created before this date are returned.
last_post_indentifierstrStringQueryIf set, posts created at the "before" date are included in the result, if the guids of the posts are lexically smaller than the last_post_indentifier.
afterdatetimeDateTime<Utc>QueryIf set, only posts created after this date are returned.

Rückgabe List[Post]Vec<Post>

for post in client.persons.list_posts("abc123"):
    print(post.title)
for post in client.persons().list_posts("abc123")? {
    println!("{}", post.title);
}

GET/persons/relationships

client.persons.list_relationships()client.persons().list_relationships()

Get all relationships for all persons

Rückgabe List[GetPersonsRelationshipsDataItem]Vec<GetPersonsRelationshipsDataItem>

for relationship in client.persons.list_relationships():
    print(relationship.id)
for relationship in client.persons().list_relationships()? {
    println!("{:?}", relationship.id);
}

GET/persons/{personId}

client.persons.get()client.persons().get()

Get a person by ID or GUID

Each person as a unique numeric ID in ChurchTools. This ID is used all over in ChurchTools and in the API.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe Person

person = client.persons.get(42)
print(person.title)
let person = client.persons().get(42)?;
println!("{:?}", person.title);

GET/persons/{personId}/consentstatus

client.persons.get_consentstatus()client.persons().get_consentstatus()

Read the current person's consent status

Returns the authenticated person's persisted consent status independently of general person-field visibility. Only that person may read it, even for administrators; simulation is forbidden. No birthday, consent dates, or relationship data are exposed. A missing stored consent is explicitly false. Clients must not infer acceptance from missing fields or from an unavailable endpoint on older servers. This endpoint must be deployed before clients require this contract.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe GetPersonsPersonIdConsentstatusData

consentstatu = client.persons.get_consentstatus(42)
print(consentstatu.birthday_required)
let consentstatu = client.persons().get_consentstatus(42)?;
println!("{}", consentstatu.birthday_required);

GET/persons/{personId}/information

client.persons.get_information()client.persons().get_information()

Generate a personal data sheet PDF

Generates the complete configured data sheet for the person and returns a PDF download URL. Requires super-administrator access, even when exporting your own data. Despite using GET, every successful call generates and stores a file and logs the export; this is not a read-only preview. The file is associated with the datasheet domain and scheduled for deletion after one day. The API response is JSON, not PDF bytes. message is localized display text. Unknown persons return 404; generation or storage failures may return 500.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe PersonInformationExport

information = client.persons.get_information(42)
print(information.pdf_link)
let information = client.persons().get_information(42)?;
println!("{}", information.pdf_link);

GET/persons/{personId}/loginstring

client.persons.get_login_string()client.persons().get_login_string()

Create a one-time login string for the current person

Creates a new one-time login credential valid for 14 days. Only the current person may request their own credential. Each GET creates and stores a fresh credential; treat the response as a secret. Use it as the loginstr parameter of a ChurchTools login link. Simulation creates a credential carrying the simulating user context. The legacy response has top-level loginString and personId fields, without a data envelope.

ParameterTypOrtPflichtBeschreibung
person_idstrimpl DisplayPfadja

Rückgabe GetPersonsIdLoginstringResponse

login_string = client.persons.get_login_string("abc123")
print(login_string.login_string)
let login_string = client.persons().get_login_string("abc123")?;
println!("{}", login_string.login_string);

GET/persons/{personId}/logintoken

client.persons.get_login_token()client.persons().get_login_token()

Get or create the current person’s login token

Returns the current person’s persistent login credential, creating and storing one if absent. Only the current person may request their own token. The same token is returned on subsequent calls until revoked; treat it as a secret. It has no expiry field. Ordinary user simulation is forbidden; support-user simulation is exempt. This GET can change stored data.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe strString

result = client.persons.get_login_token(42)
print(result)
let result = client.persons().get_login_token(42)?;
println!("{:?}", result);

GET/persons/{personId}/privacypolicy

client.persons.get_privacy_policy()client.persons().get_privacy_policy()

Get privacy-consent information

Returns consent details and parent/child relationship information for the selected person. Simulation is rejected. Access is allowed to super administrators, the person themselves unless they are known to be younger than 16, and a parent linked through relationship type 1 for a person who is not known to be at least 16. An unknown birthday is treated differently by the self-read and acceptance checks. The response supplies suggested typeId/whoId and display flags; it does not grant permission to submit consent.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe PersonPrivacyPolicy

privacy_policy = client.persons.get_privacy_policy(42)
print(privacy_policy.minimum_age)
let privacy_policy = client.persons().get_privacy_policy(42)?;
println!("{}", privacy_policy.minimum_age);

POST/persons

client.persons.create()client.persons().create()mit Filtern: .create_with(&PostPersonsQuery)

Create new person

Creates a person using only fields the current user may write. Before calling this endpoint, retrieve valid statusId, campusId, and departmentIds values from GET /person/masterdata. Read GET /config to determine whether privacy_policy_fields_mandatory is enabled. If it is enabled, provide all three privacy agreement fields. privacyPolicyAgreementTypeId describes how the agreement was obtained, while privacyPolicyAgreementWhoId describes who gave it; these are independent facts and must not be inferred from each other. The without_privacy_policy_agreement parameter is only effective when privacy_policy_fields_mandatory_api is disabled and must not be used without first verifying that setting. If a duplicate person is found, repeat the request with force only after intentionally deciding to create the duplicate.

48 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
forceboolQueryForce the action, which would otherwise fail.
without_privacy_policy_agreementboolQueryOmits the otherwise mandatory privacy policy agreement fields.
address_addition"addressAddition"Optional[str]Option<String>Body
baptised_by"baptisedBy"Optional[str]Option<String>Body
birth_name"birthName"Optional[str]Option<String>Body
birthday"birthday"Optional[date]Option<NaiveDate>Body
birthplace"birthplace"Optional[str]Option<String>Body
campus_id"campusId"inti64BodyID of a campus returned by GET /person/masterdata.
city"city"Optional[str]Option<String>Body
cms_user_id"cmsUserId"strStringBody
country"country"Optional[str]Option<String>Body
date_of_baptism"dateOfBaptism"Optional[date]Option<NaiveDate>Body
date_of_belonging"dateOfBelonging"Optional[date]Option<NaiveDate>Body
date_of_death"dateOfDeath"Optional[date]Option<NaiveDate>Body
date_of_entry"dateOfEntry"Optional[datetime]Option<DateTime<Utc>>Body
date_of_resign"dateOfResign"Optional[datetime]Option<DateTime<Utc>>Body
department_ids"departmentIds"List[int]Vec<i64>BodyjaDepartment IDs returned by GET /person/masterdata.
email"email"strStringBody
emails"emails"List[PersonEmail]Vec<PersonEmail>BodySave many eMail addresses for person.
family_status_id"familyStatusId"Optional[int]Option<i64>Body
fax"fax"Optional[str]Option<String>Body
first_contact"firstContact"Optional[datetime]Option<DateTime<Utc>>Body
first_name"firstName"strStringBody
grow_path_id"growPathId"inti64Body
job"job"Optional[str]Option<String>Body
last_name"lastName"strStringBody
latitude"latitude"Optional[Union[float, str]]serde_json::ValueBody
longitude"longitude"Optional[Union[float, str]]serde_json::ValueBody
mobile"mobile"Optional[str]Option<String>Body
nationality_id"nationalityId"Optional[int]Option<i64>Body
nickname"nickname"Optional[str]Option<String>Body
optigem_id"optigemId"Optional[str]Option<String>Body
phone_private"phonePrivate"Optional[str]Option<String>Body
phone_work"phoneWork"Optional[str]Option<String>Body
place_of_baptism"placeOfBaptism"Optional[str]Option<String>Body
privacy_policy_agreement"privacyPolicyAgreement"CheckinPersonDataCreatePrivacyPolicyAgreementBodyLegacy representation of the privacy agreement.
privacy_policy_agreement_date"privacyPolicyAgreementDate"dateNaiveDateBodyDate of the privacy policy agreement.
privacy_policy_agreement_type_id"privacyPolicyAgreementTypeId"inti64BodyID of the configured agreement type describing how the agreement was obtained.
privacy_policy_agreement_who_id"privacyPolicyAgreementWhoId"inti64BodyID of the configured agreement source describing who gave the agreement.
referred_by"referredBy"Optional[str]Option<String>Body
referred_to"referredTo"Optional[str]Option<String>Body
sex_id"sexId"Optional[int]Option<i64>Body
status_id"statusId"inti64BodyID of a person status returned by GET /person/masterdata.
street"street"Optional[str]Option<String>Body
title"title"Optional[str]Option<String>Body
visibility"visibility"strStringBodyVisibility accepted when creating or updating a person.
wedding_date"weddingDate"Optional[date]Option<NaiveDate>Body
zip"zip"Optional[str]Option<String>Body

Rückgabe Person

result = client.persons.create(department_ids=[42])
print(result.title)
let body = models::PostPersonsBody {
    department_ids: vec![42],
    ..Default::default()
};
let result = client.persons().create(&body)?;
println!("{:?}", result.title);

PUT/persons/{personId}/confidentialityagreement*

client.persons.update_confidentiality_agreement()client.persons().update_confidentiality_agreement()

Accept the current person's confidentiality agreement

Records the current database date as the selected person’s confidentiality acceptance date. Only the current person can accept; simulation is rejected and administrators cannot accept for another person. Repeated acceptance overwrites the date. This is separate from privacy consent and takes no request body.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe None()

client.persons.update_confidentiality_agreement(42)
client.persons().update_confidentiality_agreement(42)?;

PUT/persons/{personId}/password*

client.persons.update_password()client.persons().update_password()

Change a person's password

Changes the password for the person selected by personId. Changing another person's password requires "simulate persons" in churchcore, visibility of the person, and at least all of that person's permissions. Only superadmins may change a superadmin's password, and only an authorized person may change another authorized person's password. Administrative changes do not require oldPassword. For self-service changes, oldPassword must match the current password (or be empty if none exists). For compatibility, a password-reset session takes precedence over personId and a signed-in session; oldPassword must then be an empty string. The new password must meet the installation’s minimum_password_length (default 8), contain ASCII upper- and lowercase letters and a digit, and exclude the person’s first name, last name and nickname case-insensitively. A successful change normally invalidates all sessions and persistent login tokens and signs out the affected current user. Self-service initial setup from no password or the default admin password retains sessions unless using a reset session. Ordinary user simulation is forbidden; support-user simulation is exempt.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
new_password"newPassword"strStringBodyjaNew password satisfying the installation’s length and strength rules.
new_password_confirm"newPasswordConfirm"strStringBodyjaMust exactly match newPassword.
old_password"oldPassword"strStringBodyRequired when changing your own password: current password, or an empty string for a password-reset session or initial setup without a password.

Rückgabe None()

client.persons.update_password(
    42,
    new_password="ExamplePassword42",
    new_password_confirm="ExamplePassword42",
)
let body = models::PersonPasswordUpdate {
    new_password: "ExamplePassword42".into(),
    new_password_confirm: "ExamplePassword42".into(),
    ..Default::default()
};
client.persons().update_password(42, &body)?;

PUT/persons/{personId}/privacypolicy

client.persons.update_privacy_policy()client.persons().update_privacy_policy()

Record privacy consent

Records consent for the selected person and optionally their children. The consent banner must be enabled. The requester must be the person themselves at age 16 or above, a super administrator, or a parent authorized through relationship type 1. For own consent, a missing birthday must be supplied and the controller separately checks the age; a request can return 204 without recording own consent when that check does not pass. Children are checked against parent/child relationship type 1, missing prior consent and age below 16. If any child marked accepted is processed, 200 returns per-child outcomes, including errors or not allowed. Otherwise 204 has no body. The flow is not atomic; own consent or birthdays may already have changed when a later step fails. Unlike GET and DELETE, the acceptance policy has no explicit simulation prohibition.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
birthday"birthday"Optional[str]Option<String>BodyBirthday for the URL person if no birthday is stored.
children_accepted"childrenAccepted"boolBodyjaWhether to process the persons array.
own_accepted"ownAccepted"boolBodyjaWhether to process consent for the URL person.
persons"persons"List[PersonPrivacyPolicyChildUpdate]Vec<PersonPrivacyPolicyChildUpdate>BodyjaChild selections; use an empty array when not processing children.
type_id"typeId"inti64BodyjaConsent-type catalog ID used for own consent; typically the typeId from GET.
who_id"whoId"inti64BodyjaConsent-giver catalog ID used for own consent; typically the whoId from GET.

Rückgabe Optional[List[PersonPrivacyPolicyChildResult]]Option<Vec<PersonPrivacyPolicyChildResult>>

result = client.persons.update_privacy_policy(
    42,
    children_accepted=False,
    own_accepted=True,
    persons=[ct.models.PersonPrivacyPolicyChildUpdate.model_validate({"accepted": True, "birthday": "2016-05-14", "editBirthday": False, "id": 43})],
    type_id=2,
    who_id=1,
)
print(result)
let body = models::PersonPrivacyPolicyUpdate {
    children_accepted: false,
    own_accepted: true,
    persons: vec![models::PersonPrivacyPolicyChildUpdate {
        accepted: true,
        birthday: "2016-05-14".into(),
        edit_birthday: false,
        id: 43,
        ..Default::default()
    }],
    type_id: 2,
    who_id: 1,
    ..Default::default()
};
let result = client.persons().update_privacy_policy(42, &body)?;
println!("{:?}", result);

PATCH/persons/{personId}

client.persons.patch()client.persons().patch()

Updates a person

Endpoint to update a person in ChurchTools. Generally, you can provide any information to save, but be aware that you can only save information for fields you have write access to. Beware, that not all fields which are listed in the Person schema can be updated. E.g. imageUrl or familyUrl.

45 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
address_addition"addressAddition"Optional[str]Option<String>Body
age"age"inti64Body
baptised_by"baptisedBy"Optional[str]Option<String>Body
birth_name"birthName"Optional[str]Option<String>Body
birthday"birthday"Optional[date]Option<NaiveDate>Body
birthplace"birthplace"Optional[str]Option<String>Body
campus_id"campusId"inti64Body
city"city"Optional[str]Option<String>Body
cms_user_id"cmsUserId"strStringBody
country"country"Optional[str]Option<String>Body
date_of_baptism"dateOfBaptism"Optional[date]Option<NaiveDate>Body
date_of_belonging"dateOfBelonging"Optional[date]Option<NaiveDate>Body
date_of_death"dateOfDeath"Optional[date]Option<NaiveDate>Body
date_of_entry"dateOfEntry"Optional[datetime]Option<DateTime<Utc>>Body
date_of_resign"dateOfResign"Optional[datetime]Option<DateTime<Utc>>Body
department_ids"departmentIds"List[int]Vec<i64>BodyDepartment IDs. At least one department MUST be set for a person.
email"email"strStringBody
emails"emails"List[PersonEmail]Vec<PersonEmail>BodySave many eMail addresses for person.
family_status_id"familyStatusId"Optional[int]Option<i64>Body
fax"fax"Optional[str]Option<String>Body
first_contact"firstContact"Optional[datetime]Option<DateTime<Utc>>Body
first_name"firstName"strStringBody
grow_path_id"growPathId"inti64Body
job"job"Optional[str]Option<String>Body
last_name"lastName"strStringBody
latitude"latitude"Optional[Union[float, str]]serde_json::ValueBody
longitude"longitude"Optional[Union[float, str]]serde_json::ValueBody
mobile"mobile"Optional[str]Option<String>Body
nationality_id"nationalityId"Optional[int]Option<i64>Body
nickname"nickname"Optional[str]Option<String>Body
optigem_id"optigemId"Optional[str]Option<String>Body
phone_private"phonePrivate"Optional[str]Option<String>Body
phone_work"phoneWork"Optional[str]Option<String>Body
place_of_baptism"placeOfBaptism"Optional[str]Option<String>Body
privacy_policy_agreement"privacyPolicyAgreement"PatchPersonsIdBodyPrivacyPolicyAgreementBodyThis object can be optional or required.
referred_by"referredBy"Optional[str]Option<String>Body
referred_to"referredTo"Optional[str]Option<String>Body
sex_id"sexId"Optional[int]Option<i64>Body
status_id"statusId"inti64Body
street"street"Optional[str]Option<String>Body
title"title"Optional[str]Option<String>Body
visibility"visibility"strStringBodyVisibility accepted when creating or updating a person.
wedding_date"weddingDate"Optional[date]Option<NaiveDate>Body
zip"zip"Optional[str]Option<String>Body

Rückgabe Person

result = client.persons.patch(42, title="Hauskreis Nord")
print(result.title)
let body = models::PatchPersonsIdBody {
    title: Some(Some("Hauskreis Nord".into())),
    ..Default::default()
};
let result = client.persons().patch(42, &body)?;
println!("{:?}", result.title);

DELETE/persons/{personId}

client.persons.delete()client.persons().delete()

Delete person

Delete the Person

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe None()

client.persons.delete(42)
client.persons().delete(42)?;

DELETE/persons/{personId}/confidentialityagreement

client.persons.delete_confidentiality_agreement()client.persons().delete_confidentiality_agreement()

Revoke a person's confidentiality agreement

Clears the confidentiality acceptance date. Requires write access for Persons (churchdb); being the selected person alone is insufficient. Simulation is rejected. The policy checks module-level write access without an additional person-visibility check. Already absent acceptance is a successful no-op. This is separate from privacy-consent revocation and takes no request body.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe None()

client.persons.delete_confidentiality_agreement(42)
client.persons().delete_confidentiality_agreement(42)?;

DELETE/persons/{personId}/logintoken*

client.persons.delete_login_token()client.persons().delete_login_token()

Revoke the current person’s login token

Deletes the current person’s persistent login token. Only the current person may revoke their own token. A missing token is treated as success. Ordinary user simulation is forbidden; support-user simulation is exempt. This does not invalidate existing sessions or separate one-time login strings. A subsequent GET creates a new token.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe None()

client.persons.delete_login_token(42)
client.persons().delete_login_token(42)?;

DELETE/persons/{personId}/privacypolicy

client.persons.delete_privacy_policy()client.persons().delete_privacy_policy()

Revoke privacy consent

Clears the person’s consent timestamp, consent type and consent-giver category, and then notifies the configured administrator by email when an address is available. Requires an enabled consent banner and either the person themselves, a super administrator, or the parent of a person not known to be at least 16 through relationship type 1. Simulation is rejected. Revocation is not idempotent: an existing person without prior consent raises an application error instead of returning 204. Notification happens after the data change, so a later failure does not imply that consent was retained.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe None()

client.persons.delete_privacy_policy(42)
client.persons().delete_privacy_policy(42)?;

POST/persons/{personId}/activate*

client.persons.activate()client.persons().activate()

Activate a person's account

Enables the person's account. Requires "simulate persons" permission and visibility of the person. Does not restore credentials or permissions removed by deactivation. Records the status change in person history; an already active account produces no additional history entry.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe None()

client.persons.activate(42)
client.persons().activate(42)?;

POST/persons/{personId}/archive

client.persons.archive()client.persons().archive()

Archive a person

Archives a person. Restoring with archived: false is deprecated; use POST /persons/{personId}/unarchive instead.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
archived"archived"boolBody

Rückgabe None()

client.persons.archive(42, archived=True)
let body = models::PostPersonsPersonIdArchiveBody {
    archived: Some(true),
    ..Default::default()
};
client.persons().archive(42, &body)?;

POST/persons/{personId}/deactivate*

client.persons.deactivate()client.persons().deactivate()

Deactivate a person's account

Disables the person's account, removes their individual permissions and password, invalidates sessions, and revokes login tokens and login links. Requires "simulate persons" permission and visibility of the person. Super administrators cannot be deactivated. Records the status change in person history; an already inactive account is cleaned up again without an additional history entry. This does not archive the person.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe None()

client.persons.deactivate(42)
client.persons().deactivate(42)?;

POST/persons/{personId}/invite*

client.persons.invite()client.persons().invite()

Invite Person to ChurchTools

Sends a ChurchTools invitation email to the person’s stored email address. Requires the global churchcore permission invite persons or the group-internal churchdb +invite person permission for this person. Archived people cannot be invited. The call forces sending even after an earlier invitation or acceptance. With local login enabled, the email links to setting a password; with local login disabled, it links to the login page. No request body is consumed. A 204 response indicates that invitation processing completed, not confirmed email delivery.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe None()

client.persons.invite(42)
client.persons().invite(42)?;

POST/persons/properties

client.persons.properties()client.persons().properties()

Retrieve person account properties

Returns lightweight account and communication properties for the given person IDs. The response object is keyed by person ID. If ids is empty or omitted, no person properties are returned.

ParameterTypOrtPflichtBeschreibung
ids"ids"List[int]Vec<i64>BodyPerson IDs for which properties should be returned

Rückgabe StrMap[PersonProperties]BTreeMap<String, PersonProperties>

result = client.persons.properties()
print(result)
let body = models::PostPersonsPropertiesBody::default();
let result = client.persons().properties(&body)?;
println!("{:?}", result);

POST/persons/{personId}/unarchive*

client.persons.unarchive()client.persons().unarchive()

Restore a person from the archive

Restores a person from the archive. Requires "push/pull archive" permission and visibility of the person. Super administrators cannot be restored. Records the change in person history. An already unarchived person is a successful no-op. Account activation is unchanged.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe None()

client.persons.unarchive(42)
client.persons().unarchive(42)?;

GET/persons/{personId}/devices

client.persons.devices.list()client.persons().devices().list()

Get all registered devices for person

Lists all device registrations stored for the person, including registrations whose expirationDate has passed until cleanup removes them. Requires access to the person’s settings: the person themselves, a super administrator, or someone with administer persons permission. The read policy also accepts the special person ID -1. There is no pagination or guaranteed order, and this operation does not refresh expiration.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe List[Device]Vec<Device>

for device in client.persons.devices.list(42):
    print(device.app_version)
for device in client.persons().devices().list(42)? {
    println!("{:?}", device.app_version);
}

GET/persons/{personId}/devices/{deviceId}

client.persons.devices.get()client.persons().devices().get()

Get specified device

Returns the device identified by the personId/deviceId pair. Requires the same person-settings read access as the device list. Unknown registrations return 404. deviceId is the registration identifier; the deprecated response id is actually the push token. Reading does not refresh expiration.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
device_idstrimpl DisplayPfadja

Rückgabe Device

device = client.persons.devices.get(42, "abc123")
print(device.app_version)
let device = client.persons().devices().get(42, "abc123")?;
println!("{:?}", device.app_version);

PUT/persons/{personId}/devices/{deviceId}*

client.persons.devices.update()client.persons().devices().update()

Create or update new device for person

Creates or refreshes the registration identified by personId/deviceId and returns the person’s complete device list. Requires access to update the person’s settings: the person themselves, a super administrator, or someone with administer persons permission. type is required on every call. Expiration is extended by three months, or one day during simulation. Omitted pushId becomes deviceId; empty pushId preserves the previous token; null clears it. Omitted appVersion clears the previous version. Other registrations of the same person with the same non-null push token are removed. Saving is transactional. When chat is active, a supplied appVersion outside simulation also sets the person’s hasMatrixUser setting.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
device_idstrimpl DisplayPfadja
app_version"appVersion"Optional[str]Option<String>BodyApp version accepted by the version validator, such as 1.2.3.
push_id"pushId"Optional[str]Option<String>BodyTrimmed push token. Omission replaces the token with deviceId; null clears it; an empty or whitespace-only string preserves the previous token (null on a new device).
type_"type"strStringBodyjaPush platform: APN for Apple Push Notification service; FCM for Firebase Cloud Messaging.
version"version"Optional[str]Option<String>BodyLegacy alias of appVersion; use appVersion.

Rückgabe List[Device]Vec<Device>

for device in client.persons.devices.update(42, "abc123", type_="FCM"):
    print(device.app_version)
let body = models::DeviceUpdate {
    r#type: "FCM".into(),
    ..Default::default()
};
for device in client.persons().devices().update(42, "abc123", &body)? {
    println!("{:?}", device.app_version);
}

DELETE/persons/{personId}/devices/{deviceId}*

client.persons.devices.delete()client.persons().devices().delete()

Delete device for person

Removes the registration identified by personId/deviceId. Requires the person themselves, a super administrator, or administer persons permission. An unknown registration is a successful no-op. Returns 204 without a response body; no other device registrations are deleted.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
device_idstrimpl DisplayPfadja

Rückgabe None()

client.persons.devices.delete(42, "abc123")
client.persons().devices().delete(42, "abc123")?;

GET/persons/{personId}/external-logins

client.persons.external_logins.list()client.persons().external_logins().list()

Get linked external login providers

Lists the external identity providers linked to the person. Requires access to the person’s settings: the person themselves, a super administrator, or administer persons permission; the read policy also permits personId=-1. Hidden providers are included when a mapping exists. This is a list of identity links, not a list of all configured login options. No pagination or guaranteed order applies. Person existence is not checked separately; no mappings returns an empty list.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe List[ExternalLoginPersonMapping]Vec<ExternalLoginPersonMapping>

for external_login in client.persons.external_logins.list(42):
    print(external_login.external_login_id)
for external_login in client.persons().external_logins().list(42)? {
    println!("{}", external_login.external_login_id);
}

DELETE/persons/{personId}/external-logins/{externalLoginId}*

client.persons.external_logins.delete()client.persons().external_logins().delete()

Unlink an external login provider from a person

Removes this person’s identity mapping for the selected external-login provider. Requires the person themselves, a super administrator, or administer persons permission. A missing mapping returns 404, including on repeated deletion. The provider itself is retained. The method does not end existing sessions or verify that another login method remains available. A later external login is handled by the provider’s normal matching/linking workflow.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
external_login_idintimpl DisplayPfadja

Rückgabe None()

client.persons.external_logins.delete(42, 7)
client.persons().external_logins().delete(42, 7)?;

GET/persons/{personId}/followups

client.persons.followups.list()client.persons().followups().list()mit Filtern: .list_with(&GetPersonsPersonIdFollowupsQuery)seitenweise

Get a person's follow-ups

Lists tasks concerning this person, including tasks linked to group memberships. The subject person is distinct from ownerId, which identifies who handles the task. Requires permission to view the person. Results are restricted to tasks assigned to the current user and unassigned tasks in groups where that user has follow-up rights; tasks assigned to others are omitted even if individually viewable. Archived subject persons are excluded. State filters are combined with OR; omission includes all states. Results are ordered by completion date descending, effective due date ascending, then ID. Pagination returns meta.count for this page only, without a total or last-page value.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
filterList[str]Vec<String>QueryRepeat to select any of the listed states; omitted/empty includes all states.
limitinti64QueryMaximum results in this page.

Rückgabe Paginator[FollowUp2]Vec<FollowUp2>

for followup in client.persons.followups.list(42):
    print(followup.title)
for followup in client.persons().followups().list(42)? {
    println!("{}", followup.title);
}

GET/persons/{personId}/merge/{duplicateId}

client.persons.merge.get()client.persons().merge().get()

Get information to compare two person records in order to prepare a merge

Caution: This API is published as Beta and subject to be changed. It is published such that customers can play evaluate it with production data.

This retrieves the basis for a merge of two person records You will receive person data, relationships, groups etc. for both persons.

ParameterTypOrtPflichtBeschreibung
person_idstrimpl DisplayPfadjaid of the original person
duplicate_idstrimpl DisplayPfadjaId of the doublette person

Rückgabe PersonMergeInfo

merge = client.persons.merge.get("abc123", "100")
print(merge)
let merge = client.persons().merge().get("abc123", "100")?;
println!("{:?}", merge);

PATCH/persons/{personId}/merge/{duplicateId}*

client.persons.merge.patch()client.persons().merge().patch()

Merge two person records

Caution: This API is published as Beta and subject to be changed. It is published such that customers can play evaluate it with production data.

Generally, you can provide any person field to save, but be aware that write access to the provided ields is required. Beware, that not all fields which are listed in the Person schema can be updated. E.g. imageUrl or familyUrl (see PATCH /api/person/{id})

* using PATCH you can perform the eventual merge, it will + patch the person record + replace the personId of the doublette with the Original in all related records. * Group memberships * Person relation * Bookings * Wiki-Entries * Financial transactions * ... * delete the doublette if deleteDuplicate is true

all to be done within one transaction.

46 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
person_idstrimpl DisplayPfadjaid of the original person
duplicate_idstrimpl DisplayPfadjaId of the doublette person
address_addition"addressAddition"Optional[str]Option<String>Body
age"age"inti64Body
baptised_by"baptisedBy"Optional[str]Option<String>Body
birth_name"birthName"Optional[str]Option<String>Body
birthday"birthday"Optional[date]Option<NaiveDate>Body
birthplace"birthplace"Optional[str]Option<String>Body
campus_id"campusId"inti64Body
city"city"Optional[str]Option<String>Body
cms_user_id"cmsUserId"strStringBody
country"country"Optional[str]Option<String>Body
date_of_baptism"dateOfBaptism"Optional[date]Option<NaiveDate>Body
date_of_belonging"dateOfBelonging"Optional[date]Option<NaiveDate>Body
date_of_death"dateOfDeath"Optional[date]Option<NaiveDate>Body
date_of_entry"dateOfEntry"Optional[datetime]Option<DateTime<Utc>>Body
date_of_resign"dateOfResign"Optional[datetime]Option<DateTime<Utc>>Body
department_ids"departmentIds"List[int]Vec<i64>BodyDepartment IDs. At least one department MUST be set for a person.
email"email"strStringBody
emails"emails"List[PersonEmail]Vec<PersonEmail>BodySave many eMail addresses for person.
family_status_id"familyStatusId"Optional[int]Option<i64>Body
fax"fax"Optional[str]Option<String>Body
first_contact"firstContact"Optional[datetime]Option<DateTime<Utc>>Body
first_name"firstName"strStringBody
grow_path_id"growPathId"inti64Body
job"job"Optional[str]Option<String>Body
last_name"lastName"strStringBody
latitude"latitude"Optional[Union[float, str]]serde_json::ValueBody
longitude"longitude"Optional[Union[float, str]]serde_json::ValueBody
mobile"mobile"Optional[str]Option<String>Body
nationality_id"nationalityId"Optional[int]Option<i64>Body
nickname"nickname"Optional[str]Option<String>Body
optigem_id"optigemId"Optional[str]Option<String>Body
phone_private"phonePrivate"Optional[str]Option<String>Body
phone_work"phoneWork"Optional[str]Option<String>Body
place_of_baptism"placeOfBaptism"Optional[str]Option<String>Body
privacy_policy_agreement"privacyPolicyAgreement"PatchPersonsIdBodyPrivacyPolicyAgreementBodyThis object can be optional or required.
referred_by"referredBy"Optional[str]Option<String>Body
referred_to"referredTo"Optional[str]Option<String>Body
sex_id"sexId"Optional[int]Option<i64>Body
status_id"statusId"inti64Body
street"street"Optional[str]Option<String>Body
title"title"Optional[str]Option<String>Body
visibility"visibility"strStringBodyVisibility accepted when creating or updating a person.
wedding_date"weddingDate"Optional[date]Option<NaiveDate>Body
zip"zip"Optional[str]Option<String>Body

Rückgabe PatchPersonsPersonidMergeDuplicateidData

result = client.persons.merge.patch("abc123", "100", title="Hauskreis Nord")
print(result.body)
let body = models::PersonUpdateable {
    title: Some(Some("Hauskreis Nord".into())),
    ..Default::default()
};
let result = client.persons().merge().patch("abc123", "100", &body)?;
println!("{}", result.body);

GET/persons/{personId}/relationships

client.persons.relationships.list()client.persons().relationships().list()

Get all relationships linked to this person

Returns all relationships of the specified person. The result is sorted by 1. the sortkey of the relationship type, 2. last name, and 3. first name of a person.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe List[PersonRelationship]Vec<PersonRelationship>

for relationship in client.persons.relationships.list(42):
    print(relationship.id)
for relationship in client.persons().relationships().list(42)? {
    println!("{}", relationship.id);
}

POST/persons/{personId}/relationships

client.persons.relationships.create()client.persons().relationships().create()

Create new relationship for person

Create a new relationship between the specified person and another person.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
other_person_id"otherPersonId"inti64Bodyja
relationship_type_id"relationshipTypeId"inti64Bodyja

Rückgabe GetPersonsRelationshipsDataItem

result = client.persons.relationships.create(42, other_person_id=42, relationship_type_id=42)
print(result.id)
let body = models::PostPersonsPersonIdRelationshipsBody {
    other_person_id: 42,
    relationship_type_id: 42,
    ..Default::default()
};
let result = client.persons().relationships().create(42, &body)?;
println!("{:?}", result.id);

DELETE/persons/{personId}/relationships/{relationshipId}

client.persons.relationships.delete()client.persons().relationships().delete()

Delete specified relationship

Delete the specified relationship.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
relationship_idintimpl DisplayPfadjaID of a person's relationship

Rückgabe None()

client.persons.relationships.delete(42, 18)
client.persons().relationships().delete(42, 18)?;

GET/persons/{personId}/servicerequests

client.persons.service_requests.list()client.persons().service_requests().list()mit Filtern: .list_with(&GetPersonsIdServicerequestsQuery)

Get all service requests for a person

Returns an unpaginated list of visible, valid assignments for this person, including both outstanding and confirmed requests. Declined and superseded records are excluded. Sorted by event start ascending. only_future=true starts at midnight today, so events earlier today are included. meta.count is the number returned after permission filtering.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
only_futureboolQueryInclude only events starting at or after midnight today.
get_all_in_futureboolQueryLegacy alias for only_future.

Rückgabe List[ServiceRequest]Vec<ServiceRequest>

for service_request in client.persons.service_requests.list(42):
    print(service_request.name)
for service_request in client.persons().service_requests().list(42)? {
    println!("{:?}", service_request.name);
}

GET/persons/{personId}/servicerequests/{requestId}

client.persons.service_requests.get()client.persons().service_requests().get()

Get a specific service request for a person

Returns the assignment identified by requestId and personId when the viewer has access. Unlike the list endpoint, this lookup can return invalid historical records. Comments are null if the viewer cannot see the reason.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
request_idintimpl DisplayPfadjaID of a service request

Rückgabe ServiceRequest

service_request = client.persons.service_requests.get(42, 42)
print(service_request.name)
let service_request = client.persons().service_requests().get(42, 42)?;
println!("{:?}", service_request.name);

PUT/persons/{personId}/servicerequests/{requestId}*

client.persons.service_requests.update()client.persons().service_requests().update()

Update a service assignment

Creates a replacement assignment and invalidates the previous active record for the same event, service and slot index. Always use the returned ID for subsequent actions. isAccepted=true confirms it; false leaves it awaiting confirmation and does not decline it. Notifications follow the assignment workflow. Updating an occupied slot requires permission to update that assignment; free slots use the self-assignment policy, and target-person restrictions apply. The legacy agreed input is accepted as an alias for isAccepted.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
request_idintimpl DisplayPfadjaID of a service request
agreed"agreed"boolBodyLegacy alias for isAccepted.
comment"comment"Optional[str]Option<String>BodyAccepted for compatibility but ignored by this update operation; the replacement record starts without a comment.
inform_person"inform_person"boolBodyAccepted for compatibility; this flag does not control notifications in the current implementation.
is_accepted"isAccepted"boolBodytrue creates a confirmed assignment; false creates an assignment awaiting confirmation.

Rückgabe ServiceRequest

result = client.persons.service_requests.update(42, 42, comment="Hallo zusammen")
print(result.name)
let body = models::PersonServiceRequestUpdate {
    comment: Some(Some("Hallo zusammen".into())),
    ..Default::default()
};
let result = client.persons().service_requests().update(42, 42, &body)?;
println!("{:?}", result.name);

DELETE/persons/{personId}/servicerequests/{requestId}*

client.persons.service_requests.delete()client.persons().service_requests().delete()mit Filtern: .delete_with(&DeletePersonsIdServicerequestsIdQuery)

Decline a service request for a person

Declines the current assignment and returns HTTP 200 with a new unassigned record: person and name are null, isValid=true and isAccepted=false. The original requestId becomes invalid. Related exchange requests are deleted and the workflow sends notifications. Requires permission to decline; assigned persons additionally need allowDecline on the service unless another permission grants access. Invalid records return 404 and unassigned slots return 422.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
request_idintimpl DisplayPfadjaID of a service request
commentOptional[str]StringQueryOptional decline comment.

Rückgabe ServiceRequest

service_request = client.persons.service_requests.delete(42, 42)
print(service_request.name)
let service_request = client.persons().service_requests().delete(42, 42)?;
println!("{:?}", service_request.name);

POST/persons/{personId}/servicerequests/{requestId}/undo*

client.persons.service_requests.undo()client.persons().service_requests().undo()

Undo last service request action

Reverts the last acceptance or decline to an outstanding request. Only the assigned person may do this. The legacy history must identify this as the last action and its timestamp must be within the 10-minute undo window; otherwise 400 is returned. For a decline, use the original declined request ID, not the new unassigned record returned by the decline operation. The automatically created empty record is removed when undoing a decline. Returns the legacy response shape ServiceRequestUndoResult.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
request_idintimpl DisplayPfadjaID of a service request

Rückgabe ServiceRequestUndoResult

service_request = client.persons.service_requests.undo(42, 42)
print(service_request.name)
let service_request = client.persons().service_requests().undo(42, 42)?;
println!("{:?}", service_request.name);

GET/persons/{personId}/settings

client.persons.settings.list()client.persons().settings().list()

Get all person settings

Requires access to the person’s settings: the person themselves, a super administrator, or administer persons permission. The special person ID -1 is also readable by authenticated users. Returns all stored preferences as a flat list of module/attribute/value records. No pagination, guaranteed order, or write-allowlist filtering is applied. An empty list means no stored settings were found; person existence is not checked separately.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe List[PersonSetting]Vec<PersonSetting>

for setting in client.persons.settings.list(42):
    print(setting.attribute)
for setting in client.persons().settings().list(42)? {
    println!("{}", setting.attribute);
}

GET/persons/{personId}/settings/{module}/{attribute}

client.persons.settings.get()client.persons().settings().get()

Get person setting

Requires access to the person’s settings: the person themselves, a super administrator, or administer persons permission. The special person ID -1 is also readable by authenticated users. Returns the exact stored module/attribute pair. A missing setting returns 404 rather than a default value. Readability does not mean the setting can be changed through the PUT endpoint.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
modulestrimpl DisplayPfadjaModule name like churchdb or churchservice
attributestrimpl DisplayPfadjaAttribute name of setting

Rückgabe PersonSetting

setting = client.persons.settings.get(42, "beispiel", "beispiel")
print(setting.attribute)
let setting = client.persons().settings().get(42, "beispiel", "beispiel")?;
println!("{}", setting.attribute);

GET/persons/{personId}/settings/{module}

client.persons.settings.get_module()client.persons().settings().get_module()

Get all person settings of a module

Requires access to the person’s settings: the person themselves, a super administrator, or administer persons permission. The special person ID -1 is also readable by authenticated users. Returns stored settings in the exact module namespace as a flat list. Unknown or empty namespaces return an empty list. No pagination or guaranteed order is applied; the read endpoint is not restricted to the write allowlist.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
modulestrimpl DisplayPfadjaModule name like churchdb or churchservice

Rückgabe List[PersonSetting]Vec<PersonSetting>

for module in client.persons.settings.get_module(42, "beispiel"):
    print(module.attribute)
for module in client.persons().settings().get_module(42, "beispiel")? {
    println!("{}", module.attribute);
}

PUT/persons/{personId}/settings/{module}/{attribute}

client.persons.settings.update()client.persons().settings().update()

Create/Update person setting

Creates or replaces one allowlisted setting; arbitrary module/attribute pairs return 400. Requires the person themselves, a super administrator, or administer persons permission. Additionally, administer global views (churchgroup) permits writes to churchdb/group-custom-views; the current policy does not restrict that exception to personId=-1. For personId=-1, "administer global filters" (churchdb) also permits writing churchdb/myFilter[name]. Named filter and export-template attributes require a nonempty name without square brackets; URL-encode the attribute. The churchdb filterStatus, filterBereich and filterStation values are JSON-array text. The response contains the value returned by the service, which can have a different JSON numeric type from a later GET. The three churchcal calendar-filter settings require JSON-array text and normalize referenced calendar IDs. See PersonSettingUpdate for supported pairs and value types.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
modulestrimpl DisplayPfadjaWritable namespace. Only the module/attribute pairs listed in PersonSettingUpdate are accepted.
attributestrimpl DisplayPfadjaWritable key, paired with the module as listed in PersonSettingUpdate, including named myFilter[name] and exportTemplate[name] attributes for churchdb.
value"value"Union[str, float, bool, List[Any], StrMap[Any]]serde_json::ValueBodyjaValue of the selected setting, using its required type.

Rückgabe PersonSetting

result = client.persons.settings.update(
    42,
    "push",
    "disableGroupSignUpNotifications",
    value="beispiel",
)
print(result.attribute)
let body = models::PersonSettingUpdate {
    value: serde_json::json!("beispiel"),
    ..Default::default()
};
let result = client.persons().settings().update(42, "push", "disableGroupSignUpNotifications", &body)?;
println!("{}", result.attribute);

DELETE/persons/{personId}/settings/{module}/{attribute}*

client.persons.settings.delete()client.persons().settings().delete()

Delete a person setting

Deletes the exact stored setting and returns 204, including if it did not exist. Requires the person themselves, a super administrator, or administer persons permission. The administer global views (churchgroup) exception also applies to churchdb/group-custom-views without restricting the target person. Unlike PUT, DELETE does not enforce the setting write allowlist. For personId=-1, "administer global filters" (churchdb) also permits deleting churchdb/myFilter[name]. No setting-specific update hook is run.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
modulestrimpl DisplayPfadjaModule name like churchdb or churchservice
attributestrimpl DisplayPfadjaAttribute name of setting

Rückgabe None()

client.persons.settings.delete(42, "beispiel", "beispiel")
client.persons().settings().delete(42, "beispiel", "beispiel")?;

GET/persons/{personId}/settings/twofactor

client.persons.settings.two_factor.get()client.persons().settings().two_factor().get()

Get the person’s two-factor activation setting

Returns the stored twoFactorEnabled setting, defaulting to false without storing it when absent. Requires access to the person’s settings (self, super administrator or administer persons; the global defaults person -1 is also allowed). This reports activation only, not whether two-factor authentication is required by an administrator or group role.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe PersonTwoFactorEnabled

two_factor = client.persons.settings.two_factor.get(42)
print(two_factor.attribute)
let two_factor = client.persons().settings().two_factor().get(42)?;
println!("{}", two_factor.attribute);

GET/persons/{personId}/settings/twofactor/force

client.persons.settings.two_factor.get_force()client.persons().settings().two_factor().get_force()

Get the person’s explicit two-factor requirement

Returns the stored twoFactorForce setting, defaulting to false when absent. Requires churchcore administer persons or simulate persons. This is only the explicit person-level flag; an applicable group role may still require two-factor authentication when this value is false.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe PersonTwoFactorForce

force = client.persons.settings.two_factor.get_force(42)
print(force.attribute)
let force = client.persons().settings().two_factor().get_force(42)?;
println!("{}", force.attribute);

POST/persons/{personId}/settings/twofactor*

client.persons.settings.two_factor.create()client.persons().settings().two_factor().create()

Initialize an authenticator for the current person

Verifies the current person’s username/email and password, then stores a new TOTP secret and sets twoFactorEnabled to false. Only the current person can initialize their own authenticator. Repeating this call replaces the previous secret and disables an already active authenticator. Keep the returned secret or QR code for enrollment, verify a generated code through POST /twofactor/totp, then call PUT on this path to activate. This step does not complete activation.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
password"password"strStringBodyjaAccount password; preserve spaces exactly.
username"username"strStringBodyjaLogin name or email address.

Rückgabe TwoFactorSetupSecret

result = client.persons.settings.two_factor.create(
    42,
    password="example-password",
    username="alex@example.org",
)
print(result.qrcode)
let body = models::LoginCredentials {
    password: "example-password".into(),
    username: "alex@example.org".into(),
    ..Default::default()
};
let result = client.persons().settings().two_factor().create(42, &body)?;
println!("{}", result.qrcode);

PUT/persons/{personId}/settings/twofactor*

client.persons.settings.two_factor.update()client.persons().settings().two_factor().update()

Activate the current person’s initialized authenticator

Sets twoFactorEnabled to true and refreshes person session data. Only the current person may activate their own authenticator. A stored secret from initialization is required; otherwise 400 is returned. No request body is consumed. Clients should first verify an authenticator code with POST /twofactor/totp; this activation handler itself checks only that a secret exists, not that a code was previously verified. Existing login tokens and other sessions are not revoked.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe PersonTwoFactorEnabled

result = client.persons.settings.two_factor.update(42)
print(result.attribute)
let result = client.persons().settings().two_factor().update(42)?;
println!("{}", result.attribute);

PUT/persons/{personId}/settings/twofactor/force*

client.persons.settings.two_factor.update_force()client.persons().settings().two_factor().update_force()

Set the person’s explicit two-factor requirement

Stores the explicit person-level two-factor requirement. Requires churchcore administer persons or simulate persons; only a super administrator may change this flag for another super administrator. Setting false does not remove a requirement inherited from a group role. This neither enrolls an authenticator nor changes twoFactorEnabled.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
value"value"boolBodyjaWhether the person must configure two-factor authentication.

Rückgabe PersonTwoFactorForce

result = client.persons.settings.two_factor.update_force(42, value=True)
print(result.attribute)
let body = models::PersonTwoFactorForceUpdate {
    value: true,
    ..Default::default()
};
let result = client.persons().settings().two_factor().update_force(42, &body)?;
println!("{}", result.attribute);

DELETE/persons/{personId}/settings/twofactor*

client.persons.settings.two_factor.delete()client.persons().settings().two_factor().delete()

Deactivate the current person’s authenticator

Sets twoFactorEnabled to false and deletes the stored TOTP secret. Only the current person may deactivate their own authenticator. No password or authenticator code is consumed. Repeating the call is allowed. This does not clear an administrator’s twoFactorForce setting or group-role requirements, so a later login can require setup again.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe None()

client.persons.settings.two_factor.delete(42)
client.persons().settings().two_factor().delete(42)?;

POST/twofactor/totp*

client.two_factor.totp()client.two_factor().totp()

Verify an authenticator code during enrollment

Checks a code against the stored authenticator secret for the current person. Only the current person may verify their own secret. Initialization must have completed first. A successful call returns status=success and records the code as used; it does not enable two-factor authentication. Call PUT /persons/{personId}/settings/twofactor separately to activate. Missing secrets, invalid codes and codes already recorded as used produce 400. Keep the code as a string to preserve leading zeroes.

ParameterTypOrtPflichtBeschreibung
code"code"strStringBodyjaSix-digit current authenticator code.
person_id"personId"inti64BodyjaID of the current person whose initialized secret is checked.

Rückgabe PostTwofactorTotpData

two_factor = client.two_factor.totp(code="012345", person_id=42)
print(two_factor.status)
let body = models::PersonTwoFactorVerify {
    code: "012345".into(),
    person_id: 42,
    ..Default::default()
};
let two_factor = client.two_factor().totp(&body)?;
println!("{}", two_factor.status);

Group

Gruppen, Mitgliedschaften, Rollen, Treffen und Gruppen-Stammdaten.

109 Endpunkte im Überblick

GET/group/memberstatus

client.group.list_member_status()client.group().list_member_status()

Get all group member statuses

Returns the fixed membership-status values with their names translated into the current language. A status describes a person's membership state in a group; their role (for example leader or participant) is a separate property. active means an active membership, requested a membership awaiting confirmation, waiting a place on the waiting list, and to_delete a membership pending removal. to_delete is still a stored membership state, not an already deleted record. These values are shared across group types. Use id in API requests and name for display. Requires authentication. This endpoint takes no parameters and returns a plain array, without a data wrapper or meta object. It lists possible statuses, not the transitions that a particular user may perform for a particular membership.

Rückgabe List[GetGroupMemberstatusResponseItem]Vec<GetGroupMemberstatusResponseItem>

for member_statu in client.group.list_member_status():
    print(member_statu.name)
for member_statu in client.group().list_member_status()? {
    println!("{}", member_statu.name);
}

GET/group/agegroups

client.group.age_groups.list()client.group().age_groups().list()

Get all age ranges

Returns all age ranges configured in this ChurchTools installation. An age range describes intended participant ages, such as ages 3 to 5. Groups can reference several ranges through information.ageGroupIds. These configured ranges are independent of the calculated ages of current members. Requires authentication, but no master-data editing permission. There are no filter or pagination parameters. Results are ordered by sortKey ascending and then by the stored name ascending; meta.count is the number of returned records. IDs and labels are installation-specific; discover them before assigning them to groups.

Rückgabe List[AgeGroup]Vec<AgeGroup>

for age_group in client.group.age_groups.list():
    print(age_group.name)
for age_group in client.group().age_groups().list()? {
    println!("{}", age_group.name);
}

GET/group/agegroups/{ageGroupId}

client.group.age_groups.get()client.group().age_groups().get()

Get age range

Returns one age range using its ID from GET /group/agegroups. An age range describes intended participant ages, such as ages 3 to 5. Groups can reference several ranges through information.ageGroupIds. These configured ranges are independent of the calculated ages of current members. Requires authentication, but no master-data editing permission. Returns a single object in data and no list metadata. Returns 404 when the record does not exist.

ParameterTypOrtPflichtBeschreibung
age_group_idintimpl DisplayPfadjaID of the age range returned by GET /group/agegroups.

Rückgabe AgeGroup

age_group = client.group.age_groups.get(2)
print(age_group.name)
let age_group = client.group().age_groups().get(2)?;
println!("{}", age_group.name);

POST/group/agegroups

client.group.age_groups.create()client.group().age_groups().create()

Create age range

Creates a age range as shared master data. An age range describes intended participant ages, such as ages 3 to 5. Groups can reference several ranges through information.ageGroupIds. These configured ranges are independent of the calculated ages of current members. Requires the churchgroup permission "edit masterdata". Supply name, sortKey, start and end. Age boundaries are expressed in years. The name is trimmed. The endpoint validates integer boundaries but does not check that start is less than or equal to end; send a meaningful range. Returns the created record with its generated ID and translated display name. Creating this record does not create or assign any groups.

ParameterTypOrtPflichtBeschreibung
end"end"inti64BodyjaUpper age boundary in years, inclusive.
name"name"strStringBodyjaStored label configured in this installation.
sort_key"sortKey"inti64BodyjaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.
start"start"inti64BodyjaLower age boundary in years, inclusive.

Rückgabe AgeGroup

result = client.group.age_groups.create(end=5, name="3-5", sort_key=3, start=3)
print(result.name)
let body = models::AgeGroupCreate {
    end: 5,
    name: "3-5".into(),
    sort_key: 3,
    start: 3,
    ..Default::default()
};
let result = client.group().age_groups().create(&body)?;
println!("{}", result.name);

PUT/group/agegroups/{ageGroupId}

client.group.age_groups.update()client.group().age_groups().update()

Update age range

Updates the shared age range identified by ageGroupId. Existing group assignments continue to reference the same record. This is a full update, not a partial update. Requires the churchgroup permission "edit masterdata". Supply name, sortKey, start and end. Age boundaries are expressed in years. The name is trimmed. The endpoint validates integer boundaries but does not check that start is less than or equal to end; send a meaningful range. The ID comes from the URL; no body id is required. Returns 204 without a response body. Use GET /group/agegroups/{ageGroupId} to read the updated record.

ParameterTypOrtPflichtBeschreibung
age_group_idintimpl DisplayPfadjaID of the age range returned by GET /group/agegroups.
end"end"inti64BodyjaUpper age boundary in years, inclusive.
name"name"strStringBodyjaStored label configured in this installation.
sort_key"sortKey"inti64BodyjaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.
start"start"inti64BodyjaLower age boundary in years, inclusive.

Rückgabe None()

client.group.age_groups.update(2, end=5, name="3-5", sort_key=3, start=3)
let body = models::AgeGroupCreate {
    end: 5,
    name: "3-5".into(),
    sort_key: 3,
    start: 3,
    ..Default::default()
};
client.group().age_groups().update(2, &body)?;

DELETE/group/agegroups/{ageGroupId}

client.group.age_groups.delete()client.group().age_groups().delete()Query: DeleteGroupAgegroupsAgeGroupIdQuery

Delete age range

Deletes a age range. Removing an age range also removes its ID from the ageGroupIds assignments of existing groups. The groups and their memberships remain. Requires the churchgroup permission "edit masterdata". The dryRun query parameter is required: send false to delete or true to inspect the deletion report. A dry run changes no records and returns 409 with the report, even when deletion would be possible. An actual successful deletion returns 204 without a body.

ParameterTypOrtPflichtBeschreibung
age_group_idintimpl DisplayPfadjaID of the age range returned by GET /group/agegroups.
dry_runboolQueryjaRequired; true returns a 409 deletion report without deleting, false performs deletion.

Rückgabe None()

client.group.age_groups.delete(2, dry_run=True)
let query = DeleteGroupAgegroupsAgeGroupIdQuery {
    dry_run: Some(true),
    ..Default::default()
};
client.group().age_groups().delete(2, &query)?;

GET/group/groupcategories

client.group.group_categories.list()client.group().group_categories().list()

Get all group categories

Returns all group categories configured in this ChurchTools installation. Categories organize groups by theme, for example worship services or community activities. A group references its category through information.groupCategoryId. Its group type separately defines shared settings and membership roles. Requires authentication, but no master-data editing permission. There are no filter or pagination parameters. Results are ordered by sortKey ascending and then by the stored name ascending; meta.count is the number of returned records. IDs and labels are installation-specific; discover them before assigning them to groups.

Rückgabe List[GroupCategory]Vec<GroupCategory>

for group_category in client.group.group_categories.list():
    print(group_category.name)
for group_category in client.group().group_categories().list()? {
    println!("{}", group_category.name);
}

GET/group/groupcategories/{groupCategoryId}

client.group.group_categories.get()client.group().group_categories().get()

Get group category

Returns one group category using its ID from GET /group/groupcategories. Categories organize groups by theme, for example worship services or community activities. A group references its category through information.groupCategoryId. Its group type separately defines shared settings and membership roles. Requires authentication, but no master-data editing permission. Returns a single object in data and no list metadata. Returns 404 when the record does not exist.

ParameterTypOrtPflichtBeschreibung
group_category_idintimpl DisplayPfadjaID of the group category returned by GET /group/groupcategories.

Rückgabe GroupCategory

group_category = client.group.group_categories.get(2)
print(group_category.name)
let group_category = client.group().group_categories().get(2)?;
println!("{}", group_category.name);

POST/group/groupcategories

client.group.group_categories.create()client.group().group_categories().create()

Create group category

Creates a group category as shared master data. Categories organize groups by theme, for example worship services or community activities. A group references its category through information.groupCategoryId. Its group type separately defines shared settings and membership roles. Requires the churchgroup permission "edit masterdata". Supply name, color and sortKey. description is optional; omitted, null or blank input is stored as null. Text fields are trimmed. Returns the created record with its generated ID and translated display name. Creating this record does not create or assign any groups.

ParameterTypOrtPflichtBeschreibung
color"color"strStringBodyjaChurchTools color token used to display the category, such as blue.
description"description"Optional[str]Option<String>BodyOptional explanation of the category.
name"name"strStringBodyjaStored label configured in this installation.
sort_key"sortKey"inti64BodyjaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.

Rückgabe GroupCategory

result = client.group.group_categories.create(color="blue", name="Gottesdienst", sort_key=5)
print(result.name)
let body = models::GroupCategoryCreate {
    color: "blue".into(),
    name: "Gottesdienst".into(),
    sort_key: 5,
    ..Default::default()
};
let result = client.group().group_categories().create(&body)?;
println!("{}", result.name);

PUT/group/groupcategories/{groupCategoryId}

client.group.group_categories.update()client.group().group_categories().update()

Update group category

Updates the shared group category identified by groupCategoryId. Existing group assignments continue to reference the same record. This is a full update, not a partial update. Requires the churchgroup permission "edit masterdata". Supply name, color and sortKey. description is optional; omitted, null or blank input is stored as null. Text fields are trimmed. The ID comes from the URL; no body id is required. Returns the updated record in data.

ParameterTypOrtPflichtBeschreibung
group_category_idintimpl DisplayPfadjaID of the group category returned by GET /group/groupcategories.
color"color"strStringBodyjaChurchTools color token used to display the category, such as blue.
description"description"Optional[str]Option<String>BodyOptional explanation of the category.
name"name"strStringBodyjaStored label configured in this installation.
sort_key"sortKey"inti64BodyjaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.

Rückgabe GroupCategory

result = client.group.group_categories.update(2, color="blue", name="Gottesdienst", sort_key=5)
print(result.name)
let body = models::GroupCategoryCreate {
    color: "blue".into(),
    name: "Gottesdienst".into(),
    sort_key: 5,
    ..Default::default()
};
let result = client.group().group_categories().update(2, &body)?;
println!("{}", result.name);

DELETE/group/groupcategories/{groupCategoryId}

client.group.group_categories.delete()client.group().group_categories().delete()Query: DeleteGroupGroupcategoriesGroupCategoryIdQuery

Delete group category

Deletes a group category. The deletion report includes groups that reference this category. Deleting a category does not delete these groups or their memberships. Requires the churchgroup permission "edit masterdata". The dryRun query parameter is required: send false to delete or true to inspect the deletion report. A dry run changes no records and returns 409 with the report, even when deletion would be possible. An actual successful deletion returns 204 without a body.

ParameterTypOrtPflichtBeschreibung
group_category_idintimpl DisplayPfadjaID of the group category returned by GET /group/groupcategories.
dry_runboolQueryjaRequired; true returns a 409 deletion report without deleting, false performs deletion.

Rückgabe None()

client.group.group_categories.delete(2, dry_run=True)
let query = DeleteGroupGroupcategoriesGroupCategoryIdQuery {
    dry_run: Some(true),
    ..Default::default()
};
client.group().group_categories().delete(2, &query)?;

GET/group/grouptypes

client.group.group_types.list()client.group().group_types().list()

Get all group types

Returns all group types configured in this ChurchTools installation. Group types are shared configuration records (master data), for example "Small group" or "Ministry team". A group is a concrete collection of people, such as "Tuesday evening small group", and references one type through information.groupTypeId. Each type defines common settings and has its own membership roles, such as leader or participant. Use GET /group/roles to retrieve role definitions and match their groupTypeId to the type's id. Use GET /groups to retrieve actual groups; this endpoint does not return groups or their members. Requires authentication. No master-data editing permission is required. The response is not paginated and accepts no filters. Results are ordered by sortKey ascending, then by the stored name ascending. meta.count is the number of group types returned. IDs and names are installation-specific; integrations should discover them instead of assuming fixed values.

Rückgabe List[GroupType]Vec<GroupType>

for group_type in client.group.group_types.list():
    print(group_type.name)
for group_type in client.group().group_types().list()? {
    println!("{}", group_type.name);
}

GET/group/grouptypes/{groupTypeId}

client.group.group_types.get()client.group().group_types().get()

Get grouptype

Returns one group type by its installation-specific ID from GET /group/grouptypes. The result describes shared settings, not a concrete group. Use GET /group/roles with group_type_id to retrieve the role definitions belonging to this type. Requires authentication, but no master-data editing permission. Returns 404 when the type does not exist.

ParameterTypOrtPflichtBeschreibung
group_type_idintimpl DisplayPfadjaID of the group type returned by GET /group/grouptypes.

Rückgabe GroupType

group_type = client.group.group_types.get(2)
print(group_type.name)
let group_type = client.group().group_types().get(2)?;
println!("{}", group_type.name);

POST/group/grouptypes

client.group.group_types.create()client.group().group_types().create()

Create group type

Creates a group type: shared configuration for groups such as small groups or ministry teams. This creates no groups or memberships. A participant role (the default) and a leader role are created automatically for the new type. Retrieve them with GET /group/roles?group_type_id={id} using the ID returned in data.id. Requires the churchgroup permission "edit masterdata". Supply all required settings; the boolean fields do not have implicit request defaults. description is optional; omitted, null or blank descriptions are stored as null. Text fields are trimmed. Returns the created type with its generated ID, translated names and metadata.

10 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
available_for_new_person"availableForNewPerson"boolBodyjaWhether eligible groups of this type are offered for membership selection when creating a person in the ChurchTools UI.
color"color"strStringBodyjaChurchTools color token used to display this group type; not a hexadecimal color code.
description"description"Optional[str]Option<String>BodyOptional explanatory text for this group type.
is_leader_necessary"isLeaderNecessary"boolBodyjaWhether groups of this type are expected to retain a leader.
name"name"strStringBodyjaStored singular name of the group type.
name_plural"namePlural"strStringBodyjaStored plural name of the group type.
permission_depth"permissionDepth"inti64BodyjaNumber of child-group levels to which permissions configured for this group type are inherited.
posts_enabled"postsEnabled"boolBodyjaWhether posts are enabled for groups of this type.
shorty"shorty"strStringBodyjaShort label used to identify this group type in compact displays.
sort_key"sortKey"inti64BodyjaDisplay order of the group type.

Rückgabe GroupType

result = client.group.group_types.create(
    available_for_new_person=False,
    color="blue",
    is_leader_necessary=False,
    name="Kleingruppe",
    name_plural="Kleingruppen",
    permission_depth=0,
    posts_enabled=True,
    shorty="KG",
    sort_key=2,
)
print(result.name)
let body = models::GroupTypeCreate {
    available_for_new_person: false,
    color: "blue".into(),
    is_leader_necessary: false,
    name: "Kleingruppe".into(),
    name_plural: "Kleingruppen".into(),
    permission_depth: 0,
    posts_enabled: true,
    shorty: "KG".into(),
    sort_key: 2,
    ..Default::default()
};
let result = client.group().group_types().create(&body)?;
println!("{}", result.name);

PUT/group/grouptypes/{groupTypeId}

client.group.group_types.update()client.group().group_types().update()

Update GroupType

Updates the shared settings of a group type. Existing groups reference these settings; this endpoint does not create a group or change which type a group belongs to. Requires the churchgroup permission "edit masterdata". Supply all required fields, including unchanged settings; this is not a partial update. The type ID comes from the URL, and no body id is required. Omitting description clears it to null rather than preserving the old text; null or blank text also clears it. Text fields are trimmed. Returns the updated type with translated names and metadata.

11 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_type_idintimpl DisplayPfadjaID of the group type returned by GET /group/grouptypes.
available_for_new_person"availableForNewPerson"boolBodyjaWhether eligible groups of this type are offered for membership selection when creating a person in the ChurchTools UI.
color"color"strStringBodyjaChurchTools color token used to display this group type; not a hexadecimal color code.
description"description"Optional[str]Option<String>BodyOptional explanatory text for this group type.
is_leader_necessary"isLeaderNecessary"boolBodyjaWhether groups of this type are expected to retain a leader.
name"name"strStringBodyjaStored singular name of the group type.
name_plural"namePlural"strStringBodyjaStored plural name of the group type.
permission_depth"permissionDepth"inti64BodyjaNumber of child-group levels to which permissions configured for this group type are inherited.
posts_enabled"postsEnabled"boolBodyjaWhether posts are enabled for groups of this type.
shorty"shorty"strStringBodyjaShort label used to identify this group type in compact displays.
sort_key"sortKey"inti64BodyjaDisplay order of the group type.

Rückgabe GroupType

result = client.group.group_types.update(
    2,
    available_for_new_person=False,
    color="blue",
    is_leader_necessary=False,
    name="Kleingruppe",
    name_plural="Kleingruppen",
    permission_depth=0,
    posts_enabled=True,
    shorty="KG",
    sort_key=2,
)
print(result.name)
let body = models::GroupTypeCreate {
    available_for_new_person: false,
    color: "blue".into(),
    is_leader_necessary: false,
    name: "Kleingruppe".into(),
    name_plural: "Kleingruppen".into(),
    permission_depth: 0,
    posts_enabled: true,
    shorty: "KG".into(),
    sort_key: 2,
    ..Default::default()
};
let result = client.group().group_types().update(2, &body)?;
println!("{}", result.name);

DELETE/group/grouptypes/{groupTypeId}

client.group.group_types.delete()client.group().group_types().delete()mit Filtern: .delete_with(&DeleteGroupGrouptypesGroupTypeIdQuery)

Delete grouptype

Deletes a group type, including its role definitions, when no groups still reference it. Requires the churchgroup permission "edit masterdata". Existing groups block deletion; use a dry run to inspect references before making changes. dryRun=true performs the deletion checks without deleting anything and returns a 409 deletion report even when deletion would be possible. A successful actual deletion returns 204 with no response body.

ParameterTypOrtPflichtBeschreibung
group_type_idintimpl DisplayPfadjaID of the group type returned by GET /group/grouptypes.
dry_runboolQueryInspect deletion dependencies without deleting; returns a 409 deletion report.

Rückgabe None()

client.group.group_types.delete(2)
client.group().group_types().delete(2)?;

GET/group/meetingtemplates

client.group.meeting_templates.list()client.group().meeting_templates().list()

Get all group meeting feedback templates

Returns all configured group-meeting feedback templates. A template defines an ordered feedback form for group meetings. It is selected through settings.groupMeeting.templateId on a group. Meeting answers are stored separately in pollResult; the template does not schedule meetings or record attendance. Requires authentication, but no master-data editing permission. Accepts no filter or pagination parameters. Results are sorted by name ascending. meta.count is the number of returned templates.

Rückgabe List[MeetingTemplate]Vec<MeetingTemplate>

for meeting_template in client.group.meeting_templates.list():
    print(meeting_template.name)
for meeting_template in client.group().meeting_templates().list()? {
    println!("{}", meeting_template.name);
}

GET/group/meetingtemplates/{meetingTemplateId}

client.group.meeting_templates.get()client.group().meeting_templates().get()

Get group meeting feedback template

Returns one feedback template by its ID from GET /group/meetingtemplates. A template defines an ordered feedback form for group meetings. It is selected through settings.groupMeeting.templateId on a group. Meeting answers are stored separately in pollResult; the template does not schedule meetings or record attendance. Requires authentication, but no master-data editing permission. Returns the template in data, including its ordered fields and metadata. An unknown ID returns 404.

ParameterTypOrtPflichtBeschreibung
meeting_template_idintimpl DisplayPfadjaID of the feedback template returned by GET /group/meetingtemplates.

Rückgabe MeetingTemplate

meeting_template = client.group.meeting_templates.get(1)
print(meeting_template.name)
let meeting_template = client.group().meeting_templates().get(1)?;
println!("{}", meeting_template.name);

POST/group/meetingtemplates

client.group.meeting_templates.create()client.group().meeting_templates().create()

Create group meeting feedback template

Creates a reusable group-meeting feedback template. A template defines an ordered feedback form for group meetings. It is selected through settings.groupMeeting.templateId on a group. Meeting answers are stored separately in pollResult; the template does not schedule meetings or record attendance. Requires the churchgroup permission "edit masterdata". Send name and the complete template array. Each field requires label and type. select fields also require non-empty options, preferably an array of non-blank strings; legacy comma-separated strings are accepted. Other field types must omit options or use null. An empty template array is allowed. Names and labels are trimmed. Returns the created template with its generated ID and metadata. Creating a template does not assign it to any groups.

ParameterTypOrtPflichtBeschreibung
name"name"strStringBodyjaName used to select this feedback template in group settings.
template"template"List[MeetingTemplateField]Vec<MeetingTemplateField>BodyjaOrdered feedback fields and section headings.

Rückgabe MeetingTemplate

result = client.group.meeting_templates.create(
    name="Lowlights / Highlights",
    template=[ct.models.MeetingTemplateField.model_validate({"label": "Highlights", "type": "color"})],
)
print(result.name)
let body = models::MeetingTemplateCreate {
    name: "Lowlights / Highlights".into(),
    template: vec![models::MeetingTemplateField {
        label: "Highlights".into(),
        r#type: "color".into(),
        ..Default::default()
    }],
    ..Default::default()
};
let result = client.group().meeting_templates().create(&body)?;
println!("{}", result.name);

PUT/group/meetingtemplates/{meetingTemplateId}

client.group.meeting_templates.update()client.group().meeting_templates().update()

Update group meeting feedback template

Replaces the name and complete field list of a feedback template. The template ID comes from the URL; no body id is required. Existing group assignments continue to reference this template. Requires the churchgroup permission "edit masterdata". Send name and the complete template array. Each field requires label and type. select fields also require non-empty options, preferably an array of non-blank strings; legacy comma-separated strings are accepted. Other field types must omit options or use null. An empty template array is allowed. Names and labels are trimmed. Omitted fields in the array are removed from the template. Returns 204 without a response body; retrieve the template again to read its updated contents. When displaying existing feedback, the ChurchTools UI matches saved answers to template fields by label and type, so changing either can affect that display.

ParameterTypOrtPflichtBeschreibung
meeting_template_idintimpl DisplayPfadjaID of the feedback template returned by GET /group/meetingtemplates.
name"name"strStringBodyjaName used to select this feedback template in group settings.
template"template"List[MeetingTemplateField]Vec<MeetingTemplateField>BodyjaOrdered feedback fields and section headings.

Rückgabe None()

client.group.meeting_templates.update(
    1,
    name="Lowlights / Highlights",
    template=[ct.models.MeetingTemplateField.model_validate({"label": "Highlights", "type": "color"})],
)
let body = models::MeetingTemplateCreate {
    name: "Lowlights / Highlights".into(),
    template: vec![models::MeetingTemplateField {
        label: "Highlights".into(),
        r#type: "color".into(),
        ..Default::default()
    }],
    ..Default::default()
};
client.group().meeting_templates().update(1, &body)?;

DELETE/group/meetingtemplates/{meetingTemplateId}

client.group.meeting_templates.delete()client.group().meeting_templates().delete()Query: DeleteGroupMeetingtemplatesMeetingTemplateIdQuery

Delete group meeting feedback template

Deletes a feedback template when no groups still reference it. Requires the churchgroup permission "edit masterdata". Groups using this template block deletion; change their template assignment before deleting it. The dryRun query parameter is required. Send true to inspect deletion dependencies without changing records; the report is returned with 409 even when deletion would be possible. Send false to delete. Successful deletion returns 204 without a response body.

ParameterTypOrtPflichtBeschreibung
meeting_template_idintimpl DisplayPfadjaID of the feedback template returned by GET /group/meetingtemplates.
dry_runboolQueryjaRequired; true returns a 409 deletion report without deleting, false performs deletion.

Rückgabe None()

client.group.meeting_templates.delete(1, dry_run=True)
let query = DeleteGroupMeetingtemplatesMeetingTemplateIdQuery {
    dry_run: Some(true),
    ..Default::default()
};
client.group().meeting_templates().delete(1, &query)?;

GET/group/roles

client.group.roles.list()client.group().roles().list()mit Filtern: .list_with(&GetGroupRolesQuery)

Get roles

Returns membership-role definitions shared by groups of a given group type. For example, a small-group type may define leader, co-leader and participant roles. Use group_type_id to select one type; omitting it returns roles for all types. A type with no matching roles returns an empty data array. The default standard format returns full Role objects. domainObject returns compact display references with a string domainIdentifier instead of the full role fields. Use GET /groups/{groupId}/roles for the settings of these roles in a specific group. Requires authentication, but no master-data editing permission. The list is not paginated; meta.count is the number of returned roles. Without a filter, results are sorted by sortKey and name ascending. With group_type_id, they are sorted by type and sortKey ascending.

ParameterTypOrtPflichtBeschreibung
group_type_idinti64QueryID of the group type whose role definitions to return.
response_formatstrStringQueryChoose full role definitions (standard) or compact display references (domainObject).

Rückgabe Union[List[Role], List[DomainObjectRole]]serde_json::Value

result = client.group.roles.list()
print(result)
let result = client.group().roles().list()?;
println!("{:?}", result);

GET/group/roles/{roleId}

client.group.roles.get()client.group().roles().get()

Get role

Returns one membership-role definition by its ID from GET /group/roles. This is the definition belonging to a group type. For the settings of a role in an individual group, use GET /groups/{groupId}/roles instead. Requires authentication, but no master-data editing permission. Returns 404 when the role does not exist.

ParameterTypOrtPflichtBeschreibung
role_idintimpl DisplayPfadjaID of the group-type role definition returned by GET /group/roles.

Rückgabe Role

role = client.group.roles.get(16)
print(role.name)
let role = client.group().roles().get(16)?;
println!("{}", role.name);

POST/group/roles

client.group.roles.create()client.group().roles().create()

Create Role

Creates a membership-role definition for the group type identified by groupTypeId. Groups of that type receive their own role settings records, which can be retrieved with GET /groups/{groupId}/roles. This does not add any people to a group. Requires the churchgroup permission "edit masterdata". All listed required fields must be supplied, including growPathId (use null for no growth-path association). Setting isDefault to true removes the default flag from other roles of this type. Returns the created definition, including its generated ID.

9 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_type_id"groupTypeId"inti64BodyjaID of the group type this role belongs to.
grow_path_id"growPathId"Optional[int]Option<i64>BodyjaID of the growth path associated with this role, or null for no association.
is_default"isDefault"boolBodyjaWhether this is the default role for its group type.
is_hidden"isHidden"boolBodyjaWhether this role is marked as hidden for displays that exclude hidden roles, such as leader listings.
is_leader"isLeader"boolBodyLegacy response field indicating whether type is leader.
name"name"strStringBodyjaStored name of the role.
shorty"shorty"strStringBodyjaAbbreviated label for the role, used in compact displays.
sort_key"sortKey"inti64BodyjaDisplay order among roles.
type_"type"strStringBodyjaFunctional classification of the role.

Rückgabe Role

result = client.group.roles.create(
    group_type_id=2,
    grow_path_id=4,
    is_default=False,
    is_hidden=False,
    name="Leiter",
    shorty="L",
    sort_key=1,
    type_="leader",
)
print(result.name)
let body = models::RoleCreate {
    group_type_id: 2,
    grow_path_id: Some(4),
    is_default: false,
    is_hidden: false,
    name: "Leiter".into(),
    shorty: "L".into(),
    sort_key: 1,
    r#type: "leader".into(),
    ..Default::default()
};
let result = client.group().roles().create(&body)?;
println!("{}", result.name);

PUT/group/roles/{roleId}

client.group.roles.update()client.group().roles().update()

Update Role

Updates the shared role definition identified by roleId. Changes apply to the definition used by groups of its type; use PATCH /groups/{groupId}/roles/{roleId} to change settings for one group instead. Requires the churchgroup permission "edit masterdata". Send all required fields; this is not a partial update. The ID is taken from the URL; no body id is required. groupTypeId is currently required by validation but does not move the role to another group type. Send the existing value. Setting isDefault to true clears the default flag on other roles of the same type. Setting it to false is rejected with 400 if no other default role remains. Returns the updated definition.

10 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
role_idintimpl DisplayPfadjaID of the group-type role definition returned by GET /group/roles.
group_type_id"groupTypeId"inti64BodyjaID of the group type this role belongs to.
grow_path_id"growPathId"Optional[int]Option<i64>BodyjaID of the growth path associated with this role, or null for no association.
is_default"isDefault"boolBodyjaWhether this is the default role for its group type.
is_hidden"isHidden"boolBodyjaWhether this role is marked as hidden for displays that exclude hidden roles, such as leader listings.
is_leader"isLeader"boolBodyLegacy response field indicating whether type is leader.
name"name"strStringBodyjaStored name of the role.
shorty"shorty"strStringBodyjaAbbreviated label for the role, used in compact displays.
sort_key"sortKey"inti64BodyjaDisplay order among roles.
type_"type"strStringBodyjaFunctional classification of the role.

Rückgabe Role

result = client.group.roles.update(
    16,
    group_type_id=2,
    grow_path_id=4,
    is_default=False,
    is_hidden=False,
    name="Leiter",
    shorty="L",
    sort_key=1,
    type_="leader",
)
print(result.name)
let body = models::RoleCreate {
    group_type_id: 2,
    grow_path_id: Some(4),
    is_default: false,
    is_hidden: false,
    name: "Leiter".into(),
    shorty: "L".into(),
    sort_key: 1,
    r#type: "leader".into(),
    ..Default::default()
};
let result = client.group().roles().update(16, &body)?;
println!("{}", result.name);

DELETE/group/roles/{roleId}

client.group.roles.delete()client.group().roles().delete()mit Filtern: .delete_with(&DeleteGroupRolesRoleIdQuery)

Delete role

Deletes a role definition and its group-specific settings, subject to deletion checks. Requires the churchgroup permission "edit masterdata". Another default role must remain for the same group type; otherwise the request fails with 400, including during a dry run. Set another role as default before deleting the current default. Use dryRun=true to inspect deletion dependencies without deleting anything. A dry run returns 409 with the deletion report even when deletion would be possible. Actual successful deletion returns 204 with no response body.

ParameterTypOrtPflichtBeschreibung
role_idintimpl DisplayPfadjaID of the group-type role definition returned by GET /group/roles.
dry_runboolQueryInspect deletion dependencies without deleting; returns a 409 deletion report.

Rückgabe None()

client.group.roles.delete(16)
client.group().roles().delete(16)?;

GET/group/targetgroups

client.group.target_groups.list()client.group().target_groups().list()

Get all target audiences

Returns all target audiences configured in this ChurchTools installation. A target audience describes whom a group is intended for, such as families or students. A group references one audience through information.targetGroupId. This endpoint returns audience labels, not people or groups. Requires authentication, but no master-data editing permission. There are no filter or pagination parameters. Results are ordered by sortKey ascending and then by the stored name ascending; meta.count is the number of returned records. IDs and labels are installation-specific; discover them before assigning them to groups.

Rückgabe List[TargetGroup]Vec<TargetGroup>

for target_group in client.group.target_groups.list():
    print(target_group.name)
for target_group in client.group().target_groups().list()? {
    println!("{}", target_group.name);
}

GET/group/targetgroups/{targetGroupId}

client.group.target_groups.get()client.group().target_groups().get()

Get target audience

Returns one target audience using its ID from GET /group/targetgroups. A target audience describes whom a group is intended for, such as families or students. A group references one audience through information.targetGroupId. This endpoint returns audience labels, not people or groups. Requires authentication, but no master-data editing permission. Returns a single object in data and no list metadata. Returns 404 when the record does not exist.

ParameterTypOrtPflichtBeschreibung
target_group_idintimpl DisplayPfadjaID of the target audience returned by GET /group/targetgroups.

Rückgabe TargetGroup

target_group = client.group.target_groups.get(2)
print(target_group.name)
let target_group = client.group().target_groups().get(2)?;
println!("{}", target_group.name);

POST/group/targetgroups

client.group.target_groups.create()client.group().target_groups().create()

Create target audience

Creates a target audience as shared master data. A target audience describes whom a group is intended for, such as families or students. A group references one audience through information.targetGroupId. This endpoint returns audience labels, not people or groups. Requires the churchgroup permission "edit masterdata". Supply both name and sortKey. Use an integer sortKey to control display order. Returns the created record with its generated ID and translated display name. Creating this record does not create or assign any groups.

ParameterTypOrtPflichtBeschreibung
name"name"strStringBodyjaStored label configured in this installation.
sort_key"sortKey"inti64BodyjaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.

Rückgabe TargetGroup

result = client.group.target_groups.create(name="men", sort_key=2)
print(result.name)
let body = models::TargetGroupCreate {
    name: "men".into(),
    sort_key: 2,
    ..Default::default()
};
let result = client.group().target_groups().create(&body)?;
println!("{}", result.name);

PUT/group/targetgroups/{targetGroupId}

client.group.target_groups.update()client.group().target_groups().update()

Update target audience

Updates the shared target audience identified by targetGroupId. Existing group assignments continue to reference the same record. This is a full update, not a partial update. Requires the churchgroup permission "edit masterdata". Supply both name and sortKey. Use an integer sortKey to control display order. The ID comes from the URL; no body id is required. Returns 204 without a response body. Use GET /group/targetgroups/{targetGroupId} to read the updated record.

ParameterTypOrtPflichtBeschreibung
target_group_idintimpl DisplayPfadjaID of the target audience returned by GET /group/targetgroups.
name"name"strStringBodyjaStored label configured in this installation.
sort_key"sortKey"inti64BodyjaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.

Rückgabe None()

client.group.target_groups.update(2, name="men", sort_key=2)
let body = models::TargetGroupCreate {
    name: "men".into(),
    sort_key: 2,
    ..Default::default()
};
client.group().target_groups().update(2, &body)?;

DELETE/group/targetgroups/{targetGroupId}

client.group.target_groups.delete()client.group().target_groups().delete()Query: DeleteGroupTargetgroupsTargetGroupIdQuery

Delete target audience

Deletes a target audience. Deleting a target audience clears targetGroupId on groups assigned to it. The groups and their memberships remain. Requires the churchgroup permission "edit masterdata". The dryRun query parameter is required: send false to delete or true to inspect the deletion report. A dry run changes no records and returns 409 with the report, even when deletion would be possible. An actual successful deletion returns 204 without a body.

ParameterTypOrtPflichtBeschreibung
target_group_idintimpl DisplayPfadjaID of the target audience returned by GET /group/targetgroups.
dry_runboolQueryjaRequired; true returns a 409 deletion report without deleting, false performs deletion.

Rückgabe None()

client.group.target_groups.delete(2, dry_run=True)
let query = DeleteGroupTargetgroupsTargetGroupIdQuery {
    dry_run: Some(true),
    ..Default::default()
};
client.group().target_groups().delete(2, &query)?;

GET/groups

client.groups.list()client.groups().list()mit Filtern: .list_with(&GetGroupsQuery)seitenweise

Get all groups

This endpoint returns an array with all groups the user can see. This includes groups the user is a member of as well as subordinate groups the user is allowed to see. In addition to the documented query parameters, groups can be filtered by all group fields (=fieldValue) as query parameters. For group fields with options (e.g. select fields), the format would be []=optionId and can be repeated for serveral ids.

24 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
limitinti64QueryNumber of results per page.
idsList[int]Vec<i64>QueryArray of group ids
parent_idinti64QueryReturn direct child groups of this group
child_idinti64QueryReturn direct parent groups of this group
campus_idsList[int]Vec<i64>QueryArray of campus ids to filter the groups
agegroup_idsList[int]Vec<i64>QueryArray of age group ids to filter the groups
group_status_idsList[int]Vec<i64>QueryArray of group status ids to filter the groups
group_category_idsList[int]Vec<i64>QueryArray of group category ids to filter the groups
target_group_idsList[int]Vec<i64>QueryArray of target group ids to filter the groups
weekdaysList[int]Vec<i64>QueryArray of weekdays to filter the groups.
group_type_idsList[int]Vec<i64>QueryArray of group type ids to filter the groups
tag_idsList[int]Vec<i64>QueryArray of group tag ids to filter the groups
is_open_for_membersboolQueryFilters groups by its open status
without_my_groupsboolQueryDetermines if groups should be omitted where I am in
only_my_groupsboolQueryDetermines if only groups where I am in should be returned
has_meeting_placeboolQueryOnly show groups with meeting place
allow_postsboolQueryOnly show groups where posting is allowed
has_postsboolQueryOnly show groups which has posts
has_active_chatboolQueryFilter groups based on whether they have an active chat
querystrStringQuery
visibilitystrStringQueryGroup visibility
order_fieldsList[str]Vec<String>QueryThe fields to order by
order_directionsList[str]Vec<String>QueryThe order direction ASC or DESC for the order_fields
includeList[str]Vec<String>QueryInclude additional information (currently, 'roles' are included by default but this behaviour is now deprecated)

Rückgabe Paginator[Group]Vec<Group>

for group in client.groups.list():
    print(group.name)
for group in client.groups().list()? {
    println!("{}", group.name);
}

GET/groups/{groupId}/children

client.groups.list_children()client.groups().list_children()mit Filtern: .list_children_with(&GetGroupsGroupIdChildrenQuery)seitenweise

Get child groups

20 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
limitinti64QueryNumber of results per page.
idsList[int]Vec<i64>QueryArray of group ids
campus_idsList[int]Vec<i64>QueryArray of campus ids to filter the groups
agegroup_idsList[int]Vec<i64>QueryArray of age group ids to filter the groups
group_status_idsList[int]Vec<i64>QueryArray of group status ids to filter the groups
group_category_idsList[int]Vec<i64>QueryArray of group category ids to filter the groups
target_group_idsList[int]Vec<i64>QueryArray of target group ids to filter the groups
weekdaysList[int]Vec<i64>QueryArray of weekdays to filter the groups.
group_type_idsList[int]Vec<i64>QueryArray of group type ids to filter the groups
tag_idsList[int]Vec<i64>QueryArray of group tag ids to filter the groups
is_open_for_membersboolQueryFilters groups by its open status
without_my_groupsboolQueryDetermines if groups should be omitted where I am in
only_my_groupsboolQueryDetermines if only groups where I am in should be returned
has_meeting_placeboolQueryOnly show groups with meeting place
allow_postsboolQueryOnly show groups where posting is allowed
has_postsboolQueryOnly show groups which has posts
has_active_chatboolQueryFilter groups based on whether they have an active chat
querystrStringQuery
visibilitystrStringQueryGroup visibility

Rückgabe Paginator[DomainObjectGroup]Vec<DomainObjectGroup>

for children in client.groups.list_children(42):
    print(children.title)
for children in client.groups().list_children(42)? {
    println!("{}", children.title);
}

GET/groups/{groupId}/documenttemplates

client.groups.list_document_templates()client.groups().list_document_templates()

List membership document templates for the current user

Lists the document templates assigned to the current user’s role in this group. The current user must have an active membership and that role must be configured in the group; administrative rights do not replace that membership. The result follows the role’s configured template order and is not paginated. An empty list means the role has no assigned templates. This endpoint returns template names only and does not generate PDFs. Unlike document generation, it does not check whether the group itself is active, so a listed template may still be unavailable for download.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe List[HtmlTemplateInfo]Vec<HtmlTemplateInfo>

for document_template in client.groups.list_document_templates(42):
    print(document_template.name)
for document_template in client.groups().list_document_templates(42)? {
    println!("{}", document_template.name);
}

GET/groups/hierarchies

client.groups.list_hierarchies()client.groups().list_hierarchies()mit Filtern: .list_hierarchies_with(&GetGroupsHierarchiesQuery)seitenweise

Get all group hierarchies

Returns all group hierarchies. The groups not visible for the user only show ids. Note: You have to pass at least 2 group IDs for the filter to work. If you only want to see the children of a specific group use GET /groups/{groupId}/children.

19 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
limitinti64QueryNumber of results per page.
idsList[int]Vec<i64>QueryArray of group ids
campus_idsList[int]Vec<i64>QueryArray of campus ids to filter the groups
agegroup_idsList[int]Vec<i64>QueryArray of age group ids to filter the groups
group_status_idsList[int]Vec<i64>QueryArray of group status ids to filter the groups
group_category_idsList[int]Vec<i64>QueryArray of group category ids to filter the groups
target_group_idsList[int]Vec<i64>QueryArray of target group ids to filter the groups
weekdaysList[int]Vec<i64>QueryArray of weekdays to filter the groups.
group_type_idsList[int]Vec<i64>QueryArray of group type ids to filter the groups
tag_idsList[int]Vec<i64>QueryArray of group tag ids to filter the groups
is_open_for_membersboolQueryFilters groups by its open status
without_my_groupsboolQueryDetermines if groups should be omitted where I am in
only_my_groupsboolQueryDetermines if only groups where I am in should be returned
has_meeting_placeboolQueryOnly show groups with meeting place
allow_postsboolQueryOnly show groups where posting is allowed
has_postsboolQueryOnly show groups which has posts
has_active_chatboolQueryFilter groups based on whether they have an active chat
querystrStringQuery
visibilitystrStringQueryGroup visibility

Rückgabe Paginator[GroupHierarchy]Vec<GroupHierarchy>

for hierarchy in client.groups.list_hierarchies():
    print(hierarchy.group_id)
for hierarchy in client.groups().list_hierarchies()? {
    println!("{}", hierarchy.group_id);
}

GET/groups/ids

client.groups.list_ids()client.groups().list_ids()mit Filtern: .list_ids_with(&GetGroupsIdsQuery)seitenweise

Get all group ids

Returns all group ids the user can see. This includes groups the user is a member of as well as subordinate groups the user is allowed to see. Same as GET /groups but only returns ids.

21 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
limitinti64QueryNumber of results per page.
idsList[int]Vec<i64>QueryArray of group ids
parent_idinti64QueryReturn direct child groups of this group
child_idinti64QueryReturn direct parent groups of this group
campus_idsList[int]Vec<i64>QueryArray of campus ids to filter the groups
agegroup_idsList[int]Vec<i64>QueryArray of age group ids to filter the groups
group_status_idsList[int]Vec<i64>QueryArray of group status ids to filter the groups
group_category_idsList[int]Vec<i64>QueryArray of group category ids to filter the groups
target_group_idsList[int]Vec<i64>QueryArray of target group ids to filter the groups
weekdaysList[int]Vec<i64>QueryArray of weekdays to filter the groups.
group_type_idsList[int]Vec<i64>QueryArray of group type ids to filter the groups
tag_idsList[int]Vec<i64>QueryArray of group tag ids to filter the groups
is_open_for_membersboolQueryFilters groups by its open status
without_my_groupsboolQueryDetermines if groups should be omitted where I am in
only_my_groupsboolQueryDetermines if only groups where I am in should be returned
has_meeting_placeboolQueryOnly show groups with meeting place
allow_postsboolQueryOnly show groups where posting is allowed
has_postsboolQueryOnly show groups which has posts
has_active_chatboolQueryFilter groups based on whether they have an active chat
querystrStringQuery
visibilitystrStringQueryGroup visibility

Rückgabe Paginator[int]Vec<i64>

for id in client.groups.list_ids():
    print(id)
for id in client.groups().list_ids()? {
    println!("{:?}", id);
}

GET/groups/{groupId}/memberids

client.groups.list_member_ids()client.groups().list_member_ids()mit Filtern: .list_member_ids_with(&GetGroupsGroupIdMemberidsQuery)

Get person IDs of group members

Returns the person IDs of all visible memberships matching the filters. These IDs can be used as personId in /groups/{groupId}/members/{personId}; they are not membership record IDs. Results are not paginated, and meta.count is the number of returned IDs. Filters are combined, and visibility restrictions still apply. Additional filters can use a group member field’s reference name or display name (=fieldValue), or a person-field key (person_=fieldValue).

10 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
role_idsList[int]Vec<i64>QueryFilter by role definition IDs (Role.id from GET /roles), matching groupTypeRoleId on memberships.
person_idList[int]Vec<i64>QueryFilter by person IDs.
group_member_statusesList[str]Vec<String>QueryFilter by membership status, independently of the member’s role.
allowed_chat_users_onlyboolQueryIf true, return only group members, that are allowed to chat in this group
allowed_chat_writers_onlyboolQueryIf true, return only group members that are allowed to write in the chat.
querystrStringQuerySearch the first and last names of the persons belonging to the group.
commentstrStringQueryReturn memberships whose comment contains the supplied text.
member_start_date_afterUnion[date, datetime]serde_json::ValueQueryFilter by a membership start date strictly after this value.
member_start_date_beforeUnion[date, datetime]serde_json::ValueQueryFilter by a membership start date strictly before this value.

Rückgabe List[int]Vec<i64>

for member_id in client.groups.list_member_ids(42):
    print(member_id)
for member_id in client.groups().list_member_ids(42)? {
    println!("{:?}", member_id);
}

GET/groups/{groupId}/memberpreview

client.groups.list_member_preview()client.groups().list_member_preview()mit Filtern: .list_member_preview_with(&GetGroupsGroupIdMemberpreviewQuery)

Preview active group members by role

Returns each role of the group’s group type with a limited selection of active, visible members. Roles are ordered by type and sort key, including roles with no matching members. Within each role, persons with an avatar come first, followed by last name and first name. members_per_role limits each role separately; meta.count counts role entries, not members. Use GET /groups/{groupId}/members for the paginated membership list and additional fields.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
members_per_roleinti64QueryMaximum number of active, visible members returned for each role.

Rückgabe List[MemberPreview]Vec<MemberPreview>

for member_preview in client.groups.list_member_preview(42):
    print(member_preview)
for member_preview in client.groups().list_member_preview(42)? {
    println!("{:?}", member_preview);
}

GET/groups/members

client.groups.list_members()client.groups().list_members()mit Filtern: .list_members_with(&GetGroupsMembersQuery)

Get all group members

Returns all group members. Only accessible for users with right "administer persons".

ParameterTypOrtPflichtBeschreibung
idsList[int]Vec<i64>QueryArray of group ids
with_deletedboolQueryIf true, return also deleted group members

Rückgabe List[GroupMemberShort]Vec<GroupMemberShort>

for member in client.groups.list_members():
    print(member.deleted)
for member in client.groups().list_members()? {
    println!("{}", member.deleted);
}

GET/groups/{groupId}/posts

client.groups.list_posts()client.groups().list_posts()mit Filtern: .list_posts_with(&GetGroupsGroupIdPostsQuery)seitenweise

Get visible posts of a group

Returns published, unexpired and unbanned local posts visible to the current user in this group. Anonymous access is supported and limited by public group and post visibility. Posts must be enabled for both the group and its group type. Group-internal posts require membership; other posts follow group visibility. A missing or inaccessible group returns an empty list. Explicitly selecting a group includes it even when the user has hidden the group from their feed; hidden posts and hidden authors remain excluded. External instances are not queried. Results are ordered by publishedDate and GUID descending. For the next batch, pass the last post’s publishedDate as before and its guid as last_post_identifier. page is ignored; pagination.current stays 1, and total/lastPage describe the remaining cursor-filtered results rather than the complete feed.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
beforedatetimeDateTime<Utc>QueryIf set, only posts published before this date are returned.
last_post_identifierstrStringQueryIf set, posts published at the before date are included in the result, if the guids of the posts are lexically smaller than the last_post_identifier.
afterdatetimeDateTime<Utc>QueryIf set, only posts published at or after this date are returned.
limitinti64QueryMaximum number of posts in this batch.
includeList[str]Vec<String>QueryOptional comments and reactions.

Rückgabe Paginator[Post]Vec<Post>

for post in client.groups.list_posts(42):
    print(post.title)
for post in client.groups().list_posts(42)? {
    println!("{}", post.title);
}

GET/groups/{groupId}

client.groups.get()client.groups().get()mit Filtern: .get_with(&GetGroupsGroupIdQuery)

Get a group

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
includeList[str]Vec<String>QueryInclude additional information (currently, 'roles' are included by default but this behaviour is now deprecated)

Rückgabe Group

group = client.groups.get(42)
print(group.name)
let group = client.groups().get(42)?;
println!("{}", group.name);

GET/groups/{groupId}/grouphomepage

client.groups.get_group_homepage()client.groups().get_group_homepage()

Get a group’s homepage configuration

Returns the homepage configuration attached to this parent group, including disabled homepages. Requires permission to edit the parent group’s basic settings; ordinary group visibility is insufficient. A group without a homepage returns 404. This settings lookup does not populate the child groups or filter option catalogs: groups is empty and filter entries omit options. For the public page with its child groups and catalogs, use GET /grouphomepages/{hash}. showMap is combined with the global OpenStreetMap setting, so it can be false even when the stored page flag is true.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe GroupHomepage

group_homepage = client.groups.get_group_homepage(42)
print(group_homepage.name)
let group_homepage = client.groups().get_group_homepage(42)?;
println!("{}", group_homepage.name);

GET/groups/grouped

client.groups.get_grouped()client.groups().get_grouped()Query: GetGroupsGroupedQuery

Get grouped groups

Returns visible groups grouped by the requested group attribute. Each group contains a preview list limited by limit and the total number of matching groups in all.

ParameterTypOrtPflichtBeschreibung
group_bystrStringQueryjaGroup attribute used to build the response buckets
limitinti64QueryNumber of results per page.

Rückgabe GroupedGroups

grouped = client.groups.get_grouped(group_by="ageGroup")
print(grouped.grouped_by)
let query = GetGroupsGroupedQuery {
    group_by: Some("ageGroup".into()),
    ..Default::default()
};
let grouped = client.groups().get_grouped(&query)?;
println!("{}", grouped.grouped_by);

GET/groups/{groupId}/optins

client.groups.get_optins()client.groups().get_optins()

Get stored newsletter consent and synchronization states

Returns active newsletter mappings and local newsletter-person records for the group, keyed by provider:listId and person ID. Requires permission to view the group and its members. The current backend calls the global administer groups check but does not enforce its result. Disabled/unknown providers are absent from newsletter; person records can remain with empty newsletter maps. The data is unpaginated, has no meta envelope and is not a live provider status lookup. Empty maps serialize as [].

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe NewsletterOptInData

optin = client.groups.get_optins(42)
print(optin)
let optin = client.groups().get_optins(42)?;
println!("{:?}", optin);

GET/groups/{groupId}/poststatistics

client.groups.get_post_statistics()client.groups().get_post_statistics()

Count published group posts by visibility

Returns one object containing counts for group_intern and group_visible. Only already published, unexpired and non-banned posts are counted, and posts must be enabled for both the group and its group type. Drafts/scheduled posts are excluded. Empty groups and groups with posts disabled return both counters as zero. The current handler requires authentication but ignores the result of its group-edit permission check and does not filter counts by the caller’s post visibility. The response has no pagination or meta.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe GroupPostStatistics

post_statistic = client.groups.get_post_statistics(42)
print(post_statistic.group_intern)
let post_statistic = client.groups().get_post_statistics(42)?;
println!("{}", post_statistic.group_intern);

GET/groups/{groupId}/statistics

client.groups.get_statistics()client.groups().get_statistics()

Get group capacity and visible membership counts

Returns one statistics object for the group. Requires group visibility. members is a role/status histogram restricted to members and persons visible to the caller; unfiltered contains group-wide capacity counts regardless of individual visibility. Consequently, summing members need not match any unfiltered counter. Roles, workflow status, archive state and seat-counting settings affect the counters differently. A group without visible memberships returns members=[]; capacity counters are still present. The response is not paginated and has no meta envelope.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe GroupStatistics

statistic = client.groups.get_statistics(42)
print(statistic)
let statistic = client.groups().get_statistics(42)?;
println!("{:?}", statistic);

POST/groups

client.groups.create()client.groups().create()

Create Group

Create new group

9 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
campus_id"campusId"inti64BodyCampus Id if group is connected to a campus
force"force"boolBodyNeed to be true, if another group with that name already exists
group_category_id"groupCategoryId"inti64BodyID of group category
group_status_id"groupStatusId"inti64BodyjaID of the group status.
group_type_id"groupTypeId"inti64BodyjaId of group type
name"name"strStringBodyjaGroup name
parent_group_id"parentGroupId"inti64BodyGroup ID of parent group
role_id"roleId"inti64Bodyput yourself in this role
visibility"visibility"strStringBodyThe visibility of a group.

Rückgabe Group

result = client.groups.create(group_status_id=1, group_type_id=42, name="Hauskreis Nord")
print(result.name)
let body = models::PostGroupsBody {
    group_status_id: 1,
    group_type_id: 42,
    name: "Hauskreis Nord".into(),
    ..Default::default()
};
let result = client.groups().create(&body)?;
println!("{}", result.name);

PUT/groups/{groupId}/grouphomepage

client.groups.update_group_homepage()client.groups().update_group_homepage()

Create or update a group’s homepage configuration

Creates the homepage configuration if none exists, otherwise updates it. Requires permission to edit the parent group’s basic settings. Existing URL hashes are preserved; newly created pages receive a random hash. Supply all five enabled/display flags. Omitted header modes and custom text preserve existing values; omitted layout, ordering, collapse and depth settings reset to defaults, and omitted filters disables all filters. Returns 200 with an empty JSON object for both create and update. Read GET /groups/{groupId}/grouphomepage afterwards to obtain the saved configuration and URL hash.

16 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
custom_description"customDescription"Optional[str]Option<String>BodyCustom description. Trimmed; null or blank clears the value.
custom_title"customTitle"Optional[str]Option<String>BodyCustom heading. Trimmed; null or blank clears the value.
default_view"defaultView"strStringBodyInitial group display layout.
depth"depth"inti64BodyMaximum child hierarchy depth; 1 includes direct children.
description_mode"descriptionMode"strStringBodyHeader content source.
filters"filters"List[GroupHomepageFilterCreate]Vec<GroupHomepageFilterCreate>BodyReplaces the enabled filters in the supplied order.
is_collapsed"isCollapsed"boolBodyWhether the group list starts collapsed.
is_enabled"isEnabled"boolBodyjaWhether the public hash URL may be opened.
order_by"orderBy"strStringBodyGroup field used to sort the page.
order_direction"orderDirection"strStringBodyAscending or descending sort order.
show_filters"showFilters"boolBodyjaDisplay the filter controls.
show_group_images"showGroupImages"boolBodyjaInclude group images in public group details.
show_leaders"showLeaders"boolBodyjaInclude leaders in public group details.
show_map"showMap"boolBodyjaEnable the map when the global OpenStreetMap setting also permits it.
title_mode"titleMode"strStringBodyHeader content source.

Rückgabe StrMap[Any]BTreeMap<String, serde_json::Value>

result = client.groups.update_group_homepage(
    42,
    is_enabled=True,
    show_filters=True,
    show_group_images=True,
    show_leaders=True,
    show_map=True,
)
print(result)
let body = models::GroupHomepageUpdate {
    is_enabled: true,
    show_filters: true,
    show_group_images: true,
    show_leaders: true,
    show_map: true,
    ..Default::default()
};
let result = client.groups().update_group_homepage(42, &body)?;
println!("{:?}", result);

PATCH/groups/{groupId}

client.groups.patch()client.groups().patch()mit Filtern: .patch_with(&PatchGroupsIdQuery)

Update Group

Update a group by id. All group fields can be updated here. Use the fields api to get all fields that can be updated here. To link an existing group to an existing appointment (e.g. a sign-up group), set appointmentId. For a single appointment without additional dates, its start date is used automatically when startDate is omitted or null. For repeating appointments or appointments with additional dates, provide startDate to select a specific occurrence. When linking, an existing start date is retained only when the appointment ID is unchanged and startDate is omitted. The date must match the actual occurrence start, including the time; excluded occurrences cannot be linked. Invalid combinations return 422. Set appointmentId to null to remove the link without changing the stored start date. The current user must have permission to edit both the group and the referenced appointment.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
skip_my_posts_reducing_visibilityboolQueryDecides in case of changing the visibility of posts in the group whether the current users posts should be skipped.
deactivate_routines_on_status_finishedboolQueryWhen changing the group status to finished with this flag it can be decided if all routines should be deactivated
appointment_id"appointmentId"Optional[int]Option<i64>BodyID of the appointment this group is linked to.
group_type_id"groupTypeId"inti64Body
start_date"startDate"Optional[datetime]Option<DateTime<Utc>>BodyActual start of the appointment occurrence as a UTC timestamp, including the time.
statuses_counted_towards_seats"statusesCountedTowardsSeats"List[str]Vec<String>BodyMembership statuses that occupy seats when their role counts towards seats.

Rückgabe Group

result = client.groups.patch(42, appointment_id=42)
print(result.name)
let body = models::PatchGroupsIdBody {
    appointment_id: Some(Some(42)),
    ..Default::default()
};
let result = client.groups().patch(42, &body)?;
println!("{}", result.name);

DELETE/groups/{groupId}

client.groups.delete()client.groups().delete()mit Filtern: .delete_with(&DeleteGroupsGroupIdQuery)

Delete a group

Delete a group. This will remove all people from this group.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.groups.delete(42)
client.groups().delete(42)?;

DELETE/groups/{groupId}/grouphomepage

client.groups.delete_group_homepage()client.groups().delete_group_homepage()

Delete a group’s homepage configuration

Permanently removes the homepage configuration attached to this parent group, including its public URL hash. The group, child groups and their memberships are retained. Requires permission to edit the parent group’s basic settings. If that group has no homepage configuration, the request still returns 204. There is no delete-preview workflow; use PUT with isEnabled=false to keep the configuration while disabling the public page.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe None()

client.groups.delete_group_homepage(42)
client.groups().delete_group_homepage(42)?;

POST/groups/{groupId}/chat*

client.groups.chat()client.groups().chat()

Start or stop an event chat

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
enabled"enabled"boolBodyja
trigger_chat_invite_mail"triggerChatInviteMail"boolBody

Rückgabe None()

client.groups.chat(42, enabled=True)
let body = models::StartStopChat {
    enabled: true,
    ..Default::default()
};
client.groups().chat(42, &body)?;

POST/groups/{groupId}/duplicate

client.groups.duplicate()client.groups().duplicate()mit Filtern: .duplicate_with(&PostGroupsIdDuplicateQuery)

Duplicate a group with selected related data

Creates a pending group with a new ID, GUID and name. Requires permission to create a group with the source group’s type, campus and parent groups. The copy includes both parent and child hierarchy links, tags, membership field definitions, role settings, addresses and the group image. Memberships, role permissions and membership routines are copied only when their flags are enabled. Meetings and the appointment link are cleared. An existing group homepage is cloned with a new URL hash. Supply newName and optional flags in the query or JSON body; query values take precedence. The returned group is not enriched with all copied related data.

9 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
new_namestrStringQueryName of the copy, trimmed before validation.
copy_membersboolQueryCopy memberships, including statuses, roles, comments and member field values.
copy_permissionsboolQueryCopy group-role permissions and permission inheritance settings.
copy_routinesboolQueryCopy membership routines and prepare their potential runs for the new group.
copy_members_2"copyMembers"boolBodyCopy memberships, including statuses, roles, comments and member field values.
copy_permissions_2"copyPermissions"boolBodyCopy group-role permissions and permission inheritance settings.
copy_routines_2"copyRoutines"boolBodyCopy membership routines and prepare their potential runs for the new group.
new_name_2"newName"strStringBodyName of the copy, trimmed before validation.

Rückgabe Group

group = client.groups.duplicate(42, copy_members_2=True)
print(group.name)
let body = models::GroupDuplicateCreate {
    copy_members: Some(true),
    ..Default::default()
};
let group = client.groups().duplicate(42, &body)?;
println!("{}", group.name);

POST/groups/export

client.groups.export()client.groups().export()mit Filtern: .export_with(&PostGroupsExportQuery)

Export groups

Downloads selected visible groups as a spreadsheet, sorted by group name. Unknown or invisible IDs are omitted; an empty ids array produces a header-only export. Columns include standard and custom group fields, registration availability, tags, membership statistics, places and direct parent/child groups. Field labels and formatted values use the current language. Group field values pass through field security checks; related groups that are not visible may still appear as bare IDs. CSV uses semicolon-separated UTF-8 text; XLSX returns a workbook. This read-only POST does not create a stored file and does not paginate.

ParameterTypOrtPflichtBeschreibung
formatstrStringQueryExport file format. Defaults to csv when omitted.
type_r#typestrStringQueryUse format
ids"ids"List[int]Vec<i64>BodyjaGroup IDs to export. Unknown or invisible IDs are silently omitted; duplicates do not produce duplicate rows.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.groups.export(ids=[12, 34])
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let body = models::GroupExportCreate {
    ids: vec![12, 34],
    ..Default::default()
};
let data = client.groups().export(&body)?;
std::fs::write("ergebnis.xlsx", &data)?;

POST/groups/{groupId}/grouptype*

client.groups.group_type()client.groups().group_type()

Change a group’s type and migrate its roles

Changes the group type and applies the supplied role mapping within a database transaction. Requires permission to edit the groupTypeId field of this group. Membership roles, group-role settings and their permissions, the registration override role, membership routines, dynamic-group rules and website role references can be affected. New target-type roles receive default group settings; obsolete role settings and their permissions are removed. Provide a complete mapping from old to new group-type role IDs. Use a different target type with valid target roles; incomplete or inconsistent mappings can fail during migration or leave membership roles inconsistent. Success returns 204 without a response body.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
group_type_id"groupTypeId"inti64BodyjaID of the target group type.
role_mapping"roleMapping"StrMap[int]BTreeMap<String, i64>BodyjaMap each old group-type role ID (JSON key) to its target role ID in the new type.

Rückgabe None()

client.groups.group_type(42, group_type_id=3, role_mapping={})
let body = models::GroupTypeChangeUpdate {
    group_type_id: 3,
    role_mapping: Default::default(),
    ..Default::default()
};
client.groups().group_type(42, &body)?;

POST/groups/{groupId}/notification*

client.groups.notification()client.groups().notification()mit Filtern: .notification_with(&PostGroupsGroupIdNotificationQuery)

Send a group sign-up push notification

Announces a group to potential new members through push notifications. Requires permission to edit the group’s basic settings. Recipients have registered push devices, are not already linked to the group, and have not disabled these notifications. Group age, target-group and category values are compared with notification preferences, not with a person’s age or memberships. Use dry_run to preview the selection count without sending or marking the group as notified. A normal request marks the group as notified even when the count is zero; later requests, including dry runs, return 403. sentToCount measures recipient selection, not successful delivery. The response is returned directly without a data wrapper.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
dry_runboolQueryPreview the recipient count without sending.
dry_run_2"dry_run"boolBodyPreview recipient selection without sending or marking the group as notified.

Rückgabe GroupSignUpNotificationResult

group = client.groups.notification(42, dry_run_2=True)
print(group.sent_to_count)
let body = models::GroupSignUpNotificationRequest {
    dry_run: Some(true),
    ..Default::default()
};
let group = client.groups().notification(42, &body)?;
println!("{}", group.sent_to_count);

POST/groups/{groupId}/checkin/{personId}*

client.groups.checkin.create()client.groups().checkin().create()

Check in a person at a group meeting

Marks an existing person present at a group meeting. Requires permission to manage meetings of the path group. Supply either an existing meeting ID belonging to this group or its exact start timestamp; the timestamp variant creates a meeting when necessary. This does not create a group membership. Completed meetings and people already marked present produce 400. An optional ticket is marked used before these checks. printerId requests a name tag; printer warnings do not undo attendance or prevent a success response.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person
date"date"Optional[datetime]Option<DateTime<Utc>>BodyExact start timestamp of a meeting in this group.
group_meeting_id"groupMeetingId"Optional[int]Option<i64>BodyID of an existing meeting belonging to the path group.
printer_id"printerId"inti64Bodyoptional printer ID, if a name tag should be printed out
token"token"strStringBodyOptional ticket token for this person and group.

Rückgabe Checkin

result = client.groups.checkin.create(
    42,
    42,
    date=dt.datetime(2022, 10, 19, 12, 0, tzinfo=dt.timezone.utc),
)
print(result.total_checked_in)
let body = models::CheckinCreate {
    date: Some(Some("2022-10-19T12:00:00Z".parse()?)),
    ..Default::default()
};
let result = client.groups().checkin().create(42, 42, &body)?;
println!("{}", result.total_checked_in);

GET/groups/{groupId}/documents/{htmlTemplateId}

client.groups.documents.get()client.groups().documents().get()

Get a group document for the current logged in User

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
html_template_idstrimpl DisplayPfadja

Rückgabe None()

client.groups.documents.get(42, "abc123")
client.groups().documents().get(42, "abc123")?;

GET/groups/{groupId}/meetings

client.groups.meetings.list()client.groups().meetings().list()mit Filtern: .list_with(&GetGroupsIdMeetingsQuery)seitenweise

Get meetings for a group

Returns meetings and attendance statistics for a group. Requires authentication, permission to view the group and permission to manage its meetings.

Without direction, returns all meetings with startDate >= from and startDate < to, ordered oldest first. page and limit do not restrict this date-range mode. Defaults are yesterday at midnight through midnight 30 days after today, in the application timezone.

With direction=forward, returns meetings strictly after from, oldest first. With direction=backward, returns meetings strictly before from, newest first. In this mode to is ignored, and page/limit select a page. The response has no pagination object or total page count.

meta.count is the number returned; meta.statistics covers all meetings of the group. In date-range mode, meta.previous and meta.next contain a matching meeting timestamp before from or after to, or null. They are omitted in directional mode. Use include=attendances to add person-level attendance states.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
is_canceledboolQueryFilter by the exact cancellation flag: true selects canceled meetings, false selects non-canceled meetings.
is_completedboolQueryFilter by the exact completion flag.
from_fromstrStringQueryLower inclusive range boundary, or exclusive anchor when direction is supplied.
tostrStringQueryExclusive upper range boundary.
directionstrStringQueryEnable directional paging strictly before or after from; omit for an unpaginated date range.
limitinti64QueryNumber of meetings per page in directional mode only.
includeList[str]Vec<String>QueryInclude additional information

Rückgabe Paginator[GroupMeeting]Vec<GroupMeeting>

for meeting in client.groups.meetings.list(42):
    print(meeting.id)
for meeting in client.groups().meetings().list(42)? {
    println!("{}", meeting.id);
}

GET/groups/{groupId}/meetings/{meetingId}

client.groups.meetings.get()client.groups().meetings().get()

Get a group meeting

Returns one meeting with attendance statistics. Requires authentication, permission to view the group and permission to manage its meetings. Use a meetingId belonging to the group in the URL. No include parameters are supported; use the meeting list with include=attendances or the meeting members endpoint for individual attendance.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
meeting_idintimpl DisplayPfadjaID of a meeting belonging to the group in the URL.

Rückgabe GroupMeeting

meeting = client.groups.meetings.get(42, 120)
print(meeting.id)
let meeting = client.groups().meetings().get(42, 120)?;
println!("{}", meeting.id);

GET/groups/{groupId}/meetings/export

client.groups.meetings.get_export()client.groups().meetings().get_export()mit Filtern: .get_export_with(&GetGroupsGroupIdMeetingsExportQuery)

Export group meeting attendance or overview

Exports meetings in the inclusive from / exclusive to date range. Requires authentication and permission to manage group meetings. Defaults to yesterday at midnight through midnight 30 days after today, in the application timezone.

meetings_members creates a person-by-meeting attendance matrix, subject to attendance visibility and group-history permissions. meetings_overview creates one row per meeting with status, attendance counts, guest count and comment. Headings and attendance labels are translated.

The result is a downloadable CSV (default) or XLSX file, not a JSON response. All matching meetings are exported; page and limit are not supported. The current date-range implementation orders meetings oldest first even when direction=backward is supplied.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
formatstrStringQueryDownload format supported by the export generators.
type_r#typestrStringQueryChoose a person-by-meeting attendance matrix or one summary row per meeting.
is_canceledboolQueryMatch the exact cancellation flag; omit to include canceled and non-canceled meetings.
is_completedboolQueryMatch the exact completion flag; omit to include both states.
from_fromstrStringQueryInclusive lower start-time boundary.
tostrStringQueryExclusive upper start-time boundary.
directionstrStringQueryAccepted for compatibility; the current date-range export remains ordered oldest first.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.groups.meetings.get_export(42)
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let data = client.groups().meetings().get_export(42)?;
std::fs::write("ergebnis.xlsx", &data)?;

POST/groups/{groupId}/meetings

client.groups.meetings.create()client.groups().meetings().create()

Create a group meeting

Creates one meeting at startDate and initializes attendance for eligible active group members as unsure. Requires authentication, permission to view the group and permission to manage its meetings. Send a UTC timestamp. Only startDate is accepted as meeting timing; endDate does not set a duration. dateFrom is a legacy alias for startDate. A duplicate meeting for the same group and start time returns 400.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
start_date"startDate"datetimeDateTime<Utc>BodyjaStart of the meeting in UTC.

Rückgabe GroupMeeting

result = client.groups.meetings.create(
    42,
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
)
print(result.id)
let body = models::PostGroupsIdMeetingsBody {
    start_date: "2026-09-20T08:00:00Z".parse()?,
    ..Default::default()
};
let result = client.groups().meetings().create(42, &body)?;
println!("{}", result.id);

PUT/groups/{groupId}/meetings/{meetingId}

client.groups.meetings.update()client.groups().meetings().update()

Update a group meeting

Updates meeting timing, completion, cancellation and feedback. Requires authentication, permission to view the group and permission to manage its meetings. Use a meetingId belonging to the group in the URL.

Supply startDate, isCompleted and isCanceled; they have no implicit request defaults. Omitted numGuests, comment and pollResult are cleared to null. This is not a partial update. Blank comments are trimmed to null. endDate is not stored or updated. A duplicate start time for this group returns 400.

Setting isCompleted=true locks attendance changes. Send false to reopen the meeting. This operation does not change individual attendance states or hasEditingStarted. Returns the updated meeting in data.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
meeting_idintimpl DisplayPfadjaID of a meeting belonging to the group in the URL.
comment"comment"Optional[str]Option<String>BodyMeeting notes; omitted, null or blank text clears them.
is_canceled"isCanceled"boolBodyjaWhether the meeting was canceled.
is_completed"isCompleted"boolBodyjaWhether attendance and feedback have been marked as completed.
num_guests"numGuests"Optional[int]Option<i64>BodyAdditional guest headcount entered for the meeting, or null when unspecified.
poll_result"pollResult"Optional[List[Any]]Option<Vec<serde_json::Value>>BodyFeedback data to store for this meeting, typically MeetingTemplateField objects with answer values.
start_date"startDate"datetimeDateTime<Utc>BodyjaNew start timestamp in UTC; dateFrom is a legacy alias.

Rückgabe GroupMeeting

result = client.groups.meetings.update(
    42,
    120,
    is_canceled=False,
    is_completed=False,
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
)
print(result.id)
let body = models::PutGroupsGroupIdMeetingsMeetingIdBody {
    is_canceled: false,
    is_completed: false,
    start_date: "2026-09-20T08:00:00Z".parse()?,
    ..Default::default()
};
let result = client.groups().meetings().update(42, 120, &body)?;
println!("{}", result.id);

DELETE/groups/{groupId}/meetings/{meetingId}

client.groups.meetings.delete()client.groups().meetings().delete()

Delete a group meeting

Permanently deletes the meeting. This differs from setting isCanceled=true, which retains the record. Requires authentication, permission to view the group and permission to manage its meetings. Use a meetingId belonging to the group in the URL. There is no dry-run option. Returns 204 without a response body.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
meeting_idintimpl DisplayPfadjaID of a meeting belonging to the group in the URL.

Rückgabe None()

client.groups.meetings.delete(42, 120)
client.groups().meetings().delete(42, 120)?;

GET/groups/{groupId}/meetings/{meetingId}/members

client.groups.meetings.members.list()client.groups().meetings().members().list()

Get attendance for a group meeting

Returns person-level attendance for the meeting. Requires authentication, permission to view the group and permission to manage its meetings.

The list combines recorded attendance with visible group members; membership details are included only for current visible active memberships. Former members may appear when group-history permissions allow it, with member=null. A person without an attendance record receives status=not-in-group. personId identifies the person; isCheckedIn is true only for present.

Returns an unpaginated data array with meta.count. It does not return meta.totalCheckedIn. A meeting belonging to another group returns 404.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
meeting_idintimpl DisplayPfadjaID of a meeting belonging to the group in the URL.

Rückgabe List[GroupMeetingMember]Vec<GroupMeetingMember>

for member in client.groups.meetings.members.list(42, 120):
    print(member.is_checked_in)
for member in client.groups().meetings().members().list(42, 120)? {
    println!("{}", member.is_checked_in);
}

DELETE/groups/{groupId}/meetings/{meetingId}/members/{memberId}

client.groups.meetings.members.delete()client.groups().meetings().members().delete()

Revoke a meeting check-in

Sets one person's attendance to absent (the default) or unsure. This writes an attendance state rather than deleting the person or membership, and sets hasEditingStarted=true. Requires authentication and permission to manage meetings for the group. Completed meetings reject this attendance change with 400; reopen the meeting before editing attendance.

The request body is optional. On success the response is 200 with a GroupMeeting directly at the JSON root, without a data wrapper. A meeting belonging to another group or an unknown person returns 404.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
meeting_idintimpl DisplayPfadjaID of a meeting belonging to the group in the URL.
member_idintimpl DisplayPfadjaPerson ID from the attendance list, not a membership or attendance-record ID.
status"status"strStringBodyAttendance state after revoking the check-in.

Rückgabe GroupMeeting

member = client.groups.meetings.members.delete(42, 120, 17, status="absent")
print(member.id)
let body = models::DeleteGroupsGroupIdMeetingsMeetingIdMembersMemberIdBody {
    status: Some("absent".into()),
    ..Default::default()
};
let member = client.groups().meetings().members().delete(42, 120, 17, &body)?;
println!("{}", member.id);

POST/groups/{groupId}/meetings/{meetingId}/members/missing

client.groups.meetings.members.missing()client.groups().meetings().members().missing()

Set undecided meeting attendance

Changes only existing unsure attendance records to the supplied present or absent status. Other attendance records are unchanged, and no new person records are added. Sets hasEditingStarted=true. Requires authentication and permission to manage meetings for the group. Completed meetings reject this attendance change with 400; reopen the meeting before editing attendance. Returns 204 without a response body.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
meeting_idintimpl DisplayPfadjaID of a meeting belonging to the group in the URL.
status"status"strStringBodyjaAttendance state to assign to currently unsure records.

Rückgabe None()

client.groups.meetings.members.missing(42, 120, status="absent")
let body = models::PostGroupsGroupIdMeetingsMeetingIdMembersMissingBody {
    status: "absent".into(),
    ..Default::default()
};
client.groups().meetings().members().missing(42, 120, &body)?;

POST/groups/{groupId}/meetings/{meetingId}/members/reset

client.groups.meetings.members.reset()client.groups().meetings().members().reset()

Reset meeting attendance

Resets all existing attendance records for the meeting to unsure, including records previously marked present or absent. Clears hasEditingStarted. This does not remove memberships or clear meeting feedback or guest counts. Requires authentication and permission to manage meetings for the group. Completed meetings reject this attendance change with 400; reopen the meeting before editing attendance. Returns 204 without a response body.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
meeting_idintimpl DisplayPfadjaID of a meeting belonging to the group in the URL.

Rückgabe None()

client.groups.meetings.members.reset(42, 120)
client.groups().meetings().members().reset(42, 120)?;

GET/groups/{groupId}/memberfields

client.groups.member_fields.list()client.groups().member_fields().list()

List configured membership and person fields

Returns all configured fields for this group, ordered together by sortKey. type=group describes a field whose values belong to individual memberships; type=person links an existing global person field into the group’s membership/signup UI. The list contains field definitions, not members or their entered values. Requires visibility of the group. Field definitions are not additionally filtered by their securityLevel or useInRegistrationForm flag. Results are not paginated; meta.count is the total number of returned definitions. Anonymous access is possible when the group is publicly visible.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe List[Union[GetGroupsGroupIdMemberfieldsDataItemVariant1, GetGroupsGroupIdMemberfieldsDataItemVariant2]]Vec<serde_json::Value>

for member_field in client.groups.member_fields.list(42):
    print(member_field)
for member_field in client.groups().member_fields().list(42)? {
    println!("{:?}", member_field);
}

POST/groups/{groupId}/memberfields/group

client.groups.member_fields.group.create()client.groups().member_fields().group().create()

Create a group-specific membership field

Creates a field whose values are stored separately for each person’s membership in this group. Requires permission to edit group member fields. name must be unique within the group; referenceName must also be unique and is generated from name when omitted. Choose fieldTypeCode at creation; subsequent field updates cannot change it. Select-like options receive new backend IDs, and defaults are normalized to those IDs. The response is the field definition, without a type wrapper or member values. Existing memberships are not populated with the new default by this endpoint.

13 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
default_value"defaultValue"Optional[Union[str, List[Union[str, int]], float, bool]]serde_json::ValueBodyDefault value, validated according to fieldTypeCode.
field_type_code"fieldTypeCode"strStringBodyjaOne of the ten supported field types.
name"name"strStringBodyjaInternal field name shown to administrators.
name_in_signup_form"nameInSignupForm"Optional[str]Option<String>BodyOptional field name shown in the signup form.
note"note"Optional[str]Option<String>BodyInternal field description.
note_in_signup_form"noteInSignupForm"Optional[str]Option<String>BodyOptional field description shown in the signup form.
options"options"Optional[List[GroupMemberFieldGroupOptionCreate]]Option<Vec<GroupMemberFieldGroupOptionCreate>>BodyChoices for select, radioselect or multiselect, in display order.
reference_name"referenceName"strStringBodyOptional stable machine-readable key.
required_in_registration_form"requiredInRegistrationForm"boolBodyjaWhether this field is mandatory in the signup form.
security_level"securityLevel"inti64BodyjaSecurity level required to see and edit this field.
sort_key"sortKey"inti64BodySort order among group member fields.
use_in_registration_form"useInRegistrationForm"boolBodyjaWhether this field is shown in the signup form.

Rückgabe GroupMemberFieldGroup

result = client.groups.member_fields.group.create(
    42,
    field_type_code="text",
    name="T-Shirt size",
    required_in_registration_form=False,
    security_level=1,
    use_in_registration_form=True,
)
print(result.name)
let body = models::GroupMemberFieldGroupCreate {
    field_type_code: "text".into(),
    name: "T-Shirt size".into(),
    required_in_registration_form: false,
    security_level: 1,
    use_in_registration_form: true,
    ..Default::default()
};
let result = client.groups().member_fields().group().create(42, &body)?;
println!("{}", result.name);

PUT/groups/{groupId}/memberfields/group/{groupMemberFieldId}

client.groups.member_fields.group.update()client.groups().member_fields().group().update()

Replace a membership field definition

Updates a field belonging to the path group. Requires permission to edit group member fields and the required name/referenceName/securityLevel/registration flags. Unlike PATCH, omitted notes, signup labels and defaultValue are cleared, and sortKey resets to zero. The display name and reference name must be unique within the group. The field type is unchanged. Send the full option list with numeric IDs for retained choices: removed choices are removed from member selections and defaults. Omitting options or sending null currently reallocates existing choice IDs and can clear selections. The returned object is the saved field definition.

13 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
group_member_field_idintimpl DisplayPfadjaID of the group member field.
default_value"defaultValue"Optional[Union[str, List[Union[str, int]], float, bool]]serde_json::ValueBodyDefault value, validated according to fieldTypeCode.
name"name"strStringBodyjaInternal field name shown to administrators.
name_in_signup_form"nameInSignupForm"Optional[str]Option<String>BodyOptional field name shown in the signup form.
note"note"Optional[str]Option<String>BodyInternal field description.
note_in_signup_form"noteInSignupForm"Optional[str]Option<String>BodyOptional field description shown in the signup form.
options"options"Optional[List[GroupMemberFieldGroupOptionPatch]]Option<Vec<GroupMemberFieldGroupOptionPatch>>BodyFull replacement list; include IDs of choices to retain.
reference_name"referenceName"strStringBodyjaMachine-readable key, unique within this group.
required_in_registration_form"requiredInRegistrationForm"boolBodyjaWhether this field is mandatory in the signup form.
security_level"securityLevel"inti64BodyjaSecurity level required to see and edit this field.
sort_key"sortKey"inti64BodySort order; omission resets it to zero.
use_in_registration_form"useInRegistrationForm"boolBodyjaWhether this field is shown in the signup form.

Rückgabe GroupMemberFieldGroup

result = client.groups.member_fields.group.update(
    42,
    42,
    name="T-Shirt size",
    reference_name="t-shirt-size",
    required_in_registration_form=False,
    security_level=1,
    use_in_registration_form=True,
)
print(result.name)
let body = models::GroupMemberFieldGroupUpdate {
    name: "T-Shirt size".into(),
    reference_name: "t-shirt-size".into(),
    required_in_registration_form: false,
    security_level: 1,
    use_in_registration_form: true,
    ..Default::default()
};
let result = client.groups().member_fields().group().update(42, 42, &body)?;
println!("{}", result.name);

PATCH/groups/{groupId}/memberfields/group/{groupMemberFieldId}

client.groups.member_fields.group.patch()client.groups().member_fields().group().patch()

Partially update a membership field definition

Updates only supplied fields of a field belonging to the path group. Requires permission to edit group member fields. Empty {} is accepted and preserves the definition. fieldTypeCode is ignored; a field’s type cannot be changed here. When updating choices, send the full list with numeric IDs for retained choices; omitted IDs are deleted and removed from all member selections and the default. Use options=[] to remove all choices; omit options to preserve it. Avoid options=null because the current implementation reallocates IDs and can clear existing selections. Unlike create and PUT, PATCH does not check uniqueness of the display name, but it checks changed reference names.

13 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
group_member_field_idintimpl DisplayPfadjaID of the group member field.
default_value"defaultValue"Optional[Union[str, List[Union[str, int]], float, bool]]serde_json::ValueBodyDefault value, validated according to fieldTypeCode.
name"name"strStringBodyInternal field name shown to administrators.
name_in_signup_form"nameInSignupForm"Optional[str]Option<String>BodyOptional field name shown in the signup form.
note"note"Optional[str]Option<String>BodyInternal field description.
note_in_signup_form"noteInSignupForm"Optional[str]Option<String>BodyOptional field description shown in the signup form.
options"options"Optional[List[GroupMemberFieldGroupOptionPatch]]Option<Vec<GroupMemberFieldGroupOptionPatch>>BodyFull replacement list.
reference_name"referenceName"strStringBodyMachine-readable key, unique within this group.
required_in_registration_form"requiredInRegistrationForm"boolBodyWhether this field is mandatory in the signup form.
security_level"securityLevel"inti64BodySecurity level required to see and edit this field.
sort_key"sortKey"inti64BodySort order among group member fields.
use_in_registration_form"useInRegistrationForm"boolBodyWhether this field is shown in the signup form.

Rückgabe GroupMemberFieldGroup

result = client.groups.member_fields.group.patch(42, 42, name="T-Shirt size")
print(result.name)
let body = models::GroupMemberFieldGroupPatch {
    name: Some("T-Shirt size".into()),
    ..Default::default()
};
let result = client.groups().member_fields().group().patch(42, 42, &body)?;
println!("{}", result.name);

DELETE/groups/{groupId}/memberfields/group/{groupMemberFieldId}

client.groups.member_fields.group.delete()client.groups().member_fields().group().delete()

Delete a membership field and its stored values

Deletes the group-specific field definition, its selection options and all stored member values for that field. Requires permission to edit member fields of the path group. Supply a field belonging to that group. This operation has no delete-preview workflow and returns 204 without a body. Global person fields and person-field values are unaffected.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
group_member_field_idintimpl DisplayPfadjaID of the group member field.

Rückgabe None()

client.groups.member_fields.group.delete(42, 42)
client.groups().member_fields().group().delete(42, 42)?;

PUT/groups/{groupId}/memberfields/person/{fieldId}*

client.groups.member_fields.person.update()client.groups().member_fields().person().update()

Configure a person field for a group’s member form

Creates or updates the link from an existing global person field to this group’s membership/signup UI. Requires permission to edit group member fields. The path uses dbField.id, not the configuration row ID. Both sortKey and requiredInRegistrationForm must be supplied. The request does not change the global field definition or existing person values. Returns 200 with the saved configuration, including the full underlying dbField, for both create and update.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
field_idintimpl DisplayPfadjaID of the underlying global person field (dbField.id), not the group-field configuration row ID.
required_in_registration_form"requiredInRegistrationForm"boolBodyjaWhether the person field is required in this group’s signup form.
sort_key"sortKey"inti64BodyjaDisplay order among this group’s person and membership fields.

Rückgabe GroupMemberFieldPerson

result = client.groups.member_fields.person.update(
    42,
    200,
    required_in_registration_form=False,
    sort_key=20,
)
print(result.id)
let body = models::GroupMemberFieldPersonUpdate {
    required_in_registration_form: false,
    sort_key: 20,
    ..Default::default()
};
let result = client.groups().member_fields().person().update(42, 200, &body)?;
println!("{}", result.id);

DELETE/groups/{groupId}/memberfields/person/{fieldId}*

client.groups.member_fields.person.delete()client.groups().member_fields().person().delete()

Remove a person field from a group’s member form

Removes the configuration linking this global person field to the group’s membership/signup UI. The underlying field definition and all values stored on persons are retained. Requires permission to edit group member fields. The lookup is scoped to both the group and dbField.id. Returns 204 on deletion and 404 when no such configuration exists; there is no delete-preview workflow.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
field_idintimpl DisplayPfadjaID of the underlying global person field (dbField.id), not the group-field configuration row ID.

Rückgabe None()

client.groups.member_fields.person.delete(42, 200)
client.groups().member_fields().person().delete(42, 200)?;

GET/groups/{groupId}/members

client.groups.members.list()client.groups().members().list()mit Filtern: .list_with(&GetGroupsIdMembersQuery)seitenweise

List group memberships

Returns one page of visible memberships in this group. Each entry links a person to the group and includes their role and membership status. Memberships in all visible statuses are included unless group_member_statuses filters them. Filters are combined. Additional filters can use a group member field’s reference name or display name (=fieldValue), or a person-field key (person_=fieldValue). meta.count counts entries on the current page, meta.pagination.total counts filtered memberships across all pages, and meta.all counts visible memberships before applying filters. Additional person fields and enrichments must be requested explicitly.

15 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
limitinti64QueryMaximum number of memberships per page.
role_idsList[int]Vec<i64>QueryFilter by role definition IDs (Role.id from GET /roles), matching groupTypeRoleId on memberships.
person_idList[int]Vec<i64>QueryFilter by person IDs.
group_member_statusesList[str]Vec<String>QueryFilter by membership status, independently of the member’s role.
allowed_chat_users_onlyboolQueryIf true, return only group members, that are allowed to chat in this group
allowed_chat_writers_onlyboolQueryIf true, return only group members that are allowed to write in the chat.
querystrStringQuerySearch the first and last names of the persons belonging to the group.
commentstrStringQueryReturn memberships whose comment contains the supplied text.
member_start_date_afterUnion[date, datetime]serde_json::ValueQueryFilter by a membership start date strictly after this value.
member_start_date_beforeUnion[date, datetime]serde_json::ValueQueryFilter by a membership start date strictly before this value.
order_fieldsList[str]Vec<String>QueryFields used to sort the member list.
order_directionsList[str]Vec<String>QuerySort directions corresponding by position to orderFields.
person_fieldsList[str]Vec<String>QueryAdditional person-field keys to include in each member’s personFields object, for example firstName.
includeList[str]Vec<String>QueryAdditional member-list data.

Rückgabe Paginator[GroupMember]Vec<GroupMember>

for member in client.groups.members.list(42):
    print(member.id)
for member in client.groups().members().list(42)? {
    println!("{}", member.id);
}

GET/groups/{groupId}/members/history

client.groups.members.list_history()client.groups().members().list_history()mit Filtern: .list_history_with(&GetGroupsGroupIdMembersHistoryQuery)

List membership history with previous and current values

Returns legacy membership history for this group, newest entry ID first. Requires view group history or the internal +view history permission. member_id refers to the affected person and actor_id to the person who made the change. Change filters have precedence rather than being combined: new_role_id overrides new_status, which overrides new_fields/has_field_changed. The previous snapshot remains the actual linked predecessor even if it does not match the filters. To fetch older entries, pass the last returned id as offset_id; meta.count counts this batch, without a total or next cursor. Stored historical comments/field values are returned without individual person visibility or field security filtering.

10 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
member_idinti64QueryAffected person ID.
actor_idinti64QueryPerson ID recorded as the actor.
originstrStringQueryOrigin of the membership change.
new_role_idinti64QueryOnly changes to this role ID.
new_statusstrStringQueryOnly changes to this status, unless new_role_id is supplied.
new_fieldsboolQueryWhether the stored field snapshot changed; ignored when new_role_id or new_status is supplied.
has_field_changedboolQueryLegacy alias used only if new_fields is absent.
offset_idinti64QueryExclusive upper entry-ID boundary; 0 yields an empty list.
limitinti64QueryMaximum entries in this batch.

Rückgabe List[GroupMemberHistoryEntry]Vec<GroupMemberHistoryEntry>

for history in client.groups.members.list_history(42):
    print(history.id)
for history in client.groups().members().list_history(42)? {
    println!("{}", history.id);
}

GET/groups/{groupId}/members/{personId}/meetings

client.groups.members.list_meetings()client.groups().members().list_meetings()

Get group meetings with attendance for one person

Returns every meeting of the group, paired with the requested person’s attendance status. Requires permission to view the group and manage its meetings. Meetings without an attendance record are included with status null; canceled and completed meetings are also included. The endpoint does not verify that the person exists or is currently a group member. Results are not paginated and have no guaranteed order. Attendance statistics are not calculated.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person

Rückgabe List[GroupMemberMeeting]Vec<GroupMemberMeeting>

for meeting in client.groups.members.list_meetings(42, 42):
    print(meeting.status)
for meeting in client.groups().members().list_meetings(42, 42)? {
    println!("{:?}", meeting.status);
}

GET/groups/{groupId}/members/statistics

client.groups.members.list_statistics()client.groups().members().list_statistics()Query: GetGroupsGroupIdMembersStatisticsQuery

Get field statistics for selected group roles

Aggregates non-archived persons with a membership in this group and one of the requested group-type roles. Membership workflow status is not filtered. Requires permission to view the group and its members. Requested fields are included only if their security level is accessible; unknown or inaccessible fields are silently omitted. Person fields are selected by database field key, custom membership fields by numeric field ID. With no requested fields the result is empty. This is an unpaginated list; meta.count counts returned field statistics, not people. Person date fields return earliest/latest values including the corresponding person; requesting such a field when no non-null value exists currently reaches an unhandled empty-result path.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
group_type_role_idsList[int]Vec<i64>QueryjaGroup-type role IDs configured for this group; limits the population to these roles.
person_fieldsList[str]Vec<String>QueryKeys of person database fields from address, information or church categories.
group_member_fieldsList[int]Vec<i64>QueryIDs of custom membership field definitions belonging to this group.

Rückgabe List[GroupMemberStatistic]Vec<GroupMemberStatistic>

for statistic in client.groups.members.list_statistics(42, group_type_role_ids=[8, 9]):
    print(statistic.field_type)
let query = GetGroupsGroupIdMembersStatisticsQuery {
    group_type_role_ids: Some(vec![8, 9]),
    ..Default::default()
};
for statistic in client.groups().members().list_statistics(42, &query)? {
    println!("{}", statistic.field_type);
}

GET/groups/{groupId}/members/{personId}

client.groups.members.get()client.groups().members().get()

Get a person’s group membership

Returns the visible membership linking groupId and personId. personId is the person’s ID, not the membership record ID returned in data.id. The role and status describe this membership; they do not describe the person’s memberships in other groups. Comments, the end date and additional member fields are subject to field permissions. Returns 404 when the membership does not exist or is not visible to the current user.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person

Rückgabe GroupMember

member = client.groups.members.get(42, 42)
print(member.id)
let member = client.groups().members().get(42, 42)?;
println!("{}", member.id);

GET/groups/{groupId}/members/export

client.groups.members.get_export()client.groups().members().get_export()mit Filtern: .get_export_with(&GetGroupsGroupIdMembersExportQuery)

Export visible group members with the default columns

Downloads visible memberships of this group as CSV or XLSX. Archived persons and members hidden by the current user’s access rules are excluded; all membership workflow statuses are eligible. Default columns include person ID and name, role, membership status, comment, registering person, membership dates, waiting-list position and accessible group-specific member fields. Missing member-field values are represented by their configured defaults. Headers and formatted values use the current language. There is no pagination or explicit sort parameter. CSV is UTF-8 with semicolon separators. Use POST on this path to select columns; query config is ignored. A scope with no visible members yields no member rows.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
formatstrStringQueryOutput format; CSV by default.
type_r#typestrStringQueryUse format

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.groups.members.get_export(42)
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let data = client.groups().members().get_export(42)?;
std::fs::write("ergebnis.xlsx", &data)?;

POST/groups/{groupId}/members/export

client.groups.members.create_export()client.groups().members().create_export()mit Filtern: .create_export_with(&PostGroupsIdMembersExportQuery)

Export visible group members with selected columns

Downloads the same membership scope as GET on this path, using an optional JSON config. Omitted/null/empty config uses the default columns; {template: allin} selects the full discovered catalog. For custom columns, send version 10 and ordered pinned/unpinned lists. person.id is always included, prepended when missing. Some person fields expand into multiple columns; pinned columns are frozen in XLSX. Unknown keys and malformed configurations are not reliably validated and may cause 500. Legacy version 9 is migrated internally but has known custom-column migration limitations; new clients should use version 10. The request is read-only and does not save the export configuration.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
formatstrStringQueryOutput format; CSV by default.
type_r#typestrStringQueryUse format
config"config"Optional[Union[GroupMemberExportConfig, GroupMemberExportTemplate, StrMap[Any]]]serde_json::ValueBody

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.groups.members.create_export(42)
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let body = models::GroupMemberExportCreate::default();
let data = client.groups().members().create_export(42, &body)?;
std::fs::write("ergebnis.xlsx", &data)?;

PUT/groups/{groupId}/members/{personId}

client.groups.members.update()client.groups().members().update()

Add a person to a group

Creates a membership for the person identified in the path. Both creation and legacy updating return 200. Requires permission to view group members and add members; updating an existing membership additionally checks changed membership properties and custom-field security levels. Set only_add=true to reject existing memberships. Updating through PUT is deprecated in the backend; use PATCH for partial changes. The legacy update path clears omitted comments and end dates but preserves omitted status, role, start date and waiting-list position. Creation checks group capacity unless ignoreGroupFull is true; waiting-list capacity has a separate override. Changes update history, trigger membership events and recalculate the growth path. The response includes a legacy duplicate under data["0"] and a top-level deprecation mapping; use the regular data properties.

13 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person
comment"comment"Optional[str]Option<String>BodyMembership comment; surrounding whitespace is trimmed.
fields"fields"Optional[StrMap[Optional[Union[str, float, bool, List[Union[str, int]]]]]]Option<BTreeMap<String, serde_json::Value>>BodyValues keyed by numeric membership-field definition ID.
group_member_status"groupMemberStatus"Optional[str]Option<String>BodyNew memberships default to active for omitted/null status.
group_type_role_id"groupTypeRoleId"inti64BodyRole ID for this group type; 0 or omission selects its default role for creation.
ignore_group_full"ignoreGroupFull"boolBodySkip the group-capacity check when creating the membership.
ignore_waiting_list_full"ignoreWaitingListFull"boolBodyAllow the update even when it would exceed waiting-list capacity.
inform_leader"informLeader"boolBodyWhether membership-change processing should inform group leaders.
member_end_date"memberEndDate"Optional[date]Option<NaiveDate>BodyEnd date or null; omission clears an existing end date in the legacy update path.
member_start_date"memberStartDate"Optional[Union[date, datetime]]Option<DateOrDateTime>BodyDate or UTC timestamp not in the future.
only_add"only_add"boolBodyReject with 403 if the person already belongs to the group.
waitinglist_position"waitinglistPosition"Optional[int]Option<i64>Body0 selects the next free waiting-list position; a positive value selects that position.

Rückgabe PutGroupsGroupIdMembersPersonIdData

result = client.groups.members.update(42, 42, comment="Available on weekends.")
print(result.id)
let body = models::MembershipCreate {
    comment: Some(Some("Available on weekends.".into())),
    ..Default::default()
};
let result = client.groups().members().update(42, 42, &body)?;
println!("{}", result.id);

PATCH/groups/{groupId}/members/{personId}

client.groups.members.patch()client.groups().members().patch()

Update an existing group membership

Updates the membership linking this group and person; it does not create one. Use PUT to add a person. Requires permission to view group members, to edit changed membership properties and to edit submitted custom fields at their security levels. Omitted properties are preserved. The current backend incompletely checks changes supplied as null. Changes run transactionally, update history and recalculate the person’s growth path. Waiting-list processing is suppressed: set status and position explicitly when both must change. Date-only and UTC start timestamps are accepted, while the response formats the start as a date. An empty object is accepted but still runs update/history processing.

11 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person
comment"comment"Optional[str]Option<String>BodyMembership comment; surrounding whitespace is trimmed.
fields"fields"Optional[StrMap[Optional[Union[str, float, bool, List[Union[str, int]]]]]]Option<BTreeMap<String, serde_json::Value>>BodyValues keyed by numeric membership-field definition ID.
group_member_status"groupMemberStatus"strStringBodyTarget membership workflow status; omitted preserves the existing status.
group_type_role_id"groupTypeRoleId"Optional[int]Option<i64>BodyRole definition ID belonging to the group type.
ignore_waiting_list_full"ignoreWaitingListFull"boolBodyAllow the update even when it would exceed waiting-list capacity.
inform_leader"informLeader"boolBodyWhether membership-change processing should inform group leaders.
member_end_date"memberEndDate"Optional[date]Option<NaiveDate>BodyEnd date or null to clear.
member_start_date"memberStartDate"Optional[Union[date, datetime]]Option<DateOrDateTime>BodyStart date or UTC timestamp, not in the future.
waitinglist_position"waitinglistPosition"Optional[int]Option<i64>BodyWaiting-list position; 0 selects the next free position, null removes it.

Rückgabe GroupMember

result = client.groups.members.patch(42, 42, comment="Available on weekends.")
print(result.id)
let body = models::MembershipUpdate {
    comment: Some(Some("Available on weekends.".into())),
    ..Default::default()
};
let result = client.groups().members().patch(42, 42, &body)?;
println!("{}", result.id);

DELETE/groups/{groupId}/members/{personId}

client.groups.members.delete()client.groups().members().delete()

Remove a person’s group membership

Removes the membership linking groupId and personId. personId identifies the person, while data.id in membership responses identifies the membership record. The person record is retained. Viewing the group and its members is required, together with permission to delete members unless the current user is allowed to leave the group themselves. For an allowed self-service departure, autoAccept determines the outcome: true removes the membership immediately; false changes its status to to_delete (pending removal) and resets its role to the group type’s default role. After authorization, a missing or invisible membership is ignored and the endpoint still returns 204. A 204 response therefore does not guarantee that a membership was deleted.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person

Rückgabe None()

client.groups.members.delete(42, 42)
client.groups().members().delete(42, 42)?;

GET/groups/{groupId}/members/{memberId}/documents/{htmlTemplateId}

client.groups.members.documents.get()client.groups().members().documents().get()

Get a document for a group member

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
member_idintimpl DisplayPfadja
html_template_idintimpl DisplayPfadjaID of an HTML template

Rückgabe None()

client.groups.members.documents.get(42, 42, 2)
client.groups().members().documents().get(42, 42, 2)?;

GET/groups/{groupId}/members/{personId}/followups

client.groups.members.followups.list()client.groups().members().followups().list()mit Filtern: .list_with(&GetGroupsGroupIdMembersPersonIdFollowupsQuery)seitenweise

List follow-ups for one group membership

Resolves the current membership linking this group and person, then lists follow-ups linked to that membership record ID. Follow-ups for an older deleted membership or person-only follow-ups are not included. Requires permission to administer or perform follow-ups in this group. Follow-ups whose subject person is archived are excluded. State filters are combined with OR; omission includes all states. Results are ordered by completion date descending, effective due date ascending, then ID. Pagination returns only meta.count for this page, without a total or last-page value. Results are restricted to the current owner and unassigned follow-ups in permitted groups; items assigned to others are omitted. A missing membership currently causes an unhandled null access rather than an empty list.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person
filterList[str]Vec<String>QueryRepeat to select any of the listed states; omitted/empty includes all states.
limitinti64QueryMaximum results in this page.

Rückgabe Paginator[FollowUp2]Vec<FollowUp2>

for followup in client.groups.members.followups.list(42, 42):
    print(followup.title)
for followup in client.groups().members().followups().list(42, 42)? {
    println!("{}", followup.title);
}

GET/groups/{groupId}/members/{personId}/followups/statistics

client.groups.members.followups.get_statistics()client.groups().members().followups().get_statistics()

Count follow-ups for one membership by due state

Counts tasks linked to the current membership record for this group/person pair, excluding person-only tasks and tasks linked to older memberships. Counts follow-ups in this group assigned to the current user, plus unassigned follow-ups where that user has group follow-up rights. Items assigned to other people and archived subject persons are excluded, matching the group list scope. Requires permission to administer or perform follow-ups in this group. The counters cover all matching records and ignore list pagination and filter parameters. Due states use the effective due date and the server’s current date; dismissed and completed follow-ups share countDone. An empty scope returns all five counters as zero. If the membership does not exist, the current backend dereferences null instead of returning zero counters.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person

Rückgabe FollowUpStatistics

statistic = client.groups.members.followups.get_statistics(42, 42)
print(statistic.count_done)
let statistic = client.groups().members().followups().get_statistics(42, 42)?;
println!("{}", statistic.count_done);

POST/groups/{groupId}/members/{personId}/followups

client.groups.members.followups.create()client.groups().members().followups().create()

Create a follow-up for a group member

Creates a task concerning this person in the context of the group. The subject person is distinct from ownerId, which identifies who should handle the task. Requires visibility of the person and permission to administer follow-ups in this group; a configured success group additionally requires permission to add members there, or the corresponding group-type permission. Missing/null ownerId leaves this group-related task unassigned. Dates may be in the past, and no due date is required. A new task specification is created from title and display/success settings. The current backend allows creation without an existing membership, storing a null membershipId; create the membership first so it can be found through the membership list/statistics routes.

13 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person
color"color"Optional[str]Option<String>BodyOptional color. Missing/null uses the yellow display fallback.
description"description"Optional[str]Option<String>BodyTrimmed description; missing, null or blank becomes null.
due_date"dueDate"Optional[date]Option<NaiveDate>BodyOriginal planned date.
effective_due_date"effectiveDueDate"Optional[date]Option<NaiveDate>BodyCurrent working due date.
icon"icon"Optional[str]Option<String>BodyOptional icon name. Missing/null/blank is stored as null; responses display the handshake fallback.
owner_id"ownerId"Optional[int]Option<i64>BodyResponsible person ID.
success_group_id"successGroupId"Optional[int]Option<i64>BodyOptional fixed destination group for completion.
success_group_member_status"successGroupMemberStatus"Optional[str]Option<String>BodyMembership status assigned in the selected success group; null uses the default active status.
success_group_of_group_type_id"successGroupOfGroupTypeId"Optional[int]Option<i64>BodyOptional group-type restriction for selecting a destination group on completion.
success_role_id"successRoleId"Optional[int]Option<i64>BodyRole assigned in the selected success group; null uses the membership service default.
title"title"strStringBodyja

Rückgabe FollowUp2

result = client.groups.members.followups.create(42, 42, title="Call Peter")
print(result.title)
let body = models::FollowUpCreate {
    title: "Call Peter".into(),
    ..Default::default()
};
let result = client.groups().members().followups().create(42, 42, &body)?;
println!("{}", result.title);

GET/groups/{groupId}/newsletter-integrations

client.groups.news_letter_integrations.list()client.groups().news_letter_integrations().list()

List a group’s newsletter list mappings

Returns stored links to external newsletter lists, including disabled/unavailable providers. Requires visibility of the group and members plus the global churchgroup permission administer groups. This request does not contact newsletter providers or refresh list names/status. The unpaginated list has no defined order; meta.count is the number of mappings. An accessible group without mappings returns an empty list.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe List[NewsletterIntegrationGroupMapping]Vec<NewsletterIntegrationGroupMapping>

for news_letter_integration in client.groups.news_letter_integrations.list(42):
    print(news_letter_integration.id)
for news_letter_integration in client.groups().news_letter_integrations().list(42)? {
    println!("{}", news_letter_integration.id);
}

POST/groups/{groupId}/newsletter-integrations*

client.groups.news_letter_integrations.create()client.groups().news_letter_integrations().create()

Connect a group to an external newsletter list

Creates a stored mapping and immediately starts synchronizing eligible active, non-archived members with email addresses. This request can create an external list, subscribe contacts and send confirmation emails. Requires visibility of the group and members plus the global churchgroup permission administer groups. Select an active provider and use exactly one of listId or createListName. A provider/list pair can belong to only one group. existingMembersHandling controls initial consent handling; optInRequired is retained for later sync. A successful response confirms the mapping was created, but individual contact synchronization can fail and is tracked separately. External provider operations cannot be undone by a local database rollback.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
create_list_name"createListName"Optional[str]Option<String>BodyCreate an external list with this name; only use if the provider advertises canCreateLists=true.
existing_members_handling"existingMembersHandling"strStringBodyControls the initial synchronization only.
list_id"listId"Optional[str]Option<String>BodyExisting provider list ID.
opt_in_required"optInRequired"boolBodyjaRequire double opt-in for subscriptions.
provider"provider"strStringBodyjaCanonical newsletter provider name.

Rückgabe NewsletterIntegrationGroupMapping

result = client.groups.news_letter_integrations.create(
    42,
    opt_in_required=True,
    provider="Mailjet",
)
print(result.id)
let body = models::NewsletterIntegrationGroupMappingCreate {
    opt_in_required: true,
    provider: "Mailjet".into(),
    ..Default::default()
};
let result = client.groups().news_letter_integrations().create(42, &body)?;
println!("{}", result.id);

DELETE/groups/{groupId}/newsletter-integrations/{provider}/{listId}*

client.groups.news_letter_integrations.delete()client.groups().news_letter_integrations().delete()

Remove a newsletter mapping and unsubscribe its contacts

Removes this group/provider/list mapping and its local newsletter-person records, then unsubscribes their stored email addresses from the external list if the provider is active. The external list itself is retained. Requires visibility of the group and members plus the global churchgroup permission administer groups. A missing mapping is ignored and returns 204. Local deletion is committed before the provider call: a provider error may leave external subscriptions active after the local mapping is gone. When the provider is inactive or unknown, only local records are removed.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
providerstrimpl DisplayPfadjaProvider spelling stored in the mapping returned by GET /groups/{groupId}/newsletter-integrations.
list_idstrimpl DisplayPfadjaExternal list ID from the stored mapping; this is not the ChurchTools mapping record ID.

Rückgabe None()

client.groups.news_letter_integrations.delete(42, "Mailjet", "12345")
client.groups().news_letter_integrations().delete(42, "Mailjet", "12345")?;

POST/groups/{groupId}/newsletter-integrations/{provider}/{listId}/resend-optins*

client.groups.news_letter_integrations.resend_optins()client.groups().news_letter_integrations().resend_optins()mit Filtern: .resend_optins_with(&PostGroupsGroupIdNewsletterIntegrationsProviderListIdResendOptinsQuery)

Resend pending newsletter confirmation emails

Sends ChurchTools confirmation emails again for eligible pending newsletter-person records in this mapping. Requires visibility of the group and members plus the global churchgroup permission "administer groups". Selecting one recipient with person_id additionally requires visibility of that person. Candidates must have an active membership, a non-archived person, no successful synchronization, no unsubscribe date and no confirmed double opt-in. Previously sent requests are included; each recipient gets a new token, invalidating the old link. Email addresses already synchronized for the same list are excluded and candidates are grouped by stored email. Without person_id, missing mappings and empty candidate sets return 204. With person_id, no eligible candidate returns 404. No count is returned. The current handler does not check optInRequired, provider activation or whether the provider handles double opt-in itself.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
providerstrimpl DisplayPfadjaProvider spelling stored in the mapping returned by GET /groups/{groupId}/newsletter-integrations.
list_idstrimpl DisplayPfadjaExternal list ID from the stored mapping; this is not the ChurchTools mapping record ID.
person_idinti64QueryResend only the pending opt-in for this person.
bodyStrMap[Any]std::collections::BTreeMap<String, serde_json::Value>Body

Rückgabe None()

client.groups.news_letter_integrations.resend_optins(42, "Mailjet", "12345")
let body: std::collections::BTreeMap<String, serde_json::Value> = Default::default();
client.groups().news_letter_integrations().resend_optins(42, "Mailjet", "12345", &body)?;

GET/groups/{groupId}/parents

client.groups.parents.list()client.groups().parents().list()mit Filtern: .list_with(&GetGroupsGroupIdParentsQuery)seitenweise

Get child groups

20 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idstrimpl DisplayPfadja
limitinti64QueryNumber of results per page.
idsList[int]Vec<i64>QueryArray of group ids
campus_idsList[int]Vec<i64>QueryArray of campus ids to filter the groups
agegroup_idsList[int]Vec<i64>QueryArray of age group ids to filter the groups
group_status_idsList[int]Vec<i64>QueryArray of group status ids to filter the groups
group_category_idsList[int]Vec<i64>QueryArray of group category ids to filter the groups
target_group_idsList[int]Vec<i64>QueryArray of target group ids to filter the groups
weekdaysList[int]Vec<i64>QueryArray of weekdays to filter the groups.
group_type_idsList[int]Vec<i64>QueryArray of group type ids to filter the groups
tag_idsList[int]Vec<i64>QueryArray of group tag ids to filter the groups
is_open_for_membersboolQueryFilters groups by its open status
without_my_groupsboolQueryDetermines if groups should be omitted where I am in
only_my_groupsboolQueryDetermines if only groups where I am in should be returned
has_meeting_placeboolQueryOnly show groups with meeting place
allow_postsboolQueryOnly show groups where posting is allowed
has_postsboolQueryOnly show groups which has posts
has_active_chatboolQueryFilter groups based on whether they have an active chat
querystrStringQuery
visibilitystrStringQueryGroup visibility

Rückgabe Paginator[DomainObjectGroup]Vec<DomainObjectGroup>

for parent in client.groups.parents.list("abc123"):
    print(parent.title)
for parent in client.groups().parents().list("abc123")? {
    println!("{}", parent.title);
}

PUT/groups/{groupId}/parents/{parentGroupId}

client.groups.parents.update()client.groups().parents().update()

Add a direct parent-group relationship

Adds parentGroupId as a direct parent of groupId. Groups can have multiple parents; this adds an edge rather than replacing existing parents, and does not copy memberships. Requires global group administration or hierarchy/group editing permission for both groups. Self-parenting and a relationship that would create a cycle are rejected with 400. An existing direct relationship also returns 400, so repeating a successful PUT is not an idempotent success. Success returns 201 without a JSON body and invalidates the authorization cache because the hierarchy can affect inherited permissions.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
parent_group_idintimpl DisplayPfadjaID of the direct parent group.
bodyStrMap[Any]std::collections::BTreeMap<String, serde_json::Value>Body

Rückgabe None()

client.groups.parents.update(42, 12)
let body: std::collections::BTreeMap<String, serde_json::Value> = Default::default();
client.groups().parents().update(42, 12, &body)?;

DELETE/groups/{groupId}/parents/{parentGroupId}

client.groups.parents.delete()client.groups().parents().delete()

Remove a direct parent-group relationship

Removes only the direct hierarchy edge from parentGroupId to groupId; both groups and their memberships remain. Other paths through the hierarchy are unaffected, so the parent may still be an indirect ancestor. Requires global group administration or hierarchy/group editing permission for both endpoints. A missing relationship is ignored and returns 204. Successful processing invalidates the authorization cache because hierarchy changes can affect inherited permissions.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
parent_group_idintimpl DisplayPfadjaID of the direct parent group.

Rückgabe None()

client.groups.parents.delete(42, 12)
client.groups().parents().delete(42, 12)?;

GET/groups/{groupId}/qrcodecheckin

client.groups.qrcode_checkin.list()client.groups().qrcode_checkin().list()

List accessible check-in tickets for a group

Returns existing stored tickets; it does not generate missing tickets or record attendance. Users with one of the group/group-type membership editing permissions or internal edit basic group memberships can retrieve all group tickets. Other authenticated users receive only their own ticket, wrapped in an array, or data=null when they have none. The privileged empty result is [] instead. Results are unpaginated and have no defined order or meta envelope. This lookup does not filter ticket expiry/use or recheck current QR-check-in enablement, role eligibility or active membership.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe Optional[List[GroupQRCodeCheckin]]Option<Vec<GroupQRCodeCheckin>>

result = client.groups.qrcode_checkin.list(42)
print(result)
let result = client.groups().qrcode_checkin().list(42)?;
println!("{:?}", result);

GET/groups/{groupId}/qrcodecheckin/{personId}

client.groups.qrcode_checkin.get()client.groups().qrcode_checkin().get()

Get an existing check-in ticket for a person

Returns the stored ticket for this person and group, without generating one or recording attendance. The current user may retrieve their own ticket. Retrieving another person’s ticket requires group/group-type membership editing permission or internal edit basic group memberships. Returns 404 when no matching ticket exists. The lookup does not recheck current ticket eligibility, expiry, use or QR-check-in activation; inspect the lifecycle fields separately. No meta envelope is returned.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person

Rückgabe GroupQRCodeCheckin

qrcode_checkin = client.groups.qrcode_checkin.get(42, 42)
print(qrcode_checkin.domain_id)
let qrcode_checkin = client.groups().qrcode_checkin().get(42, 42)?;
println!("{}", qrcode_checkin.domain_id);

GET/groups/{groupId}/qrcodecheckin/{personId}/pdf

client.groups.qrcode_checkin.get_pdf()client.groups().qrcode_checkin().get_pdf()

Generate a PDF download link for an existing check-in ticket

Generates a PDF containing the stored ticket’s QR code and returns its absolute download URL as JSON; this endpoint does not stream PDF bytes. The current user may request their own ticket, while another person’s ticket requires group/group-type membership editing permission or internal edit basic group memberships. A matching ticket must already exist; otherwise 404 is returned. Generating the link updates downloadedDate immediately, before any download occurs. This GET therefore writes state and creates a file. The lookup does not recheck QR-check-in activation, current role/membership eligibility or ticket lifecycle validity.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person

Rückgabe GetGroupsIdQrcodecheckinPersonIdPdfData

pdf = client.groups.qrcode_checkin.get_pdf(42, 42)
print(pdf.url)
let pdf = client.groups().qrcode_checkin().get_pdf(42, 42)?;
println!("{}", pdf.url);

POST/groups/{groupId}/qrcodecheckin/{personId}/send*

client.groups.qrcode_checkin.send()client.groups().qrcode_checkin().send()

Queue an existing check-in ticket for email

Queues a PDF ticket email and returns the current ticket, normally with isQueued=true while processing is pending. The current user may request their own ticket; sending another person’s ticket requires group/group-type membership editing permission or internal edit basic group memberships. A ticket must already exist. The subject person is preferred as recipient when they have an email and are not archived; otherwise the service attempts the membership’s registeredBy person. Already queued tickets are unchanged. With no eligible recipient this request still returns 200 without queuing. A previously sent ticket can be queued again. The worker generates the attachment and later updates sentDate/isQueued; this response does not confirm delivery. No request body selects recipients or content.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_idintimpl DisplayPfadjaID of person
bodyStrMap[Any]std::collections::BTreeMap<String, serde_json::Value>Body

Rückgabe GroupQRCodeCheckin

qrcode_checkin = client.groups.qrcode_checkin.send(42, 42)
print(qrcode_checkin.domain_id)
let body: std::collections::BTreeMap<String, serde_json::Value> = Default::default();
let qrcode_checkin = client.groups().qrcode_checkin().send(42, 42, &body)?;
println!("{}", qrcode_checkin.domain_id);

GET/groups/{groupId}/roles

client.groups.roles.list()client.groups().roles().list()

Get all roles for this group

Returns the roles configured for one group, including inactive roles. Each entry combines a shared role definition from the group's type with settings specific to this group, such as chat access, check-in QR codes and participant capacity. id is the group-specific role settings ID used by PATCH /groups/{groupId}/roles/{roleId}. groupTypeRoleId links to the shared definition from GET /group/roles; do not interchange these IDs. isActive describes whether the role is enabled in this group, not the membership status of any person. Requires authentication and permission to view the group. Accepts its numeric ID or chat GUID. Results are not paginated and are sorted by the shared role's type and sortKey ascending. meta.count includes all returned roles.

ParameterTypOrtPflichtBeschreibung
group_idUnion[int, str]impl DisplayPfadjaNumeric ID or chat GUID of the group whose role settings to retrieve.

Rückgabe List[GroupRole]Vec<GroupRole>

for role in client.groups.roles.list(42):
    print(role.name)
for role in client.groups().roles().list(serde_json::json!(42))? {
    println!("{}", role.name);
}

PATCH/groups/{groupId}/roles/{roleId}*

client.groups.roles.patch()client.groups().roles().patch()

Update role settings for a group

Updates settings for one role in one group. Use the entry's id from GET /groups/{groupId}/roles as roleId, not its groupTypeRoleId. This does not rename or reclassify the shared role definition. Send only the settings to change. Omitted fields are preserved. growPathId=null clears the growth-path association; htmlTemplateIds=[] clears the template list. A supplied template list replaces the previous list. The default role cannot be deactivated. Returns the complete updated GroupRole in data, without meta. Requires authentication and permission to view the group. Chat settings require one of administer groups, edit group, edit groups of grouptype or +admin group chat for this group. The other role settings except htmlTemplateIds require one of administer groups, edit group or edit groups of grouptype. Adding document templates requires one of administer groups, edit group, edit groups of grouptype or +edit group basic settings, plus the churchcore permission use church html templates for each added template. Templates must belong to the group-membership document domain.

10 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
role_idintimpl DisplayPfadjaID of group role. This is not the group type role.
can_read_chat"canReadChat"boolBodyAllow members in this role to read the group chat.
can_write_chat"canWriteChat"boolBodyAllow members in this role to write in the group chat.
counts_towards_seats"countsTowardsSeats"boolBodyCount memberships in this role towards the group's participant capacity.
force_two_factor_auth"forceTwoFactorAuth"boolBodyRequire members in this role to use two-factor authentication.
grow_path_id"growPathId"Optional[int]Option<i64>BodySet the growth-path association for this role in this group.
html_template_ids"htmlTemplateIds"List[int]Vec<i64>BodyReplace the list of HTML templates available for membership documents in this role.
is_active"isActive"boolBodyEnable or disable this role in the group.
receive_qr_code"receiveQRCode"boolBodyEnable check-in QR codes for members in this role.

Rückgabe GroupRole

result = client.groups.roles.patch(42, 1, can_read_chat=True)
print(result.name)
let body = models::GroupRoleUpdate {
    can_read_chat: Some(true),
    ..Default::default()
};
let result = client.groups().roles().patch(42, 1, &body)?;
println!("{}", result.name);

GET/groups/{groupId}/wiki/categories/pages

client.groups.wiki.categories.list_pages()client.groups().wiki().categories().list_pages()mit Filtern: .list_pages_with(&GetGroupsIdWikiCategoriesPagesQuery)

List wiki categories and recent pages from the current group role

Requires group visibility and a current active, non-archived membership. Categories are selected from view-category rights attached directly to this membership’s group role and then checked against the current user’s effective wiki permissions. Global wiki access alone does not add categories to this group-specific list; without a matching role/category grant the result is empty. Categories are ordered by sortKey then ID. Each category contains up to limit latest-version pages, sorted by modification date descending then title; total counts eligible pages before that limit. System pages are filtered by the wiki repository rules. Redirect pages are not removed. Page text and previews are omitted. meta.count counts returned categories, not pages; there is no page-number parameter.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
limitinti64QueryMaximum amount of pages returned per wiki category.

Rückgabe List[GroupWikiCategoryPagesItem]Vec<GroupWikiCategoryPagesItem>

for page in client.groups.wiki.categories.list_pages(42):
    print(page.total)
for page in client.groups().wiki().categories().list_pages(42)? {
    println!("{}", page.total);
}

GET/newsletter-integrations

client.news_letter_integrations.list()client.news_letter_integrations().list()

Get newsletter integration options

Lists active configured newsletter providers, their capabilities and available remote lists. Requires administer groups in churchgroup; this is not a public endpoint. Queries the providers and marks lists already mapped to any group with isAssigned, including groups outside the caller’s individual visibility. Assigned lists are not removed from the result. A caught provider exception is logged and represented as an empty lists array, with HTTP 200 and no per-provider error field. No providers yields data: [] and meta.count: 0. Results follow provider registration order and are not paginated.

Rückgabe List[NewsletterIntegrationOptions]Vec<NewsletterIntegrationOptions>

for news_letter_integration in client.news_letter_integrations.list():
    print(news_letter_integration.can_create_lists)
for news_letter_integration in client.news_letter_integrations().list()? {
    println!("{}", news_letter_integration.can_create_lists);
}

GET/persons/{personId}/groups

client.persons.list_groups()client.persons().list_groups()mit Filtern: .list_groups_with(&GetPersonsIdGroupsQuery)

Get all groups a member is in

This endpoint returns an array with all groups the user is in.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
show_overdue_groupsboolQueryIf set groups that reached their enddate +x days configured in the admin settings, are also shown.
show_inactive_groupsboolQueryIf set groups that have the status 'archived' are shown
show_to_delete_membershipsboolQueryIf set groups were the user has the group member status 'to_deleted' are shown.
show_requested_or_waiting_membershipsboolQueryIf set groups were the user has the group member status 'requested' or 'waiting' are shown.

Rückgabe List[GroupMember]Vec<GroupMember>

for group in client.persons.list_groups(42):
    print(group.id)
for group in client.persons().list_groups(42)? {
    println!("{}", group.id);
}

GET/publicgroups/{groupId}/{hash}

client.public_groups.get_with_hash()client.public_groups().get_with_hash()

Get public group details

Returns group details, signup conditions and eligible signUpPersons for the current user. Public access is supported, but normal group-view permission still applies. The hash identifies an enabled group homepage; the group must be included in that homepage. This endpoint returns one group, not the whole homepage. Seat counts include membership/role rules and need not equal the number of persons. Image and leader fields depend on the homepage display settings; signUpConditions explains why a signup is currently available or unavailable.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
hashstrimpl DisplayPfadjaGroup Homepage Hash

Rückgabe PublicGroupDetail

with_hash = client.public_groups.get_with_hash(42, "abc123")
print(with_hash.name)
let with_hash = client.public_groups().get_with_hash(42, "abc123")?;
println!("{}", with_hash.name);

POST/publicgroups/{groupId}/mailToLeaders*

client.public_groups.mail_to_leaders()client.public_groups().mail_to_leaders()

Contact public group leaders

Sends the supplied message to group leaders with a default email address. Requires group signup access or a valid signup token for this group. The sender name/email are supplied by the caller. hideContactLeader is a display setting and is not checked here. No reachable leaders causes a server error; successful processing returns a message and does not create a membership.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
email"email"strStringBodyjaE-Mail Address of the sender.
message"message"strStringBodyjaMessage to be sent.
name"name"strStringBodyjaName of the sender.
token"token"strStringBodyRequired when normal group signup access is unavailable.

Rückgabe PostPublicgroupsGroupIdMailToLeadersData

public_group = client.public_groups.mail_to_leaders(
    42,
    email="mara@example.org",
    message="Hallo zusammen",
    name="Hauskreis Nord",
)
print(public_group.success)
let body = models::PublicGroupLeaderMailCreate {
    email: "mara@example.org".into(),
    message: "Hallo zusammen".into(),
    name: "Hauskreis Nord".into(),
    ..Default::default()
};
let public_group = client.public_groups().mail_to_leaders(42, &body)?;
println!("{}", public_group.success);

POST/publicgroups/{groupId}/signout*

client.public_groups.signout()client.public_groups().signout()

Withdraw group registrations

Withdraws selected memberships for the requester or people registered by that requester. A group sign-up token identifies the requester without requiring a login; without a token the current user and group sign-up access are used. When registration is open, active, requested and waiting memberships are eligible. Otherwise the requester needs the group exit permission and only active memberships qualify. All person IDs are checked before changes begin. With automatic acceptance enabled, memberships are deleted; otherwise they are marked to_delete for approval and their role is cleared. The changes run in a transaction. An empty personIds list is a successful no-op. This signs people out of a group, not out of their ChurchTools session.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
person_ids"personIds"List[int]Vec<i64>BodyjaPerson IDs, not membership IDs.
token"token"strStringBodySign-up token belonging to this group and an existing requester.

Rückgabe None()

client.public_groups.signout(42, person_ids=[42, 43])
let body = models::PublicGroupSignOutRequest {
    person_ids: vec![42, 43],
    ..Default::default()
};
client.public_groups().signout(42, &body)?;

POST/publicgroups/{groupId}/signup*

client.public_groups.submit_signup()client.public_groups().submit_signup()

Submit group signup forms

Submits one form per person using a signup token for this group. Copy field type/id from the dynamic form and use its mandatory/options rules. Existing person IDs must be eligible for this requester; new spouse/child/other forms are available only when allowed by group settings. Adding related/other persons requires hasAcceptedPrivacyForOther=true. A child must be younger than 16. Membership may be accepted immediately, requested from leaders or placed on a waiting list; capacity is checked for the entire submitted set. Depending on group configuration, a new applicant may produce a request email instead of a new person. The operation is transactional for database changes. Success returns a top-level nullable groupHomepageHash, without a data wrapper.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
forms"forms"List[PublicGroupSignupCreateFormsItem]Vec<PublicGroupSignupCreateFormsItem>BodyjaOne entry per signup person; the controller does not enforce a nonempty list.
has_accepted_privacy_for_other"hasAcceptedPrivacyForOther"boolBodyRequired when any new spouse, child or other-person form is included.
sign_out_url_template"signOutUrlTemplate"strStringBodyUrl used in the mail sent to the user.
token"token"strStringBodyjaThe sign up token.

Rückgabe PostPublicgroupsGroupIdSignupResponse

public_group = client.public_groups.submit_signup(
    42,
    forms=[ct.models.PublicGroupSignupCreateFormsItem.model_validate({"form": [{}]})],
    token="abc123",
)
print(public_group.group_homepage_hash)
let body = models::PublicGroupSignupCreate {
    forms: vec![models::PublicGroupSignupCreateFormsItem {
        form: vec![models::PublicGroupSignupCreateFormsItemFormItem::default()],
        ..Default::default()
    }],
    token: "abc123".into(),
    ..Default::default()
};
let public_group = client.public_groups().submit_signup(42, &body)?;
println!("{:?}", public_group.group_homepage_hash);

Calendar

Kalender und Termine, inklusive Serien und einzelner Vorkommen.

34 Endpunkte im Überblick

GET/calendars

client.calendars.list()client.calendars().list()

List calendars accessible through calendar permissions

Returns calendars for which the current user has view-category or edit-category permission, ordered by sortKey ascending.

Rückgabe List[Calendar]Vec<Calendar>

for calendar in client.calendars.list():
    print(calendar.name)
for calendar in client.calendars().list()? {
    println!("{}", calendar.name);
}

GET/calendars/{calendarId}/meetingrequestpersons

client.calendars.list_meeting_request_persons()client.calendars().list_meeting_request_persons()mit Filtern: .list_meeting_request_persons_with(&GetCalendarsCalendarIdMeetingrequestpersonsQuery)veraltet

Get candidates for a meeting request (deprecated)

Deprecated alias for /calendars/{calendarId}/meetingrequest/candidates. Returns the same visible candidates.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idinti64QueryInclude persons already invited to this appointment

Rückgabe List[MeetingRequestCandidate]Vec<MeetingRequestCandidate>

for meeting_request_person in client.calendars.list_meeting_request_persons(42):
    print(meeting_request_person.group_name)
for meeting_request_person in client.calendars().list_meeting_request_persons(42)? {
    println!("{:?}", meeting_request_person.group_name);
}

GET/calendars/{calendarId}

client.calendars.get()client.calendars().get()

Get calendar settings

Returns one calendar’s settings. Reading is allowed with view-category or edit-category permission for the calendar, or for its creator. This creator check is additional to the permission filter used by GET /calendars. Use /calendars/{calendarId}/appointments to retrieve occurrences.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar

Rückgabe Calendar

calendar = client.calendars.get(42)
print(calendar.name)
let calendar = client.calendars().get(42)?;
println!("{}", calendar.name);

POST/calendars

client.calendars.create()client.calendars().create()

Create a calendar

Creates a calendar of the chosen type. church requires permission to administer church calendars; group and personal require permission to create or administer their respective category. The creator receives permission to edit appointments in the new calendar. Optional iCalSourceUrl starts an immediate external-feed import.

9 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
campus_id"campusId"Optional[int]Option<i64>BodyCampus associated with this calendar, or null for no campus.
color"color"Optional[str]Option<String>BodyDisplay color, normally a CSS hex color such as #336699.
ev_termine_event_type_id"evTermineEventTypeId"Optional[int]Option<i64>BodyEvent type ID used by the Evangelische Termine integration, or null.
event_template_id"eventTemplateId"Optional[int]Option<i64>BodyConfigured service-planning event template ID for this calendar, or null.
i_cal_source_url"iCalSourceUrl"Optional[str]Option<String>BodyExternal iCalendar feed to import.
name"name"strStringBodyjaCalendar display name.
sort_key"sortKey"inti64BodyjaDisplay order. The calendar list is sorted by this value in ascending order.
sync_to_ev_termine"syncToEvTermine"boolBodyWhether the Evangelische Termine integration should synchronize this calendar.
type_"type"strStringBodyjaCalendar category used by ChurchTools: church for a church calendar, group for a group calendar, personal for a personal calendar.

Rückgabe Calendar

result = client.calendars.create(name="Community events", sort_key=10, type_="church")
print(result.name)
let body = models::CalendarCreate {
    name: "Community events".into(),
    sort_key: 10,
    r#type: "church".into(),
    ..Default::default()
};
let result = client.calendars().create(&body)?;
println!("{}", result.name);

PUT/calendars/{calendarId}

client.calendars.update()client.calendars().update()

Update calendar settings

Replaces editable calendar settings while preserving the calendar type. Requires administration permission for the calendar’s type or ownership as its creator; permission to edit appointments alone is not sufficient. iCalSourceUrl triggers an external calendar import.

9 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
campus_id"campusId"Optional[int]Option<i64>BodyCampus associated with this calendar, or null for no campus.
color"color"Optional[str]Option<String>BodyDisplay color, normally a CSS hex color such as #336699.
ev_termine_event_type_id"evTermineEventTypeId"Optional[int]Option<i64>BodyEvent type ID used by the Evangelische Termine integration, or null.
event_template_id"eventTemplateId"Optional[int]Option<i64>BodyConfigured service-planning event template ID for this calendar, or null.
i_cal_source_url"iCalSourceUrl"Optional[str]Option<String>BodyExternal iCalendar feed to import.
name"name"strStringBodyjaCalendar display name.
sort_key"sortKey"inti64BodyjaDisplay order. The calendar list is sorted by this value in ascending order.
sync_to_ev_termine"syncToEvTermine"boolBodyWhether the Evangelische Termine integration should synchronize this calendar.

Rückgabe Calendar

result = client.calendars.update(42, name="Community events", sort_key=10)
print(result.name)
let body = models::CalendarUpdate {
    name: "Community events".into(),
    sort_key: 10,
    ..Default::default()
};
let result = client.calendars().update(42, &body)?;
println!("{}", result.name);

DELETE/calendars/{calendarId}

client.calendars.delete()client.calendars().delete()

Delete a calendar and its contents

Deletes the calendar and its appointment contents, and removes permissions attached to that calendar. Requires edit-category permission for the calendar or ownership as its creator. Deletion can be blocked by references, including agenda templates belonging to the calendar; 409 returns the blocking references.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar

Rückgabe None()

client.calendars.delete(42)
client.calendars().delete(42)?;

GET/calendars/appointments

client.calendars.appointments.list()client.calendars().appointments().list()Query: GetCalendarsAppointmentsQuery

List appointment occurrences across calendars

Returns calculated occurrences for the requested date range, with one entry per occurrence rather than per series. Use appointment.base for the stored series and appointment.calculated for the displayed dates. Recurring occurrences use the installation’s local time across daylight-saving changes. Anonymous users receive only non-internal appointments in calendars they may view.

ParameterTypOrtPflichtBeschreibung
calendar_idsList[int]Vec<i64>QueryjaIDs of the calendars to read.
from_fromdateNaiveDateQueryStart of the requested date range in the installation’s timezone.
todateNaiveDateQueryLast requested calendar date.
querystrStringQuerySearch appointment titles for the supplied text.
includeList[str]Vec<String>QueryAdditional data requested for each calculated occurrence.

Rückgabe List[AppointmentOccurrenceList]Vec<AppointmentOccurrenceList>

for appointment in client.calendars.appointments.list(calendar_ids=[2, 3]):
    print(appointment.title_suffix)
let query = GetCalendarsAppointmentsQuery {
    calendar_ids: Some(vec![2, 3]),
    ..Default::default()
};
for appointment in client.calendars().appointments().list(&query)? {
    println!("{:?}", appointment.title_suffix);
}

GET/calendars/{calendarId}/appointments

client.calendars.appointments.list_in_calendar()client.calendars().appointments().list_in_calendar()mit Filtern: .list_in_calendar_with(&GetCalendarsCalendarIdAppointmentsQuery)

List appointment occurrences in a calendar

Returns calculated occurrences for the requested date range, with one entry per occurrence rather than per series. Use appointment.base for the stored series and appointment.calculated for the displayed dates. Recurring occurrences use the installation’s local time across daylight-saving changes. Anonymous users receive only non-internal appointments in calendars they may view.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
from_fromdateNaiveDateQueryStart of the requested date range in the installation’s timezone.
todateNaiveDateQueryLast requested calendar date.
querystrStringQuerySearch appointment titles for the supplied text.
includeList[str]Vec<String>QueryAdditional data requested for each calculated occurrence.

Rückgabe List[AppointmentOccurrenceList]Vec<AppointmentOccurrenceList>

for in_calendar in client.calendars.appointments.list_in_calendar(42):
    print(in_calendar.title_suffix)
for in_calendar in client.calendars().appointments().list_in_calendar(42)? {
    println!("{:?}", in_calendar.title_suffix);
}

GET/calendars/{calendarId}/appointments/{appointmentId}

client.calendars.appointments.get()client.calendars().appointments().get()mit Filtern: .get_with(&GetCalendarsCalendarIdAppointmentsAppointmentIdQuery)

Get an appointment series and its dates

Returns the stored appointment and all dates calculated from its recurrence settings. calculatedDates is keyed by local start date and contains UTC start/end timestamps even for all-day appointments. This differs from the date-or-timestamp format used by occurrence endpoints.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment
includeList[str]Vec<String>QueryAdditional series data: event, group, bookings and titleSuffix enrich calculatedDates; tags enriches additionalInfos.

Rückgabe AppointmentCalculated

appointment = client.calendars.appointments.get(42, 4)
print(appointment)
let appointment = client.calendars().appointments().get(42, 4)?;
println!("{:?}", appointment);

GET/calendars/{calendarId}/appointments/{appointmentId}/ical*

client.calendars.appointments.get_ical()client.calendars().appointments().get_ical()

Export an appointment or series as iCalendar

Downloads appointment.ics as text/calendar. The export includes recurrence rules, excluded dates and additional dates; it may contain multiple VEVENT entries for additional recurring or standalone dates. This exports the stored appointment/series, not a selected occurrence.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment

Rückgabe bytes (text/calendar)Vec<u8> (text/calendar)

data = client.calendars.appointments.get_ical(42, 4)
with open("ergebnis.ics", "wb") as f:
    f.write(data)
let data = client.calendars().appointments().get_ical(42, 4)?;
std::fs::write("ergebnis.ics", &data)?;

GET/calendars/appointments/{appointmentId}/{startDate}

client.calendars.appointments.get_occurrence()client.calendars().appointments().get_occurrence()mit Filtern: .get_occurrence_with(&GetCalendarsAppointmentsAppointmentIdStartDateQuery)

Get one appointment occurrence

Returns the occurrence starting on the specified local date. appointment.base describes the stored series and appointment.calculated describes this occurrence. Returns 404 if no matching occurrence is available.

ParameterTypOrtPflichtBeschreibung
appointment_idintimpl DisplayPfadjaID of appointment
start_datedateimpl DisplayPfadjaLocal start date (YYYY-MM-DD) of the occurrence, not its UTC timestamp or the base date of the series.
includeList[str]Vec<String>QueryAdditional data for this occurrence.

Rückgabe AppointmentOccurrence

occurrence = client.calendars.appointments.get_occurrence(4, dt.date(2026, 9, 20))
print(occurrence.title_suffix)
let occurrence = client.calendars().appointments().get_occurrence(4, "2026-09-20")?;
println!("{:?}", occurrence.title_suffix);

GET/calendars/{calendarId}/appointments/{appointmentId}/{startDate}

client.calendars.appointments.get_occurrence_in_calendar()client.calendars().appointments().get_occurrence_in_calendar()mit Filtern: .get_occurrence_in_calendar_with(&GetCalendarsCalendarIdAppointmentsAppointmentIdStartDateQuery)

Get one appointment occurrence

Returns the occurrence starting on the specified local date. appointment.base describes the stored series and appointment.calculated describes this occurrence. Returns 404 if no matching occurrence is available.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment
start_datedateimpl DisplayPfadjaLocal start date (YYYY-MM-DD) of the occurrence, not its UTC timestamp or the base date of the series.
includeList[str]Vec<String>QueryAdditional data for this occurrence.

Rückgabe AppointmentOccurrence

occurrence_in_calendar = client.calendars.appointments.get_occurrence_in_calendar(42, 4, dt.date(2026, 9, 20))
print(occurrence_in_calendar.title_suffix)
let occurrence_in_calendar = client.calendars().appointments().get_occurrence_in_calendar(42, 4, "2026-09-20")?;
println!("{:?}", occurrence_in_calendar.title_suffix);

POST/calendars/{calendarId}/appointments

client.calendars.appointments.create()client.calendars().appointments().create()

Create an appointment or series

Creates a calendar appointment, with optional recurrence, resource reservations, service-planning events and meeting invitations. calendarId comes from the path. Creating registration groups and linked resources requires the corresponding permissions.

22 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.
address"address"AppointmentAddressCreateBodyLocation entered with an appointment.
bookings"bookings"List[AppointmentBookingCreate]Vec<AppointmentBookingCreate>BodyResource reservations matched by resourceId.
description"description"Optional[str]Option<String>BodyDescription of the appointment.
events"events"List[AppointmentEventCreate]Vec<AppointmentEventCreate>BodyOnly new service-planning events to create.
inform_owner"informOwner"boolBodySend an information email to the person on whose behalf the appointment is managed, or its original creator.
is_internal"isInternal"boolBodyjaSet false for a regular appointment.
link"link"Optional[str]Option<String>Body
meetingrequests"meetingrequests"List[MeetingRequestCreate]Vec<MeetingRequestCreate>BodyInvitees for the appointment or series.
on_behalf_of_pid"onBehalfOfPid"Optional[int]Option<i64>BodyPerson ID on whose behalf the appointment is created.
signup"signup"AppointmentSignupCreateBodyConfigure groups used to collect registrations for individual appointment occurrences.
subtitle"subtitle"Optional[str]Option<String>Body
tags"tags"List[Union[int, str, MetaDataPersonId]]Vec<serde_json::Value>BodyAppointment tags to add, as IDs, names or objects containing id.
title"title"strStringBodyja

Rückgabe AppointmentBase

result = client.calendars.appointments.create(
    42,
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
    is_internal=True,
    title="Sunday service",
)
print(result.title)
let body = models::AppointmentCreate {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    is_internal: true,
    title: "Sunday service".into(),
    ..Default::default()
};
let result = client.calendars().appointments().create(42, &body)?;
println!("{}", result.title);

PUT/calendars/{calendarId}/appointments/{appointmentId}

client.calendars.appointments.update()client.calendars().appointments().update()

Update an appointment or series

Replaces editable base fields and the schedule of the stored appointment. This affects the entire series. Existing events and bookings follow the changed schedule. Use changeimpact to inspect supported consequences before submitting a schedule change.

24 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.
address"address"AppointmentAddressCreateBodyLocation entered with an appointment.
bookings"bookings"List[AppointmentBookingCreate]Vec<AppointmentBookingCreate>BodyResource reservations matched by resourceId.
description"description"Optional[str]Option<String>BodyDescription of the appointment.
events"events"List[AppointmentEventCreate]Vec<AppointmentEventCreate>BodyOnly new service-planning events to create.
inform_owner"informOwner"boolBodySend an information email to the person on whose behalf the appointment is managed, or its original creator.
is_internal"isInternal"boolBodyjaSet false for a regular appointment.
link"link"Optional[str]Option<String>Body
meetingrequests"meetingrequests"List[MeetingRequestCreate]Vec<MeetingRequestCreate>BodyInvitees for the appointment or series.
on_behalf_of_pid"onBehalfOfPid"Optional[int]Option<i64>BodyPerson ID on whose behalf the appointment is created.
signup"signup"AppointmentSignupCreateBodyConfigure groups used to collect registrations for individual appointment occurrences.
subtitle"subtitle"Optional[str]Option<String>Body
tags"tags"List[Union[int, str, MetaDataPersonId]]Vec<serde_json::Value>BodyAppointment tags to add, as IDs, names or objects containing id.
title"title"strStringBodyja
bookings_to_delete"bookingsToDelete"List[int]Vec<i64>BodyIDs of existing appointment bookings to delete.

Rückgabe AppointmentBase

result = client.calendars.appointments.update(
    42,
    4,
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
    is_internal=True,
    title="Sunday service",
)
print(result.title)
let body = models::AppointmentUpdate {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    is_internal: true,
    title: "Sunday service".into(),
    ..Default::default()
};
let result = client.calendars().appointments().update(42, 4, &body)?;
println!("{}", result.title);

DELETE/calendars/{calendarId}/appointments/{appointmentId}

client.calendars.appointments.delete()client.calendars().appointments().delete()

Delete an appointment or entire series

Deletes the stored appointment and triggers the cleanup of linked resources. For recurring appointments this removes the whole series. To remove only one occurrence, update the complete series with that local date in exceptions. This requires calendar editing permission or being the appointment’s last editor.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment

Rückgabe None()

client.calendars.appointments.delete(42, 4)
client.calendars().appointments().delete(42, 4)?;

POST/calendars/{calendarId}/appointments/{appointmentId}/changeimpact

client.calendars.appointments.change_impact()client.calendars().appointments().change_impact()

Preview impacts of an appointment schedule change

Calculates supported event, service-assignment and resource-booking impacts of the proposed schedule without saving the appointment.

12 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.
split_date"splitDate"Optional[date]Option<NaiveDate>BodyOptional local date at which the series would be split.
split_until_end"splitUntilEnd"Optional[bool]Option<bool>BodyWhen splitting, use true for this and future occurrences or false for this occurrence only.

Rückgabe List[Union[AppointmentEventChangeImpact, AppointmentEventServiceChangeImpact, AppointmentBookingChangeImpact]]Vec<serde_json::Value>

for appointment in client.calendars.appointments.change_impact(
    42,
    4,
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
):
    print(appointment)
let body = models::AppointmentChangeImpactCreate {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    ..Default::default()
};
for appointment in client.calendars().appointments().change_impact(42, 4, &body)? {
    println!("{:?}", appointment);
}

POST/calendars/{calendarId}/appointments/{appointmentId}*

client.calendars.appointments.split()client.calendars().appointments().split()

Split and update an appointment series

Creates a new stored appointment from the supplied complete data and removes the selected scope from the original. splitUntilEnd=true cuts the original off before splitDate and requires a split after the original start. false excludes only splitDate and allows splitting the first occurrence. The returned data.id belongs to the new appointment. The new recurrence must describe the intended replacement; splitting does not automatically restrict it to one date. Linked resources are adjusted by their respective workflows.

26 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.
address"address"AppointmentAddressCreateBodyLocation entered with an appointment.
bookings"bookings"List[AppointmentBookingCreate]Vec<AppointmentBookingCreate>BodyResource reservations matched by resourceId.
description"description"Optional[str]Option<String>BodyDescription of the appointment.
events"events"List[AppointmentEventCreate]Vec<AppointmentEventCreate>BodyOnly new service-planning events to create.
inform_owner"informOwner"boolBodySend an information email to the person on whose behalf the appointment is managed, or its original creator.
is_internal"isInternal"boolBodyjaSet false for a regular appointment.
link"link"Optional[str]Option<String>Body
meetingrequests"meetingrequests"List[MeetingRequestCreate]Vec<MeetingRequestCreate>BodyInvitees for the appointment or series.
on_behalf_of_pid"onBehalfOfPid"Optional[int]Option<i64>BodyPerson ID on whose behalf the appointment is created.
signup"signup"AppointmentSignupCreateBodyConfigure groups used to collect registrations for individual appointment occurrences.
subtitle"subtitle"Optional[str]Option<String>Body
tags"tags"List[Union[int, str, MetaDataPersonId]]Vec<serde_json::Value>BodyAppointment tags to add, as IDs, names or objects containing id.
title"title"strStringBodyja
bookings_to_delete"bookingsToDelete"List[int]Vec<i64>BodyIDs of existing appointment bookings to delete.
split_date"splitDate"dateNaiveDateBodyjaLocal date identifying the original occurrence or start of the split segment.
split_until_end"splitUntilEnd"boolBodyjatrue cuts the original series off on the day before splitDate; false adds an exception for splitDate only.

Rückgabe AppointmentBase

appointment = client.calendars.appointments.split(
    42,
    4,
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
    is_internal=True,
    title="Sunday service",
    split_date=dt.date(2026, 10, 4),
    split_until_end=True,
)
print(appointment.title)
let body = models::AppointmentSplitUpdate {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    is_internal: true,
    title: "Sunday service".into(),
    split_date: "2026-10-04".parse()?,
    split_until_end: true,
    ..Default::default()
};
let appointment = client.calendars().appointments().split(42, 4, &body)?;
println!("{}", appointment.title);

GET/calendars/{calendarId}/appointments/{appointmentId}/meetingrequests

client.calendars.appointments.meeting_requests.list()client.calendars().appointments().meeting_requests().list()

List meeting invitations for an appointment

Returns all meeting requests associated with the stored appointment/series. Requests are not per-occurrence attendance records.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment

Rückgabe List[MeetingRequest]Vec<MeetingRequest>

for meeting_request in client.calendars.appointments.meeting_requests.list(42, 4):
    print(meeting_request.id)
for meeting_request in client.calendars().appointments().meeting_requests().list(42, 4)? {
    println!("{}", meeting_request.id);
}

POST/calendars/{calendarId}/appointments/{appointmentId}/meetingrequests*

client.calendars.appointments.meeting_requests.create()client.calendars().appointments().meeting_requests().create()

Invite a person to an appointment

Creates a meeting invitation for inviteeId. Requires permission to edit the appointment and view the invited person. The inviter is onBehalfOfPid when set, otherwise the current user. An invitation to the inviter is automatically accepted.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment
invitee_id"inviteeId"inti64BodyjaID of the person to invite.

Rückgabe MeetingRequest

result = client.calendars.appointments.meeting_requests.create(42, 4, invitee_id=42)
print(result.id)
let body = models::MeetingRequestCreate {
    invitee_id: 42,
    ..Default::default()
};
let result = client.calendars().appointments().meeting_requests().create(42, 4, &body)?;
println!("{}", result.id);

PUT/calendars/{calendarId}/appointments/{appointmentId}/meetingrequests/{meetingRequestId}*

client.calendars.appointments.meeting_requests.update()client.calendars().appointments().meeting_requests().update()veraltet

Answer a meeting invitation

Legacy body-based endpoint for answering a meeting request. Only the invited person may answer. Use POST on the path ending in /{answer}.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment
meeting_request_idintimpl DisplayPfadjaID of meeting request
answer"answer"strStringBodyjaAnswer accepted by meeting-request response endpoints.

Rückgabe None()

client.calendars.appointments.meeting_requests.update(42, 4, 19, answer="accept")
let body = models::MeetingRequestUpdate {
    answer: "accept".into(),
    ..Default::default()
};
client.calendars().appointments().meeting_requests().update(42, 4, 19, &body)?;

DELETE/calendars/{calendarId}/appointments/{appointmentId}/meetingrequests/{meetingRequestId}*

client.calendars.appointments.meeting_requests.delete()client.calendars().appointments().meeting_requests().delete()

Delete a meeting invitation

Removes a meeting request. This requires permission to edit the appointment; invitees can use the answer endpoint to decline instead.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment
meeting_request_idintimpl DisplayPfadjaID of meeting request

Rückgabe None()

client.calendars.appointments.meeting_requests.delete(42, 4, 19)
client.calendars().appointments().meeting_requests().delete(42, 4, 19)?;

POST/calendars/{calendarId}/appointments/{appointmentId}/meetingrequests/{meetingRequestId}/{answer}*

client.calendars.appointments.meeting_requests.answer()client.calendars().appointments().meeting_requests().answer()

Answer a meeting invitation

Records the answer of the invited person. accept, decline and tentative set the corresponding state; reset returns the request to pending. maybe remains accepted as a deprecated alias for tentative. Only the invitee may answer.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idintimpl DisplayPfadjaID of appointment
meeting_request_idintimpl DisplayPfadjaID of meeting request
answerstrimpl DisplayPfadjaAnswer to the meeting request

Rückgabe None()

client.calendars.appointments.meeting_requests.answer(42, 4, 19, "accept")
client.calendars().appointments().meeting_requests().answer(42, 4, 19, "accept")?;

GET/calendars/appointments/templates

client.calendars.appointments.templates.list()client.calendars().appointments().templates().list()

List appointment templates

Returns all saved appointment templates and their reusable defaults.

Rückgabe List[AppointmentTemplate]Vec<AppointmentTemplate>

for template in client.calendars.appointments.templates.list():
    print(template.title)
for template in client.calendars().appointments().templates().list()? {
    println!("{:?}", template.title);
}

GET/calendars/appointments/templates/{templateId}

client.calendars.appointments.templates.get()client.calendars().appointments().templates().get()

Get an appointment template

Returns the saved defaults of one template, including its ID and metadata.

ParameterTypOrtPflichtBeschreibung
template_idintimpl DisplayPfadjaID of appointment template

Rückgabe AppointmentTemplate

template = client.calendars.appointments.templates.get(1)
print(template.title)
let template = client.calendars().appointments().templates().get(1)?;
println!("{:?}", template.title);

POST/calendars/appointments/templates

client.calendars.appointments.templates.create()client.calendars().appointments().templates().create()

Create an appointment template

Stores reusable defaults for future appointments. Requires permission to edit calendar entry templates for the selected calendar.

22 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
address"address"AppointmentTemplateAddressCreateBodyLocation entered with an appointment template.
all_day"allDay"Optional[bool]Option<bool>BodyWhether the template proposes an all-day appointment.
bookings"bookings"Optional[List[AppointmentBooking]]Option<Vec<AppointmentBooking>>BodyStored resource-booking defaults in the legacy template format.
calendar_id"calendarId"inti64BodyjaCalendar for which the template provides defaults.
days_archive_group_no"daysArchiveGroupNo"Optional[int]Option<i64>BodyDays after the appointment for archiving registration groups.
days_forward_no"daysForwardNo"Optional[int]Option<i64>BodyDays ahead for creating registration groups.
description"description"Optional[str]Option<String>Body
duration"duration"inti64BodyjaDifference between end and start in seconds.
events"events"Optional[List[AppointmentEvent]]Option<Vec<AppointmentEvent>>BodyStored service-planning event template selections.
grouptype_id"grouptypeId"Optional[int]Option<i64>BodyGroup type for registration groups created for appointment occurrences.
is_internal"isInternal"Optional[bool]Option<bool>Body
link"link"Optional[str]Option<String>Body
on_behalf_of_pid"onBehalfOfPid"Optional[int]Option<i64>Body
repeat_duration"repeatDuration"Optional[int]Option<i64>BodySeconds from the chosen appointment start to the series end used when applying this template.
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option_id"repeatOptionId"Optional[int]Option<i64>BodyMonthly-by-weekday ordinal, using the template field name repeatOptionId.
start_time"startTime"strStringBodyjaLocal start time used when applying the template, conventionally HH:mm.
subtitle"subtitle"Optional[str]Option<String>Body
tags"tags"Optional[List[int]]Option<Vec<i64>>BodyExisting appointment-tag IDs saved in the template.
template_group_id"templateGroupId"Optional[int]Option<i64>BodyGroup used as a template for registration groups.
title"title"strStringBodyjaTitle proposed for appointments created from this template.

Rückgabe AppointmentTemplateWritten

result = client.calendars.appointments.templates.create(
    calendar_id=1,
    duration=3600,
    start_time="10:00",
    title="Service",
)
print(result.title)
let body = models::AppointmentTemplateCreate {
    calendar_id: 1,
    duration: 3600,
    start_time: "10:00".into(),
    title: "Service".into(),
    ..Default::default()
};
let result = client.calendars().appointments().templates().create(&body)?;
println!("{}", result.title);

PUT/calendars/appointments/templates/{templateId}

client.calendars.appointments.templates.update()client.calendars().appointments().templates().update()

Update an appointment template

Replaces the template’s saved defaults. Permission is checked for the calendar selected by calendarId.

23 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
template_idintimpl DisplayPfadjaID of appointment template
address"address"AppointmentTemplateAddressCreateBodyLocation entered with an appointment template.
all_day"allDay"Optional[bool]Option<bool>BodyWhether the template proposes an all-day appointment.
bookings"bookings"Optional[List[AppointmentBooking]]Option<Vec<AppointmentBooking>>BodyStored resource-booking defaults in the legacy template format.
calendar_id"calendarId"inti64BodyjaCalendar for which the template provides defaults.
days_archive_group_no"daysArchiveGroupNo"Optional[int]Option<i64>BodyDays after the appointment for archiving registration groups.
days_forward_no"daysForwardNo"Optional[int]Option<i64>BodyDays ahead for creating registration groups.
description"description"Optional[str]Option<String>Body
duration"duration"inti64BodyjaDifference between end and start in seconds.
events"events"Optional[List[AppointmentEvent]]Option<Vec<AppointmentEvent>>BodyStored service-planning event template selections.
grouptype_id"grouptypeId"Optional[int]Option<i64>BodyGroup type for registration groups created for appointment occurrences.
is_internal"isInternal"Optional[bool]Option<bool>Body
link"link"Optional[str]Option<String>Body
on_behalf_of_pid"onBehalfOfPid"Optional[int]Option<i64>Body
repeat_duration"repeatDuration"Optional[int]Option<i64>BodySeconds from the chosen appointment start to the series end used when applying this template.
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option_id"repeatOptionId"Optional[int]Option<i64>BodyMonthly-by-weekday ordinal, using the template field name repeatOptionId.
start_time"startTime"strStringBodyjaLocal start time used when applying the template, conventionally HH:mm.
subtitle"subtitle"Optional[str]Option<String>Body
tags"tags"Optional[List[int]]Option<Vec<i64>>BodyExisting appointment-tag IDs saved in the template.
template_group_id"templateGroupId"Optional[int]Option<i64>BodyGroup used as a template for registration groups.
title"title"strStringBodyjaTitle proposed for appointments created from this template.

Rückgabe AppointmentTemplateWritten

result = client.calendars.appointments.templates.update(
    1,
    calendar_id=1,
    duration=3600,
    start_time="10:00",
    title="Service",
)
print(result.title)
let body = models::AppointmentTemplateUpdate {
    calendar_id: 1,
    duration: 3600,
    start_time: "10:00".into(),
    title: "Service".into(),
    ..Default::default()
};
let result = client.calendars().appointments().templates().update(1, &body)?;
println!("{}", result.title);

DELETE/calendars/appointments/templates/{templateId}

client.calendars.appointments.templates.delete()client.calendars().appointments().templates().delete()

Delete an appointment template

Deletes the reusable template and its associated image files. Requires permission to edit appointment templates in its calendar.

ParameterTypOrtPflichtBeschreibung
template_idintimpl DisplayPfadjaID of appointment template

Rückgabe None()

client.calendars.appointments.templates.delete(1)
client.calendars().appointments().templates().delete(1)?;

GET/calendars/{calendarId}/meetingrequest/candidates

client.calendars.meeting_request.list_candidates()client.calendars().meeting_request().list_candidates()mit Filtern: .list_candidates_with(&GetCalendarsCalendarIdMeetingrequestCandidatesQuery)

Get candidates for a meeting request

Returns visible people with direct, person-status, group-derived, or group-type-derived calendar permissions. When appointmentId is supplied, visible invitees already associated with that appointment are also included.

ParameterTypOrtPflichtBeschreibung
calendar_idintimpl DisplayPfadjaID of Calendar
appointment_idinti64QueryInclude persons already invited to this appointment

Rückgabe List[MeetingRequestCandidate]Vec<MeetingRequestCandidate>

for candidate in client.calendars.meeting_request.list_candidates(42):
    print(candidate.group_name)
for candidate in client.calendars().meeting_request().list_candidates(42)? {
    println!("{:?}", candidate.group_name);
}

POST/meetingrequests/reply*

client.meeting_requests.reply()client.meeting_requests().reply()

Handle ICS reply for meeting requests

Processes an external calendar reply using the invitation reply token. ACCEPTED and DECLINED replies can notify the inviter.

ParameterTypOrtPflichtBeschreibung
ics_content"icsContent"strStringBodyjaRaw ICS reply used to compare appointment scope.
partstat"partstat"strStringBodyjaParticipation status supplied by the calendar-mail processor.
token"token"strStringBodyjaReply token embedded in the invitation.

Rückgabe None()

client.meeting_requests.reply(
    ics_content="Hallo zusammen",
    partstat="ACCEPTED",
    token="example-reply-token",
)
let body = models::MeetingRequestIcsReply {
    ics_content: "Hallo zusammen".into(),
    partstat: "ACCEPTED".into(),
    token: "example-reply-token".into(),
    ..Default::default()
};
client.meeting_requests().reply(&body)?;

GET/repeatcalculation

client.repeat_calculation.list()client.repeat_calculation().list()Query: GetRepeatcalculationQuery

Calculate occurrence dates without saving an appointment

Calculates occurrence dates without storing an appointment. This is an alias of POST; use POST for new integrations.

ParameterTypOrtPflichtBeschreibung
additionalsStrMap[AppointmentAdditionalCreate]serde_json::ValueQueryIndexed entries encoded with PHP bracket notation, for example additionals[0][date]=2026-10-01 and additionals[0][isRepeated]=false.
end_dateUnion[datetime, date]serde_json::ValueQueryjaRecurrence input: endDate.
exceptionsStrMap[AppointmentExceptionCreate]serde_json::ValueQueryIndexed entries encoded with PHP bracket notation, for example exceptions[0][date]=2026-10-01.
repeat_frequencyOptional[int]i64QueryRecurrence input: repeatFrequency.
repeat_idinti64QueryRecurrence input: repeatId.
repeat_optionOptional[int]i64QueryRecurrence input: repeatOption.
repeat_untilOptional[date]NaiveDateQueryRecurrence input: repeatUntil.
start_dateUnion[datetime, date]serde_json::ValueQueryjaRecurrence input: startDate.

Rückgabe List[RepeatCalculationOccurrence]Vec<RepeatCalculationOccurrence>

for repeat_calculation in client.repeat_calculation.list(
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
):
    print(repeat_calculation)
let query = GetRepeatcalculationQuery {
    end_date: Some(serde_json::json!("2026-09-20T09:30:00Z")),
    start_date: Some(serde_json::json!("2026-09-20T08:00:00Z")),
    ..Default::default()
};
for repeat_calculation in client.repeat_calculation().list(&query)? {
    println!("{:?}", repeat_calculation);
}

PUT/repeatcalculation*

client.repeat_calculation.update()client.repeat_calculation().update()

Calculate occurrence dates without saving an appointment

Calculates occurrence dates without storing an appointment. This is an alias of POST; use POST for new integrations.

ParameterTypOrtPflichtBeschreibung
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.

Rückgabe List[RepeatCalculationOccurrence]Vec<RepeatCalculationOccurrence>

for repeat_calculation in client.repeat_calculation.update(
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
):
    print(repeat_calculation)
let body = models::RepeatCalculationCreate {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    ..Default::default()
};
for repeat_calculation in client.repeat_calculation().update(&body)? {
    println!("{:?}", repeat_calculation);
}

PATCH/repeatcalculation*

client.repeat_calculation.patch()client.repeat_calculation().patch()

Calculate occurrence dates without saving an appointment

Calculates occurrence dates without storing an appointment. This is an alias of POST; use POST for new integrations.

ParameterTypOrtPflichtBeschreibung
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.

Rückgabe List[RepeatCalculationOccurrence]Vec<RepeatCalculationOccurrence>

for repeat_calculation in client.repeat_calculation.patch(
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
):
    print(repeat_calculation)
let body = models::RepeatCalculationCreate {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    ..Default::default()
};
for repeat_calculation in client.repeat_calculation().patch(&body)? {
    println!("{:?}", repeat_calculation);
}

DELETE/repeatcalculation*

client.repeat_calculation.delete()client.repeat_calculation().delete()

Calculate occurrence dates without saving an appointment

Calculates occurrence dates without storing an appointment. This is an alias of POST; use POST for new integrations.

ParameterTypOrtPflichtBeschreibung
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.

Rückgabe List[RepeatCalculationOccurrence]Vec<RepeatCalculationOccurrence>

for repeat_calculation in client.repeat_calculation.delete(
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
):
    print(repeat_calculation)
let body = models::RepeatCalculationCreate {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    ..Default::default()
};
for repeat_calculation in client.repeat_calculation().delete(&body)? {
    println!("{:?}", repeat_calculation);
}

POST/repeatcalculation

client.repeat_calculation.calculate()client.repeat_calculation().calculate()

Calculate occurrence dates without saving an appointment

Calculates occurrence dates without storing an appointment.

ParameterTypOrtPflichtBeschreibung
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.

Rückgabe List[RepeatCalculationOccurrence]Vec<RepeatCalculationOccurrence>

for repeat_calculation in client.repeat_calculation.calculate(
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
):
    print(repeat_calculation)
let body = models::RepeatCalculationCreate {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    ..Default::default()
};
for repeat_calculation in client.repeat_calculation().calculate(&body)? {
    println!("{:?}", repeat_calculation);
}

Event

Events der Dienstplanung, ihre Dienste, Abläufe und Fakten.

38 Endpunkte im Überblick

GET/eventtemplates

client.event_templates.list()client.event_templates().list()

Get all event templates

Returns all event templates as an unpaginated list, sorted by sortKey ascending. No per-template visibility filter is applied.

Rückgabe List[EventTemplate]Vec<EventTemplate>

for event_template in client.event_templates.list():
    print(event_template.id)
for event_template in client.event_templates().list()? {
    println!("{}", event_template.id);
}

GET/events

client.events.list()client.events().list()mit Filtern: .list_with(&GetEventsQuery)seitenweise

Get all events

Returns events visible through calendar permissions or the current user’s valid service assignments. Date comparisons use midnight in the application time zone: to includes exactly midnight, not later events that day. Results from calendar access are merged with events where the user is assigned and deduplicated; this merged range list is not guaranteed to be globally sorted. With direction, selects one page relative to from and ignores to.

ParameterTypOrtPflichtBeschreibung
from_fromdateNaiveDateQueryMidnight anchor or beginning of the range.
todateNaiveDateQueryRange upper bound at midnight, inclusive.
directionstrStringQueryEnable directional pagination; omit for an unpaginated date range.
limitinti64QueryResults per page in directional mode; ignored in range mode.
canceledboolQueryInclude cancelled events in addition to active events.
includestrStringQueryComma-separated Fractal includes.

Rückgabe Paginator[Event]Vec<Event>

for event in client.events.list():
    print(event.name)
for event in client.events().list()? {
    println!("{}", event.name);
}

GET/events/{serviceId}/candidates

client.events.list_candidates()client.events().list_candidates()

Get service candidates

Returns an unpaginated, deduplicated list of persons from active, non-hidden memberships in groups connected to the service. If connected tags exist, a matching tag is also required. Archived or deceased persons are excluded and hidden-person visibility is respected. With no connected groups, the result is empty.

ParameterTypOrtPflichtBeschreibung
service_idintimpl DisplayPfadjaID of a reusable service role from /services

Rückgabe List[ServiceCandidate]Vec<ServiceCandidate>

for candidate in client.events.list_candidates(2):
    print(candidate.full_name)
for candidate in client.events().list_candidates(2)? {
    println!("{}", candidate.full_name);
}

GET/events/{serviceId}/possiblepersonsforservice

client.events.list_possible_persons_for_service()client.events().list_possible_persons_for_service()veraltet

Get all possible persons for a service

Deprecated alias for /events/{serviceId}/candidates. Returns the same service candidates.

ParameterTypOrtPflichtBeschreibung
service_idintimpl DisplayPfadjaID of a reusable service role from /services

Rückgabe List[ServiceCandidate]Vec<ServiceCandidate>

for possible_persons_for_service in client.events.list_possible_persons_for_service(2):
    print(possible_persons_for_service.full_name)
for possible_persons_for_service in client.events().list_possible_persons_for_service(2)? {
    println!("{}", possible_persons_for_service.full_name);
}

GET/events/{eventId}

client.events.get()client.events().get()

Get a single event

Returns the event visible to the current user, including calendar, eventFiles and eventServices. Service assignments are filtered by service-group visibility or own assignment; persons can be concealed. The eventServices property is present even when empty. Cancelled events can also be read if visible.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event

Rückgabe EventReadWithServices

event = client.events.get(42)
print(event.name)
let event = client.events().get(42)?;
println!("{}", event.name);

GET/events/ical

client.events.get_ical()client.events().get_ical()Query: GetEventsIcalQuery

Get iCal roster link

Returns the personal roster subscription as JSON. If no secret exists, this GET creates one; otherwise it preserves the existing link. Use meta.iCalUrl to fetch the actual iCalendar feed. A roster contains the person's service assignments at events, including pending requests and confirmed assignments.

ParameterTypOrtPflichtBeschreibung
person_idinti64QueryjaID of person

Rückgabe RosterICalSetting

ical = client.events.get_ical(person_id=42)
print(ical.attribute)
let query = GetEventsIcalQuery {
    person_id: Some(42),
    ..Default::default()
};
let ical = client.events().get_ical(&query)?;
println!("{}", ical.attribute);

POST/events/ical*

client.events.create_ical()client.events().create_ical()Query: PostEventsIcalQuery

Create iCal roster link

Creates a new personal roster subscription secret and returns the link as JSON. Use meta.iCalUrl to fetch the actual iCalendar feed. A roster contains the person's service assignments at events, including pending requests and confirmed assignments.

ParameterTypOrtPflichtBeschreibung
person_idinti64QueryjaID of person

Rückgabe RosterICalSetting

result = client.events.create_ical(person_id=42)
print(result.attribute)
let query = PostEventsIcalQuery {
    person_id: Some(42),
    ..Default::default()
};
let result = client.events().create_ical(&query)?;
println!("{}", result.attribute);

PUT/events/{eventId}*

client.events.update()client.events().update()veraltet

Update event details

Deprecated: use PATCH /events/{eventId} instead. When omitted, description is cleared and isCanceled defaults to false. Updates the description, administrators and cancellation state for this service-planning event. It does not update service assignments or the calendar appointment. Changing the administrator set additionally requires the "edit masterdata" permission for the service planning domain; other changes require event administration access, the "edit events" permission for the event calendar, or a corresponding internal group permission.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
admin_ids"adminIds"Optional[List[int]]Option<Vec<i64>>BodyReplace the administrator list.
description"description"Optional[str]Option<String>BodyEvent description.
event_admin_ids"eventAdminIds"List[int]Vec<i64>BodyLegacy input alias for adminIds.
is_canceled"isCanceled"boolBodyWhether the service-planning event is cancelled.
note"note"Optional[str]Option<String>BodyDeprecated alias for description.

Rückgabe EventDetailsUpdateResult

result = client.events.update(
    42,
    description="Sound check starts 30 minutes before the gathering.",
)
print(result.id)
let body = models::EventDetailsUpdate {
    description: Some(Some("Sound check starts 30 minutes before the gathering.".into())),
    ..Default::default()
};
let result = client.events().update(42, &body)?;
println!("{}", result.id);

PATCH/events/{eventId}*

client.events.patch()client.events().patch()

Update event details

Updates only the supplied event description or administrators, and can reopen an event with isCanceled=false. Omitted properties remain unchanged. It cannot cancel an event or update service assignments or the calendar appointment. Use POST /events/{eventId}/cancel to cancel with optional notifications. Changing the administrator set additionally requires the "edit masterdata" permission for service planning; other changes require event administration access, the "edit events" permission for the event calendar, or a corresponding internal group permission.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
admin_ids"adminIds"Optional[List[int]]Option<Vec<i64>>BodyReplace the administrator list.
description"description"Optional[str]Option<String>BodyEvent description.
event_admin_ids"eventAdminIds"List[int]Vec<i64>BodyLegacy input alias for adminIds.
is_canceled"isCanceled"boolBodySet to false to reopen an event.
note"note"Optional[str]Option<String>BodyDeprecated alias for description.

Rückgabe EventDetailsUpdateResult

result = client.events.patch(
    42,
    description="Sound check starts 30 minutes before the gathering.",
)
print(result.id)
let body = models::EventDetailsPatch {
    description: Some(Some("Sound check starts 30 minutes before the gathering.".into())),
    ..Default::default()
};
let result = client.events().patch(42, &body)?;
println!("{}", result.id);

DELETE/events/{eventId}*

client.events.delete()client.events().delete()mit Filtern: .delete_with(&DeleteEventsIdQuery)

Delete a single event

Deletes the service-planning event through the dependency-aware deletion service. With dryRun=true, the deletion check returns a 409 report without deleting the event, but sendMail is processed before that check. Requires event administration access, the "edit events" permission for the event calendar, or a corresponding internal group permission.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
dry_runboolQueryCheck deletion and return a 409 report.
send_mailboolQueryRequest event-deletion notifications before the deletion check, including during dryRun.

Rückgabe None()

client.events.delete(42)
client.events().delete(42)?;

POST/events/{eventId}/cancel*

client.events.cancel()client.events().cancel()

Cancel an event

Cancels the service-planning event without deleting it or its calendar appointment. Already cancelled events remain unchanged and do not send notifications again. Requires event administration access, the "edit events" permission for the event calendar, or a corresponding internal group permission.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
send_mail"sendMail"boolBodyNotify assigned people about the cancellation.

Rückgabe None()

client.events.cancel(42, send_mail=True)
let body = models::PostEventsIdCancelBody {
    send_mail: Some(true),
    ..Default::default()
};
client.events().cancel(42, &body)?;

POST/events/{eventId}/chat*

client.events.chat()client.events().chat()

Start or stop an event chat

Starts, reactivates or stops the chat linked to this event. Requires access to the event, an active chat installation with event chats enabled, and permission to administer persons, start an event chat through event permissions, or administer this event. A new room is provisioned through the chat service; HTTP 200 does not guarantee that remote room setup is already complete. Stopping a chat that has never been created returns 404.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
enabled"enabled"boolBodyjatrue starts or reactivates the event chat; false stops an existing chat.
trigger_chat_invite_mail"triggerChatInviteMail"boolBodySend invitations to eligible event participants who cannot chat yet.

Rückgabe None()

client.events.chat(42, enabled=True)
let body = models::EventChatUpdate {
    enabled: true,
    ..Default::default()
};
client.events().chat(42, &body)?;

POST/events/send*

client.events.send()client.events().send()

Send an email to selected event recipients

Sends an email to selected people in the context of one or more events. ChurchTools filters service participants by visible service groups and other selected recipients by person visibility. The response reports effective and rejected recipients. sendCopyToMe can add the sender. Optional agenda buttons require agenda visibility for each event; sending does not require an agenda or a shared agenda across events.

ParameterTypOrtPflichtBeschreibung
body"body"strStringBodyjaHTML email body. ChurchTools appends buttons for all supplied events and any requested, available agenda and file links.
event_ids"eventIds"List[int]Vec<i64>BodyjaEvents used to resolve participating recipients and message links.
recipients"recipients"List[int]Vec<i64>BodyjaSelected person IDs. Only selected participants in visible service groups of the loaded events, or selected people the sender may otherwise view, receive the message.
send_copy_to_me"sendCopyToMe"boolBodyAlso include the currently logged-in person as a recipient, even if their ID is absent from recipients.
subject"subject"strStringBodyjaEmail subject.
append_agenda_button"appendAgendaButton"boolBodyjaAppend links for supplied events that have an agenda and for whose calendar the sender has "view agenda" permission.
files"files"List[int]Vec<i64>BodyjaFile IDs to list as links in the message body.

Rückgabe EventMailSendResult

event = client.events.send(
    body="<p>Please review the updated agenda for Sunday.</p>",
    event_ids=[31, 32],
    recipients=[40, 41],
    subject="Updated Sunday agenda",
    append_agenda_button=True,
    files=[42],
)
print(event)
let body = models::EventMailCreate {
    body: "<p>Please review the updated agenda for Sunday.</p>".into(),
    event_ids: vec![31, 32],
    recipients: vec![40, 41],
    subject: "Updated Sunday agenda".into(),
    append_agenda_button: true,
    files: vec![42],
    ..Default::default()
};
let event = client.events().send(&body)?;
println!("{:?}", event);

PUT/events/{eventId}/eventservices/{serviceId}*

client.events.event_services.update()client.events().event_services().update()veraltet

Update a service assignment

Deprecated alias for /events/{eventId}/servicerequests/{requestId}. The path parameter serviceId identifies a concrete assignment record (requestId), not a reusable service role. Creates a replacement assignment and invalidates the previous active record for the same event, service and slot index. Always use the returned ID for subsequent actions.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
service_idintimpl DisplayPfadjaID of a concrete event-service assignment, exposed as serviceId on legacy routes
agreed"agreed"boolBodyLegacy alias for isAccepted.
comment"comment"Optional[str]Option<String>BodyAccepted for compatibility but ignored by this update operation; the replacement record starts without a comment.
inform_person"inform_person"boolBodyAccepted for compatibility; this flag does not control notifications in the current implementation.
is_accepted"isAccepted"boolBodytrue creates a confirmed assignment; false creates an assignment awaiting confirmation.
name"name"Optional[str]Option<String>BodyName of an external assignee without a person record.
person_id"personId"Optional[int]Option<i64>BodyExisting person to assign.

Rückgabe ServiceRequest

result = client.events.event_services.update(42, 42, name="Guest musician")
print(result.name)
let body = models::ServiceRequestUpdate {
    name: Some(Some("Guest musician".into())),
    ..Default::default()
};
let result = client.events().event_services().update(42, 42, &body)?;
println!("{:?}", result.name);

PUT/events/{eventId}/eventservices*

client.events.event_services.update_all()client.events().event_services().update_all()veraltet

Set service slot counts for an event

Changes the active slot count only for the listed service roles, in one transaction. Increasing a count creates unassigned slots. Decreasing it removes unassigned slots but retains occupied slots. A failed reduction returns 422 and rolls back the update; changing counts requires event administration or editing access for every affected service.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
services"services"List[EventServiceCountUpdate]Vec<EventServiceCountUpdate>BodyjaDesired counts for the listed services only.

Rückgabe None()

client.events.event_services.update_all(
    42,
    services=[ct.models.EventServiceCountUpdate.model_validate({"count": 3, "serviceId": 2})],
)
let body = models::EventServicesUpdate {
    services: vec![models::EventServiceCountUpdate {
        count: 3,
        service_id: 2,
        ..Default::default()
    }],
    ..Default::default()
};
client.events().event_services().update_all(42, &body)?;

DELETE/events/{eventId}/eventservices/{serviceId}*

client.events.event_services.delete()client.events().event_services().delete()veraltet

Decline service request

Deprecated alias for /events/{eventId}/servicerequests/{requestId}/decline. The path parameter serviceId identifies a concrete assignment record (requestId), not a reusable service role. Declining invalidates the original record and returns a new unassigned record; assigned persons need allowDecline unless another permission grants access.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
service_idintimpl DisplayPfadjaID of a concrete event-service assignment, exposed as serviceId on legacy routes
comment"comment"Optional[str]Option<String>BodyOptional response comment.

Rückgabe ServiceRequest

event_service = client.events.event_services.delete(42, 42, comment="Hallo zusammen")
print(event_service.name)
let body = models::ServiceRequestAnswer {
    comment: Some(Some("Hallo zusammen".into())),
    ..Default::default()
};
let event_service = client.events().event_services().delete(42, 42, &body)?;
println!("{:?}", event_service.name);

GET/events/{eventId}/facts

client.events.facts.list()client.events().facts().list()

List recorded facts for an event

Returns the event's stored fact values whose definitions the user may view or edit. eventId identifies the service-planning event, while factId identifies a reusable definition from /facts. Requires access to the event and at least one fact definition.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event

Rückgabe List[EventFact]Vec<EventFact>

for fact in client.events.facts.list(42):
    print(fact.deprecated)
for fact in client.events().facts().list(42)? {
    println!("{}", fact.deprecated);
}

GET/events/facts

client.events.facts.list_all()client.events().facts().list_all()mit Filtern: .list_all_with(&GetEventsFactsQuery)seitenweise

List recorded event facts

A fact definition describes a metric or selection (for example attendance or service type). An event fact stores one value for that definition on a service-planning event. eventId identifies the event, not its calendar appointment; factId identifies the reusable definition from /facts. Returns recorded values ordered by event start date descending, with pagination.

ParameterTypOrtPflichtBeschreibung
from_fromdateNaiveDateQueryReturn entities starting from this date.
todateNaiveDateQueryReturn entities up to (but not including) this date.
event_idList[int]Vec<i64>QueryRestrict to these service-planning event IDs.
fact_idList[int]Vec<i64>QueryRestrict to these fact definitions, intersected with the definitions the user may view or edit.
limitinti64QueryNumber of results per page.

Rückgabe Paginator[EventFact]Vec<EventFact>

for all in client.events.facts.list_all():
    print(all.deprecated)
for all in client.events().facts().list_all()? {
    println!("{}", all.deprecated);
}

GET/events/{eventId}/facts/{factId}

client.events.facts.get()client.events().facts().get()

Get a recorded event fact

Returns the stored value for the event and fact definition identified by the path. Requires access to the event and view or edit permission for the fact definition. Returns 404 when no value has been recorded for this pair; this is distinct from a recorded numeric zero.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
fact_idintimpl DisplayPfadjaID of the reusable fact definition from /facts, not a separate event-fact record ID.

Rückgabe EventFact

fact = client.events.facts.get(42, 1)
print(fact.deprecated)
let fact = client.events().facts().get(42, 1)?;
println!("{}", fact.deprecated);

PUT/events/{eventId}/facts/{factId}*

client.events.facts.update()client.events().facts().update()

Create or replace an event fact

Stores one value for the event and fact definition identified by the path. Returns 200 for both insertion and replacement. Requires access to the event and edit permission for the fact definition. Numeric facts accept JSON numbers or numeric strings and return a JSON number; select facts accept an option configured in the definition.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
fact_idintimpl DisplayPfadjaID of the reusable fact definition from /facts, not a separate event-fact record ID.
value"value"Union[float, str]serde_json::ValueBodyjaFor numeric facts, prefer a JSON number.

Rückgabe EventFact

result = client.events.facts.update(42, 1, value=1.5)
print(result.deprecated)
let body = models::EventFactUpdate {
    value: serde_json::json!(1.5),
    ..Default::default()
};
let result = client.events().facts().update(42, 1, &body)?;
println!("{}", result.deprecated);

DELETE/events/{eventId}/facts/{factId}*

client.events.facts.delete()client.events().facts().delete()

Delete a recorded event fact

Removes the stored value for this event and fact definition, preserving the reusable definition and the event. Requires access to the event and edit permission for the fact definition. Returns 204 even if no value was stored for the pair.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
fact_idintimpl DisplayPfadjaID of the reusable fact definition from /facts, not a separate event-fact record ID.

Rückgabe None()

client.events.facts.delete(42, 1)
client.events().facts().delete(42, 1)?;

POST/events/facts/export*

client.events.facts.export()client.events().facts().export()mit Filtern: .export_with(&PostEventsFactsExportQuery)

Export event facts as a spreadsheet

Downloads a CSV or XLSX file with one row per visible service-planning event in the selected calendars, including events without recorded fact values. Requires permission to export facts (the "export facts" permission for the service planning domain). Events are filtered by event visibility, and fact columns are limited to definitions the user may view or edit. Rows are ordered by event start time, then event ID.

ParameterTypOrtPflichtBeschreibung
formatstrStringQueryDownload format.
calendar_ids"calendar_ids"List[int]Vec<i64>BodyjaCalendars containing the appointments linked to the service-planning events.
from_"from"dateNaiveDateBodyInclusive lower bound for the event start date in the installation’s timezone.
to"to"dateNaiveDateBodyExclusive upper bound for the event start date in the installation’s timezone.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.events.facts.export(calendar_ids=[42])
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let body = models::EventFactExportCreate {
    calendar_ids: vec![42],
    ..Default::default()
};
let data = client.events().facts().export(&body)?;
std::fs::write("ergebnis.xlsx", &data)?;

PUT/events/{eventId}/servicerequests/{requestId}*

client.events.service_requests.update()client.events().service_requests().update()

Update a service assignment

Creates a replacement assignment and invalidates the previous active record for the same event, service and slot index. Always use the returned ID for subsequent actions. isAccepted=true confirms it; false leaves it awaiting confirmation and does not decline it. Notifications follow the assignment workflow.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
request_idintimpl DisplayPfadjaID of a service request
agreed"agreed"boolBodyLegacy alias for isAccepted.
comment"comment"Optional[str]Option<String>BodyAccepted for compatibility but ignored by this update operation; the replacement record starts without a comment.
inform_person"inform_person"boolBodyAccepted for compatibility; this flag does not control notifications in the current implementation.
is_accepted"isAccepted"boolBodytrue creates a confirmed assignment; false creates an assignment awaiting confirmation.
name"name"Optional[str]Option<String>BodyName of an external assignee without a person record.
person_id"personId"Optional[int]Option<i64>BodyExisting person to assign.

Rückgabe ServiceRequest

result = client.events.service_requests.update(42, 42, name="Guest musician")
print(result.name)
let body = models::ServiceRequestUpdate {
    name: Some(Some("Guest musician".into())),
    ..Default::default()
};
let result = client.events().service_requests().update(42, 42, &body)?;
println!("{:?}", result.name);

PUT/events/{eventId}/servicerequests*

client.events.service_requests.update_all()client.events().service_requests().update_all()

Set service slot counts for an event

Changes the active slot count only for the listed service roles, in one transaction. Increasing a count creates unassigned slots. Decreasing it removes unassigned slots but retains occupied slots. A failed reduction returns 422 and rolls back the update; changing counts requires event administration or editing access for every affected service.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
services"services"List[EventServiceCountUpdate]Vec<EventServiceCountUpdate>BodyjaDesired counts for the listed services only.

Rückgabe None()

client.events.service_requests.update_all(
    42,
    services=[ct.models.EventServiceCountUpdate.model_validate({"count": 3, "serviceId": 2})],
)
let body = models::EventServicesUpdate {
    services: vec![models::EventServiceCountUpdate {
        count: 3,
        service_id: 2,
        ..Default::default()
    }],
    ..Default::default()
};
client.events().service_requests().update_all(42, &body)?;

POST/events/{eventId}/servicerequests/{requestId}/accept*

client.events.service_requests.accept()client.events().service_requests().accept()

Accept service request

Accepts an assigned, valid service request. On first acceptance it creates a new confirmed record, invalidates previous records for the slot, adjusts related exchange requests and sends notifications. A comment is stored on first acceptance only if the service allows comments on confirmation. If already accepted, the same record is returned and its comment is updated. Requires permission to update the assignment.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
request_idintimpl DisplayPfadjaID of a service request
comment"comment"Optional[str]Option<String>BodyOptional response comment.

Rückgabe ServiceRequest

service_request = client.events.service_requests.accept(42, 42, comment="Hallo zusammen")
print(service_request.name)
let body = models::ServiceRequestAnswer {
    comment: Some(Some("Hallo zusammen".into())),
    ..Default::default()
};
let service_request = client.events().service_requests().accept(42, 42, &body)?;
println!("{:?}", service_request.name);

POST/events/{eventId}/servicerequests/{requestId}/decline*

client.events.service_requests.decline()client.events().service_requests().decline()

Decline service request

Declines the current assignment, invalidates its requestId and returns a new unassigned record. Related exchange requests are deleted and notifications are sent. Assigned persons need allowDecline unless another permission grants access.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
request_idintimpl DisplayPfadjaID of a service request
comment"comment"Optional[str]Option<String>BodyOptional response comment.

Rückgabe ServiceRequest

service_request = client.events.service_requests.decline(42, 42, comment="Hallo zusammen")
print(service_request.name)
let body = models::ServiceRequestAnswer {
    comment: Some(Some("Hallo zusammen".into())),
    ..Default::default()
};
let service_request = client.events().service_requests().decline(42, 42, &body)?;
println!("{:?}", service_request.name);

POST/events/{eventId}/servicerequests/{requestId}/undo*

client.events.service_requests.undo()client.events().service_requests().undo()

Undo service request

Reverts the last acceptance or decline to an outstanding request. Only the assigned person may do this. The legacy history must identify this as the last action and its timestamp must be within the 10-minute undo window; otherwise 400 is returned. For a decline, use the original declined request ID, not the new unassigned record returned by the decline operation.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
request_idintimpl DisplayPfadjaID of a service request
person_id"personId"inti64BodyjaID of the person assigned to the record being undone.

Rückgabe ServiceRequestUndoResult

service_request = client.events.service_requests.undo(42, 42, person_id=42)
print(service_request.name)
let body = models::ServiceRequestUndoCreate {
    person_id: 42,
    ..Default::default()
};
let service_request = client.events().service_requests().undo(42, 42, &body)?;
println!("{:?}", service_request.name);

GET/events/{eventId}/services/{serviceId}/candidates

client.events.services.list_candidates()client.events().services().list_candidates()

Get service candidates with planning hints

Returns an unpaginated list of persons from active, visible-role memberships in groups connected to this reusable service role, narrowed by connected tags when present. Archived or deceased persons are excluded and hidden-person visibility is respected. Without permission to assign other persons, only the current user can appear. With no connected groups the list is empty.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
service_idintimpl DisplayPfadjaID of a reusable service role from /services

Rückgabe List[PossibleEventPerson]Vec<PossibleEventPerson>

for candidate in client.events.services.list_candidates(42, 2):
    print(candidate.partner_services)
for candidate in client.events().services().list_candidates(42, 2)? {
    println!("{}", candidate.partner_services);
}

GET/events/{eventId}/services/{serviceId}/possiblepersons

client.events.services.list_possible_persons()client.events().services().list_possible_persons()veraltet

Get service candidates with planning hints

Deprecated alias for /events/{eventId}/services/{serviceId}/candidates. Returns the same service candidates with planning hints.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
service_idintimpl DisplayPfadjaID of a reusable service role from /services

Rückgabe List[PossibleEventPerson]Vec<PossibleEventPerson>

for possible_person in client.events.services.list_possible_persons(42, 2):
    print(possible_person.partner_services)
for possible_person in client.events().services().list_possible_persons(42, 2)? {
    println!("{}", possible_person.partner_services);
}

GET/persons/{personId}/events

client.persons.events.list()client.persons().events().list()mit Filtern: .list_with(&GetPersonsIdEventsQuery)

Get events that person is involved with

Returns an unpaginated list of non-cancelled events where the person has a valid assignment. Requires the current user to be this person or a super administrator. from defaults to today and is compared strictly to midnight: an event exactly at midnight is excluded, later events that day are included. Results are ordered by event start ascending with no upper date bound. Visible service assignments are always included under eventServices and are not restricted to just this person. eventFiles is present but this endpoint does not load files, so it is empty. meta.count is the number returned.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
from_fromdateNaiveDateQueryLower bound, strictly after midnight on this date.

Rückgabe List[EventReadWithServices]Vec<EventReadWithServices>

for event in client.persons.events.list(42):
    print(event.name)
for event in client.persons().events().list(42)? {
    println!("{}", event.name);
}

GET/persons/{personId}/events/{eventId}/services

client.persons.events.services.list()client.persons().events().services().list()

Get a person’s assignments in an event

Returns the valid assignments of this person in a non-cancelled event, including both outstanding and confirmed assignments. Requires the current user to be this person or a super administrator. Unknown or cancelled events produce an empty list; related person and event objects are not enriched.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
event_idintimpl DisplayPfadjaID of Event

Rückgabe List[ServiceRequest]Vec<ServiceRequest>

for service in client.persons.events.services.list(42, 42):
    print(service.name)
for service in client.persons().events().services().list(42, 42)? {
    println!("{:?}", service.name);
}

GET/persons/{personId}/events/{eventId}/services/{serviceId}/exchangerequests

client.persons.events.services.exchange_requests.list()client.persons().events().services().exchange_requests().list()mit Filtern: .list_with(&GetPersonsIdEventsIdServicesIdExchangerequestsQuery)

Get all service exchange requests of a user for a service

Returns incoming or outgoing exchange requests for the assignment identified by serviceId. Requires the current user to be assigned to it. The list is unpaginated and does not filter by status, archive flag or event date. Event and person details are enriched where available.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
event_idintimpl DisplayPfadjaID of Event
service_idintimpl DisplayPfadjaID of a concrete event-service assignment, exposed as serviceId on legacy routes
incomingboolQueryfalse selects exchanges initiated from this assignment; true selects exchanges targeting it.

Rückgabe List[ServiceExchangeRequest]Vec<ServiceExchangeRequest>

for exchange_request in client.persons.events.services.exchange_requests.list(42, 42, 42):
    print(exchange_request.id)
for exchange_request in client.persons().events().services().exchange_requests().list(42, 42, 42)? {
    println!("{}", exchange_request.id);
}

GET/persons/{personId}/events/{eventId}/services/{serviceId}/exchangerequests/candidates

client.persons.events.services.exchange_requests.list_candidates()client.persons().events().services().exchange_requests().list_candidates()

Get candidates for service exchange request

Returns an unpaginated list of assignments for the same reusable service as the source assignment. Requires the current user to be assigned to the source. Candidates have valid assignments with a non-null name, an event starting after midnight today, and a person other than personId. Hidden-person visibility is respected.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
event_idintimpl DisplayPfadjaID of Event
service_idintimpl DisplayPfadjaID of a concrete event-service assignment, exposed as serviceId on legacy routes

Rückgabe List[ServiceExchangeCandidate]Vec<ServiceExchangeCandidate>

for candidate in client.persons.events.services.exchange_requests.list_candidates(42, 42, 42):
    print(candidate.event_date)
for candidate in client.persons().events().services().exchange_requests().list_candidates(42, 42, 42)? {
    println!("{}", candidate.event_date);
}

POST/persons/{personId}/events/{eventId}/services/{serviceId}/exchangerequests*

client.persons.events.services.exchange_requests.create()client.persons().events().services().exchange_requests().create()

Create a new service exchange request

Creates an UNANSWERED exchange request and sends the request notification. Requires the current user to be assigned to the source assignment. The target requestedServiceId is an event-service assignment ID, as returned by the candidates endpoint. Creating the request does not change either assignment.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
event_idintimpl DisplayPfadjaID of Event
service_idintimpl DisplayPfadjaID of a concrete event-service assignment, exposed as serviceId on legacy routes
requested_service_id"requestedServiceId"inti64BodyjaTarget assignment to exchange with.

Rückgabe ServiceExchangeRequest

result = client.persons.events.services.exchange_requests.create(
    42,
    42,
    42,
    requested_service_id=42,
)
print(result.id)
let body = models::ServiceExchangeRequestCreate {
    requested_service_id: 42,
    ..Default::default()
};
let result = client.persons().events().services().exchange_requests().create(42, 42, 42, &body)?;
println!("{}", result.id);

DELETE/persons/{personId}/events/{eventId}/services/{serviceId}/exchangerequests/{requestId}*

client.persons.events.services.exchange_requests.delete()client.persons().events().services().exchange_requests().delete()mit Filtern: .delete_with(&DeletePersonsIdEventsIdServicesIdExchangerequestsIdQuery)

Delete a service exchange request

Cancels the exchange by setting status to CANCELLED and sending a cancellation notification. Requires the current user to be assigned to the source serviceId. With hardDelete=true, removes the request matching both requestId and the source assignment instead, without a cancellation notification. Neither action swaps the assigned persons. Cancellation leaves the archive flag unchanged.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
event_idintimpl DisplayPfadjaID of Event
service_idintimpl DisplayPfadjaID of a concrete event-service assignment, exposed as serviceId on legacy routes
request_idintimpl DisplayPfadjaID of a service exchange request
hard_deleteboolQueryPermanently remove the request instead of changing its status to CANCELLED.

Rückgabe None()

client.persons.events.services.exchange_requests.delete(42, 42, 42, 42)
client.persons().events().services().exchange_requests().delete(42, 42, 42, 42)?;

GET/persons/{personId}/exchangerequests

client.persons.exchange_requests.list()client.persons().exchange_requests().list()mit Filtern: .list_with(&GetPersonsIdExchangerequestsQuery)

Get all service exchange requests for a user

Returns an unpaginated list of incoming or outgoing exchanges for the current user; personId must identify that user. Both assignments must still be valid, the exchange must not be archived, and at least one event must start today or later. Status is not restricted to UNANSWERED. Event and person details are enriched where available.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
person_is_requesterboolQueryfalse selects exchanges received by the person; true selects exchanges initiated by the person.

Rückgabe List[ServiceExchangeRequest]Vec<ServiceExchangeRequest>

for exchange_request in client.persons.exchange_requests.list(42):
    print(exchange_request.id)
for exchange_request in client.persons().exchange_requests().list(42)? {
    println!("{}", exchange_request.id);
}

PUT/persons/{personId}/exchangerequests/{requestId}*

client.persons.exchange_requests.update()client.persons().exchange_requests().update()

Accept a service exchange request

Accepts the exchange and swaps the persons assigned to the two event-service assignments, confirming both assignments. The workflow archives the accepted exchange and other active exchanges from the same source assignment, and sends notifications. Requires personId to identify the current user and the person assigned to the requested assignment. Returns the updated exchange request without enriching events or persons.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
request_idintimpl DisplayPfadjaID of a service exchange request

Rückgabe ServiceExchangeRequest

result = client.persons.exchange_requests.update(42, 42)
print(result.id)
let result = client.persons().exchange_requests().update(42, 42)?;
println!("{}", result.id);

DELETE/persons/{personId}/exchangerequests/{requestId}*

client.persons.exchange_requests.delete()client.persons().exchange_requests().delete()

Decline a service exchange request

Declines the exchange by setting its status to DECLINED and sending a notification. The request remains stored and its archive flag is unchanged; the assignments are not swapped. Requires personId to identify the current user and the person assigned to the requested assignment. Returns the updated exchange request without enriching events or persons. Already answered requests are returned unchanged.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
request_idintimpl DisplayPfadjaID of a service exchange request

Rückgabe ServiceExchangeRequest

exchange_request = client.persons.exchange_requests.delete(42, 42)
print(exchange_request.id)
let exchange_request = client.persons().exchange_requests().delete(42, 42)?;
println!("{}", exchange_request.id);

GET/servicegroups

client.service_groups.list()client.service_groups().list()

Get all service groups

Returns all service groups as an unpaginated list, sorted by sortKey and then name, both ascending.

Rückgabe List[ServiceGroup]Vec<ServiceGroup>

for service_group in client.service_groups.list():
    print(service_group.name)
for service_group in client.service_groups().list()? {
    println!("{}", service_group.name);
}

GET/servicegroups/{serviceGroupId}

client.service_groups.get()client.service_groups().get()

Get a service group

Returns the reusable service group master-data record with the specified ID.

ParameterTypOrtPflichtBeschreibung
service_group_idintimpl DisplayPfadjaID of a service group

Rückgabe ServiceGroup

service_group = client.service_groups.get(13)
print(service_group.name)
let service_group = client.service_groups().get(13)?;
println!("{}", service_group.name);

POST/servicegroups

client.service_groups.create()client.service_groups().create()

Create a service group

Creates a reusable service group master-data record. Requires the "edit masterdata" permission for the service planning domain.

ParameterTypOrtPflichtBeschreibung
campus_id"campusId"Optional[int]Option<i64>BodyID of an existing campus, or null for no campus association.
description"description"Optional[str]Option<String>BodyDescription of the service group.
name"name"strStringBodyjaName of a category of service roles, for example Technical team.
only_visible_in_campus_filter"onlyVisibleInCampusFilter"boolBodyShow this service group only when filtering by its campus.
sort_key"sortKey"inti64BodyDisplay order. Lists are sorted by sortKey and then name, both ascending.
view_all"viewAll"boolBodyMake this service group visible through the general service-group viewing permissions.

Rückgabe ServiceGroup

result = client.service_groups.create(name="Hauskreis Nord")
print(result.name)
let body = models::ServiceGroupCreate {
    name: "Hauskreis Nord".into(),
    ..Default::default()
};
let result = client.service_groups().create(&body)?;
println!("{}", result.name);

PUT/servicegroups/{serviceGroupId}

client.service_groups.update()client.service_groups().update()

Update a service group

Requires the "edit masterdata" permission for the service planning domain.

ParameterTypOrtPflichtBeschreibung
service_group_idintimpl DisplayPfadjaID of a service group
campus_id"campusId"Optional[int]Option<i64>BodyID of an existing campus, or null for no campus association.
description"description"Optional[str]Option<String>BodyDescription of the service group.
name"name"strStringBodyjaName of a category of service roles, for example Technical team.
only_visible_in_campus_filter"onlyVisibleInCampusFilter"boolBodyShow this service group only when filtering by its campus.
sort_key"sortKey"inti64BodyDisplay order. Lists are sorted by sortKey and then name, both ascending.
view_all"viewAll"boolBodyMake this service group visible through the general service-group viewing permissions.

Rückgabe ServiceGroup

result = client.service_groups.update(13, name="Hauskreis Nord")
print(result.name)
let body = models::ServiceGroupUpdate {
    name: "Hauskreis Nord".into(),
    ..Default::default()
};
let result = client.service_groups().update(13, &body)?;
println!("{}", result.name);

DELETE/servicegroups/{serviceGroupId}

client.service_groups.delete()client.service_groups().delete()

Delete a service group

Deletes the service group master-data record through the dependency-aware deletion service. A dependency conflict returns 409. Requires the "edit masterdata" permission for the service planning domain.

ParameterTypOrtPflichtBeschreibung
service_group_idintimpl DisplayPfadjaID of a service group

Rückgabe None()

client.service_groups.delete(13)
client.service_groups().delete(13)?;

GET/services

client.services.list()client.services().list()

Get all services

Returns all services as an unpaginated list, sorted by sortKey and then name, both ascending.

Rückgabe List[Service]Vec<Service>

for service in client.services.list():
    print(service.name)
for service in client.services().list()? {
    println!("{}", service.name);
}

GET/services/{serviceId}

client.services.get()client.services().get()

Get a service

Returns the reusable service master-data record with the specified ID.

ParameterTypOrtPflichtBeschreibung
service_idintimpl DisplayPfadjaID of a reusable service role from /services

Rückgabe Service

service = client.services.get(2)
print(service.name)
let service = client.services().get(2)?;
println!("{}", service.name);

POST/services

client.services.create()client.services().create()

Create a service

Creates a reusable service master-data record. Requires the "edit masterdata" permission for the service planning domain.

18 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
allow_chat"allowChat"boolBodyEnable chat for this service.
allow_comment_on_confirmation"allowCommentOnConfirmation"boolBodyAllow a comment when confirming a service request.
allow_control_live_agenda"allowControlLiveAgenda"boolBodyAllow persons assigned to this service to control the live agenda.
allow_decline"allowDecline"boolBodyAllow assigned persons to decline service requests.
allow_exchange"allowExchange"boolBodyAllow assigned persons to request an exchange of their service assignment.
cal_text_template"calTextTemplate"Optional[str]Option<String>BodyTemplate for the calendar text of this service.
comment"comment"Optional[str]Option<String>BodyDeprecated input alias for description.
description"description"Optional[str]Option<String>BodyDescription of the role.
group_ids"groupIds"List[int]Vec<i64>BodyIDs of connected person groups used for service planning.
hide_person_name"hidePersonName"boolBodyHide assigned persons from viewers without the service or service-group permissions needed to see them.
name"name"strStringBodyjaName of the planning role, for example Lead vocals.
only_assign_from_groups"onlyAssignFromGroups"boolBodyRestrict assignment candidates to the connected person groups.
send_reminder_mails"sendReminderMails"boolBodyEnable reminder emails for service assignments.
send_service_request_emails"sendServiceRequestEmails"boolBodyEnable emails for service requests.
service_group_id"serviceGroupId"inti64BodyjaID of the existing service group that organizes this role, for example Music or Technical team.
sort_key"sortKey"inti64BodyDisplay order. Lists are sorted by sortKey and then name, both ascending.
standard"standard"boolBodyWhether this service is marked as a standard service for event planning.
tag_ids"tagIds"List[int]Vec<i64>BodyIDs of connected tags used for service planning.

Rückgabe Service

result = client.services.create(name="Hauskreis Nord", service_group_id=42)
print(result.name)
let body = models::ServiceCreate {
    name: "Hauskreis Nord".into(),
    service_group_id: 42,
    ..Default::default()
};
let result = client.services().create(&body)?;
println!("{}", result.name);

PUT/services/{serviceId}

client.services.update()client.services().update()

Update a service

Update a service role. Requires the "edit masterdata" permission for the service planning domain.

19 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
service_idintimpl DisplayPfadjaID of a reusable service role from /services
allow_chat"allowChat"boolBodyEnable chat for this service.
allow_comment_on_confirmation"allowCommentOnConfirmation"boolBodyAllow a comment when confirming a service request.
allow_control_live_agenda"allowControlLiveAgenda"boolBodyAllow persons assigned to this service to control the live agenda.
allow_decline"allowDecline"boolBodyAllow assigned persons to decline service requests.
allow_exchange"allowExchange"boolBodyAllow assigned persons to request an exchange of their service assignment.
cal_text_template"calTextTemplate"Optional[str]Option<String>BodyTemplate for the calendar text of this service.
comment"comment"Optional[str]Option<String>BodyDeprecated input alias for description.
description"description"Optional[str]Option<String>BodyDescription of the role.
group_ids"groupIds"List[int]Vec<i64>BodyIDs of connected person groups used for service planning.
hide_person_name"hidePersonName"boolBodyHide assigned persons from viewers without the service or service-group permissions needed to see them.
name"name"strStringBodyjaName of the planning role, for example Lead vocals.
only_assign_from_groups"onlyAssignFromGroups"boolBodyRestrict assignment candidates to the connected person groups.
send_reminder_mails"sendReminderMails"boolBodyEnable reminder emails for service assignments.
send_service_request_emails"sendServiceRequestEmails"boolBodyEnable emails for service requests.
service_group_id"serviceGroupId"inti64BodyjaID of the existing service group that organizes this role, for example Music or Technical team.
sort_key"sortKey"inti64BodyDisplay order. Lists are sorted by sortKey and then name, both ascending.
standard"standard"boolBodyWhether this service is marked as a standard service for event planning.
tag_ids"tagIds"List[int]Vec<i64>BodyIDs of connected tags used for service planning.

Rückgabe Service

result = client.services.update(2, name="Hauskreis Nord", service_group_id=42)
print(result.name)
let body = models::ServiceUpdate {
    name: "Hauskreis Nord".into(),
    service_group_id: 42,
    ..Default::default()
};
let result = client.services().update(2, &body)?;
println!("{}", result.name);

DELETE/services/{serviceId}

client.services.delete()client.services().delete()

Delete a service

Deletes the service master-data record through the dependency-aware deletion service. A dependency conflict returns 409. Requires the "edit masterdata" permission for the service planning domain.

ParameterTypOrtPflichtBeschreibung
service_idintimpl DisplayPfadjaID of a reusable service role from /services

Rückgabe None()

client.services.delete(2)
client.services().delete(2)?;

GET/agendatemplates

client.agenda_templates.list()client.agenda_templates().list()

Get all agenda templates

Returns every agenda template visible to the caller, including its items. Visibility requires a super administrator or one of "view agenda", "edit agenda" or "edit agenda templates" for the template calendar. Template responses use the Agenda schema: name is the stored template name, item start values are null and startTimes objects are empty.

Rückgabe List[Agenda]Vec<Agenda>

for agenda_template in client.agenda_templates.list():
    print(agenda_template.name)
for agenda_template in client.agenda_templates().list()? {
    println!("{:?}", agenda_template.name);
}

GET/agendatemplates/{agendaId}

client.agenda_templates.get()client.agenda_templates().get()

Get agenda template

Returns one agenda template with its complete ordered item list. An ID belonging to an event agenda is not a template and returns 404. Visibility requires a super administrator or one of "view agenda", "edit agenda" or "edit agenda templates" for the template calendar. Template responses use the Agenda schema: name is the stored template name, item start values are null and startTimes objects are empty.

ParameterTypOrtPflichtBeschreibung
agenda_idintimpl DisplayPfadjaID of agenda

Rückgabe Agenda

agenda_template = client.agenda_templates.get(35)
print(agenda_template.name)
let agenda_template = client.agenda_templates().get(35)?;
println!("{:?}", agenda_template.name);

POST/agendatemplates

client.agenda_templates.create()client.agenda_templates().create()

Create agenda template

Creates a reusable agenda template and returns HTTP 200 with its complete representation. The caller must be a super administrator or have "edit agenda templates" for the supplied calendar. Items are optional and new templates start unlocked. Template responses use the Agenda schema: name is the stored template name, item start values are null and startTimes objects are empty.

ParameterTypOrtPflichtBeschreibung
calendar_id"calendarId"inti64BodyjaCalendar that determines template visibility and editing permissions.
event_start_position"eventStartPosition"inti64BodyZero-based index in the complete item list where the event begins when this template is copied.
items"items"List[Union[AgendaItemInputHeader, AgendaItemInputSong, AgendaItemInputText]]Vec<serde_json::Value>BodyInitial template items in their intended order.
name"name"strStringBodyjaTemplate name.
series"series"Optional[str]Option<String>BodyOptional free-text series name.

Rückgabe Agenda

result = client.agenda_templates.create(calendar_id=1, name="Sunday Service Template")
print(result.name)
let body = models::AgendaTemplateCreate {
    calendar_id: 1,
    name: "Sunday Service Template".into(),
    ..Default::default()
};
let result = client.agenda_templates().create(&body)?;
println!("{:?}", result.name);

PUT/agendatemplates/{agendaId}

client.agenda_templates.update()client.agenda_templates().update()

Update agenda template

Updates the template metadata and, when supplied, replaces its complete item list. Existing item IDs may be supplied once each to retain those items. The template must be unlocked. Requires a super administrator or "edit agenda templates" for the template's existing calendar.

ParameterTypOrtPflichtBeschreibung
agenda_idintimpl DisplayPfadjaID of agenda
calendar_id"calendarId"inti64BodyjaCalendar that determines template visibility and editing permissions.
event_start_position"eventStartPosition"inti64BodyZero-based index in the complete item list where the event begins when this template is copied.
items"items"List[AgendaItemListUpdate]Vec<AgendaItemListUpdate>BodyComplete replacement list in the intended order.
name"name"strStringBodyjaTemplate name.
series"series"Optional[str]Option<String>BodyOptional free-text series name.

Rückgabe Agenda

result = client.agenda_templates.update(35, calendar_id=1, name="Sunday Service Template")
print(result.name)
let body = models::AgendaTemplateUpdate {
    calendar_id: 1,
    name: "Sunday Service Template".into(),
    ..Default::default()
};
let result = client.agenda_templates().update(35, &body)?;
println!("{:?}", result.name);

DELETE/agendatemplates/{agendaId}

client.agenda_templates.delete()client.agenda_templates().delete()mit Filtern: .delete_with(&DeleteAgendatemplatesAgendaIdQuery)

Delete agenda template

Deletes an unlocked agenda template. Previously copied event agendas retain their independent content. Requires a super administrator or "edit agenda templates" for the template calendar. Passing dryRun=true still deletes the template; this endpoint does not offer a deletion preview.

ParameterTypOrtPflichtBeschreibung
agenda_idintimpl DisplayPfadjaID of agenda
dry_runboolQueryAccepted but ignored.

Rückgabe None()

client.agenda_templates.delete(35)
client.agenda_templates().delete(35)?;

POST/agendatemplates/{agendaId}/export*

client.agenda_templates.export()client.agenda_templates().export()Query: PostAgendatemplatesAgendaIdExportQuery

Export agenda template

Generates a presenter import archive from an agenda template. Requires a super administrator or "view agenda", "edit agenda" or "edit agenda templates" for its calendar. Locked and unlocked agendas can be exported. Exports of unlocked agendas have a DRAFT label in the generated export name.

ParameterTypOrtPflichtBeschreibung
agenda_idintimpl DisplayPfadjaID of agenda
formatstrStringQueryjaTarget presenter format.
append_arrangement"appendArrangement"boolBodyjaAppend the selected arrangement name to exported song captions and generated fallback file names.
export_songs"exportSongs"boolBodyjaInclude available song files for the target software.
with_category"withCategory"boolBodyjaFor SONG_BEAMER with exportSongs=false, prefix generated song file references with the song category as a directory.

Rückgabe AgendaExport

agenda_template = client.agenda_templates.export(
    35,
    format="SONG_BEAMER",
    append_arrangement=True,
    export_songs=True,
    with_category=False,
)
print(agenda_template.url)
let query = PostAgendatemplatesAgendaIdExportQuery {
    format: Some("SONG_BEAMER".into()),
    ..Default::default()
};
let body = models::AgendaExportCreate {
    append_arrangement: true,
    export_songs: true,
    with_category: false,
    ..Default::default()
};
let agenda_template = client.agenda_templates().export(35, &query, &body)?;
println!("{}", agenda_template.url);

POST/agendatemplates/{agendaId}/items

client.agenda_templates.items.create()client.agenda_templates().items().create()mit Filtern: .create_with(&PostAgendatemplatesAgendaIdItemsQuery)

Create agenda template item

Adds a header, text or song item to an existing agenda template. Without before_id or after_id, the new item is appended. Use at most one of before_id and after_id, referring to an item in the same template. Relative positioning can adjust eventStartPosition. Requires a super administrator or "edit agenda templates" for the template calendar.

ParameterTypOrtPflichtBeschreibung
agenda_idintimpl DisplayPfadjaID of agenda
before_idinti64QueryPlace the item before this existing item in the same agenda.
after_idinti64QueryPlace the item after this existing item in the same agenda.
sort_keyinti64QueryAccepted and validated as an integer, but not applied by the item service.
bodyUnion[AgendaItemInputHeader, AgendaItemInputSong, AgendaItemInputText]serde_json::ValueBodyja

Rückgabe Union[AgendaItemText, AgendaItemSong, AgendaItemHeader]serde_json::Value

result = client.agenda_templates.items.create(
    35,
    body=ct.models.AgendaItemInputHeader.model_validate({"type": "header"}),
)
print(result)
let body = serde_json::json!({
    "type": "header"
});
let result = client.agenda_templates().items().create(35, &body)?;
println!("{:?}", result);

PUT/agendatemplates/{agendaId}/items/{itemId}

client.agenda_templates.items.update()client.agenda_templates().items().update()mit Filtern: .update_with(&PutAgendatemplatesAgendaIdItemsItemIdQuery)veraltet

Update agenda template item

Deprecated; use PATCH /agendatemplates/{agendaId}/items/{itemId} for partial updates. Updates one item in an agenda template. The item must belong to this template. Without before_id or after_id its position is retained. Moving an item still requires type and, for a song, arrangementId; this is not a position-only patch. Requires a super administrator or "edit agenda templates" for the template calendar.

ParameterTypOrtPflichtBeschreibung
agenda_idintimpl DisplayPfadjaID of agenda
item_idintimpl DisplayPfadjaID of agenda item
before_idinti64QueryPlace the item before this existing item in the same agenda.
after_idinti64QueryPlace the item after this existing item in the same agenda.
sort_keyinti64QueryAccepted and validated as an integer, but not applied by the item service.
bodyUnion[AgendaItemInputHeader, AgendaItemInputSong, AgendaItemInputText]serde_json::ValueBodyja

Rückgabe Union[AgendaItemText, AgendaItemSong, AgendaItemHeader]serde_json::Value

result = client.agenda_templates.items.update(
    35,
    123,
    body=ct.models.AgendaItemInputHeader.model_validate({"type": "header"}),
)
print(result)
let body = serde_json::json!({
    "type": "header"
});
let result = client.agenda_templates().items().update(35, 123, &body)?;
println!("{:?}", result);

PATCH/agendatemplates/{agendaId}/items/{itemId}*

client.agenda_templates.items.patch()client.agenda_templates().items().patch()mit Filtern: .patch_with(&PatchAgendatemplatesAgendaIdItemsItemIdQuery)

Partially update agenda template item

Partially updates or moves one item in an unlocked agenda template. Omitted fields and, without a position reference, item order are preserved. Requires a super administrator or "edit agenda templates" for the template calendar.

14 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
agenda_idintimpl DisplayPfadjaID of agenda
item_idintimpl DisplayPfadjaID of agenda item
before_idinti64QueryPlace the item before this existing item in the same agenda.
after_idinti64QueryPlace the item after this existing item in the same agenda.
after_id_2"after_id"inti64BodyID of the item to place this item after, in the same agenda.
arrangement_id"arrangementId"Optional[int]Option<i64>BodySelected song arrangement.
before_id_2"before_id"inti64BodyID of the item to place this item before, in the same agenda.
duration"duration"inti64BodyDuration in seconds. For headers, zero selects automatic calculation from visible section items; a positive value overrides it.
event_start_position"eventStartPosition"inti64BodyNumber of items before the event begins after this move.
note"note"Optional[str]Option<String>Body
responsible"responsible"Optional[str]Option<String>BodyFree text with optional service placeholders.
service_group_notes"serviceGroupNotes"List[AgendaServiceGroupNoteCreate]Vec<AgendaServiceGroupNoteCreate>BodyReplaces all service-group notes for the item.
title"title"Optional[str]Option<String>Body
type_"type"strStringBody

Rückgabe Union[AgendaItemText, AgendaItemSong, AgendaItemHeader]serde_json::Value

result = client.agenda_templates.items.patch(35, 123, title="Opening song")
print(result)
let body = models::AgendaItemPatch {
    title: Some(Some("Opening song".into())),
    ..Default::default()
};
let result = client.agenda_templates().items().patch(35, 123, &body)?;
println!("{:?}", result);

DELETE/agendatemplates/{agendaId}/items/{itemId}

client.agenda_templates.items.delete()client.agenda_templates().items().delete()

Delete agenda template item

Removes one item from the template, including its service-group notes. Other items remain. Repeating the deletion returns 404 because the item no longer exists. Requires a super administrator or "edit agenda templates" for the template calendar.

ParameterTypOrtPflichtBeschreibung
agenda_idintimpl DisplayPfadjaID of agenda
item_idintimpl DisplayPfadjaID of agenda item

Rückgabe None()

client.agenda_templates.items.delete(35, 123)
client.agenda_templates().items().delete(35, 123)?;

PUT/agendatemplates/{agendaId}/items/{itemId}/servicegroups/{serviceGroupId}*

client.agenda_templates.items.service_groups.update()client.agenda_templates().items().service_groups().update()

Add or update service group note for agenda template item

Creates or replaces the note for one service group on a template item. Notes for other service groups and the remaining item content are retained. Template reads return service-group notes without filtering by service-group visibility. Requires a super administrator or "edit agenda templates" for the template calendar.

ParameterTypOrtPflichtBeschreibung
agenda_idintimpl DisplayPfadjaID of agenda
item_idintimpl DisplayPfadjaID of agenda item
service_group_idintimpl DisplayPfadjaID of a service group
note"note"Optional[str]Option<String>BodyNote text for the service group.

Rückgabe None()

client.agenda_templates.items.service_groups.update(
    35,
    123,
    13,
    note="Remember to bring the sheet music",
)
let body = models::AgendaServiceGroupNoteUpdate {
    note: Some(Some("Remember to bring the sheet music".into())),
    ..Default::default()
};
client.agenda_templates().items().service_groups().update(35, 123, 13, &body)?;

DELETE/agendatemplates/{agendaId}/items/{itemId}/servicegroups/{serviceGroupId}*

client.agenda_templates.items.service_groups.delete()client.agenda_templates().items().service_groups().delete()

Delete service group note from agenda template item

Removes the note for one service group on a template item. An already absent note still returns 204; an absent item returns 404. Notes for other service groups and the remaining item content are retained. Template reads return service-group notes without filtering by service-group visibility. Requires a super administrator or "edit agenda templates" for the template calendar.

ParameterTypOrtPflichtBeschreibung
agenda_idintimpl DisplayPfadjaID of agenda
item_idintimpl DisplayPfadjaID of agenda item
service_group_idintimpl DisplayPfadjaID of a service group

Rückgabe None()

client.agenda_templates.items.service_groups.delete(35, 123, 13)
client.agenda_templates().items().service_groups().delete(35, 123, 13)?;

POST/agendas/send*

client.agendas.send()client.agendas().send()veraltet

Send agenda email to recipients

Deprecated compatibility endpoint for POST /events/send. Recipients are filtered to selected participants in visible service groups or other selected people the sender may view and the response reports the effective scope. sendCopyToMe can add the sender. Events do not have to share an agenda. Agenda links are included for events whose agenda the sender may view.

ParameterTypOrtPflichtBeschreibung
body"body"strStringBodyjaHTML email body. ChurchTools appends buttons for all supplied events and any requested, available agenda and file links.
event_ids"eventIds"List[int]Vec<i64>BodyjaEvents used to resolve participating recipients and message links.
recipients"recipients"List[int]Vec<i64>BodyjaSelected person IDs. Only selected participants in visible service groups of the loaded events, or selected people the sender may otherwise view, receive the message.
send_copy_to_me"sendCopyToMe"boolBodyAlso include the currently logged-in person as a recipient, even if their ID is absent from recipients.
subject"subject"strStringBodyjaEmail subject.
append_agenda_button"appendAgendaButton"boolBodyAppend links for supplied events that have an agenda and for whose calendar the sender has "view agenda" permission.
files"files"List[int]Vec<i64>BodyFile IDs to list as links in the message body.

Rückgabe EventMailSendResult

agenda = client.agendas.send(
    body="<p>Please review the updated agenda for Sunday.</p>",
    event_ids=[31, 32],
    recipients=[40, 41],
    subject="Updated Sunday agenda",
)
print(agenda)
let body = models::AgendaMailCreate {
    body: "<p>Please review the updated agenda for Sunday.</p>".into(),
    event_ids: vec![31, 32],
    recipients: vec![40, 41],
    subject: "Updated Sunday agenda".into(),
    ..Default::default()
};
let agenda = client.agendas().send(&body)?;
println!("{:?}", agenda);

GET/events/{eventId}/agenda/songs

client.events.agenda.list_songs()client.events().agenda().list_songs()

Get songs referenced by an agenda

Returns the distinct songs referenced by song items with an assigned arrangement in the event's agenda. Includes songs from positions hidden for this event because the complete shared agenda is inspected. Multiple positions or arrangements referring to one song produce one song record. Each record includes all arrangements of that song, not only the arrangement selected in the agenda.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event

Rückgabe List[Song]Vec<Song>

for song in client.events.agenda.list_songs(42):
    print(song.name)
for song in client.events().agenda().list_songs(42)? {
    println!("{}", song.name);
}

GET/events/{eventId}/agenda

client.events.agenda.get()client.events().agenda().get()

Get agenda for event

Returns the event's running plan, including all ordered items, shared lock state and calculated times for linked events. Header, text and song items use different response fields; hidden items remain in items with a null entry in startTimes. Responsibility placeholders are resolved for the requested event and service-group notes are visibility-filtered.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event

Rückgabe Agenda

agenda = client.events.agenda.get(42)
print(agenda.name)
let agenda = client.events().agenda().get(42)?;
println!("{:?}", agenda.name);

PUT/events/{eventId}/agenda*

client.events.agenda.update()client.events().agenda().update()mit Filtern: .update_with(&PutEventsIdAgendaQuery)

Create or update agenda

Creates an agenda for an event that has none, or updates its existing agenda. The operation always returns 200. Supply calendarId when creating without a copy source. On update, the agenda must be unlocked; changes to a shared agenda affect every linked event. Requires agenda editing permission for the target and viewing permission for a selected source agenda or template.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
template_idinti64QueryAgenda template to copy.
event_id_2event_idinti64QueryEvent whose agenda should be copied.
bodyUnion[AgendaCreate, AgendaUpdate]serde_json::ValueBody

Rückgabe Agenda

result = client.events.agenda.update(42)
print(result.name)
let body = serde_json::json!({});
let result = client.events().agenda().update(42, &body)?;
println!("{:?}", result.name);

DELETE/events/{eventId}/agenda*

client.events.agenda.delete()client.events().agenda().delete()

Detach the agenda from an event

Removes only the link between the event and its agenda. Other events sharing this agenda retain their links and content. If no event links remain, the unused agenda is cleaned up later. A locked agenda can also be detached. Requires agenda editing access for the event.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event

Rückgabe None()

client.events.agenda.delete(42)
client.events().agenda().delete(42)?;

POST/events/{eventId}/agenda/export*

client.events.agenda.export()client.events().agenda().export()Query: PostEventsIdAgendaExportQuery

Export event agenda

Generates a presenter import archive for an event agenda. Requires a super administrator, an event administrator, "view agenda" or "edit agenda" for the event calendar, or involvement in the event. The current exporters use all items from the shared agenda, including items hidden for the requested event; the archive is not filtered to that event's visible positions. Locked and unlocked agendas can be exported.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
formatstrStringQueryjaTarget presenter format.
append_arrangement"appendArrangement"boolBodyjaAppend the selected arrangement name to exported song captions and generated fallback file names.
export_songs"exportSongs"boolBodyjaInclude available song files for the target software.
with_category"withCategory"boolBodyjaFor SONG_BEAMER with exportSongs=false, prefix generated song file references with the song category as a directory.

Rückgabe AgendaExport

agenda = client.events.agenda.export(
    42,
    format="SONG_BEAMER",
    append_arrangement=True,
    export_songs=True,
    with_category=False,
)
print(agenda.url)
let query = PostEventsIdAgendaExportQuery {
    format: Some("SONG_BEAMER".into()),
    ..Default::default()
};
let body = models::AgendaExportCreate {
    append_arrangement: true,
    export_songs: true,
    with_category: false,
    ..Default::default()
};
let agenda = client.events().agenda().export(42, &query, &body)?;
println!("{}", agenda.url);

POST/events/{eventId}/agenda/integrate*

client.events.agenda.integrate()client.events().agenda().integrate()Query: PostEventsIdAgendaIntegrateQuery

Integrate agenda with another event

Links the target event in the path to the existing agenda of the source event given by event_id. This creates a shared agenda, not a copy: item IDs, content and lock state are shared with all already linked events. Event dates remain independent and item times are calculated per event. Hidden-item settings of the source event are not copied to the new link. Requires agenda editing permission for the target and agenda viewing permission for the source.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
event_id_2event_idinti64QueryjaSource event ID. Its agenda is shared with the target event in the path; the two event IDs must differ.

Rückgabe Agenda

agenda = client.events.agenda.integrate(42, event_id_2=1337)
print(agenda.name)
let query = PostEventsIdAgendaIntegrateQuery {
    event_id: Some(1337),
    ..Default::default()
};
let agenda = client.events().agenda().integrate(42, &query)?;
println!("{:?}", agenda.name);

POST/events/{eventId}/agenda/lock

client.events.agenda.lock()client.events().agenda().lock()

Lock a shared agenda

Locks the event's agenda against content changes. Events integrated with this event share the same agenda and therefore the same lock state. This is an agenda state, not a temporary editing lock owned by the caller. Calling lock on an already locked agenda returns 403. Requires agenda editing access for the event.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event

Rückgabe None()

client.events.agenda.lock(42)
client.events().agenda().lock(42)?;

POST/events/{eventId}/agenda/unlock

client.events.agenda.unlock()client.events().agenda().unlock()

Unlock a shared agenda

Unlocks the event's agenda so its content can be edited again. The change applies to all events sharing the agenda. Calling unlock on an already unlocked agenda returns 403. Any caller with the required agenda editing permission can unlock it; the caller need not be the person who locked it. Requires agenda editing access for the event.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event

Rückgabe None()

client.events.agenda.unlock(42)
client.events().agenda().unlock(42)?;

POST/events/{eventId}/agenda/items

client.events.agenda.items.create()client.events().agenda().items().create()mit Filtern: .create_with(&PostEventsIdAgendaItemsQuery)

Create agenda item

Creates one header, text or song item in an existing, unlocked agenda. Without before_id or after_id, the item is appended. The agenda is not created automatically. Positioning references must belong to the same agenda. Requires agenda editing access for the event.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
before_idinti64QueryPlace the item before this existing item in the same agenda.
after_idinti64QueryPlace the item after this existing item in the same agenda.
sort_keyinti64QueryAccepted and validated as an integer, but not applied by the item service.
bodyUnion[AgendaItemInputHeader, AgendaItemInputSong, AgendaItemInputText]serde_json::ValueBodyja

Rückgabe Union[AgendaItemText, AgendaItemSong, AgendaItemHeader]serde_json::Value

result = client.events.agenda.items.create(
    42,
    body=ct.models.AgendaItemInputHeader.model_validate({"type": "header"}),
)
print(result)
let body = serde_json::json!({
    "type": "header"
});
let result = client.events().agenda().items().create(42, &body)?;
println!("{:?}", result);

PUT/events/{eventId}/agenda/items/{itemId}

client.events.agenda.items.update()client.events().agenda().items().update()mit Filtern: .update_with(&PutEventsIdAgendaItemsIdQuery)veraltet

Update agenda item

Deprecated; use PATCH /events/{eventId}/agenda/items/{itemId} for partial updates. Updates one item in an existing, unlocked agenda. The item must belong to the event's agenda. Without before_id or after_id, its order is preserved. To move an item, send its content fields as well: this is not a position-only PATCH. Requires agenda editing access for the event.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
item_idintimpl DisplayPfadjaID of agenda item
before_idinti64QueryPlace the item before this existing item in the same agenda.
after_idinti64QueryPlace the item after this existing item in the same agenda.
sort_keyinti64QueryAccepted and validated as an integer, but not applied by the item service.
bodyUnion[AgendaItemInputHeader, AgendaItemInputSong, AgendaItemInputText]serde_json::ValueBodyja

Rückgabe Union[AgendaItemText, AgendaItemSong, AgendaItemHeader]serde_json::Value

result = client.events.agenda.items.update(
    42,
    123,
    body=ct.models.AgendaItemInputHeader.model_validate({"type": "header"}),
)
print(result)
let body = serde_json::json!({
    "type": "header"
});
let result = client.events().agenda().items().update(42, 123, &body)?;
println!("{:?}", result);

PATCH/events/{eventId}/agenda/items/{itemId}*

client.events.agenda.items.patch()client.events().agenda().items().patch()mit Filtern: .patch_with(&PatchEventsEventIdAgendaItemsItemIdQuery)

Partially update agenda item

Partially updates or moves one item within the event's shared agenda. Omitted fields and, without a position reference, item order are preserved. Requires agenda editing access for the event. The agenda must be unlocked.

14 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
item_idintimpl DisplayPfadjaID of agenda item
before_idinti64QueryPlace the item before this existing item in the same agenda.
after_idinti64QueryPlace the item after this existing item in the same agenda.
after_id_2"after_id"inti64BodyID of the item to place this item after, in the same agenda.
arrangement_id"arrangementId"Optional[int]Option<i64>BodySelected song arrangement.
before_id_2"before_id"inti64BodyID of the item to place this item before, in the same agenda.
duration"duration"inti64BodyDuration in seconds. For headers, zero selects automatic calculation from visible section items; a positive value overrides it.
event_start_position"eventStartPosition"inti64BodyNumber of items before the event begins after this move.
note"note"Optional[str]Option<String>Body
responsible"responsible"Optional[str]Option<String>BodyFree text with optional service placeholders.
service_group_notes"serviceGroupNotes"List[AgendaServiceGroupNoteCreate]Vec<AgendaServiceGroupNoteCreate>BodyReplaces all service-group notes for the item.
title"title"Optional[str]Option<String>Body
type_"type"strStringBody

Rückgabe Union[AgendaItemText, AgendaItemSong, AgendaItemHeader]serde_json::Value

result = client.events.agenda.items.patch(42, 123, title="Opening song")
print(result)
let body = models::AgendaItemPatch {
    title: Some(Some("Opening song".into())),
    ..Default::default()
};
let result = client.events().agenda().items().patch(42, 123, &body)?;
println!("{:?}", result);

DELETE/events/{eventId}/agenda/items/{itemId}

client.events.agenda.items.delete()client.events().agenda().items().delete()

Delete an item from a shared agenda

Permanently removes an item from the agenda, affecting every event sharing that agenda. The agenda must be unlocked and the item must belong to the event's agenda. Repeating the deletion returns 404 once the item no longer exists. Requires agenda editing access for the event.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
item_idintimpl DisplayPfadjaID of agenda item

Rückgabe None()

client.events.agenda.items.delete(42, 123)
client.events().agenda().items().delete(42, 123)?;

POST/events/{eventId}/agenda/items/{itemId}/hide

client.events.agenda.items.hide()client.events().agenda().items().hide()

Hide an agenda item for one event

Omits an agenda item only for the event in the path. The item remains part of the shared agenda and its visibility in other integrated events is unchanged. It no longer contributes to the timing of this event. Agenda responses still contain the item: its startTimes entry for this event is null. Requires agenda editing access for the event.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
item_idintimpl DisplayPfadjaID of agenda item

Rückgabe None()

client.events.agenda.items.hide(42, 123)
client.events().agenda().items().hide(42, 123)?;

POST/events/{eventId}/agenda/items/{itemId}/unhide

client.events.agenda.items.unhide()client.events().agenda().items().unhide()

Show an agenda item for one event

Includes a previously hidden item in the event's agenda timing again. This only changes its visibility for the event in the path; other integrated events retain their visibility settings. The agenda must be unlocked and the item must belong to it. Showing an already visible item succeeds with 204. Requires agenda editing access for the event.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
item_idintimpl DisplayPfadjaID of agenda item

Rückgabe None()

client.events.agenda.items.unhide(42, 123)
client.events().agenda().items().unhide(42, 123)?;

PUT/events/{eventId}/agenda/items/{itemId}/servicegroups/{serviceGroupId}*

client.events.agenda.items.service_groups.update()client.events().agenda().items().service_groups().update()

Add or update service group note for agenda item

Creates or replaces the note for one service group on an existing agenda item. Other service-group notes and item content are retained. Requires agenda editing access for the event.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
item_idintimpl DisplayPfadjaID of agenda item
service_group_idintimpl DisplayPfadjaID of a service group
note"note"Optional[str]Option<String>BodyNote text for the service group.

Rückgabe None()

client.events.agenda.items.service_groups.update(
    42,
    123,
    13,
    note="Remember to bring the sheet music",
)
let body = models::AgendaServiceGroupNoteUpdate {
    note: Some(Some("Remember to bring the sheet music".into())),
    ..Default::default()
};
client.events().agenda().items().service_groups().update(42, 123, 13, &body)?;

DELETE/events/{eventId}/agenda/items/{itemId}/servicegroups/{serviceGroupId}*

client.events.agenda.items.service_groups.delete()client.events().agenda().items().service_groups().delete()

Delete service group note from agenda item

Removes only the note for the service group in the path. If that note is already absent, the request still succeeds with 204. Other service-group notes and item content are retained. The agenda must be unlocked and the item must belong to it. Requires agenda editing access for the event.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
item_idintimpl DisplayPfadjaID of agenda item
service_group_idintimpl DisplayPfadjaID of a service group

Rückgabe None()

client.events.agenda.items.service_groups.delete(42, 123, 13)
client.events().agenda().items().service_groups().delete(42, 123, 13)?;

GET/song/categories

client.song.categories.list()client.song().categories().list()

Get all song categories

Returns all song categories ordered by sortKey ascending and then name ascending. The list is unpaginated and has no visibility or campus filter.

Rückgabe List[SongCategory]Vec<SongCategory>

for category in client.song.categories.list():
    print(category.name)
for category in client.song().categories().list()? {
    println!("{}", category.name);
}

GET/song/categories/{songCategoryId}

client.song.categories.get()client.song().categories().get()

Get a song category by ID

Returns one song category without an additional record-level visibility check.

ParameterTypOrtPflichtBeschreibung
song_category_idintimpl DisplayPfadjaID of the song category

Rückgabe SongCategory

category = client.song.categories.get(1)
print(category.name)
let category = client.song().categories().get(1)?;
println!("{}", category.name);

POST/song/categories

client.song.categories.create()client.song().categories().create()

Create a song category

Creates a song category. Requires edit masterdata in churchservice. A supplied campus ID must exist.

ParameterTypOrtPflichtBeschreibung
campus_id"campusId"Optional[int]Option<i64>BodyExisting campus ID associated with the category.
name"name"strStringBodyjaConfigurable category name.
sort_key"sortKey"inti64BodyDisplay order; lower values come first.

Rückgabe SongCategory

result = client.song.categories.create(name="Worship")
print(result.name)
let body = models::SongCategoryCreate {
    name: "Worship".into(),
    ..Default::default()
};
let result = client.song().categories().create(&body)?;
println!("{}", result.name);

PUT/song/categories/{songCategoryId}

client.song.categories.update()client.song().categories().update()

Update song category

Replaces the song category. Requires edit masterdata in churchservice. A supplied campus ID must exist.

ParameterTypOrtPflichtBeschreibung
song_category_idintimpl DisplayPfadjaID of the song category
campus_id"campusId"Optional[int]Option<i64>BodyExisting campus ID associated with the category.
name"name"strStringBodyjaConfigurable category name.
sort_key"sortKey"inti64BodyDisplay order; lower values come first.

Rückgabe SongCategory

result = client.song.categories.update(1, name="Worship")
print(result.name)
let body = models::SongCategoryUpdate {
    name: "Worship".into(),
    ..Default::default()
};
let result = client.song().categories().update(1, &body)?;
println!("{}", result.name);

DELETE/song/categories/{songCategoryId}

client.song.categories.delete()client.song().categories().delete()

Delete song category

Deletes the song category. Requires edit masterdata in churchservice. Songs referencing this category prevent deletion.

ParameterTypOrtPflichtBeschreibung
song_category_idintimpl DisplayPfadjaID of the song category

Rückgabe None()

client.song.categories.delete(1)
client.song().categories().delete(1)?;

GET/song/sources

client.song.sources.list()client.song().sources().list()

Get all song sources

Returns all song sources ordered by sortKey ascending and then name ascending. The list is unpaginated and has no visibility or campus filter.

Rückgabe List[SongSource]Vec<SongSource>

for source in client.song.sources.list():
    print(source.name)
for source in client.song().sources().list()? {
    println!("{}", source.name);
}

GET/song/sources/{songSourceId}

client.song.sources.get()client.song().sources().get()

Get song source by ID

Returns one song source without an additional record-level visibility check.

ParameterTypOrtPflichtBeschreibung
song_source_idintimpl DisplayPfadjaID of the song source

Rückgabe SongSource

source = client.song.sources.get(1)
print(source.name)
let source = client.song().sources().get(1)?;
println!("{}", source.name);

POST/song/sources

client.song.sources.create()client.song().sources().create()

Create a song source

Creates a song source. Requires edit masterdata in churchservice.

ParameterTypOrtPflichtBeschreibung
name"name"strStringBodyjaConfigurable source name.
shorty"shorty"Optional[str]Option<String>BodyDisplay abbreviation.
sort_key"sortKey"inti64BodyDisplay order; lower values come first.

Rückgabe SongSource

result = client.song.sources.create(name="Community hymnal")
print(result.name)
let body = models::SongSourceCreate {
    name: "Community hymnal".into(),
    ..Default::default()
};
let result = client.song().sources().create(&body)?;
println!("{}", result.name);

PUT/song/sources/{songSourceId}

client.song.sources.update()client.song().sources().update()

Update song source

Replaces the song source. Requires edit masterdata in churchservice.

ParameterTypOrtPflichtBeschreibung
song_source_idintimpl DisplayPfadjaID of the song source
name"name"strStringBodyjaConfigurable source name.
shorty"shorty"Optional[str]Option<String>BodyDisplay abbreviation.
sort_key"sortKey"inti64BodyDisplay order; lower values come first.

Rückgabe SongSource

result = client.song.sources.update(1, name="Community hymnal")
print(result.name)
let body = models::SongSourceUpdate {
    name: "Community hymnal".into(),
    ..Default::default()
};
let result = client.song().sources().update(1, &body)?;
println!("{}", result.name);

DELETE/song/sources/{songSourceId}

client.song.sources.delete()client.song().sources().delete()

Delete song source

Deletes the song source. Requires edit masterdata in churchservice. Arrangements referencing this source prevent deletion.

ParameterTypOrtPflichtBeschreibung
song_source_idintimpl DisplayPfadjaID of the song source

Rückgabe None()

client.song.sources.delete(1)
client.song().sources().delete(1)?;

GET/songs

client.songs.list()client.songs().list()mit Filtern: .list_with(&GetSongsQuery)seitenweise

Get all songs

Returns songs in categories for which the caller has view songcategory or edit songcategory permission. Songs are sorted by name, then ID, both ascending. Filters are combined with AND; query matches title, author, or CCLI number. Category filters are intersected with permitted categories. No permitted or matching songs returns an empty list. Each song includes all arrangements, including those that do not match key_of_arrangement. Results are paginated.

ParameterTypOrtPflichtBeschreibung
song_category_idsList[int]Vec<i64>QueryRestrict to these song category IDs, intersected with permitted categories.
idsList[int]Vec<i64>QueryRestrict to these song IDs.
practiceboolQueryFilter the rehearsal flag: true selects songs marked for practice, false selects those not marked.
key_of_arrangementstrStringQueryFilter by arrangement key.
namestrStringQuerySubstring filter on the song title, combined with query and the other filters.
querystrStringQuerySubstring search in title, author, or CCLI number, combined with name and the other filters.
includeList[str]Vec<String>QueryOptional enrichments.
limitinti64QueryNumber of songs per page, from 1 to 200.

Rückgabe Paginator[Song]Vec<Song>

for song in client.songs.list():
    print(song.name)
for song in client.songs().list()? {
    println!("{}", song.name);
}

GET/songs/{songId}

client.songs.get()client.songs().get()mit Filtern: .get_with(&GetSongsSongIdQuery)

Get song

Returns a song with its category, musical details and all arrangements. Requires view songcategory or edit songcategory permission for its category. Use include=tags to additionally retrieve its tags. Arrangement selection for a particular event belongs to that event's agenda item.

ParameterTypOrtPflichtBeschreibung
song_idintimpl DisplayPfadjaID of song
includeList[str]Vec<String>QueryOptional enrichments.

Rückgabe Song

song = client.songs.get(42)
print(song.name)
let song = client.songs().get(42)?;
println!("{}", song.name);

POST/songs

client.songs.create()client.songs().create()

Create a new song

Creates a song in an existing category. Requires edit songcategory permission for that category. Inline arrangements use the same contract as the arrangement creation endpoint, including source and file assignments. The first arrangement becomes the default unless a later item requests that role. The response does not enrich tags.

ParameterTypOrtPflichtBeschreibung
author"author"Optional[str]Option<String>BodyAuthor or composer credits.
category_id"categoryId"inti64BodyjaID of an existing song category from GET /song/categories.
ccli"ccli"Optional[str]Option<String>BodyCCLI song number, stored as text.
copyright"copyright"Optional[str]Option<String>BodyCopyright or licensing notice.
name"name"strStringBodyjaSong title.
should_practice"shouldPractice"boolBodyMarks the song for rehearsal.
tags"tags"List[str]Vec<String>BodyTag names to assign. Existing tags are reused by name; missing tags are created.
arrangements"arrangements"List[ArrangementCreate]Vec<ArrangementCreate>BodyInitial musical versions.

Rückgabe Song

result = client.songs.create(category_id=1, name="Hallelujah")
print(result.name)
let body = models::SongCreate {
    category_id: 1,
    name: "Hallelujah".into(),
    ..Default::default()
};
let result = client.songs().create(&body)?;
println!("{}", result.name);

PUT/songs/{songId}

client.songs.update()client.songs().update()

Update song

Replaces the song's main details. Requires "edit songcategory" permission for both the current and requested category. When supplied, tags replace all current tag associations. Arrangements are not processed. The response is not enriched with tags.

ParameterTypOrtPflichtBeschreibung
song_idintimpl DisplayPfadjaID of song
author"author"Optional[str]Option<String>BodyAuthor or composer credits.
category_id"categoryId"inti64BodyjaID of an existing song category from GET /song/categories.
ccli"ccli"Optional[str]Option<String>BodyCCLI song number, stored as text.
copyright"copyright"Optional[str]Option<String>BodyCopyright or licensing notice.
name"name"strStringBodyjaSong title.
should_practice"shouldPractice"boolBodyMarks the song for rehearsal.
tags"tags"List[str]Vec<String>BodyTag names to assign. Existing tags are reused by name; missing tags are created.

Rückgabe Song

result = client.songs.update(42, category_id=1, name="Hallelujah")
print(result.name)
let body = models::SongUpdate {
    category_id: 1,
    name: "Hallelujah".into(),
    ..Default::default()
};
let result = client.songs().update(42, &body)?;
println!("{}", result.name);

DELETE/songs/{songId}

client.songs.delete()client.songs().delete()

Delete song

Deletes the song, its tag associations, arrangements and arrangement files. The tags themselves remain available. Requires edit songcategory permission for the song's category. Agenda items referring to deleted arrangements keep their item records but lose the arrangement reference.

ParameterTypOrtPflichtBeschreibung
song_idintimpl DisplayPfadjaID of song

Rückgabe None()

client.songs.delete(42)
client.songs().delete(42)?;

GET/songs/{songId}/arrangements

client.songs.arrangements.list()client.songs().arrangements().list()

Get arrangements of song

Returns every arrangement belonging to the song, including each arrangement's files and links. An arrangement is a musical version with its own key, tempo and source. The list is unpaginated, has no guaranteed order and includes meta.count. Requires view songcategory or edit songcategory permission for the song's category.

ParameterTypOrtPflichtBeschreibung
song_idintimpl DisplayPfadjaID of song

Rückgabe List[Arrangement]Vec<Arrangement>

for arrangement in client.songs.arrangements.list(42):
    print(arrangement.name)
for arrangement in client.songs().arrangements().list(42)? {
    println!("{}", arrangement.name);
}

GET/songs/{songId}/arrangements/{arrangementId}

client.songs.arrangements.get()client.songs().arrangements().get()

Get arrangement of song

Returns one arrangement with its musical details, source, files and links. Requires view songcategory or edit songcategory permission for the song's category. The arrangement must belong to the song in the path.

ParameterTypOrtPflichtBeschreibung
song_idintimpl DisplayPfadjaID of song
arrangement_idintimpl DisplayPfadjaID of arrangement

Rückgabe Arrangement

arrangement = client.songs.arrangements.get(42, 42)
print(arrangement.name)
let arrangement = client.songs().arrangements().get(42, 42)?;
println!("{}", arrangement.name);

POST/songs/{songId}/arrangements

client.songs.arrangements.create()client.songs().arrangements().create()

Create new arrangement for song

Creates a musical version of an existing song. Requires edit songcategory permission for the song's category. Existing files can be assigned with fileIds. The first arrangement becomes the default; otherwise isDefault: true replaces the current default.

11 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
song_idintimpl DisplayPfadjaID of song
beat"beat"Optional[str]Option<String>BodyFree-text time signature, such as 4/4 or 6/8.
description"description"Optional[str]Option<String>BodyNotes about performing this arrangement.
duration"duration"Optional[int]Option<i64>BodyExpected duration in seconds.
key"key"Optional[str]Option<String>BodyMusical key using the API spelling.
name"name"strStringBodyjaName distinguishing this version from other arrangements.
source_id"sourceId"Optional[int]Option<i64>BodyID of a song source, such as a hymnal or songbook, from GET /song/sources.
source_reference"sourceReference"Optional[str]Option<String>BodyLocation within the selected source, such as a song number or page.
tempo"tempo"Optional[int]Option<i64>BodyTempo in beats per minute.
file_ids"fileIds"List[int]Vec<i64>BodyIDs of existing files to assign to the arrangement.
is_default"isDefault"boolBodytrue makes this the song's only default arrangement.

Rückgabe Arrangement

result = client.songs.arrangements.create(42, name="Men Voicing")
print(result.name)
let body = models::ArrangementCreate {
    name: "Men Voicing".into(),
    ..Default::default()
};
let result = client.songs().arrangements().create(42, &body)?;
println!("{}", result.name);

PUT/songs/{songId}/arrangements/{arrangementId}

client.songs.arrangements.update()client.songs().arrangements().update()

Update arrangement of song

Replaces the musical details of an arrangement belonging to this song. Requires edit songcategory permission for the song's category. Files and links are unchanged. To change the default arrangement, use the dedicated default endpoint; isDefault is not processed here.

10 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
song_idintimpl DisplayPfadjaID of song
arrangement_idintimpl DisplayPfadjaID of arrangement
beat"beat"Optional[str]Option<String>BodyFree-text time signature, such as 4/4 or 6/8.
description"description"Optional[str]Option<String>BodyNotes about performing this arrangement.
duration"duration"Optional[int]Option<i64>BodyExpected duration in seconds.
key"key"Optional[str]Option<String>BodyMusical key using the API spelling.
name"name"strStringBodyjaName distinguishing this version from other arrangements.
source_id"sourceId"Optional[int]Option<i64>BodyID of a song source, such as a hymnal or songbook, from GET /song/sources.
source_reference"sourceReference"Optional[str]Option<String>BodyLocation within the selected source, such as a song number or page.
tempo"tempo"Optional[int]Option<i64>BodyTempo in beats per minute.

Rückgabe Arrangement

result = client.songs.arrangements.update(42, 42, name="Men Voicing")
print(result.name)
let body = models::ArrangementUpdate {
    name: "Men Voicing".into(),
    ..Default::default()
};
let result = client.songs().arrangements().update(42, 42, &body)?;
println!("{}", result.name);

PATCH/songs/{songId}/arrangements/{arrangementId}/default

client.songs.arrangements.patch_default()client.songs().arrangements().patch_default()

Make arrangement the default

Makes this arrangement the only default for the song by clearing the default flag on all of the song's other arrangements. Requires edit songcategory permission for the song's category. The arrangement must belong to this song. No request body is needed. Selecting an arrangement that is already the default also returns 204.

ParameterTypOrtPflichtBeschreibung
song_idintimpl DisplayPfadjaID of song
arrangement_idintimpl DisplayPfadjaID of arrangement

Rückgabe None()

client.songs.arrangements.patch_default(42, 42)
client.songs().arrangements().patch_default(42, 42)?;

DELETE/songs/{songId}/arrangements/{arrangementId}

client.songs.arrangements.delete()client.songs().arrangements().delete()

Delete arrangement

Deletes an arrangement belonging to this song and its attached files and links. Requires edit songcategory permission for the song's category. When arrangements remain, one is selected as the default and agenda items referring to the deleted arrangement are reassigned to it.

ParameterTypOrtPflichtBeschreibung
song_idintimpl DisplayPfadjaID of song
arrangement_idintimpl DisplayPfadjaID of arrangement

Rückgabe None()

client.songs.arrangements.delete(42, 42)
client.songs().arrangements().delete(42, 42)?;

POST/songs/{songId}/arrangements/{arrangementId}/files/{fileId}/transpose*

client.songs.arrangements.files.transpose()client.songs().arrangements().files().transpose()

Create a transposed arrangement audio file

Transposes an existing audio file by one to six semitones and saves a new file on the arrangement identified by arrangementId. The original file is retained. Processing is synchronous, so the response is sent after conversion and saving finish. Pitch is changed with tempo compensation to preserve the playback duration. The output retains the source filename extension and contains audio only. Supported formats depend on the server's FFmpeg installation; an unsupported or unreadable input causes an error. Each successful call creates a new file record. This does not update the arrangement's key or tempo metadata. Requires view permission for churchservice and edit permission for the source file; for song arrangement files, this is edit songcategory permission for the source song's category.

ParameterTypOrtPflichtBeschreibung
song_idintimpl DisplayPfadjaID of song
arrangement_idintimpl DisplayPfadjaID of arrangement
file_idintimpl DisplayPfadjaID of the file
transpose_interval"transpose-interval"strStringBodyjaPitch shift in semitones: up1 through up6 raise the pitch by one to six semitones, down1 through down6 lower it.

Rückgabe ArrangementFileTranspose

file = client.songs.arrangements.files.transpose(42, 42, 42, transpose_interval="up2")
print(file.id)
let body = models::ArrangementFileTransposeCreate {
    transpose_interval: "up2".into(),
    ..Default::default()
};
let file = client.songs().arrangements().files().transpose(42, 42, 42, &body)?;
println!("{}", file.id);

GET/bookings

client.bookings.list()client.bookings().list()Query: GetBookingsQuery

List booking occurrences

Returns occurrences overlapping the requested date range for the selected resources. The same recurring booking ID can appear more than once with different booking.calculated dates. from and to are inclusive local dates. Requires permission to view every selected resource. Booking details may be anonymized.

ParameterTypOrtPflichtBeschreibung
includeList[str]Vec<String>QueryOptional enrichments.
resource_idsList[int]Vec<i64>QueryjaIDs of resources to include.
querystrStringQuerySubstring search in booking titles; at least two characters after trimming.
person_idinti64QueryReturn bookings created by this person or made on their behalf.
status_idsList[int]Vec<i64>QueryBooking statuses to include.
from_fromdateNaiveDateQueryFirst included local date.
todateNaiveDateQueryLast included local date, on or after from.

Rückgabe List[BookingCalculatedWithIncludes]Vec<BookingCalculatedWithIncludes>

for booking in client.bookings.list(resource_ids=[42]):
    print(booking)
let query = GetBookingsQuery {
    resource_ids: Some(vec![42]),
    ..Default::default()
};
for booking in client.bookings().list(&query)? {
    println!("{:?}", booking);
}

GET/bookings/{bookingId}

client.bookings.get()client.bookings().get()mit Filtern: .get_with(&GetBookingsIdQuery)

Get a booking series

Returns the stored booking and every calculated occurrence of its series, indexed by local start date. Requires permission to view its resource. Booking details may be anonymized. Use include[] to request conflicts or involved persons.

ParameterTypOrtPflichtBeschreibung
booking_idintimpl DisplayPfadjaID of booking
includeList[str]Vec<String>QueryOptional enrichments.

Rückgabe BookingWithIncludes

booking = client.bookings.get(8)
print(booking)
let booking = client.bookings().get(8)?;
println!("{:?}", booking);

POST/bookings

client.bookings.create()client.bookings().create()

Create a resource booking

Creates an independent booking for one resource. Requires permission to create bookings with the requested status. Resources with needsAppointment=true return 422. Automatic approval and conflicts can change the returned statusId.

16 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.
quantity"quantity"inti64BodyNumber of resource units reserved by each occurrence.
description"description"Optional[str]Option<String>BodyBooking notes.
on_behalf_of_pid"onBehalfOfPid"Optional[int]Option<i64>BodyPerson for whom the booking is made.
resource_id"resourceId"inti64BodyjaResource to reserve, such as a room, vehicle or piece of equipment.
show_in_cal"showInCal"boolBodyjaWhether the booking is marked for display in the calendar.
status_id"statusId"inti64BodyjaBooking status: 1 = pending approval, 2 = approved, 3 = rejected.
subtitle"subtitle"Optional[str]Option<String>BodyOptional booking subtitle.
title"title"strStringBodyjaBooking title shown in resource planning.

Rückgabe BookingBase

result = client.bookings.create(
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
    resource_id=7,
    show_in_cal=True,
    status_id=1,
    title="Band rehearsal",
)
print(result.title)
let body = models::BookingCreate {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    resource_id: 7,
    show_in_cal: true,
    status_id: 1,
    title: "Band rehearsal".into(),
    ..Default::default()
};
let result = client.bookings().create(&body)?;
println!("{}", result.title);

PUT/bookings/{bookingId}

client.bookings.update()client.bookings().update()

Update a resource booking

Replaces an independent booking. For an appointment-linked booking, only statusId and description are processed; update its resource and schedule through the appointment APIs. Requires permission to update the booking. Automatic approval and conflicts can change the returned statusId.

ParameterTypOrtPflichtBeschreibung
booking_idintimpl DisplayPfadjaID of booking
bodyUnion[BookingStandaloneUpdate, BookingAppointmentUpdate]serde_json::ValueBodyja

Rückgabe BookingBase

result = client.bookings.update(
    8,
    body=ct.models.BookingStandaloneUpdate.model_validate({"endDate": "2026-09-20T09:30:00Z", "startDate": "2026-09-20T08:00:00Z", "resourceId": 7, "showInCal": True, "statusId": 1, "title": "Band rehearsal"}),
)
print(result.title)
let body = serde_json::json!({
    "endDate": "2026-09-20T09:30:00Z",
    "startDate": "2026-09-20T08:00:00Z",
    "resourceId": 7,
    "showInCal": true,
    "statusId": 1,
    "title": "Band rehearsal"
});
let result = client.bookings().update(8, &body)?;
println!("{}", result.title);

DELETE/bookings/{bookingId}

client.bookings.delete()client.bookings().delete()

Delete a booking series

Deletes the complete booking, including all occurrences. To remove only an occurrence, update the independent booking’s exceptions or the linked appointment. Allowed for the booking creator, users with permission to administer bookings for the resource, or its resource administrators.

ParameterTypOrtPflichtBeschreibung
booking_idintimpl DisplayPfadjaID of booking

Rückgabe None()

client.bookings.delete(8)
client.bookings().delete(8)?;

PUT/bookings/{bookingId}/{answer}*

client.bookings.answer()client.bookings().answer()

Answer a booking request

Changes the status of the entire booking: approve sets approved (2), reject sets rejected (3), and reset sets pending (1). cancel is a legacy alias for reject. Requires permission to update the booking to the target status.

ParameterTypOrtPflichtBeschreibung
booking_idintimpl DisplayPfadjaID of booking
answerstrimpl DisplayPfadjaStatus action. Prefer reject over the legacy cancel alias.

Rückgabe BookingBase

booking = client.bookings.answer(8, "approve")
print(booking.title)
let booking = client.bookings().answer(8, "approve")?;
println!("{}", booking.title);

POST/bookings/conflicts

client.bookings.preview_conflicts()client.bookings().preview_conflicts()

Preview conflicts for a new booking

Calculates overlapping occurrences of other pending or approved bookings for the proposed resource and schedule. Does not create a booking or reserve availability. Returns the conflicting occurrences, whose titles may be anonymized. Adjacent timed bookings do not conflict. Repeated overlaps can return the same conflicting occurrence more than once. Conflicts that ended before or at the start of today in the installation's timezone are excluded; ongoing and today's all-day occurrences are included.

10 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.
quantity"quantity"inti64BodyNumber of resource units reserved by each occurrence.
resource_id"resourceId"inti64BodyjaResource to reserve, such as a room, vehicle or piece of equipment.

Rückgabe List[BookingConflict]Vec<BookingConflict>

for booking in client.bookings.preview_conflicts(
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
    resource_id=7,
):
    print(booking.title)
let body = models::BookingConflictRequestBody {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    resource_id: 7,
    ..Default::default()
};
for booking in client.bookings().preview_conflicts(&body)? {
    println!("{}", booking.title);
}

POST/bookings/{bookingId}/conflicts

client.bookings.preview_conflicts_for()client.bookings().preview_conflicts_for()

Preview conflicts for an existing booking

Calculates conflicts for a replacement schedule using the stored booking’s resource. The booking itself is excluded; resourceId in the request is not used. Requires permission to update the booking. No changes are saved. Returns the conflicting occurrences, whose titles may be anonymized. Adjacent timed bookings do not conflict. Repeated overlaps can return the same conflicting occurrence more than once. Conflicts that ended before or at the start of today in the installation's timezone are excluded; ongoing and today's all-day occurrences are included.

10 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
booking_idintimpl DisplayPfadjaID of booking
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.
quantity"quantity"inti64BodyNumber of resource units reserved by each occurrence.

Rückgabe List[BookingConflict]Vec<BookingConflict>

for booking in client.bookings.preview_conflicts_for(
    8,
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
):
    print(booking.title)
let body = models::BookingConflictUpdate {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    ..Default::default()
};
for booking in client.bookings().preview_conflicts_for(8, &body)? {
    println!("{}", booking.title);
}

POST/bookings/{bookingId}*

client.bookings.split()client.bookings().split()

Split and replace a booking occurrence

Removes one date or the remainder of an independent series and creates a replacement booking. splitDate identifies the original occurrence. Appointment-linked bookings cannot be split here. Requires permission to update the booking. Automatic approval and conflicts can change the returned statusId.

19 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
booking_idintimpl DisplayPfadjaID of booking
additionals"additionals"List[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>Body
end_date"endDate"Union[datetime, date]DateOrDateTimeBodyjaEnd of the base occurrence.
exceptions"exceptions"List[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>Body
repeat_frequency"repeatFrequency"Optional[int]Option<i64>BodyInterval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_id"repeatId"inti64BodyRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option"repeatOption"Optional[int]Option<i64>BodyFor repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_until"repeatUntil"Optional[date]Option<NaiveDate>BodyInclusive last date of an automatic series.
start_date"startDate"Union[datetime, date]DateOrDateTimeBodyjaStart of the base occurrence.
quantity"quantity"inti64BodyNumber of resource units reserved by each occurrence.
description"description"Optional[str]Option<String>BodyBooking notes.
on_behalf_of_pid"onBehalfOfPid"Optional[int]Option<i64>BodyPerson for whom the booking is made.
resource_id"resourceId"inti64BodyjaResource to reserve, such as a room, vehicle or piece of equipment.
show_in_cal"showInCal"boolBodyjaWhether the booking is marked for display in the calendar.
status_id"statusId"inti64BodyjaBooking status: 1 = pending approval, 2 = approved, 3 = rejected.
subtitle"subtitle"Optional[str]Option<String>BodyOptional booking subtitle.
title"title"strStringBodyjaBooking title shown in resource planning.
split_date"splitDate"dateNaiveDateBodyjaLocal start date of the occurrence to remove or the first date to cut from the series.
split_until_end"splitUntilEnd"boolBodyjaFalse excludes splitDate only.

Rückgabe BookingBase

booking = client.bookings.split(
    8,
    end_date=dt.datetime(2026, 9, 20, 9, 30, tzinfo=dt.timezone.utc),
    start_date=dt.datetime(2026, 9, 20, 8, 0, tzinfo=dt.timezone.utc),
    resource_id=7,
    show_in_cal=True,
    status_id=1,
    title="Band rehearsal",
    split_date=dt.date(2026, 9, 20),
    split_until_end=False,
)
print(booking.title)
let body = models::BookingSplitCreate {
    end_date: DateOrDateTime::DateTime("2026-09-20T09:30:00Z".parse()?),
    start_date: DateOrDateTime::DateTime("2026-09-20T08:00:00Z".parse()?),
    resource_id: 7,
    show_in_cal: true,
    status_id: 1,
    title: "Band rehearsal".into(),
    split_date: "2026-09-20".parse()?,
    split_until_end: false,
    ..Default::default()
};
let booking = client.bookings().split(8, &body)?;
println!("{}", booking.title);

GET/resource/masterdata

client.resource.get_master_data()client.resource().get_master_data()mit Filtern: .get_master_data_with(&GetResourceMasterdataQuery)

Get resource planning master data

Returns all resource types ordered by sortKey and all resources visible to the current user. A resource is visible when the user has permission to view it or administer its bookings, or is listed in its adminIds. Resource types are not filtered, so some may have no visible resources. Use include[] to resolve resource administrators.

ParameterTypOrtPflichtBeschreibung
includeList[str]Vec<String>QueryOptional enrichment with person references for resource administrators.

Rückgabe ResourceMasterData

master_data = client.resource.get_master_data()
print(master_data)
let master_data = client.resource().get_master_data()?;
println!("{:?}", master_data);

GET/resourcetypes

client.resource_types.list()client.resource_types().list()

List resource types

Returns all resource categories, such as rooms or vehicles, without filtering by resource visibility. A type may have no resources visible to the reader.

Rückgabe List[ResourceType]Vec<ResourceType>

for resource_type in client.resource_types.list():
    print(resource_type.name)
for resource_type in client.resource_types().list()? {
    println!("{}", resource_type.name);
}

GET/resourcetypes/{resourceTypeId}

client.resource_types.get()client.resource_types().get()

Get a resource type

Returns the resource category, its labels and optional campus assignment. It does not include the resources belonging to the type.

ParameterTypOrtPflichtBeschreibung
resource_type_idintimpl DisplayPfadjaID of the resource category.

Rückgabe ResourceType

resource_type = client.resource_types.get(2)
print(resource_type.name)
let resource_type = client.resource_types().get(2)?;
println!("{}", resource_type.name);

POST/resourcetypes

client.resource_types.create()client.resource_types().create()

Create a resource type

Creates a category used to group resources. campusId optionally associates the type with an organizational campus.

ParameterTypOrtPflichtBeschreibung
campus_id"campusId"Optional[int]Option<i64>BodyAssociated campus, or null for no campus assignment.
name"name"strStringBodyjaSingular label for one resource of this type.
name_plural"namePlural"strStringBodyjaPlural label for resources of this type.
sort_key"sortKey"inti64BodyjaSort value for displaying resource types.

Rückgabe ResourceType

result = client.resource_types.create(name="Room", name_plural="Rooms", sort_key=1)
print(result.name)
let body = models::ResourceTypeCreate {
    name: "Room".into(),
    name_plural: "Rooms".into(),
    sort_key: 1,
    ..Default::default()
};
let result = client.resource_types().create(&body)?;
println!("{}", result.name);

PUT/resourcetypes/{resourceTypeId}

client.resource_types.update()client.resource_types().update()

Update a resource type

Replaces the resource category’s labels, sort value and campus assignment.

ParameterTypOrtPflichtBeschreibung
resource_type_idintimpl DisplayPfadjaID of the resource category.
campus_id"campusId"Optional[int]Option<i64>BodyAssociated campus, or null for no campus assignment.
name"name"strStringBodyjaSingular label for one resource of this type.
name_plural"namePlural"strStringBodyjaPlural label for resources of this type.
sort_key"sortKey"inti64BodyjaSort value for displaying resource types.

Rückgabe ResourceType

result = client.resource_types.update(2, name="Room", name_plural="Rooms", sort_key=1)
print(result.name)
let body = models::ResourceTypeUpdate {
    name: "Room".into(),
    name_plural: "Rooms".into(),
    sort_key: 1,
    ..Default::default()
};
let result = client.resource_types().update(2, &body)?;
println!("{}", result.name);

DELETE/resourcetypes/{resourceTypeId}

client.resource_types.delete()client.resource_types().delete()

Delete a resource type

Deletes a resource category.

ParameterTypOrtPflichtBeschreibung
resource_type_idintimpl DisplayPfadjaID of the resource category.

Rückgabe None()

client.resource_types.delete(2)
client.resource_types().delete(2)?;

GET/resources

client.resources.list()client.resources().list()mit Filtern: .list_with(&GetResourcesQuery)

List visible resources

Returns all resources visible to the current user. A resource is visible when the user has permission to view it or administer its bookings, or is listed in its adminIds. Use include[] to resolve administrators.

ParameterTypOrtPflichtBeschreibung
includeList[str]Vec<String>QueryOptional enrichment with person references for resource administrators.

Rückgabe List[Resource]Vec<Resource>

for resource in client.resources.list():
    print(resource.name)
for resource in client.resources().list()? {
    println!("{}", resource.name);
}

GET/resources/{resourceId}

client.resources.get()client.resources().get()mit Filtern: .get_with(&GetResourcesResourceIdQuery)

Get a resource

Returns one resource and its booking settings. A resource is visible when the user has permission to view it or administer its bookings, or is listed in its adminIds. Use include[] to resolve administrators.

ParameterTypOrtPflichtBeschreibung
resource_idintimpl DisplayPfadjaID of the individual resource.
includeList[str]Vec<String>QueryOptional enrichment with person references for resource administrators.

Rückgabe Resource

resource = client.resources.get(7)
print(resource.name)
let resource = client.resources().get(7)?;
println!("{}", resource.name);

GET/resources/{resourceId}/statistics

client.resources.get_statistics()client.resources().get_statistics()

Count pending booking occurrences

Returns the number of pending booking occurrences from now onward for this resource. Recurring bookings can contribute more than one occurrence. Candidate series are selected using a ten-year lookahead window, then expanded from now without an upper date limit. A resource is visible when the user has permission to view it or administer its bookings, or is listed in its adminIds.

ParameterTypOrtPflichtBeschreibung
resource_idintimpl DisplayPfadjaID of the individual resource.

Rückgabe ResourceStatistics

statistic = client.resources.get_statistics(7)
print(statistic.num_requested_bookings_in_future)
let statistic = client.resources().get_statistics(7)?;
println!("{}", statistic.num_requested_bookings_in_future);

POST/resources

client.resources.create()client.resources().create()

Create a resource

Creates an individual bookable resource. Returns 402 when the licensed resource limit is reached.

12 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
admin_ids"adminIds"List[int]Vec<i64>BodyPersons responsible for this resource.
description"description"Optional[str]Option<String>BodyAdditional information about the resource, such as capacity or available equipment.
i_cal_location"iCalLocation"Optional[str]Option<String>BodyLocation text used in the resource’s iCalendar export.
is_auto_accept"isAutoAccept"boolBodyAutomatically approves pending bookings when there are no conflicts.
is_virtual"isVirtual"boolBodyWhether this is a virtual resource.
location"location"Optional[str]Option<String>BodyInternal location of the resource.
name"name"strStringBodyjaName of the individual resource, for example a room or vehicle.
quantity"quantity"inti64BodyNumber of units available for simultaneous bookings.
random_string"randomString"Optional[str]Option<String>BodyAccess token used by the legacy public iCalendar export.
resource_type_id"resourceTypeId"inti64BodyjaResource type used to group this resource, such as rooms or vehicles.
sort_key"sortKey"inti64BodyjaSort value for displaying resources.
needs_appointment"needsAppointment"boolBodyRequires bookings to be linked to a calendar appointment.

Rückgabe Resource

result = client.resources.create(name="Main Hall", resource_type_id=2, sort_key=1)
print(result.name)
let body = models::ResourceCreate {
    name: "Main Hall".into(),
    resource_type_id: 2,
    sort_key: 1,
    ..Default::default()
};
let result = client.resources().create(&body)?;
println!("{}", result.name);

PUT/resources/{resourceId}

client.resources.update()client.resources().update()

Update a resource

Replaces the resource configuration.

13 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
resource_idintimpl DisplayPfadjaID of the individual resource.
admin_ids"adminIds"List[int]Vec<i64>BodyPersons responsible for this resource.
description"description"Optional[str]Option<String>BodyAdditional information about the resource, such as capacity or available equipment.
i_cal_location"iCalLocation"Optional[str]Option<String>BodyLocation text used in the resource’s iCalendar export.
is_auto_accept"isAutoAccept"boolBodyAutomatically approves pending bookings when there are no conflicts.
is_virtual"isVirtual"boolBodyWhether this is a virtual resource.
location"location"Optional[str]Option<String>BodyInternal location of the resource.
name"name"strStringBodyjaName of the individual resource, for example a room or vehicle.
quantity"quantity"inti64BodyNumber of units available for simultaneous bookings.
random_string"randomString"Optional[str]Option<String>BodyAccess token used by the legacy public iCalendar export.
resource_type_id"resourceTypeId"inti64BodyjaResource type used to group this resource, such as rooms or vehicles.
sort_key"sortKey"inti64BodyjaSort value for displaying resources.
needs_appointment"needsAppointment"boolBodyRequires bookings to be linked to a calendar appointment.

Rückgabe Resource

result = client.resources.update(7, name="Main Hall", resource_type_id=2, sort_key=1)
print(result.name)
let body = models::ResourceUpdate {
    name: "Main Hall".into(),
    resource_type_id: 2,
    sort_key: 1,
    ..Default::default()
};
let result = client.resources().update(7, &body)?;
println!("{}", result.name);

DELETE/resources/{resourceId}

client.resources.delete()client.resources().delete()

Delete a resource

Deletes the resource.

ParameterTypOrtPflichtBeschreibung
resource_idintimpl DisplayPfadjaID of the individual resource.

Rückgabe None()

client.resources.delete(7)
client.resources().delete(7)?;

GET/groups/{groupId}/absences

client.groups.list_absences()client.groups().list_absences()mit Filtern: .list_absences_with(&GetGroupsAbsencesQuery)

Fetch all absences for persons in a group

Returns absences for active, visible group members. Requires access to the group; member results are additionally restricted by manage absent or the internal group permission to view absences. Returns absences whose start is at or before to and whose end is at or after from. Absences ending exactly at midnight on the from date are also included, even if from specifies a later time that day. Dates use the application time zone; UTC timestamps are converted into it. Without filters the window starts at midnight two weeks ago and ends at midnight two weeks from today. The list is unpaginated and sorted by start; meta.count is the number returned.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
from_fromUnion[date, datetime]serde_json::ValueQueryStart of the overlap window.
toUnion[date, datetime]serde_json::ValueQueryEnd of the overlap window.
order_directionstrStringQueryOrder by absence start.
from_dateUnion[date, datetime]serde_json::ValueQueryLegacy alias for from.
to_dateUnion[date, datetime]serde_json::ValueQueryLegacy alias for to.

Rückgabe List[Absence]Vec<Absence>

for absence in client.groups.list_absences(42):
    print(absence.id)
for absence in client.groups().list_absences(42)? {
    println!("{}", absence.id);
}

GET/persons/{personId}/absences

client.persons.absences.list()client.persons().absences().list()mit Filtern: .list_with(&GetPersonsPersonIdAbsencesQuery)

Fetch all absences for a person

Returns this person’s absences that overlap the requested date range, sorted by start. Access requires the person themselves or "manage absent" or "churchservice +view absence" permission together with access to the person.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
from_fromUnion[date, datetime]serde_json::ValueQueryStart of the overlap window.
toUnion[date, datetime]serde_json::ValueQueryEnd of the overlap window.
order_directionstrStringQueryOrder by absence start.

Rückgabe List[Absence]Vec<Absence>

for absence in client.persons.absences.list(42):
    print(absence.id)
for absence in client.persons().absences().list(42)? {
    println!("{}", absence.id);
}

GET/persons/{personId}/absences/{id}

client.persons.absences.get()client.persons().absences().get()

Fetch one absence

Returns the absence belonging to the person. Access requires the person themselves or "manage absent" or "churchservice +view absence" permission together with access to the person.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
idintimpl DisplayPfadjaID of Entity

Rückgabe Absence

absence = client.persons.absences.get(42, 1)
print(absence.id)
let absence = client.persons().absences().get(42, 1)?;
println!("{}", absence.id);

POST/persons/{personId}/absences

client.persons.absences.create()client.persons().absences().create()

Create new absence for person

Creates an absence for the person. Access requires the person themselves or "manage absent" or "churchservice +view absence" permission together with access to the person.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
absence_reason_id"absenceReasonId"inti64BodyjaID of an existing, installation-specific absence reason.
comment"comment"Optional[str]Option<String>BodyComment about the absence.
end_date"endDate"Union[date, datetime]DateOrDateTimeBodyCalendar date (YYYY-MM-DD), interpreted at midnight in the application time zone, or a UTC timestamp ending in Z.
end_time"endTime"datetimeDateTime<Utc>BodyTakes precedence over endDate.
start_date"startDate"Union[date, datetime]DateOrDateTimeBodyCalendar date (YYYY-MM-DD), interpreted at midnight in the application time zone, or a UTC timestamp ending in Z.
start_time"startTime"datetimeDateTime<Utc>BodyTakes precedence over startDate.

Rückgabe Absence

result = client.persons.absences.create(42, absence_reason_id=1)
print(result.id)
let body = models::AbsenceCreate {
    absence_reason_id: 1,
    ..Default::default()
};
let result = client.persons().absences().create(42, &body)?;
println!("{}", result.id);

PUT/persons/{personId}/absences/{id}

client.persons.absences.update()client.persons().absences().update()

Update absence

Replaces an absence belonging to the person. Access requires the person themselves or "manage absent" or "churchservice +view absence" permission together with access to the person.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
idintimpl DisplayPfadjaID of Entity
absence_reason_id"absenceReasonId"inti64BodyjaID of an existing, installation-specific absence reason.
comment"comment"Optional[str]Option<String>BodyComment about the absence.
end_date"endDate"Union[date, datetime]DateOrDateTimeBodyCalendar date (YYYY-MM-DD), interpreted at midnight in the application time zone, or a UTC timestamp ending in Z.
end_time"endTime"datetimeDateTime<Utc>BodyTakes precedence over endDate.
start_date"startDate"Union[date, datetime]DateOrDateTimeBodyCalendar date (YYYY-MM-DD), interpreted at midnight in the application time zone, or a UTC timestamp ending in Z.
start_time"startTime"datetimeDateTime<Utc>BodyTakes precedence over startDate.

Rückgabe Absence

result = client.persons.absences.update(42, 1, absence_reason_id=1)
print(result.id)
let body = models::AbsenceUpdate {
    absence_reason_id: 1,
    ..Default::default()
};
let result = client.persons().absences().update(42, 1, &body)?;
println!("{}", result.id);

DELETE/persons/{personId}/absences/{id}

client.persons.absences.delete()client.persons().absences().delete()mit Filtern: .delete_with(&DeletePersonsPersonIdAbsencesIdQuery)

Delete absence

Deletes the absence belonging to the person. Access requires the person themselves or "manage absent" or "churchservice +view absence" permission together with access to the person.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryPerform the lookup without removing the absence.

Rückgabe None()

client.persons.absences.delete(42, 1)
client.persons().absences().delete(42, 1)?;

GET/tags/{domainType}

client.tags.list()client.tags().list()

Get tags for domain type

Lists all tags in the domain, including currently unused tags, sorted by name and without per-object visibility checks. Each tag’s count includes links to objects the caller may not be able to view, while meta.count is the number of returned tags.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaDomain types that tags can be used with

Rückgabe List[TagWithCount]Vec<TagWithCount>

for tag in client.tags.list("person"):
    print(tag.name)
for tag in client.tags().list("person")? {
    println!("{}", tag.name);
}

GET/tags/{domainType}/{domainId}

client.tags.list_for_object()client.tags().list_for_object()

Get tags for domain object

Lists tags attached to this domain object, sorted by name and without pagination. Requires the domain’s tag-view permission for the target. Each tag’s count is normally 1, not its overall usage count, while meta.count is the number of returned tags.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaDomain types that tags can be used with
domain_idintimpl DisplayPfadjathe domain id

Rückgabe List[TagWithCount]Vec<TagWithCount>

for for_object in client.tags.list_for_object("person", 35):
    print(for_object.name)
for for_object in client.tags().list_for_object("person", 35)? {
    println!("{}", for_object.name);
}

GET/tags/{tagId}

client.tags.get()client.tags().get()

Get tag

Returns one tag. Requires "edit masterdata" permission in churchdb, churchgroup, or churchservice, or "admin appointment tags" permission in churchcal, depending on the domain. Unlike object-specific reads, this endpoint requires administration rights. The tag’s count is normally 1, not a calculated usage count.

ParameterTypOrtPflichtBeschreibung
tag_idintimpl DisplayPfadjaID of tag

Rückgabe TagWithCount

tag = client.tags.get(42)
print(tag.name)
let tag = client.tags().get(42)?;
println!("{}", tag.name);

POST/tags/{domainType}

client.tags.create()client.tags().create()

Create new tag

Creates an unused tag with count set to 0. Requires "edit masterdata" permission in churchdb, churchgroup, or churchservice, or "admin appointment tags" permission in churchcal, depending on the domain. The scheduled purge may remove unused song tags and, when person settings are disabled, unused person tags not referenced by services. It retains group and appointment tags.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaDomain types that tags can be used with
color"color"Optional[str]Option<String>BodySemantic tag color; responses use basic when unset.
description"description"Optional[str]Option<String>Body
name"name"strStringBodyjaTag name, unique within the domain.

Rückgabe TagWithCount

result = client.tags.create("person", name="Mission")
print(result.name)
let body = models::TagCreate {
    name: "Mission".into(),
    ..Default::default()
};
let result = client.tags().create("person", &body)?;
println!("{}", result.name);

PUT/tags/{tagId}

client.tags.update()client.tags().update()

Replace tag properties

Replaces name, description and color while keeping the domain unchanged. Requires "edit masterdata" permission in churchdb, churchgroup, or churchservice, or "admin appointment tags" permission in churchcal, depending on the domain. The uniqueness check reads id instead of the route’s tagId, so retaining the same name may be rejected as a duplicate.

ParameterTypOrtPflichtBeschreibung
tag_idintimpl DisplayPfadjaID of tag
color"color"Optional[str]Option<String>BodySemantic tag color; responses use basic when unset.
description"description"Optional[str]Option<String>Body
name"name"strStringBodyjaTag name, unique within the domain.

Rückgabe TagWithCount

result = client.tags.update(42, name="Mission")
print(result.name)
let body = models::TagUpdate {
    name: "Mission".into(),
    ..Default::default()
};
let result = client.tags().update(42, &body)?;
println!("{}", result.name);

DELETE/tags/{tagId}

client.tags.delete()client.tags().delete()

Delete tag

Deletes the tag and all its object assignments through the database cascade. Requires "edit masterdata" permission in churchdb, churchgroup, or churchservice, or "admin appointment tags" permission in churchcal, depending on the domain. No dry-run or delete-conflict workflow is available.

ParameterTypOrtPflichtBeschreibung
tag_idintimpl DisplayPfadjaID of tag

Rückgabe None()

client.tags.delete(42)
client.tags().delete(42)?;

PUT/tags/{domainType}/{domainId}/{tagId}

client.tags.attach()client.tags().attach()

Attach an existing tag to an object

Attaches the tag to the target without a request body. Requires domain-specific assignment rights for the target. An existing assignment is reused. A new assignment requires the tag to exist in the specified domain. The response contains the tag with count normally set to 1, not the tag link.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaDomain types that tags can be used with
domain_idintimpl DisplayPfadjathe domain id
tag_idintimpl DisplayPfadjaID of tag

Rückgabe TagWithCount

tag = client.tags.attach("person", 35, 42)
print(tag.name)
let tag = client.tags().attach("person", 35, 42)?;
println!("{}", tag.name);

POST/tags/{domainType}/{domainId}

client.tags.attach_new()client.tags().attach_new()

Find or create a tag and attach it to an object

Finds or creates the named tag and attaches it to the target. Requires domain-specific assignment rights: person-tag visibility and person write or group-internal edit rights, group visibility and applicable group-edit rights, song-category edit rights, or appointment edit rights. Separate tag administration rights are not required. An existing assignment is reused. The response contains the tag with count normally set to 1, not the tag link.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaDomain types that tags can be used with
domain_idintimpl DisplayPfadjathe domain id
name"name"strStringBodyjaName of an existing or newly created tag in this domain.

Rückgabe TagWithCount

tag = client.tags.attach_new("person", 35, name="Mission")
print(tag.name)
let body = models::TagAssignmentCreate {
    name: "Mission".into(),
    ..Default::default()
};
let tag = client.tags().attach_new("person", 35, &body)?;
println!("{}", tag.name);

DELETE/tags/{domainType}/{domainId}/{tagId}

client.tags.detach()client.tags().detach()

Remove tag from domain object

Removes the matching assignment while retaining the tag itself. Requires the same domain-specific assignment rights as adding a tag. A missing assignment succeeds, including when the tag is missing or belongs to another domain. A missing target may still produce 404, depending on its domain policy.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaDomain types that tags can be used with
domain_idintimpl DisplayPfadjathe domain id
tag_idintimpl DisplayPfadjaID of tag

Rückgabe None()

client.tags.detach("person", 35, 42)
client.tags().detach("person", 35, 42)?;

GET/files/{domainType}/{domainIdentifier}

client.files.list()client.files().list()

Get all files for a specific domain object

Returns metadata for files and URL attachments of one domain object. Files hidden by view permissions or showOnlyWhenEditable are omitted. Anonymous access depends on the selected attachment category.

ParameterTypOrtPflichtBeschreibung
domain_typeUnion[str, str]impl DisplayPfadjaAttachment category; determines the file handler and permission checks.
domain_identifierstrimpl DisplayPfadjaIdentifier of the target within the file category, such as a person ID for avatar or a page identifier for wiki_.

Rückgabe List[CtFile]Vec<CtFile>

for file in client.files.list("agenda_PRO_PRESENTER_6", "42"):
    print(file.name)
for file in client.files().list(serde_json::json!("agenda_PRO_PRESENTER_6"), "42")? {
    println!("{}", file.name);
}

GET/files/{domainType}

client.files.list_for_type()client.files().list_for_type()

Get all files for a domain type

Returns file and URL-attachment metadata for one attachment category. Files hidden by view permissions or showOnlyWhenEditable are omitted.

ParameterTypOrtPflichtBeschreibung
domain_typeUnion[str, str]impl DisplayPfadjaAttachment category; determines the file handler and permission checks.

Rückgabe Union[List[CtFile], StrMap[CtFile]]serde_json::Value

result = client.files.list_for_type("agenda_PRO_PRESENTER_6")
print(result)
let result = client.files().list_for_type(serde_json::json!("agenda_PRO_PRESENTER_6"))?;
println!("{:?}", result);

GET/files/{id}/meta

client.files.get_meta()client.files().get_meta()

Get file metadata by ID

Returns normalized metadata for a file or URL attachment. Requires view permission for the file. Anonymous access depends on the attachment category.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe CtFile

meta = client.files.get_meta(1)
print(meta.name)
let meta = client.files().get_meta(1)?;
println!("{}", meta.name);

GET/files/{fileId}/metadata

client.files.get_metadata()client.files().get_metadata()veraltet

Get legacy file metadata

Returns the raw file database record without a response envelope. Use GET /files/{id}/meta for normalized file metadata.

ParameterTypOrtPflichtBeschreibung
file_idintimpl DisplayPfadjaID of the file

Rückgabe LegacyFileMetadata

metadata = client.files.get_metadata(42)
print(metadata.id)
let metadata = client.files().get_metadata(42)?;
println!("{}", metadata.id);

POST/files/{domainType}/{domainIdentifier}*

client.files.create()client.files().create()

Upload files

Uploads files to a domain object. Requires update permission. The attachment category controls file multiplicity, image dimensions and category-specific processing.

ParameterTypOrtPflichtBeschreibung
domain_typeUnion[str, str]impl DisplayPfadjaAttachment category; determines the file handler and permission checks.
domain_identifierstrimpl DisplayPfadjaIdentifier of the target within the file category, such as a person ID for avatar or a page identifier for wiki_.
filesSequence[Upload]&[Upload]DateijaFiles to upload.
image_optionsstrStringFormularJSON-encoded image crop and focus options.
securitylevel_idinti64FormularSecurity level used by the selected attachment category.
sort_keyinti64FormularStored sort key.

Rückgabe List[FileUploadResult]Vec<FileUploadResult>

for file in client.files.create(
    "agenda_PRO_PRESENTER_6",
    "42",
    files=[ct.Upload.from_path("gemeindebrief.pdf")],
):
    print(file.name)
let file = Upload::from_path("gemeindebrief.pdf")?;
for file in client.files().create(serde_json::json!("agenda_PRO_PRESENTER_6"), "42", &[file])? {
    println!("{}", file.name);
}

PATCH/files/{domainType}/{domainIdentifier}*

client.files.update_for_object()client.files().update_for_object()

Update files for a domain object

Updates the display name and sort key of every attachment of the domain object. Requires update permission and runs category-specific metadata hooks for each affected file.

ParameterTypOrtPflichtBeschreibung
domain_typeUnion[str, str]impl DisplayPfadjaAttachment category; determines the file handler and permission checks.
domain_identifierstrimpl DisplayPfadjaIdentifier of the target within the file category, such as a person ID for avatar or a page identifier for wiki_.
name"name"Optional[str]Option<String>BodyDisplay name assigned to every matching file.
sort_key"sortKey"Optional[int]Option<i64>BodySort key assigned to every matching file.

Rückgabe None()

client.files.update_for_object("agenda_PRO_PRESENTER_6", "42", name="Service notes.pdf")
let body = models::FileDomainUpdate {
    name: Some(Some("Service notes.pdf".into())),
    ..Default::default()
};
client.files().update_for_object(serde_json::json!("agenda_PRO_PRESENTER_6"), "42", &body)?;

PATCH/files/{id}*

client.files.patch()client.files().patch()

Update file metadata by ID

Updates a file's display metadata and optionally copies it to another attachment context. Updating requires source update permission; copying requires source view permission and target update permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
name"name"Optional[str]Option<String>BodyDisplay name assigned to every matching file.
sort_key"sortKey"Optional[int]Option<i64>BodySort key assigned to every matching file.
copy_to"copyTo"FileUpdateCopyToBodyTarget attachment context to which the file is copied.

Rückgabe None()

client.files.patch(1, name="Service notes.pdf")
let body = models::FileUpdate {
    name: Some(Some("Service notes.pdf".into())),
    ..Default::default()
};
client.files().patch(1, &body)?;

DELETE/files/{id}*

client.files.delete()client.files().delete()

Delete a file by ID

Deletes one file or URL attachment. Requires update permission for its owning object and runs category-specific delete hooks.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe None()

client.files.delete(1)
client.files().delete(1)?;

DELETE/files/{domainType}/{domainIdentifier}*

client.files.delete_for_object()client.files().delete_for_object()

Delete all files for a domain object

Deletes every file and URL attachment of the domain object. Requires update permission for the object and runs category-specific delete hooks.

ParameterTypOrtPflichtBeschreibung
domain_typeUnion[str, str]impl DisplayPfadjaAttachment category; determines the file handler and permission checks.
domain_identifierstrimpl DisplayPfadjaIdentifier of the target within the file category, such as a person ID for avatar or a page identifier for wiki_.

Rückgabe None()

client.files.delete_for_object("agenda_PRO_PRESENTER_6", "42")
client.files().delete_for_object(serde_json::json!("agenda_PRO_PRESENTER_6"), "42")?;

POST/files/{domainType}/{domainIdentifier}/link*

client.files.link()client.files().link()

Add a link attachment

Creates a URL attachment without fetching its target. Requires update permission and runs the selected category's file-save hooks.

ParameterTypOrtPflichtBeschreibung
domain_typeUnion[str, str]impl DisplayPfadjaAttachment category; determines the file handler and permission checks.
domain_identifierstrimpl DisplayPfadjaIdentifier of the target within the file category, such as a person ID for avatar or a page identifier for wiki_.
name"name"Optional[str]Option<String>BodyDisplay name. The URL is used when no name is supplied.
security_level_id"securityLevelId"Optional[int]Option<i64>BodyAttachment security level.
url"url"strStringBodyjaAbsolute URL to store.

Rückgabe CtFile

file = client.files.link(
    "agenda_PRO_PRESENTER_6",
    "42",
    url="https://example.org/service-notes",
)
print(file.name)
let body = models::FileLinkCreate {
    url: "https://example.org/service-notes".into(),
    ..Default::default()
};
let file = client.files().link(serde_json::json!("agenda_PRO_PRESENTER_6"), "42", &body)?;
println!("{}", file.name);

GET/images/{fileId}/{hash}*

client.images.get()client.images().get()mit Filtern: .get_with(&GetImagesFileIdHashQuery)

Get a public image

Returns image bytes for a public image URL and applies Glide transformations. The hash grants access without a login. SVG content is returned without transformation as an attachment.

9 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
file_idintimpl DisplayPfadjaID of the file
hashstrimpl DisplayPfadjaFile hash from the image URL.
wstrStringQueryOutput width in pixels, or auto to let Glide derive it.
hstrStringQueryOutput height in pixels, or auto to let Glide derive it.
qinti64QueryOutput quality.
cropstrStringQueryGlide crop specification.
fitstrStringQueryGlide fit mode. Raster images use their stored focus point by default.
fmstrStringQueryOutput format. A recognized hash suffix takes precedence.
pstrStringQueryComma-separated preset names: group-homepage, group-detail, group-list, group-tile, group-minitile, person-detail and avatar.

Rückgabe bytes (application/octet-stream)Vec<u8> (application/octet-stream)

data = client.images.get(42, "abc123")
with open("ergebnis.bin", "wb") as f:
    f.write(data)
let data = client.images().get(42, "abc123")?;
std::fs::write("ergebnis.bin", &data)?;

GET/images/{fileId}/{hash}/{queryParams}*

client.images.get_with_params()client.images().get_with_params()

Get a public image with path-encoded parameters

Returns a public image with Glide transformations encoded in the final path segment. Image handling is otherwise identical to GET /images/{fileId}/{hash}.

ParameterTypOrtPflichtBeschreibung
file_idintimpl DisplayPfadjaID of the file
hashstrimpl DisplayPfadjaFile hash from the image URL.
query_paramsstrimpl DisplayPfadjaURL-encoded image manipulation query string.

Rückgabe bytes (application/octet-stream)Vec<u8> (application/octet-stream)

data = client.images.get_with_params(42, "abc123", "fm%3Dwebp%26q%3D80%26w%3D700%26h%3Dauto")
with open("ergebnis.bin", "wb") as f:
    f.write(data)
let data = client.images().get_with_params(42, "abc123", "fm%3Dwebp%26q%3D80%26w%3D700%26h%3Dauto")?;
std::fs::write("ergebnis.bin", &data)?;

PUT/images/{id}/options*

client.images.update_options()client.images().update_options()

Update image options and metadata

Updates image metadata through the same handler as PATCH /images/{id}. Requires update permission for the owning object.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
ai_generated"aiGenerated"boolBodyWhether the image was generated with AI.
annotation"annotation"Optional[str]Option<String>BodyImage credit or attribution.
annotation_link"annotationLink"Optional[str]Option<String>BodyAttribution link.
description"description"Optional[str]Option<String>BodyAlternative text describing the image for screen readers.
image_options"image_options"Optional[str]Option<String>BodyLegacy alias for options.
options"options"Optional[str]Option<String>BodyJSON-encoded image options.

Rückgabe ImageMetadataUpdateResult

result = client.images.update_options(1, description="Congregation gathered outside the church.")
print(result.name)
let body = models::ImageUpdate {
    description: Some(Some("Congregation gathered outside the church.".into())),
    ..Default::default()
};
let result = client.images().update_options(1, &body)?;
println!("{}", result.name);

PATCH/images/{id}*

client.images.patch()client.images().patch()

Update image metadata

Updates image description, attribution, AI flag and crop/focus options. Requires update permission for the owning object. Changing image options clears generated image caches.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
ai_generated"aiGenerated"boolBodyWhether the image was generated with AI.
annotation"annotation"Optional[str]Option<String>BodyImage credit or attribution.
annotation_link"annotationLink"Optional[str]Option<String>BodyAttribution link.
description"description"Optional[str]Option<String>BodyAlternative text describing the image for screen readers.
image_options"image_options"Optional[str]Option<String>BodyLegacy alias for options.
options"options"Optional[str]Option<String>BodyJSON-encoded image options.

Rückgabe ImageMetadataUpdateResult

result = client.images.patch(1, description="Congregation gathered outside the church.")
print(result.name)
let body = models::ImageUpdate {
    description: Some(Some("Congregation gathered outside the church.".into())),
    ..Default::default()
};
let result = client.images().patch(1, &body)?;
println!("{}", result.name);

GET/wiki/pages

client.wiki.list_pages()client.wiki().list_pages()mit Filtern: .list_pages_with(&GetWikiPagesQuery)seitenweise

List wiki pages

Lists the latest revisions of non-system, non-redirect pages in viewable categories. Guest category permissions are supported. Omitted/empty wiki_category_ids selects every viewable category; inaccessible IDs are silently dropped. Without query, ordering defaults to display title, then GUID. With query, default ranking prefers matching category main pages, then title matches, exact-content matches and finally matches containing all query words. Explicit order_fields overrides ranking. Pagination is applied after finding and enriching all matching pages. Text is omitted unless include[]=text; include[]=preview returns an unrendered stored-text prefix, which may contain raw HTML. searchPreview is independently included when query is supplied. meta contains page count and pagination total/limit/current/lastPage; lastPage is 0 for no results.

ParameterTypOrtPflichtBeschreibung
limitinti64QueryMaximum page size.
querystrStringQueryTrimmed search term. SQL LIKE wildcard characters % and _ are interpreted by the backend.
wiki_category_idsList[int]Vec<i64>QueryWiki category IDs that should be included.
order_fieldsList[str]Vec<String>QueryFields used to sort the result.
order_directionsList[str]Vec<String>QuerySort directions matching order_fields[] by position.
includeList[str]Vec<String>Querytext returns Markdown or sanitized HTML; preview returns a raw stored-text prefix without HTML sanitization.
preview_lengthinti64QueryMaximum number of characters returned in textPreview when include[]=preview is requested.

Rückgabe Paginator[SimpleWikiPage]Vec<SimpleWikiPage>

for page in client.wiki.list_pages():
    print(page.title)
for page in client.wiki().list_pages()? {
    println!("{}", page.title);
}

GET/wiki/categories

client.wiki.categories.list()client.wiki().categories().list()

Get all wiki categories

Lists wiki categories for which the current user (including a guest) has churchwiki view category permission. Categories organize pages and define their access permissions. Results are sorted by sortKey, then stored name, without pagination. inMenu does not filter this catalog. Each category’s canEdit/canDelete flags describe page operations based on edit category, not permission to rename or delete the category itself. The top-level permissions.editMasterData flag controls category administration. meta.count counts visible categories.

Rückgabe List[WikiCategory]Vec<WikiCategory>

for category in client.wiki.categories.list():
    print(category.name)
for category in client.wiki().categories().list()? {
    println!("{}", category.name);
}

POST/wiki/categories

client.wiki.categories.create()client.wiki().categories().create()

Create a new wiki category

Creates a wiki category and an initial page titled main (version 1, empty text, Markdown enabled). Requires churchwiki edit masterdata. The creator receives view category and edit category permissions for the new category if missing. A nonexistent campusId silently resolves to null. The returned category has an empty permissions object; use the list to obtain page-operation hints.

ParameterTypOrtPflichtBeschreibung
campus_id"campusId"Optional[int]Option<i64>BodyOptional campus association.
file_access_without_permission"fileAccessWithoutPermission"boolBodyjaWhether files in this wiki category can be read without category-view permission.
in_menu"inMenu"boolBodyjaWhether the category should appear in navigation menus; it is still returned by the category catalog when false.
name"name"strStringBodyjaCategory name; unlike page titles it is not trimmed.
sort_key"sortKey"inti64BodyjaSort order; negative values are accepted.

Rückgabe WikiCategory

result = client.wiki.categories.create(
    file_access_without_permission=False,
    in_menu=True,
    name="Dokumentation",
    sort_key=10,
)
print(result.name)
let body = models::WikiCategoryCreate {
    file_access_without_permission: false,
    in_menu: true,
    name: "Dokumentation".into(),
    sort_key: 10,
    ..Default::default()
};
let result = client.wiki().categories().create(&body)?;
println!("{}", result.name);

PUT/wiki/categories/{wikiCategoryId}

client.wiki.categories.update()client.wiki().categories().update()

Update a wiki category

Replaces the category’s name, sort order, menu flag, file-access flag and optional campus association. Requires churchwiki edit masterdata. name, sortKey, inMenu and fileAccessWithoutPermission are required; omitted/null or unknown campusId clears the association. Pages and their versions are retained. The response permissions object is normally empty.

ParameterTypOrtPflichtBeschreibung
wiki_category_idintimpl DisplayPfadjaID of WikiCategory
campus_id"campusId"Optional[int]Option<i64>BodyOptional campus association.
file_access_without_permission"fileAccessWithoutPermission"boolBodyjaWhether files in this wiki category can be read without category-view permission.
in_menu"inMenu"boolBodyjaWhether the category should appear in navigation menus; it is still returned by the category catalog when false.
name"name"strStringBodyjaCategory name; unlike page titles it is not trimmed.
sort_key"sortKey"inti64BodyjaSort order; negative values are accepted.

Rückgabe WikiCategory

result = client.wiki.categories.update(
    42,
    file_access_without_permission=False,
    in_menu=True,
    name="Dokumentation",
    sort_key=10,
)
print(result.name)
let body = models::WikiCategoryUpdate {
    file_access_without_permission: false,
    in_menu: true,
    name: "Dokumentation".into(),
    sort_key: 10,
    ..Default::default()
};
let result = client.wiki().categories().update(42, &body)?;
println!("{}", result.name);

DELETE/wiki/categories/{wikiCategoryId}

client.wiki.categories.delete()client.wiki().categories().delete()

Delete a wiki category

Deletes the category, all its wiki page versions and category view/edit permission assignments. Requires churchwiki edit masterdata. Existing pages do not block this deletion, and no page-level protected-system-page check is made by this handler. A missing category normally succeeds with 204. No request body or dry-run parameter is consumed.

ParameterTypOrtPflichtBeschreibung
wiki_category_idintimpl DisplayPfadjaID of WikiCategory

Rückgabe None()

client.wiki.categories.delete(42)
client.wiki().categories().delete(42)?;

GET/wiki/categories/{wikiCategoryId}/pages

client.wiki.categories.pages.list()client.wiki().categories().pages().list()

List wiki pages in a category

Lists the latest version of each non-system page in this category, including redirect pages. Requires churchwiki view category permission. Page text and previews are omitted. Results are ordered by display title (main uses the category name), then GUID, without pagination; meta.count is the number of returned pages. The nested wikiCategory.permissions object is normally empty, while page.permissions contains canEdit/canDelete.

ParameterTypOrtPflichtBeschreibung
wiki_category_idintimpl DisplayPfadjaID of WikiCategory

Rückgabe List[SimpleWikiPage]Vec<SimpleWikiPage>

for page in client.wiki.categories.pages.list(42):
    print(page.title)
for page in client.wiki().categories().pages().list(42)? {
    println!("{}", page.title);
}

GET/wiki/categories/{wikiCategoryId}/pages/{identifier}

client.wiki.categories.pages.get()client.wiki().categories().pages().get()mit Filtern: .get_with(&GetWikiCategoriesIdPagesIdentifierQuery)

Get a wiki page

Requires churchwiki view category permission, including any permissions assigned to guests. For a protected system page in category 0, super-administrator access also permits the individual read. Returns one page revision with text: Markdown is returned as stored, legacy HTML is sanitized, and null content becomes an empty string. Prefer the stable page GUID; legacy titles are accepted and Unicode ellipsis characters in titles are normalized to three periods. A version value of 0 behaves like omission and selects the latest revision; other nonzero values select that exact revision. Redirect pages are returned as data with redirectTo rather than followed.

ParameterTypOrtPflichtBeschreibung
wiki_category_idintimpl DisplayPfadjaID of WikiCategory
identifierstrimpl DisplayPfadjaGUID of the wiki page.
versioninti64QueryRevision number; omission or 0 selects the latest revision.

Rückgabe WikiPage

page = client.wiki.categories.pages.get(42, "main")
print(page.title)
let page = client.wiki().categories().pages().get(42, "main")?;
println!("{}", page.title);

POST/wiki/categories/{wikiCategoryId}/pages

client.wiki.categories.pages.create()client.wiki().categories().pages().create()

Create a wiki page

Creates a page with a generated stable GUID and version 1. Requires churchwiki edit category; creating a title that resolves to a protected system page additionally requires a super administrator. The trimmed title must be unique in the category across stored versions. Unicode ellipsis is normalized to three periods. Omitted text is stored as null but returned as an empty string. isMarkdown and onStartpage default to false; this differs from the main page automatically created with a new category, which starts with Markdown enabled.

ParameterTypOrtPflichtBeschreibung
wiki_category_idintimpl DisplayPfadjaID of WikiCategory
is_markdown"isMarkdown"boolBodyWhether text is Markdown.
on_startpage"onStartpage"boolBodyWhether this page is marked for display on the wiki start page.
text"text"Optional[str]Option<String>BodyTrimmed Markdown or legacy HTML according to isMarkdown.
title"title"strStringBodyjaTrimmed unique page title; Unicode ellipsis is normalized to three periods.

Rückgabe WikiPage

result = client.wiki.categories.pages.create(42, title="My new wiki page")
print(result.title)
let body = models::WikiPageCreate {
    title: "My new wiki page".into(),
    ..Default::default()
};
let result = client.wiki().categories().pages().create(42, &body)?;
println!("{}", result.title);

PATCH/wiki/categories/{wikiCategoryId}/pages/{identifier}

client.wiki.categories.pages.patch()client.wiki().categories().pages().patch()

Update a wiki page

Updates only supplied text, isMarkdown and onStartpage fields on the latest revision identified by GUID. Titles cannot be changed through this endpoint. Requires category edit permission; protected system pages in category 0 require a super administrator. Changed text creates the next revision with the same GUID; unchanged text or changes only to the flags modify the existing latest revision. Trimmed blank/null text clears the stored content. No expected-version or ETag precondition is accepted, so this endpoint does not provide optimistic edit-conflict protection.

ParameterTypOrtPflichtBeschreibung
wiki_category_idintimpl DisplayPfadjaID of WikiCategory
identifierstrimpl DisplayPfadjaGUID of the wiki page.
is_markdown"isMarkdown"boolBody
on_startpage"onStartpage"boolBody
text"text"Optional[str]Option<String>BodyTrimmed replacement content.

Rückgabe WikiPage

result = client.wiki.categories.pages.patch(
    42,
    "681F54E3-2EB7-40A4-84F0-EFF8E8F05727",
    is_markdown=True,
)
print(result.title)
let body = models::WikiPageUpdate {
    is_markdown: Some(true),
    ..Default::default()
};
let result = client.wiki().categories().pages().patch(42, "681F54E3-2EB7-40A4-84F0-EFF8E8F05727", &body)?;
println!("{}", result.title);

DELETE/wiki/categories/{wikiCategoryId}/pages/{identifier}

client.wiki.categories.pages.delete()client.wiki().categories().pages().delete()

Delete a wiki page

Deletes the page identified by GUID and every stored revision. Requires churchwiki edit category. Protected system pages in category 0 cannot be deleted through this endpoint, including by super administrators. Missing pages succeed with 204. Latest redirect pages targeting the deleted title have redirectTo cleared; older redirect revisions are retained. This deletion has no dry-run or version precondition.

ParameterTypOrtPflichtBeschreibung
wiki_category_idintimpl DisplayPfadjaID of WikiCategory
identifierstrimpl DisplayPfadjaGUID of the wiki page.

Rückgabe None()

client.wiki.categories.pages.delete(42, "681F54E3-2EB7-40A4-84F0-EFF8E8F05727")
client.wiki().categories().pages().delete(42, "681F54E3-2EB7-40A4-84F0-EFF8E8F05727")?;

GET/wiki/categories/{wikiCategoryId}/pages/{identifier}/versions

client.wiki.categories.pages.versions.list()client.wiki().categories().pages().versions().list()

List all versions of a wiki page

Requires churchwiki view category permission, including any permissions assigned to guests. For a protected system page in category 0, super-administrator access also permits the individual read. Returns all revisions for the GUID or legacy title, newest version first, including each revision’s text. Missing pages return an empty list rather than 404. The list is not paginated; meta.count is the number of versions. Metadata and current permission hints are included for each revision. Title identifiers are deprecated for this history endpoint.

ParameterTypOrtPflichtBeschreibung
wiki_category_idintimpl DisplayPfadjaID of WikiCategory
identifierstrimpl DisplayPfadjaGUID of the wiki page.

Rückgabe List[WikiPage]Vec<WikiPage>

for version in client.wiki.categories.pages.versions.list(42, "main"):
    print(version.title)
for version in client.wiki().categories().pages().versions().list(42, "main")? {
    println!("{}", version.title);
}

GET/wiki/categories/{wikiCategoryId}/pages/{identifier}/versions/{version}

client.wiki.categories.pages.versions.get()client.wiki().categories().pages().versions().get()

Get a specific version of a wiki page

Requires churchwiki view category permission, including any permissions assigned to guests. For a protected system page in category 0, super-administrator access also permits the individual read. Returns one page revision with text: Markdown is returned as stored, legacy HTML is sanitized, and null content becomes an empty string. Prefer the stable page GUID; legacy titles are accepted and Unicode ellipsis characters in titles are normalized to three periods. A version value of 0 behaves like omission and selects the latest revision; other nonzero values select that exact revision. Redirect pages are returned as data with redirectTo rather than followed.

ParameterTypOrtPflichtBeschreibung
wiki_category_idintimpl DisplayPfadjaID of WikiCategory
identifierstrimpl DisplayPfadjaGUID of the wiki page.
versionintimpl DisplayPfadjaRequested revision; 0 selects the latest revision for legacy compatibility.

Rückgabe WikiPage

version = client.wiki.categories.pages.versions.get(42, "main", 1)
print(version.title)
let version = client.wiki().categories().pages().versions().get(42, "main", 1)?;
println!("{}", version.title);

GET/externalposts

client.external_posts.list()client.external_posts().list()mit Filtern: .list_with(&GetExternalpostsQuery)

Get a list of external posts. The posts are sorted by the createdDate field descending.

ParameterTypOrtPflichtBeschreibung
beforedatetimeDateTime<Utc>QueryIf set, only posts created before this date are returned.
last_post_indentifierstrStringQueryIf set, posts created at the "before" date are included in the result, if the guids of the posts are lexically smaller than the last_post_indentifier.
afterdatetimeDateTime<Utc>QueryIf set, only posts created after this date are returned.
external_group_guidList[str]Vec<String>QueryIf set posts of these groups are returned.
external_instance_guidList[str]Vec<String>QueryIf set posts of these instances are returned.
includeList[str]Vec<String>QueryIf set, the response will include the specified data.
limitinti64QueryNumber of results per page.

Rückgabe List[Post]Vec<Post>

for external_post in client.external_posts.list():
    print(external_post.title)
for external_post in client.external_posts().list()? {
    println!("{}", external_post.title);
}

GET/externalposts/instances/{instanceGuid}/channels/{channelGuid}/posts/{postGuid}*

client.external_posts.instances.channels.posts.get()client.external_posts().instances().channels().posts().get()

Get one external Post

ParameterTypOrtPflichtBeschreibung
instance_guidstrimpl DisplayPfadjathe guid of the instance to which the post belongs
channel_guidstrimpl DisplayPfadjathe guid of the channel to which the post belongs
post_guidstrimpl DisplayPfadjathe guid of the post

Rückgabe Post

post = client.external_posts.instances.channels.posts.get("abc123", "abc123", "abc123")
print(post.title)
let post = client.external_posts().instances().channels().posts().get("abc123", "abc123", "abc123")?;
println!("{}", post.title);

GET/post/groups

client.post.list_groups()client.post().list_groups()

Rückgabe List[PossiblePostGroup]Vec<PossiblePostGroup>

for group in client.post.list_groups():
    print(group.favorite_group)
for group in client.post().list_groups()? {
    println!("{}", group.favorite_group);
}

GET/post/search

client.post.list_search()client.post().list_search()mit Filtern: .list_search_with(&GetPostSearchQuery)

Search posts

12 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
querystrStringQueryThe query string to search for in post title and content
order_bystrStringQueryThe order the posts are returned in.
order_directionstrStringQueryThe order direction. Only works for order_by publishedDate.
beforedatetimeDateTime<Utc>QueryIf set, only posts created before this date are returned.
afterdatetimeDateTime<Utc>QueryIf set, only posts created after this date are returned.
campus_idsList[int]Vec<i64>QueryIf set, only posts of these campuses are returned.
actor_idsList[int]Vec<i64>QueryIf set, only posts by these persons are returned.
group_visibilitystrStringQueryIf set, only posts are returned that belong to groups with this visibility.
post_visibilitystrStringQueryIf set, only posts with that visibility are returned.
group_idsList[int]Vec<i64>QueryIf set, only posts of these groups are returned.
includeList[str]Vec<String>QueryIf set, the response will include the specified data.
only_my_groupsboolQueryIf set to true, only posts of groups the user is member of are returned.

Rückgabe List[Post]Vec<Post>

for search in client.post.list_search():
    print(search.title)
for search in client.post().list_search()? {
    println!("{}", search.title);
}

GET/post/linkings

client.post.get_linkings()client.post().get_linkings()mit Filtern: .get_linkings_with(&GetPostLinkingsQuery)

ParameterTypOrtPflichtBeschreibung
post_idsList[int]Vec<i64>QueryFilters for which posts the linkings should be loaded.

Rückgabe Anyserde_json::Value

result = client.post.get_linkings()
print(result)
let result = client.post().get_linkings()?;
println!("{:?}", result);

GET/post/hidden

client.post.hidden.list()client.post().hidden().list()

Rückgabe List[Union[DomainObjectGroup, DomainObjectPerson, DomainObjectPost]]Vec<serde_json::Value>

for hidden in client.post.hidden.list():
    print(hidden)
for hidden in client.post().hidden().list()? {
    println!("{:?}", hidden);
}

DELETE/post/hidden/{domainType}/{domainId}

client.post.hidden.delete()client.post().hidden().delete()

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadja
domain_idintimpl DisplayPfadja

Rückgabe None()

client.post.hidden.delete("actor", 42)
client.post().hidden().delete("actor", 42)?;

GET/post/reports

client.post.reports.list()client.post().reports().list()mit Filtern: .list_with(&GetPostReportsQuery)

ParameterTypOrtPflichtBeschreibung
domain_typestrStringQuery
domain_idinti64Query
statusstrStringQuery

Rückgabe List[Union[ReportObjectPost, ReportObjectPostComment]]Vec<serde_json::Value>

for report in client.post.reports.list():
    print(report)
for report in client.post().reports().list()? {
    println!("{:?}", report);
}

POST/post/reports*

client.post.reports.create()client.post().reports().create()

ParameterTypOrtPflichtBeschreibung
captcha"captcha"strStringBody
comment"comment"strStringBody
domain_id"domainId"inti64Bodyja
domain_type"domainType"strStringBodyja
reporter"reporter"ReportCreateReporterBody

Rückgabe Report

result = client.post.reports.create(domain_id=42, domain_type="post")
print(result.comment)
let body = models::ReportCreate {
    domain_id: 42,
    domain_type: "post".into(),
    ..Default::default()
};
let result = client.post().reports().create(&body)?;
println!("{:?}", result.comment);

PUT/post/reports/answer*

client.post.reports.update_answer()client.post().reports().update_answer()

ParameterTypOrtPflichtBeschreibung
domain_id"domainId"inti64Bodyja
domain_type"domainType"strStringBodyja
response"response"strStringBodyja

Rückgabe None()

client.post.reports.update_answer(domain_id=42, domain_type="post", response="accept")
let body = models::ReportAnswer {
    domain_id: 42,
    domain_type: "post".into(),
    response: "accept".into(),
    ..Default::default()
};
client.post().reports().update_answer(&body)?;

GET/posts

client.posts.list()client.posts().list()mit Filtern: .list_with(&GetPostsQuery)

Get a list of posts sorted by publishedDate descending. This endpoint uses cursor-based pagination because the result can contain posts from external ChurchTools instances. To load another batch, use before together with last_post_identifier; page-based pagination is not supported.

12 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
beforedatetimeDateTime<Utc>QueryIf set, only posts published before this date are returned.
last_post_identifierstrStringQueryIf set, posts published at the before date are included in the result, if the guids of the posts are lexically smaller than the last_post_identifier.
afterdatetimeDateTime<Utc>QueryIf set, only posts published at or after this date are returned.
campus_idinti64QueryIf set, only posts of this campus are returned.
campus_idsList[int]Vec<i64>QueryIf set, only posts of these campuses are returned.
actor_idsList[int]Vec<i64>QueryIf set, only posts by these persons are returned.
group_visibilitystrStringQueryIf set, only posts are returned that belong to groups with this visibility.
post_visibilitystrStringQueryIf set, only posts with that visibility are returned.
group_idsList[int]Vec<i64>QueryIf set, only posts of these groups are returned.
includeList[str]Vec<String>QueryIf set, the response will include the specified data.
limitinti64QueryNumber of results per page.
only_my_groupsboolQueryIf set to true, only posts of groups the user is member of are returned.

Rückgabe List[Post]Vec<Post>

for post in client.posts.list():
    print(post.title)
for post in client.posts().list()? {
    println!("{}", post.title);
}

GET/posts/{postId}

client.posts.get()client.posts().get()mit Filtern: .get_with(&GetPostsPostIdQuery)

Get a post.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post
includeList[str]Vec<String>QueryIf set, the response will include the specified data.

Rückgabe Post

post = client.posts.get(42)
print(post.title)
let post = client.posts().get(42)?;
println!("{}", post.title);

POST/posts

client.posts.create()client.posts().create()

Create a new post. Images must be uploaded previously in a separate request.

ParameterTypOrtPflichtBeschreibung
content"content"Optional[str]Option<String>Bodyja
expiration_date"expirationDate"Optional[datetime]Option<DateTime<Utc>>Body
publication_date"publicationDate"Optional[datetime]Option<DateTime<Utc>>Body
title"title"strStringBodyja
visibility"visibility"strStringBodyja
comments_active"commentsActive"boolBody
group_id"groupId"inti64Bodyja
image_ids"imageIds"List[int]Vec<i64>Body

Rückgabe Post

result = client.posts.create(
    content="Hallo zusammen",
    title="Hauskreis Nord",
    visibility="group_intern",
    group_id=42,
)
print(result.title)
let body = models::PostCreate {
    content: Some("Hallo zusammen".into()),
    title: "Hauskreis Nord".into(),
    visibility: "group_intern".into(),
    group_id: 42,
    ..Default::default()
};
let result = client.posts().create(&body)?;
println!("{}", result.title);

PUT/posts/{postId}/expire

client.posts.update_expire()client.posts().update_expire()

Expire the referenced post immediately.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post

Rückgabe None()

client.posts.update_expire(42)
client.posts().update_expire(42)?;

PUT/posts/seen*

client.posts.update_seen()client.posts().update_seen()

Mark posts as seen

Marks local posts as seen by the authenticated person. Repeated requests preserve the first seen timestamp. All posts must be visible to the caller, published, unexpired and unbanned; otherwise no markers are written. Does not mark posts as read for other people or track external posts.

ParameterTypOrtPflichtBeschreibung
post_ids"postIds"List[int]Vec<i64>Bodyja

Rückgabe None()

client.posts.update_seen(post_ids=[42, 43])
let body = models::PutPostsSeenBody {
    post_ids: vec![42, 43],
    ..Default::default()
};
client.posts().update_seen(&body)?;

PATCH/posts/{postId}

client.posts.patch()client.posts().patch()

Update a post.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post
comments_active"commentsActive"boolBody
content"content"Optional[str]Option<String>Body
expiration_date"expirationDate"Optional[datetime]Option<DateTime<Utc>>Body
image_ids"imageIds"List[int]Vec<i64>Body
publication_date"publicationDate"Optional[datetime]Option<DateTime<Utc>>Body
title"title"strStringBody
visibility"visibility"strStringBody

Rückgabe Post

result = client.posts.patch(42, title="Hauskreis Nord")
print(result.title)
let body = models::PostUpdate {
    title: Some("Hauskreis Nord".into()),
    ..Default::default()
};
let result = client.posts().patch(42, &body)?;
println!("{}", result.title);

DELETE/posts/{postId}

client.posts.delete()client.posts().delete()Query: DeletePostsPostIdQuery

Delete a post.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post
dry_runboolQueryjaIf set to true, the post will not be deleted but the response will contain the result of the deletion.

Rückgabe None()

client.posts.delete(42, dry_run=True)
let query = DeletePostsPostIdQuery {
    dry_run: Some(true),
    ..Default::default()
};
client.posts().delete(42, &query)?;

GET/posts/{postId}/comments

client.posts.comments.list()client.posts().comments().list()

Get a list of comments for a post.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post

Rückgabe List[PostComment]Vec<PostComment>

for comment in client.posts.comments.list(42):
    print(comment.id)
for comment in client.posts().comments().list(42)? {
    println!("{}", comment.id);
}

POST/posts/{postId}/comments

client.posts.comments.create()client.posts().comments().create()

Create a new comment for a post.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post
content"content"strStringBodyja
parent_comment_id"parentCommentId"Optional[int]Option<i64>Body
post_id_2"postId"inti64Bodyja

Rückgabe PostComment

result = client.posts.comments.create(42, content="Hallo zusammen", post_id_2=42)
print(result.id)
let body = models::PostCommentCreate {
    content: "Hallo zusammen".into(),
    post_id: 42,
    ..Default::default()
};
let result = client.posts().comments().create(42, &body)?;
println!("{}", result.id);

DELETE/posts/{postId}/comments/{commentId}

client.posts.comments.delete()client.posts().comments().delete()

Delete a comment of a post.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post
comment_idintimpl DisplayPfadjaID of the post comment.

Rückgabe None()

client.posts.comments.delete(42, 42)
client.posts().comments().delete(42, 42)?;

GET/posts/{postId}/comments/{commentId}/reactions

client.posts.comments.reactions.list()client.posts().comments().reactions().list()

Get a list of reactions for a post comment.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post
comment_idintimpl DisplayPfadjaID of the post comment.

Rückgabe List[PostCommentReaction]Vec<PostCommentReaction>

for reaction in client.posts.comments.reactions.list(42, 42):
    print(reaction.comment_id)
for reaction in client.posts().comments().reactions().list(42, 42)? {
    println!("{}", reaction.comment_id);
}

PUT/posts/{postId}/comments/{commentId}/reactions

client.posts.comments.reactions.update()client.posts().comments().reactions().update()

Create a new reaction of the current person for a post comment.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post
comment_idintimpl DisplayPfadjaID of the post comment.
emoji"emoji"strStringBodyja

Rückgabe PostCommentReaction

result = client.posts.comments.reactions.update(42, 42, emoji="👍")
print(result.comment_id)
let body = models::PostCommentReactionCreate {
    emoji: "👍".into(),
    ..Default::default()
};
let result = client.posts().comments().reactions().update(42, 42, &body)?;
println!("{}", result.comment_id);

DELETE/posts/{postId}/comments/{commentId}/reactions/{emoji}

client.posts.comments.reactions.delete()client.posts().comments().reactions().delete()

Delete a reaction of the current person for a post comment.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post
comment_idintimpl DisplayPfadjaID of the post comment.
emojistrimpl DisplayPfadjaEmoji used as reaction.

Rückgabe None()

client.posts.comments.reactions.delete(42, 42, "👍")
client.posts().comments().reactions().delete(42, 42, "👍")?;

PUT/posts/{postId}/hidden/{domainType}

client.posts.hidden.update()client.posts().hidden().update()

Hide a post. This endpoint is used to hide a post from the timeline of the user. The post is not deleted, but the user will not see it anymore. NB: If the supplied domain type is group, this will also deactivate post-related subscriptions for that group.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post
domain_typestrimpl DisplayPfadjaThe type of the domain where the post is hidden.

Rückgabe None()

client.posts.hidden.update(42, "actor")
client.posts().hidden().update(42, "actor")?;

GET/posts/{postId}/reactions

client.posts.reactions.list()client.posts().reactions().list()

Get a list of reactions for a post.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post

Rückgabe List[PostReaction]Vec<PostReaction>

for reaction in client.posts.reactions.list(42):
    print(reaction.emoji)
for reaction in client.posts().reactions().list(42)? {
    println!("{}", reaction.emoji);
}

PUT/posts/{postId}/reactions/{emoji}/persons/{personId}

client.posts.reactions.persons.update()client.posts().reactions().persons().update()

Create a new reaction of a person for a post.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post
emojistrimpl DisplayPfadja
person_idstrimpl DisplayPfadja

Rückgabe PostReaction

result = client.posts.reactions.persons.update(42, "👍", "abc123")
print(result.emoji)
let result = client.posts().reactions().persons().update(42, "👍", "abc123")?;
println!("{}", result.emoji);

DELETE/posts/{postId}/reactions/{emoji}/persons/{personId}

client.posts.reactions.persons.delete()client.posts().reactions().persons().delete()

Delete a reaction of a person for a post.

ParameterTypOrtPflichtBeschreibung
post_idintimpl DisplayPfadjaID of post
emojistrimpl DisplayPfadja
person_idstrimpl DisplayPfadja

Rückgabe None()

client.posts.reactions.persons.delete(42, "👍", "abc123")
client.posts().reactions().persons().delete(42, "👍", "abc123")?;

GET/chat

client.chat.list()client.chat().list()mit Filtern: .list_with(&GetChatQuery)

Get all chats

Returns all chat rooms, or only rooms matching the supplied synchronization token.

ParameterTypOrtPflichtBeschreibung
noncestrStringQuerySynchronization token for central chat service callbacks.

Rückgabe List[Chat]Vec<Chat>

for chat in client.chat.list():
    print(chat.creator)
for chat in client.chat().list()? {
    println!("{:?}", chat.creator);
}

POST/chat*

client.chat.create()client.chat().create()

Start new chat

Starts synchronization of a chat room with Matrix. New rooms have STARTING status and record the current user as creator.

ParameterTypOrtPflichtBeschreibung
domain_id"domainId"inti64BodyjaID of the group (ctg) or service-planning event (cte) associated with the room.
guid"guid"strStringBodyjaStable ChurchTools chat identifier, not a Matrix room ID.
prefix"prefix"strStringBodyjactg identifies a group and cte identifies a service-planning event.
roomname"roomname"strStringBodyjaDisplay name of the room.

Rückgabe Chat

result = client.chat.create(
    domain_id=9,
    guid="681F54E3-2EB7-40A4-84F0-EFF8E8F05727",
    prefix="ctg",
    roomname="Technical team",
)
print(result.creator)
let body = models::ChatCreate {
    domain_id: 9,
    guid: "681F54E3-2EB7-40A4-84F0-EFF8E8F05727".into(),
    prefix: "ctg".into(),
    roomname: "Technical team".into(),
    ..Default::default()
};
let result = client.chat().create(&body)?;
println!("{:?}", result.creator);

PATCH/chat/{guid}*

client.chat.patch()client.chat().patch()

Update a chat

Updates chat room metadata or requests a lifecycle transition.

ParameterTypOrtPflichtBeschreibung
guidstrimpl DisplayPfadjaGUID for Entity
creator"creator"inti64BodyPerson ID recorded as the room creator.
domain_id"domainId"inti64BodyID of the group (ctg) or service-planning event (cte) associated with the room.
nonce"nonce"strStringBodySynchronization token for central chat service callbacks.
prefix"prefix"strStringBodyctg identifies a group and cte identifies a service-planning event.
roomname"roomname"strStringBodyDisplay name of the room.
status"status"strStringBodyRequested lifecycle status.

Rückgabe Chat

result = client.chat.patch("681F54E3-2EB7-40A4-84F0-EFF8E8F05727", creator=1)
print(result.creator)
let body = models::ChatUpdate {
    creator: Some(1),
    ..Default::default()
};
let result = client.chat().patch("681F54E3-2EB7-40A4-84F0-EFF8E8F05727", &body)?;
println!("{:?}", result.creator);

DELETE/chat/{guid}*

client.chat.delete()client.chat().delete()mit Filtern: .delete_with(&DeleteChatGuidQuery)

Delete a chat

Deletes the local chat room record. A missing record is treated as already deleted.

ParameterTypOrtPflichtBeschreibung
guidstrimpl DisplayPfadjaGUID for Entity
noncestrStringQuerySynchronization token for central chat service callbacks.

Rückgabe None()

client.chat.delete("681F54E3-2EB7-40A4-84F0-EFF8E8F05727")
client.chat().delete("681F54E3-2EB7-40A4-84F0-EFF8E8F05727")?;

POST/checkin/persons*

client.checkin.create_persons()client.checkin().create_persons()mit Filtern: .create_persons_with(&PostCheckinPersonsQuery)

Create new person and add to group

Creates a person and admits them to a group for the check-in workflow. Requires administer persons, or create person in churchcheckin plus group meeting permission and a person security level covering the selected status. Masterdata IDs are installation-specific. Ordinary duplicate-person confirmation is bypassed; a unique GUID and license limits still apply. A creation note and optional tag are saved before the membership. This request does not record meeting attendance or print a label; perform the actual check-in separately. Failure can leave earlier steps saved because the whole workflow is not one transaction. The response is the legacy person model, not the regular Person representation.

ParameterTypOrtPflichtBeschreibung
without_privacy_policy_agreementboolQueryOmits the otherwise mandatory privacy policy agreement fields.
group"group"CheckinMembershipCreateBodyjaMembership to create before a separate attendance check-in.
person"person"CheckinPersonDataCreateBodyjaPerson fields for creation during check-in admission.
tag_id"tagId"Optional[int]Option<i64>BodyOptional person-tag ID.

Rückgabe CheckinPerson

result = client.checkin.create_persons(
    group=ct.models.CheckinMembershipCreate.model_validate({"id": 9, "personFields": {}}),
    person=ct.models.CheckinPersonDataCreate.model_validate({"campusId": 42, "departmentIds": [42], "firstName": "Alex", "lastName": "Example", "statusId": 42}),
)
print(result.first_name)
let body = models::CheckinPersonCreate {
    group: models::CheckinMembershipCreate {
        id: 9,
        person_fields: Default::default(),
        ..Default::default()
    },
    person: models::CheckinPersonDataCreate {
        campus_id: 42,
        department_ids: vec![42],
        first_name: Some("Alex".into()),
        last_name: "Example".into(),
        status_id: 42,
        ..Default::default()
    },
    ..Default::default()
};
let result = client.checkin().create_persons(&body)?;
println!("{:?}", result.first_name);

PUT/checkin/persons*

client.checkin.update_persons()client.checkin().update_persons()

Put existing person into group

Admits an existing person to a group using its default role and check-in membership origin, optionally adds a tag, and updates person fields configured for that group. Requires administer persons or group meeting permission. Existing membership is a conflict, not an idempotent success. The operation does not record attendance or print labels. Tag changes occur before membership creation and can remain after a failed request. The returned legacy person-model representation differs from the regular Person API.

ParameterTypOrtPflichtBeschreibung
group"group"CheckinMembershipCreateBodyjaMembership to create before a separate attendance check-in.
person_id"personId"inti64BodyjaExisting person to admit to the group.
tag_id"tagId"Optional[int]Option<i64>BodyOptional person-tag ID.

Rückgabe CheckinPerson

result = client.checkin.update_persons(
    group=ct.models.CheckinMembershipCreate.model_validate({"id": 9, "personFields": {}}),
    person_id=42,
)
print(result.first_name)
let body = models::CheckinPersonUpdate {
    group: models::CheckinMembershipCreate {
        id: 9,
        person_fields: Default::default(),
        ..Default::default()
    },
    person_id: 42,
    ..Default::default()
};
let result = client.checkin().update_persons(&body)?;
println!("{:?}", result.first_name);

GET/printers

client.printers.list()client.printers().list()

Get printers

Lists all configured check-in code printers, including inactive printers. active indicates whether a printer is enabled; the endpoint does not check online status or submit a print job. Requires authentication but no additional printer/check-in permission in this handler. Results have no pagination or guaranteed order, and meta.count is the number of returned printers.

Rückgabe List[Printer]Vec<Printer>

for printer in client.printers.list():
    print(printer.title)
for printer in client.printers().list()? {
    println!("{}", printer.title);
}

GET/followups

client.followups.list()client.followups().list()mit Filtern: .list_with(&GetFollowupsQuery)seitenweise

List follow-ups assigned to the current user or eligible groups

Returns follow-ups owned by the current user plus unassigned group follow-ups for groups where the user has follow-up execution or administration rights. This includes personal and membership follow-ups; it is not an unrestricted list of every follow-up for a visible person. Archived subject persons are excluded. Date filters use effectiveDueDate and are combined with OR. Results are sorted by doneDate descending, then effectiveDueDate ascending, then ID ascending; finished items can precede open ones. Page/limit slice the result, but meta only contains count for this page, without a total or last page.

ParameterTypOrtPflichtBeschreibung
filterList[str]Vec<String>QueryRepeat to select any of the listed states.
limitinti64QueryMaximum results in this page.

Rückgabe Paginator[FollowUp2]Vec<FollowUp2>

for followup in client.followups.list():
    print(followup.title)
for followup in client.followups().list()? {
    println!("{}", followup.title);
}

GET/followups/{followUpId}

client.followups.get()client.followups().get()

Get follow-up

Returns one follow-up, including its subject person/group context, responsible person, current/original due dates and configured completion group. The current owner may view it; a group-associated follow-up is also visible to users with that group’s follow-up execution or administration rights. This direct check is broader than the list selection: group follow-ups assigned to another person can be read by eligible group staff even when omitted from their list. The response does not include notes or history, nor indicate whether its underlying specification is shared.

ParameterTypOrtPflichtBeschreibung
follow_up_idintimpl DisplayPfadjaID of Follow-up

Rückgabe FollowUp2

followup = client.followups.get(2)
print(followup.title)
let followup = client.followups().get(2)?;
println!("{}", followup.title);

PUT/followups/{followUpId}

client.followups.update()client.followups().update()

Update follow-up

Updates mutable fields of the specified follow-up.

ParameterTypOrtPflichtBeschreibung
follow_up_idintimpl DisplayPfadjaID of Follow-up
bodyUnion[FollowUpUpdate, FollowUpSharedUpdate]serde_json::ValueBodyja

Rückgabe FollowUp2

result = client.followups.update(
    2,
    body=ct.models.FollowUpUpdate.model_validate({"title": "Call Peter"}),
)
print(result.title)
let body = serde_json::json!({
    "title": "Call Peter"
});
let result = client.followups().update(2, &body)?;
println!("{}", result.title);

DELETE/followups/{followUpId}

client.followups.delete()client.followups().delete()

Delete follow-up

Deletes the follow-up and records deletion history in a transaction. Its specification is also deleted when it is not shared; a shared specification remains. Deletion requires access to the subject person and, for a group-associated follow-up, follow-up administration rights in that group. No dryRun/dependency-preview behavior is implemented. This removes the follow-up rather than marking it finished; it does not reverse group memberships or routine effects caused by earlier completion.

ParameterTypOrtPflichtBeschreibung
follow_up_idintimpl DisplayPfadjaID of Follow-up

Rückgabe None()

client.followups.delete(2)
client.followups().delete(2)?;

POST/followups/{followUpId}/complete

client.followups.complete()client.followups().complete()

Complete follow-up

Sets doneDate to the current timestamp and records completion history. The subject person must be visible. Group-associated follow-ups require "churchdb +do followup" permission in that group. A supplied nonzero successGroupId adds or updates the subject’s membership in that selected group, including overwriting an existing membership’s role/status. Configured fixed-group/group-type restrictions are checked; a configured group is not selected automatically. Emits a completion event, which can trigger configured continuations or routines. Repeating this operation replaces doneDate, writes another history entry and emits another event. Due dates are retained.

ParameterTypOrtPflichtBeschreibung
follow_up_idintimpl DisplayPfadjaID of Follow-up
success_group_id"successGroupId"Optional[int]Option<i64>BodySelected destination group.

Rückgabe FollowUp2

followup = client.followups.complete(2, success_group_id=42)
print(followup.title)
let body = models::FollowUpCompletionCreate {
    success_group_id: Some(Some(42)),
    ..Default::default()
};
let followup = client.followups().complete(2, &body)?;
println!("{}", followup.title);

POST/followups/{followUpId}/dismiss

client.followups.dismiss()client.followups().dismiss()

Dismiss follow-up

Marks the follow-up as finished by setting doneDate to the current timestamp and recording a dismissal history entry. The subject person must be visible. Group-associated follow-ups require "churchdb +do followup" permission in that group. No success-group membership is changed and no completion event is emitted. Completion and dismissal both appear through doneDate and differ only in history. Repeating dismissal updates doneDate and creates another history entry.

ParameterTypOrtPflichtBeschreibung
follow_up_idintimpl DisplayPfadjaID of Follow-up
bodyStrMap[Any]std::collections::BTreeMap<String, serde_json::Value>Body

Rückgabe FollowUp2

followup = client.followups.dismiss(2)
print(followup.title)
let body: std::collections::BTreeMap<String, serde_json::Value> = Default::default();
let followup = client.followups().dismiss(2, &body)?;
println!("{}", followup.title);

POST/followups/{followUpId}/notes

client.followups.notes()client.followups().notes()mit Filtern: .notes_with(&PostFollowupsFollowUpIdNotesQuery)

Add a note to a follow-up

Creates a note linked to this follow-up. With also_apply_to_person=true, the same note is also linked to the subject person. commentViewerId applies only to the person link. The subject person must be visible; group-associated follow-ups require "churchdb +do followup" permission in that group.

ParameterTypOrtPflichtBeschreibung
follow_up_idintimpl DisplayPfadjaID of Follow-up
also_apply_to_personboolQueryAdditionally link the same note to the subject person.
comment"comment"strStringBodyjaNote text.
comment_viewer_id"commentViewerId"Optional[int]Option<i64>BodyVisibility category applied only to an additional person link when also_apply_to_person=true.

Rückgabe None()

client.followups.notes(
    2,
    comment="Called Alex; another conversation is planned for next week.",
)
let body = models::FollowUpNoteCreate {
    comment: "Called Alex; another conversation is planned for next week.".into(),
    ..Default::default()
};
client.followups().notes(2, &body)?;

POST/followups/{followUpId}/postpone

client.followups.postpone()client.followups().postpone()

Postpone follow-up

Changes effectiveDueDate to a future calendar date and records postponement history. dueDate remains the original plan. The subject person must be visible. Group-associated follow-ups require "churchdb +do followup" permission in that group. Today is rejected. The method does not clear doneDate or reject already-finished follow-ups, so use reset to reopen one. No completion event or success-group action is performed.

ParameterTypOrtPflichtBeschreibung
follow_up_idintimpl DisplayPfadjaID of Follow-up
due_date"dueDate"dateNaiveDateBodyjaNew effective date, strictly after today in server date handling.

Rückgabe FollowUp2

followup = client.followups.postpone(2, due_date=dt.date(2026, 12, 1))
print(followup.title)
let body = models::FollowUpPostponeCreate {
    due_date: "2026-12-01".parse()?,
    ..Default::default()
};
let followup = client.followups().postpone(2, &body)?;
println!("{}", followup.title);

POST/followups/{followUpId}/reset

client.followups.reset()client.followups().reset()

Reset follow-up

Reopens the follow-up by clearing doneDate and records reset history. A supplied future dueDate becomes effectiveDueDate; otherwise the original dueDate is restored as the effective date. The original dueDate is unchanged. The subject person must be visible. Group-associated follow-ups require "churchdb +do followup" permission in that group. Reset is also accepted for an already-open follow-up. It does not undo previous completion effects.

ParameterTypOrtPflichtBeschreibung
follow_up_idintimpl DisplayPfadjaID of Follow-up
due_date"dueDate"Optional[date]Option<NaiveDate>BodyA future date overrides effectiveDueDate; otherwise it is restored from the original dueDate, which may be past or null.

Rückgabe FollowUp2

followup = client.followups.reset(2, due_date=dt.date(2026, 12, 1))
print(followup.title)
let body = models::FollowUpResetCreate {
    due_date: Some(Some("2026-12-01".parse()?)),
    ..Default::default()
};
let followup = client.followups().reset(2, &body)?;
println!("{}", followup.title);

GET/groups/{groupId}/followups

client.groups.followups.list()client.groups().followups().list()mit Filtern: .list_with(&GetGroupsGroupIdFollowupsQuery)seitenweise

List follow-ups for group memberships

Returns follow-ups associated with this group, restricted to items assigned to the current user and unassigned items in groups where that user has follow-up rights. Items assigned to other people are omitted even if the current user can view them individually. Requires permission to administer or perform follow-ups in this group. Follow-ups whose subject person is archived are excluded. State filters are combined with OR; omission includes all states. Results are ordered by completion date descending, effective due date ascending, then ID. Pagination returns only meta.count for this page, without a total or last-page value.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
filterList[str]Vec<String>QueryRepeat to select any of the listed states; omitted/empty includes all states.
limitinti64QueryMaximum results in this page.

Rückgabe Paginator[FollowUp2]Vec<FollowUp2>

for followup in client.groups.followups.list(42):
    print(followup.title)
for followup in client.groups().followups().list(42)? {
    println!("{}", followup.title);
}

GET/groups/{groupId}/followups/statistics

client.groups.followups.get_statistics()client.groups().followups().get_statistics()

Count follow-ups for a group by due state

Counts follow-ups in this group assigned to the current user, plus unassigned follow-ups where that user has group follow-up rights. Items assigned to other people and archived subject persons are excluded, matching the group list scope. Requires permission to administer or perform follow-ups in this group. The counters cover all matching records and ignore list pagination and filter parameters. Due states use the effective due date and the server’s current date; dismissed and completed follow-ups share countDone. An empty scope returns all five counters as zero.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe FollowUpStatistics

statistic = client.groups.followups.get_statistics(42)
print(statistic.count_done)
let statistic = client.groups().followups().get_statistics(42)?;
println!("{}", statistic.count_done);

GET/persons/{personId}/followups/statistics

client.persons.followups.get_statistics()client.persons().followups().get_statistics()

Get follow-up counts for a person

Counts follow-ups concerning this person, including tasks linked to group memberships. Requires permission to view the person. Counts are restricted to tasks assigned to the current user and unassigned tasks in groups where that user has follow-up rights; tasks assigned to other people are omitted. Archived subject persons are excluded. Counts cover all matching tasks independently of list pagination and state filters. Due categories use the effective due date and the server’s current date. countDone includes both completed and dismissed tasks. Empty results return zero for every category.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe FollowUpStatistics

statistic = client.persons.followups.get_statistics(42)
print(statistic.count_done)
let statistic = client.persons().followups().get_statistics(42)?;
println!("{}", statistic.count_done);

POST/persons/{personId}/followups

client.persons.followups.create()client.persons().followups().create()

Create a follow-up concerning a person

Creates a task concerning this person without a group or membership context. The subject person is distinct from ownerId, which identifies who should handle the task. Requires permission to view the person; a configured success group additionally requires permission to add members there, or the corresponding group-type permission. Missing/null ownerId assigns the task to the current user. A new specification is created from the title and display/success settings. A due date is optional and may lie in the past. Configuring a success group does not itself add a membership; the completion request must explicitly select the target group.

12 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
color"color"Optional[str]Option<String>BodyOptional color. Missing/null uses the yellow display fallback.
description"description"Optional[str]Option<String>BodyTrimmed description; missing, null or blank becomes null.
due_date"dueDate"Optional[date]Option<NaiveDate>BodyOriginal planned date.
effective_due_date"effectiveDueDate"Optional[date]Option<NaiveDate>BodyCurrent working due date.
icon"icon"Optional[str]Option<String>BodyOptional icon name. Missing/null/blank is stored as null; responses display the handshake fallback.
owner_id"ownerId"Optional[int]Option<i64>BodyResponsible person ID.
success_group_id"successGroupId"Optional[int]Option<i64>BodyOptional fixed destination group for completion.
success_group_member_status"successGroupMemberStatus"Optional[str]Option<String>BodyMembership status assigned in the selected success group; null uses the default active status.
success_group_of_group_type_id"successGroupOfGroupTypeId"Optional[int]Option<i64>BodyOptional group-type restriction for selecting a destination group on completion.
success_role_id"successRoleId"Optional[int]Option<i64>BodyRole assigned in the selected success group; null uses the membership service default.
title"title"strStringBodyja

Rückgabe FollowUp2

result = client.persons.followups.create(42, title="Call Peter")
print(result.title)
let body = models::FollowUpCreate {
    title: "Call Peter".into(),
    ..Default::default()
};
let result = client.persons().followups().create(42, &body)?;
println!("{}", result.title);

GET/notes/{domainType}/{domainId}

client.notes.get()client.notes().get()

List visible notes attached to an object

Lists notes linked to the requested object, newest creation date first, without pagination. Group notes require group visibility and a sufficient security level, person notes require comment-viewer permission, arrangement notes require parent-song visibility, and follow-up notes require access to the follow-up. Authors bypass the group security-level or person comment-category filter after the initial domain check. Person notes do not check the requested person’s visibility or existence. Each note includes all links and uses its first stored link for top-level domain fields.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaDomain types that notes can be used with
domain_idintimpl DisplayPfadjathe domain id

Rückgabe List[Note]Vec<Note>

for note in client.notes.get("group", 35):
    print(note.id)
for note in client.notes().get("group", 35)? {
    println!("{}", note.id);
}

POST/notes/{domainType}/{domainId}

client.notes.create()client.notes().create()

Create a note attached to an object

Creates a note linked to the object in the URL. Group notes require an existing group and group-note editing rights. Arrangement notes require "edit songcategory" permission for the parent song’s category. Person notes require person visibility, permission for the selected comment-viewer category, and person write or applicable group-member field-edit permission. Direct creation for follow_up is rejected; use the follow-up note API.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaDomain types that notes can be used with
domain_idintimpl DisplayPfadjathe domain id
comment_viewer_id"commentViewerId"Optional[int]Option<i64>BodyVisibility category for person notes.
security_level_id"securityLevelId"Optional[int]Option<i64>BodyGroup-note security threshold; ignored for list filtering in the other domains.
text"text"strStringBodyjaNote content shared by all links.

Rückgabe Note

result = client.notes.create("group", 35, text="Please follow up next week.")
print(result.id)
let body = models::NoteCreate {
    text: "Please follow up next week.".into(),
    ..Default::default()
};
let result = client.notes().create("group", 35, &body)?;
println!("{}", result.id);

PUT/notes/{domainType}/{domainId}/{noteId}

client.notes.update()client.notes().update()

Replace an authored note’s text and visibility

Updates a note owned by the current author. Only noteId selects the note; domainId does not verify its association. The shared text changes for every linked context, while visibility changes only on the first link matching domainType. No fresh domain or comment-category permission check is performed.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaDomain types that notes can be used with
domain_idintimpl DisplayPfadjathe domain id
note_idintimpl DisplayPfadjaID of note
comment_viewer_id"commentViewerId"Optional[int]Option<i64>BodyPerson-comment visibility category.
security_level_id"securityLevelId"Optional[int]Option<i64>BodyGroup-note security level.
text"text"strStringBodyjaNote content shared by all links.

Rückgabe Note

result = client.notes.update("group", 35, 101, text="Please follow up next week.")
print(result.id)
let body = models::NoteUpdate {
    text: "Please follow up next week.".into(),
    ..Default::default()
};
let result = client.notes().update("group", 35, 101, &body)?;
println!("{}", result.id);

DELETE/notes/{noteId}

client.notes.delete()client.notes().delete()

Delete a note and all its links

Deletes the note from every linked business object. Authors can delete their notes without a fresh object-access check. Non-authors need global churchdb write access, and the first stored link must be a person link; person and comment visibility are not checked. Other domains do not allow non-author deletion. DELETE /notes/{domainType}/{domainId}/{noteId} is an equivalent alias whose domain path fields are ignored.

ParameterTypOrtPflichtBeschreibung
note_idintimpl DisplayPfadjaID of note

Rückgabe None()

client.notes.delete(101)
client.notes().delete(101)?;

DELETE/notes/{domainType}/{domainId}/{noteId}

client.notes.delete_for_object()client.notes().delete_for_object()

Delete a note and all its links

Deletes the note and all its links, not only the link named in the URL. The handler ignores domainType and domainId. Authors can delete their notes without a fresh domain-access check. Non-authors need global churchdb write access, and the first stored link must be a person link; person and comment visibility are not checked. Other domains do not allow non-author deletion. DELETE /notes/{noteId} calls the same handler.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaLegacy path context; ignored by this DELETE handler.
domain_idstrimpl DisplayPfadjaLegacy object identifier; ignored by this DELETE handler.
note_idintimpl DisplayPfadjaID of note

Rückgabe None()

client.notes.delete_for_object("group", "42", 101)
client.notes().delete_for_object("group", "42", 101)?;

GET/addresses/{domainType}/{domainIdentifier}

client.addresses.get()client.addresses().get()

Get addresses by domain object

Returns stored meeting-place addresses for the group in the path. Only domainType=group is currently registered for this endpoint. Requires permission to view the group. The list is unpaginated, with no guaranteed order; meta.count is the number of addresses returned. An existing group without addresses returns an empty list.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaThe domain type to retrieve addresses for.
domain_identifierstrimpl DisplayPfadjaGroup ID as a string.

Rückgabe List[StoredAddress]Vec<StoredAddress>

for address in client.addresses.get("group", "42"):
    print(address.name)
for address in client.addresses().get("group", "42")? {
    println!("{:?}", address.name);
}

POST/addresses/{domainType}/{domainIdentifier}

client.addresses.create()client.addresses().create()

Create an address for a domain object

Creates another stored meeting-place address for the group. Only domainType=group is registered. Requires permission to edit the group’s meeting-place field (treffpunkt). Ownership and address ID are supplied in the path. Coordinates are accepted as numbers or decimal strings and returned as strings or null. The request does not geocode a postal address automatically.

13 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaThe domain type to retrieve addresses for.
domain_identifierstrimpl DisplayPfadjaGroup ID as a string.
addition"addition"Optional[str]Option<String>BodyAddress addition. Whitespace is trimmed; omitted, null or blank clears the value.
city"city"Optional[str]Option<String>BodyAddress city. Whitespace is trimmed; omitted, null or blank clears the value.
color"color"Optional[Union[str, str]]serde_json::ValueBodyOptional ChurchTools color.
country"country"Optional[str]Option<String>BodyCountry code, at most two characters.
district"district"Optional[str]Option<String>BodyAddress district. Whitespace is trimmed; omitted, null or blank clears the value.
icon"icon"Optional[str]Option<String>BodyAddress icon. Whitespace is trimmed; omitted, null or blank clears the value.
latitude"latitude"Optional[Union[float, str]]serde_json::ValueBodyCoordinate as a number or decimal string.
longitude"longitude"Optional[Union[float, str]]serde_json::ValueBodyCoordinate as a number or decimal string.
name"name"Optional[str]Option<String>BodyAddress name. Whitespace is trimmed; omitted, null or blank clears the value.
street"street"Optional[str]Option<String>BodyAddress street. Whitespace is trimmed; omitted, null or blank clears the value.
zip"zip"Optional[str]Option<String>BodyAddress zip. Whitespace is trimmed; omitted, null or blank clears the value.

Rückgabe StoredAddress

result = client.addresses.create("group", "42", name="Retreat Center")
print(result.name)
let body = models::GroupAddressCreate {
    name: Some(Some("Retreat Center".into())),
    ..Default::default()
};
let result = client.addresses().create("group", "42", &body)?;
println!("{:?}", result.name);

PUT/addresses/{domainType}/{domainIdentifier}/{addressId}

client.addresses.update()client.addresses().update()

Update an address

Replaces a stored meeting-place address. Omitted body fields are cleared; send all values to retain. Only domainType=group is registered. Requires permission to edit the group’s meeting-place field (treffpunkt). Ownership and address ID are supplied in the path. Coordinates are accepted as numbers or decimal strings and returned as strings or null. The request does not geocode a postal address automatically.

14 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaThe domain type of the address.
domain_identifierstrimpl DisplayPfadjaGroup ID as a string.
address_idintimpl DisplayPfadjaThe ID of the address to update or delete.
addition"addition"Optional[str]Option<String>BodyAddress addition. Whitespace is trimmed; omitted, null or blank clears the value.
city"city"Optional[str]Option<String>BodyAddress city. Whitespace is trimmed; omitted, null or blank clears the value.
color"color"Optional[Union[str, str]]serde_json::ValueBodyOptional ChurchTools color.
country"country"Optional[str]Option<String>BodyCountry code, at most two characters.
district"district"Optional[str]Option<String>BodyAddress district. Whitespace is trimmed; omitted, null or blank clears the value.
icon"icon"Optional[str]Option<String>BodyAddress icon. Whitespace is trimmed; omitted, null or blank clears the value.
latitude"latitude"Optional[Union[float, str]]serde_json::ValueBodyCoordinate as a number or decimal string.
longitude"longitude"Optional[Union[float, str]]serde_json::ValueBodyCoordinate as a number or decimal string.
name"name"Optional[str]Option<String>BodyAddress name. Whitespace is trimmed; omitted, null or blank clears the value.
street"street"Optional[str]Option<String>BodyAddress street. Whitespace is trimmed; omitted, null or blank clears the value.
zip"zip"Optional[str]Option<String>BodyAddress zip. Whitespace is trimmed; omitted, null or blank clears the value.

Rückgabe StoredAddress

result = client.addresses.update("group", "42", 7, name="Retreat Center")
print(result.name)
let body = models::GroupAddressUpdate {
    name: Some(Some("Retreat Center".into())),
    ..Default::default()
};
let result = client.addresses().update("group", "42", 7, &body)?;
println!("{:?}", result.name);

DELETE/addresses/{domainType}/{domainIdentifier}/{addressId}

client.addresses.delete()client.addresses().delete()

Delete an address

Deletes the stored address identified by addressId. Only domainType=group is registered. Requires permission to edit the meeting-place field (treffpunkt) of the group in the path. The group itself remains. This operation has no dry-run mode; an unknown address ID returns 404.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaThe domain type of the address.
domain_identifierstrimpl DisplayPfadjaGroup ID as a string.
address_idintimpl DisplayPfadjaThe ID of the address to update or delete.

Rückgabe None()

client.addresses.delete("group", "42", 7)
client.addresses().delete("group", "42", 7)?;

GET/campuses

client.campuses.list()client.campuses().list()

Get all campuses

Returns an array of all campuses defined in ChurchTools. Campuses are sorted by its sortKey by default.

Rückgabe List[Campus]Vec<Campus>

for campus in client.campuses.list():
    print(campus.name)
for campus in client.campuses().list()? {
    println!("{}", campus.name);
}

GET/campuses/{id}

client.campuses.get()client.campuses().get()

Get a campus

Get a specific campus

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe Campus

campus = client.campuses.get(1)
print(campus.name)
let campus = client.campuses().get(1)?;
println!("{}", campus.name);

POST/campuses

client.campuses.create()client.campuses().create()

Create new campus

Save new campus

ParameterTypOrtPflichtBeschreibung
name"name"strStringBodyjaCampus name. Whitespace is trimmed; at least one character must remain.
shorty"shorty"strStringBodyjaAbbreviation used in compact displays.
sort_key"sortKey"inti64BodyDisplay-order value for clients that sort campuses.

Rückgabe Campus

result = client.campuses.create(name="Hamburg Altona", shorty="ALT")
print(result.name)
let body = models::CampusCreate {
    name: "Hamburg Altona".into(),
    shorty: "ALT".into(),
    ..Default::default()
};
let result = client.campuses().create(&body)?;
println!("{}", result.name);

PUT/campuses/{id}

client.campuses.update()client.campuses().update()

Update campus

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
name"name"Optional[str]Option<String>BodyNew name. Omitted or null retains the current value.
shorty"shorty"Optional[str]Option<String>BodyNew abbreviation. Omitted or null retains the current value.
sort_key"sortKey"Optional[int]Option<i64>BodyNew display-order value.

Rückgabe Campus

result = client.campuses.update(1, name="Hauskreis Nord")
print(result.name)
let body = models::CampusUpdate {
    name: Some(Some("Hauskreis Nord".into())),
    ..Default::default()
};
let result = client.campuses().update(1, &body)?;
println!("{}", result.name);

DELETE/campuses/{id}

client.campuses.delete()client.campuses().delete()

Delete a campus

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe None()

client.campuses.delete(1)
client.campuses().delete(1)?;

GET/contactlabels

client.contact_labels.list()client.contact_labels().list()

Get All Contact Labels

Returns all email contact labels, ordered by sortKey and then name, both ascending. Labels classify addresses such as private and work.

Rückgabe List[ContactLabel]Vec<ContactLabel>

for contact_label in client.contact_labels.list():
    print(contact_label.name)
for contact_label in client.contact_labels().list()? {
    println!("{}", contact_label.name);
}

GET/contactlabels/{id}

client.contact_labels.get()client.contact_labels().get()

Get Contact Label

Returns a contact-label definition, including its translated display name and default flag.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe ContactLabel

contact_label = client.contact_labels.get(1)
print(contact_label.name)
let contact_label = client.contact_labels().get(1)?;
println!("{}", contact_label.name);

POST/contactlabels

client.contact_labels.create()client.contact_labels().create()

Create new Contact Label

Creates a reusable email contact label. Requires "edit masterdata" permission in churchdb. Setting isDefault to true replaces the existing default.

ParameterTypOrtPflichtBeschreibung
is_default"isDefault"boolBodyjaWhether this label is preferred for new email addresses.
name"name"strStringBodyjaUnique contact-label name.
sort_key"sortKey"inti64BodyjaDisplay-order value.

Rückgabe ContactLabel

result = client.contact_labels.create(is_default=False, name="Private", sort_key=10)
print(result.name)
let body = models::ContactLabelCreate {
    is_default: false,
    name: "Private".into(),
    sort_key: 10,
    ..Default::default()
};
let result = client.contact_labels().create(&body)?;
println!("{}", result.name);

PUT/contactlabels/{id}

client.contact_labels.update()client.contact_labels().update()

Update Contact Label

Replaces an email contact label. Requires "edit masterdata" permission in churchdb. Existing email-address associations retain the label ID.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
is_default"isDefault"boolBodyjaWhether this label is preferred for new email addresses.
name"name"strStringBodyjaUnique contact-label name.
sort_key"sortKey"inti64BodyjaDisplay-order value.

Rückgabe ContactLabel

result = client.contact_labels.update(1, is_default=False, name="Private", sort_key=10)
print(result.name)
let body = models::ContactLabelUpdate {
    is_default: false,
    name: "Private".into(),
    sort_key: 10,
    ..Default::default()
};
let result = client.contact_labels().update(1, &body)?;
println!("{}", result.name);

DELETE/contactlabels/{id}

client.contact_labels.delete()client.contact_labels().delete()mit Filtern: .delete_with(&DeleteContactlabelsIdQuery)

Delete Contact Label

Deletes an email contact label. Requires "edit masterdata" permission in churchdb. Email-address references can block deletion.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.contact_labels.delete(1)
client.contact_labels().delete(1)?;

GET/person/relationshiptypes

client.person.relationship_types.list()client.person().relationship_types().list()

List person relationship types

Lists relationship-type definitions, ordered by sortKey and stored name. This is a catalog, not the relationships between individual persons.

Rückgabe List[RelationshipType]Vec<RelationshipType>

for relationship_type in client.person.relationship_types.list():
    print(relationship_type.name)
for relationship_type in client.person().relationship_types().list()? {
    println!("{:?}", relationship_type.name);
}

GET/person/relationshiptypes/{id}

client.person.relationship_types.get()client.person().relationship_types().get()

Get a person relationship type

Returns one relationship-type catalog definition, not a relationship between two persons.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaRelationship-type catalog ID, not the ID of a relationship between two persons.

Rückgabe RelationshipType

relationship_type = client.person.relationship_types.get(4)
print(relationship_type.name)
let relationship_type = client.person().relationship_types().get(4)?;
println!("{:?}", relationship_type.name);

POST/person/relationshiptypes

client.person.relationship_types.create()client.person().relationship_types().create()

Create a person relationship type

Creates a relationship-type catalog definition. Requires "edit masterdata" permission in churchdb.

ParameterTypOrtPflichtBeschreibung
degree_name_a"degreeNameA"strStringBodyjaRole label for side A.
degree_name_b"degreeNameB"strStringBodyjaRole label for side B and counterpart of degreeNameA.
export_title"exportTitle"Optional[str]Option<String>BodyHeading for the combined export column.
include_in_export"includeInExport"Optional[bool]Option<bool>BodyControls column aggregation when this relationship is selected for person export.
name"name"Optional[str]Option<String>BodyStored name or translation key.
security_level_id"securityLevelId"inti64BodyjaID of an existing, installation-specific security level for relationships of this type.
sort_key"sortKey"Optional[int]Option<i64>BodyAscending catalog sort key.

Rückgabe RelationshipType

result = client.person.relationship_types.create(
    degree_name_a="Parent",
    degree_name_b="Child",
    security_level_id=1,
)
print(result.name)
let body = models::RelationshipTypeCreate {
    degree_name_a: "Parent".into(),
    degree_name_b: "Child".into(),
    security_level_id: 1,
    ..Default::default()
};
let result = client.person().relationship_types().create(&body)?;
println!("{:?}", result.name);

PUT/person/relationshiptypes/{id}

client.person.relationship_types.update()client.person().relationship_types().update()

Update a person relationship type

Replaces the editable fields of an existing relationship-type definition. Requires "edit masterdata" permission in churchdb. Existing person-to-person relationships retain their IDs and use the updated definition.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaRelationship-type catalog ID, not the ID of a relationship between two persons.
degree_name_a"degreeNameA"strStringBodyjaRole label for side A.
degree_name_b"degreeNameB"strStringBodyjaRole label for side B and counterpart of degreeNameA.
export_title"exportTitle"Optional[str]Option<String>BodyHeading for the combined export column.
include_in_export"includeInExport"Optional[bool]Option<bool>BodyControls column aggregation when this relationship is selected for person export.
name"name"Optional[str]Option<String>BodyStored name or translation key.
security_level_id"securityLevelId"inti64BodyjaID of an existing, installation-specific security level for relationships of this type.
sort_key"sortKey"Optional[int]Option<i64>BodyAscending catalog sort key.

Rückgabe RelationshipType

result = client.person.relationship_types.update(
    4,
    degree_name_a="Parent",
    degree_name_b="Child",
    security_level_id=1,
)
print(result.name)
let body = models::RelationshipTypeUpdate {
    degree_name_a: "Parent".into(),
    degree_name_b: "Child".into(),
    security_level_id: 1,
    ..Default::default()
};
let result = client.person().relationship_types().update(4, &body)?;
println!("{:?}", result.name);

DELETE/person/relationshiptypes/{id}

client.person.relationship_types.delete()client.person().relationship_types().delete()mit Filtern: .delete_with(&DeletePersonRelationshiptypesIdQuery)

Delete a relationship type and its person relationships

Deletes the relationship-type definition and every stored person-to-person relationship referencing it. Requires "edit masterdata" permission in churchdb. Types with the built-in nodelete flag cannot be deleted.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaRelationship-type catalog ID, not the ID of a relationship between two persons.
dry_runboolQueryPreview blockers and relationships that would be deleted.

Rückgabe None()

client.person.relationship_types.delete(4)
client.person().relationship_types().delete(4)?;

GET/statuses

client.statuses.list()client.statuses().list()

Get all statuses

Returns all person-status definitions, ordered by sortKey and then name.

Rückgabe List[Status]Vec<Status>

for status in client.statuses.list():
    print(status.name)
for status in client.statuses().list()? {
    println!("{}", status.name);
}

GET/statuses/{id}

client.statuses.get()client.statuses().get()

Get a specific status

Returns one person-status definition, including its translated name and abbreviation.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe Status

status = client.statuses.get(1)
print(status.name)
let status = client.statuses().get(1)?;
println!("{}", status.name);

POST/statuses

client.statuses.create()client.statuses().create()

Save new status

Creates a person-status definition. Requires "edit masterdata" permission in churchdb.

ParameterTypOrtPflichtBeschreibung
is_member"isMember"Optional[bool]Option<bool>BodyWhether this status marks a person as a church member.
is_searchable"isSearchable"Optional[bool]Option<bool>BodyWhether persons with this status are eligible for the corresponding free-text person selection.
name"name"strStringBodyjaStatus name.
security_level_id"securityLevelId"inti64BodyjaExisting security-level definition associated with this status.
shorty"shorty"Optional[str]Option<String>BodyAbbreviation of the status name.
sort_key"sortKey"Optional[int]Option<i64>BodyDisplay-order value.

Rückgabe Status

result = client.statuses.create(name="Member", security_level_id=2)
print(result.name)
let body = models::StatusCreate {
    name: "Member".into(),
    security_level_id: 2,
    ..Default::default()
};
let result = client.statuses().create(&body)?;
println!("{}", result.name);

PUT/statuses/{id}

client.statuses.update()client.statuses().update()veraltet

Update status

Replaces a person-status definition. Requires "edit masterdata" permission in churchdb. Existing persons retain the status ID. Use PATCH /statuses/{id} instead.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
is_member"isMember"Optional[bool]Option<bool>BodyWhether this status marks a person as a church member.
is_searchable"isSearchable"Optional[bool]Option<bool>BodyWhether persons with this status are eligible for the corresponding free-text person selection.
name"name"strStringBodyjaStatus name.
security_level_id"securityLevelId"inti64BodyjaExisting security-level definition associated with this status.
shorty"shorty"Optional[str]Option<String>BodyAbbreviation of the status name.
sort_key"sortKey"Optional[int]Option<i64>BodyDisplay-order value.

Rückgabe Status

result = client.statuses.update(1, name="Member", security_level_id=2)
print(result.name)
let body = models::StatusCreate {
    name: "Member".into(),
    security_level_id: 2,
    ..Default::default()
};
let result = client.statuses().update(1, &body)?;
println!("{}", result.name);

PATCH/statuses/{id}

client.statuses.patch()client.statuses().patch()

Update status

Updates the supplied fields of the specified person-status definition. Requires "edit masterdata" permission in churchdb. Omitted fields remain unchanged.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
is_member"isMember"boolBody
is_searchable"isSearchable"boolBody
name"name"strStringBody
security_level_id"securityLevelId"inti64BodyExisting security-level definition associated with this status.
shorty"shorty"Optional[str]Option<String>Body
sort_key"sortKey"inti64Body

Rückgabe Status

result = client.statuses.patch(1, name="Member")
print(result.name)
let body = models::StatusUpdate {
    name: Some("Member".into()),
    ..Default::default()
};
let result = client.statuses().patch(1, &body)?;
println!("{}", result.name);

DELETE/statuses/{id}

client.statuses.delete()client.statuses().delete()

Delete a status

Deletes the status definition after checking dependent references. Requires "edit masterdata" permission in churchdb. Person assignments and other configuration can block deletion.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe None()

client.statuses.delete(1)
client.statuses().delete(1)?;

Department

1 Endpunkte im Überblick

GET/departments

client.departments.list()client.departments().list()

Get all departments

Returns all department definitions, ordered by sortKey and then name. The caller must be allowed to view departmentIds on their current person record. This is a definition list, not a list of persons visible through those departments.

Rückgabe List[Department]Vec<Department>

for department in client.departments.list():
    print(department.name)
for department in client.departments().list()? {
    println!("{}", department.name);
}

GET/profiles

client.profiles.list()client.profiles().list()

Get all profiles

This endpoint returns all profiles for logged in users with permissions. All others (incl. public access) will only get published profiles.

Rückgabe List[Profile]Vec<Profile>

for profile in client.profiles.list():
    print(profile.name)
for profile in client.profiles().list()? {
    println!("{}", profile.name);
}

GET/profiles/church

client.profiles.get_church()client.profiles().get_church()

Get a profile

Get church profile information.

Rückgabe Profile

church = client.profiles.get_church()
print(church.name)
let church = client.profiles().get_church()?;
println!("{}", church.name);

PUT/profiles/church*

client.profiles.update_church()client.profiles().update_church()

Update the church profile

Update church information

22 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
address"address"Optional[ProfileAddressUpdate]Option<ProfileAddressUpdate>Body
association_id"associationId"Optional[int]Option<i64>Body
denomination"denomination"Union[str, ProfileUpdateDenominationVariant2]serde_json::ValueBodyEither exact denomination key or denomination object with name property.
description"description"Optional[str]Option<String>Body
email"email"Optional[str]Option<String>Body
groups"groups"List[int]Vec<i64>BodyList of group IDs shown on the profile.
is_published"isPublished"boolBody
name"name"strStringBodyja
phone"phone"Optional[str]Option<String>Body
services"services"List[ProfileUpdateServicesItem]Vec<ProfileUpdateServicesItem>Body
short_name"shortName"Optional[str]Option<String>Body
shorty"shorty"strStringBody
sign_up_group_id"signUpGroupId"Optional[int]Option<i64>BodyGroup ID used for profile sign-up or null to disable sign-up.
slug"slug"Optional[str]Option<String>Body
social_media"socialMedia"StrMap[str]BTreeMap<String, String>BodyKey-Value Pair, where key is the name of the network and value is the absolute link
sort_key"sortKey"inti64Body
tags"tags"List[str]Vec<String>BodyList of tags.
team"team"List[ProfileUpdateTeamItem]Vec<ProfileUpdateTeamItem>Body
team_title"teamTitle"Optional[str]Option<String>Body
visitors"visitors"inti64BodySingle integer, which represents a range.
website"website"Optional[str]Option<String>Body
id"id"inti64BodyCampus profile ID. For /profiles/church, this is ignored.

Rückgabe Profile

result = client.profiles.update_church(name="Hauskreis Nord")
print(result.name)
let body = models::ProfileUpdate {
    name: "Hauskreis Nord".into(),
    ..Default::default()
};
let result = client.profiles().update_church(&body)?;
println!("{}", result.name);

PUT/profiles/campuses/{id}*

client.profiles.campuses.update()client.profiles().campuses().update()

Update a campus profile

Update campus profile information

23 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaCampus profile ID
address"address"Optional[ProfileAddressUpdate]Option<ProfileAddressUpdate>Body
association_id"associationId"Optional[int]Option<i64>Body
denomination"denomination"Union[str, ProfileUpdateDenominationVariant2]serde_json::ValueBodyEither exact denomination key or denomination object with name property.
description"description"Optional[str]Option<String>Body
email"email"Optional[str]Option<String>Body
groups"groups"List[int]Vec<i64>BodyList of group IDs shown on the profile.
is_published"isPublished"boolBody
name"name"strStringBodyja
phone"phone"Optional[str]Option<String>Body
services"services"List[ProfileUpdateServicesItem]Vec<ProfileUpdateServicesItem>Body
short_name"shortName"Optional[str]Option<String>Body
shorty"shorty"strStringBody
sign_up_group_id"signUpGroupId"Optional[int]Option<i64>BodyGroup ID used for profile sign-up or null to disable sign-up.
slug"slug"Optional[str]Option<String>Body
social_media"socialMedia"StrMap[str]BTreeMap<String, String>BodyKey-Value Pair, where key is the name of the network and value is the absolute link
sort_key"sortKey"inti64Body
tags"tags"List[str]Vec<String>BodyList of tags.
team"team"List[ProfileUpdateTeamItem]Vec<ProfileUpdateTeamItem>Body
team_title"teamTitle"Optional[str]Option<String>Body
visitors"visitors"inti64BodySingle integer, which represents a range.
website"website"Optional[str]Option<String>Body
id2"id"inti64BodyCampus profile ID. For /profiles/church, this is ignored.

Rückgabe Profile

result = client.profiles.campuses.update(42, name="Hauskreis Nord")
print(result.name)
let body = models::ProfileUpdate {
    name: "Hauskreis Nord".into(),
    ..Default::default()
};
let result = client.profiles().campuses().update(42, &body)?;
println!("{}", result.name);

GET/subscriptions/{personId}

client.subscriptions.list()client.subscriptions().list()

List the current person’s effective subscriptions

Subscriptions control notifications for a subject (for example a group, post or resource). Explicit settings override implicit defaults for the same person, subject and identifier. Only the current person may access their own subscriptions. Read results include active and inactive subscriptions, after subject-specific eligibility filtering: meeting/service requests require a registered push-capable device, email summaries require an eligible recipient, and resources require administration or booking-administration rights. A stored override can therefore be absent from a read response. Results are not paginated; meta.count includes compatibility aliases. Legacy subjects meetingrequests and servicerequests are normalized to meetingrequest and servicerequest; identifier 0 is normalized to root for both. List responses additionally include a legacy alias for each canonical root result. These aliases are compatibility copies, not separate subscriptions.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe List[Union[SubscriptionGroup, SubscriptionMeetingRequests, SubscriptionPost, SubscriptionPostSummary, SubscriptionPublicChannel, SubscriptionResource, SubscriptionServiceRequests, SubscriptionLegacyMeetingRequests, SubscriptionLegacyServiceRequests]]Vec<serde_json::Value>

for subscription in client.subscriptions.list(42):
    print(subscription)
for subscription in client.subscriptions().list(42)? {
    println!("{:?}", subscription);
}

GET/subscriptions/{personId}/{subject}

client.subscriptions.list_for_subject()client.subscriptions().list_for_subject()

List effective subscriptions for one subject

Subscriptions control notifications for a subject (for example a group, post or resource). Explicit settings override implicit defaults for the same person, subject and identifier. Only the current person may access their own subscriptions. Read results include active and inactive subscriptions, after subject-specific eligibility filtering: meeting/service requests require a registered push-capable device, email summaries require an eligible recipient, and resources require administration or booking-administration rights. A stored override can therefore be absent from a read response. Results are not paginated; meta.count includes compatibility aliases. Legacy subjects meetingrequests and servicerequests are normalized to meetingrequest and servicerequest; identifier 0 is normalized to root for both. List responses additionally include a legacy alias for each canonical root result. These aliases are compatibility copies, not separate subscriptions.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
subjectstrimpl DisplayPfadjaNotification subject.

Rückgabe List[Union[SubscriptionGroup, SubscriptionMeetingRequests, SubscriptionPost, SubscriptionPostSummary, SubscriptionPublicChannel, SubscriptionResource, SubscriptionServiceRequests, SubscriptionLegacyMeetingRequests, SubscriptionLegacyServiceRequests]]Vec<serde_json::Value>

for for_subject in client.subscriptions.list_for_subject(42, "group"):
    print(for_subject)
for for_subject in client.subscriptions().list_for_subject(42, "group")? {
    println!("{:?}", for_subject);
}

GET/subscriptions/{personId}/{subject}/{subjectIdentifier}

client.subscriptions.get()client.subscriptions().get()

Get one effective subscription

Subscriptions control notifications for a subject (for example a group, post or resource). Explicit settings override implicit defaults for the same person, subject and identifier. Only the current person may access their own subscriptions. Read results include active and inactive subscriptions, after subject-specific eligibility filtering: meeting/service requests require a registered push-capable device, email summaries require an eligible recipient, and resources require administration or booking-administration rights. A stored override can therefore be absent from a read response. Legacy subjects meetingrequests and servicerequests are normalized to meetingrequest and servicerequest; identifier 0 is normalized to root for both. List responses additionally include a legacy alias for each canonical root result. These aliases are compatibility copies, not separate subscriptions. This endpoint returns one object using the canonical subject and identifier, without a compatibility copy. It returns 404 when no eligible effective subscription exists and 422 if more than one result remains.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
subjectstrimpl DisplayPfadjaNotification subject.
subject_identifierstrimpl DisplayPfadjagroup/post/public_channel: target ID; post_summary: 0; meetingrequest: root (legacy 0); servicerequest: root, created, assigned, unassigned, accepted, declined or reminder (legacy 0); resource: root or resource ID.

Rückgabe Union[SubscriptionGroup, SubscriptionMeetingRequests, SubscriptionPost, SubscriptionPostSummary, SubscriptionPublicChannel, SubscriptionResource, SubscriptionServiceRequests, SubscriptionLegacyMeetingRequests, SubscriptionLegacyServiceRequests]serde_json::Value

result = client.subscriptions.get(42, "group", "root")
print(result)
let result = client.subscriptions().get(42, "group", "root")?;
println!("{:?}", result);

PUT/subscriptions/{personId}/{subject}/{subjectIdentifier}*

client.subscriptions.update()client.subscriptions().update()

Create or replace an explicit subscription override

Subscriptions control notifications for a subject (for example a group, post or resource). Explicit settings override implicit defaults for the same person, subject and identifier. Only the current person may access their own subscriptions. Creates or updates a stored override and returns that single object before read-side eligibility filtering. Omitted isActive becomes true and omitted options clears existing options to null. For post_summary, options.filter and 1–7 distinct options.weekdays are required, and the current person needs a receiving email address. Use identifier 0 for post_summary. Legacy subjects meetingrequests and servicerequests are normalized to meetingrequest and servicerequest; identifier 0 is normalized to root for both. List responses additionally include a legacy alias for each canonical root result. These aliases are compatibility copies, not separate subscriptions.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
subjectstrimpl DisplayPfadjaNotification subject.
subject_identifierstrimpl DisplayPfadjagroup/post/public_channel: target ID; post_summary: 0; meetingrequest: root (legacy 0); servicerequest: root, created, assigned, unassigned, accepted, declined or reminder (legacy 0); resource: root or resource ID.
is_active"isActive"boolBodyOmission enables the override, including when replacing an existing inactive setting.
options"options"Optional[Union[PostSummarySubscriptionOptions, StrMap[Any], List[Any]]]serde_json::ValueBodyRequired structured email-summary options for post_summary.

Rückgabe Union[SubscriptionGroup, SubscriptionMeetingRequests, SubscriptionPost, SubscriptionPostSummary, SubscriptionPublicChannel, SubscriptionResource, SubscriptionServiceRequests, SubscriptionLegacyMeetingRequests, SubscriptionLegacyServiceRequests]serde_json::Value

result = client.subscriptions.update(42, "group", "root", is_active=True)
print(result)
let body = models::SubscriptionUpdate {
    is_active: Some(true),
    ..Default::default()
};
let result = client.subscriptions().update(42, "group", "root", &body)?;
println!("{:?}", result);

DELETE/subscriptions/{personId}/{subject}/{subjectIdentifier}*

client.subscriptions.delete()client.subscriptions().delete()

Delete an explicit subscription override

Subscriptions control notifications for a subject (for example a group, post or resource). Explicit settings override implicit defaults for the same person, subject and identifier. Only the current person may access their own subscriptions. Removes the stored override, not the implicit default. If no explicit row exists, returns 404 even when GET returns an implicit subscription. Removing an inactive override can enable notifications again through the default; use PUT with isActive=false to opt out. Legacy subjects meetingrequests and servicerequests are normalized to meetingrequest and servicerequest; identifier 0 is normalized to root for both. List responses additionally include a legacy alias for each canonical root result. These aliases are compatibility copies, not separate subscriptions.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
subjectstrimpl DisplayPfadjaNotification subject.
subject_identifierstrimpl DisplayPfadjagroup/post/public_channel: target ID; post_summary: 0; meetingrequest: root (legacy 0); servicerequest: root, created, assigned, unassigned, accepted, declined or reminder (legacy 0); resource: root or resource ID.

Rückgabe None()

client.subscriptions.delete(42, "group", "root")
client.subscriptions().delete(42, "group", "root")?;

GET/facts

client.facts.list()client.facts().list()

List fact definitions

A fact definition describes a reusable metric (number) or selection (select), such as attendance or service type. It is separate from the value recorded for an individual event. Returns all definitions, ordered by sortKey ascending and then name ascending, without pagination. Definitions are not filtered by permissions to view recorded fact values.

Rückgabe List[Union[FactNumber, FactSelect]]Vec<serde_json::Value>

for fact in client.facts.list():
    print(fact)
for fact in client.facts().list()? {
    println!("{:?}", fact);
}

GET/facts/{id}

client.facts.get()client.facts().get()

Get a fact definition

Returns the reusable definition, including the numeric unit or available selection labels. This does not return values recorded for events and does not check permission to view those values.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of the fact master data entry.

Rückgabe Union[FactNumber, FactSelect]serde_json::Value

result = client.facts.get(3)
print(result)
let result = client.facts().get(3)?;
println!("{:?}", result);

POST/facts

client.facts.create()client.facts().create()

Create a fact definition

Creates a reusable metric or selection definition. Values for individual events are managed separately. Requires the "edit masterdata" permission for the service planning domain.

ParameterTypOrtPflichtBeschreibung
bodyUnion[FactNumberCreate, FactSelectCreate]serde_json::ValueBodyja

Rückgabe Union[FactNumber, FactSelect]serde_json::Value

result = client.facts.create(
    body=ct.models.FactNumberCreate.model_validate({"name": "Attendance", "type": "number", "unit": "people"}),
)
print(result)
let body = serde_json::json!({
    "name": "Attendance",
    "type": "number",
    "unit": "people"
});
let result = client.facts().create(&body)?;
println!("{:?}", result);

PUT/facts/{id}

client.facts.update()client.facts().update()

Replace a fact definition

Replaces the definition’s name, type, sort order and type-specific settings. Stored event values are not migrated or validated against a changed type or option list. Requires the "edit masterdata" permission for the service planning domain; permission to edit an individual fact value is not sufficient.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of the fact master data entry.
bodyUnion[FactNumberCreate, FactSelectCreate]serde_json::ValueBodyja

Rückgabe Union[FactNumber, FactSelect]serde_json::Value

result = client.facts.update(
    3,
    body=ct.models.FactNumberCreate.model_validate({"name": "Attendance", "type": "number", "unit": "people"}),
)
print(result)
let body = serde_json::json!({
    "name": "Attendance",
    "type": "number",
    "unit": "people"
});
let result = client.facts().update(3, &body)?;
println!("{:?}", result);

DELETE/facts/{id}

client.facts.delete()client.facts().delete()mit Filtern: .delete_with(&DeleteFactsIdQuery)

Delete a fact definition

Deletes the reusable definition, all values recorded for it on events, its assignments in event templates and its fact-specific permissions. To remove only one recorded value, use DELETE /events/{eventId}/facts/{factId}. With dry_run=true, no deletion is performed and the API returns 409 with a deletion report even when deletable is true. A successful actual deletion returns 204. Requires permission to edit service-planning master data (the "edit masterdata" permission for the service planning domain).

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of the fact master data entry.
dry_runboolQueryInspect deletion references without deleting.

Rückgabe None()

client.facts.delete(3)
client.facts().delete(3)?;

GET/dbfieldtypes

client.db_field_types.list()client.db_field_types().list()

Get available field types

Returns registered database-field types, ordered by sortKey and then name. These types describe the value and input behavior of configurable fields. Names are returned as stored and can be translation keys.

Rückgabe List[DbFieldType]Vec<DbFieldType>

for db_field_type in client.db_field_types.list():
    print(db_field_type.name)
for db_field_type in client.db_field_types().list()? {
    println!("{}", db_field_type.name);
}

GET/dbfields

client.db_fields.list()client.db_fields().list()mit Filtern: .list_with(&GetDbfieldsQuery)

List database-field definitions

Lists built-in and custom field definitions, not the values stored on individual persons or groups. Use categories[] to restrict the result and include[]=options to expand available choices.

ParameterTypOrtPflichtBeschreibung
categoriesList[str]Vec<String>QueryLimit results to database-field categories.
includeList[str]Vec<String>QueryExpand selection choices for each field.

Rückgabe List[DbField]Vec<DbField>

for db_field in client.db_fields.list():
    print(db_field.name)
for db_field in client.db_fields().list()? {
    println!("{}", db_field.name);
}

GET/dbfields/{fieldId}

client.db_fields.get()client.db_fields().get()

Get a database-field definition

Returns one database-field definition, including its type, category and API key.

ParameterTypOrtPflichtBeschreibung
field_idintimpl DisplayPfadjaDatabase-field definition ID returned by GET /dbfields.

Rückgabe DbField

db_field = client.db_fields.get(200)
print(db_field.name)
let db_field = client.db_fields().get(200)?;
println!("{}", db_field.name);

POST/dbfields*

client.db_fields.create()client.db_fields().create()

Create a database field

Creates an installation-specific field definition and database column. Selection types also create an option table with one initial choice. Checkbox fields are non-nullable and cannot be cleared on archive.

12 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
delete_on_archive"deleteOnArchive"boolBodyjaWhether a person field’s value is cleared on archiving.
is_active"isActive"boolBodyjaWhether the field is enabled for normal use.
is_available_in_routines"isAvailableInRoutines"boolBodyWhether routines may use this field.
is_new_person_field"isNewPersonField"boolBodyjaWhether the field is available on new-person forms; primarily relevant to person categories.
length"length"inti64BodyConfigured maximum length for text and textarea fields.
line_ending"lineEnding"Optional[str]Option<String>BodyLegacy display-layout setting retained for compatibility.
name"name"strStringBodyjaStored display name or translation key.
security_level"securityLevel"inti64BodyjaSecurity-level ID governing access to this field, resolved from installation masterdata.
shorty"shorty"Optional[str]Option<String>BodyAbbreviated display label.
sort_key"sortKey"inti64BodyjaDisplay-order value within its category.
use_as_placeholder"useAsPlaceholder"boolBodyjaWhether the field may be used as a placeholder.
field_category_intern_code"fieldCategoryInternCode"strStringBodyjaField category: f_address (person address/contact), f_church (person church information), f_category (person categories), f_group (group data), f_dep (departments), f_growpath (person growth-path data), or f_datasecurity (person privacy information).

Rückgabe DbField

result = client.db_fields.create(
    delete_on_archive=True,
    is_active=True,
    is_new_person_field=True,
    name="Dietary notes",
    security_level=1,
    sort_key=50,
    use_as_placeholder=False,
    field_category_intern_code="f_address",
)
print(result.name)
let body = models::DbFieldCreate {
    delete_on_archive: true,
    is_active: true,
    is_new_person_field: true,
    name: "Dietary notes".into(),
    security_level: 1,
    sort_key: 50,
    use_as_placeholder: false,
    field_category_intern_code: "f_address".into(),
    ..Default::default()
};
let result = client.db_fields().create(&body)?;
println!("{}", result.name);

PUT/dbfields/{fieldId}*

client.db_fields.update()client.db_fields().update()

Update a database field

Updates a database-field definition. The existing field determines its type. Installation-created person fields can move between f_address, f_church, f_category and f_datasecurity.

13 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
field_idintimpl DisplayPfadjaDatabase-field definition ID returned by GET /dbfields.
delete_on_archive"deleteOnArchive"boolBodyjaWhether a person field’s value is cleared on archiving.
is_active"isActive"boolBodyWhether the field is enabled for normal use.
is_available_in_routines"isAvailableInRoutines"boolBodyWhether routines may use this field.
is_new_person_field"isNewPersonField"boolBodyjaWhether the field is available on new-person forms; primarily relevant to person categories.
length"length"inti64BodyConfigured maximum length for text and textarea fields.
line_ending"lineEnding"Optional[str]Option<String>BodyLegacy display-layout setting retained for compatibility.
name"name"strStringBodyStored display name or translation key.
security_level"securityLevel"inti64BodyjaSecurity-level ID governing access to this field, resolved from installation masterdata.
shorty"shorty"Optional[str]Option<String>BodyAbbreviated display label.
sort_key"sortKey"inti64BodyjaDisplay-order value within its category.
use_as_placeholder"useAsPlaceholder"boolBodyjaWhether the field may be used as a placeholder.
field_category_intern_code"fieldCategoryInternCode"strStringBodyInstallation-created person fields can move between f_address, f_church, f_category and f_datasecurity.

Rückgabe DbField

result = client.db_fields.update(
    200,
    delete_on_archive=True,
    is_new_person_field=True,
    security_level=1,
    sort_key=50,
    use_as_placeholder=False,
)
print(result.name)
let body = models::DbFieldUpdate {
    delete_on_archive: true,
    is_new_person_field: true,
    security_level: 1,
    sort_key: 50,
    use_as_placeholder: false,
    ..Default::default()
};
let result = client.db_fields().update(200, &body)?;
println!("{}", result.name);

DELETE/dbfields/{fieldId}*

client.db_fields.delete()client.db_fields().delete()

Delete a database field

Deletes a field definition, its physical database column and all values stored in that column; also removes its group-person-field mappings and custom selection table if present. Protected built-in fields cause a conflict.

ParameterTypOrtPflichtBeschreibung
field_idintimpl DisplayPfadjaDatabase-field definition ID returned by GET /dbfields.

Rückgabe None()

client.db_fields.delete(200)
client.db_fields().delete(200)?;

GET/dbfields/{fieldId}/options

client.db_fields.options.list()client.db_fields().options().list()

List options for a database field

Lists option rows from the field’s backing masterdata table. Rows are ordered by sortKey when available. Fields without a backing table return an empty list. Read the option metadata to interpret row keys.

ParameterTypOrtPflichtBeschreibung
field_idintimpl DisplayPfadjaDatabase-field definition ID returned by GET /dbfields.

Rückgabe List[DbFieldOption]Vec<DbFieldOption>

for option in client.db_fields.options.list(200):
    print(option.name)
for option in client.db_fields().options().list(200)? {
    println!("{:?}", option.name);
}

GET/dbfields/{fieldId}/options/metadata*

client.db_fields.options.list_metadata()client.db_fields().options().list_metadata()

Get metadata for field options

Describes the actual SQL columns of the selected field’s backing option table as API properties. Audit columns are omitted. Use this operation only for fields backed by a table.

ParameterTypOrtPflichtBeschreibung
field_idintimpl DisplayPfadjaDatabase-field definition ID returned by GET /dbfields.

Rückgabe List[DbFieldOptionColumn]Vec<DbFieldOptionColumn>

for metadata in client.db_fields.options.list_metadata(200):
    print(metadata.name)
for metadata in client.db_fields().options().list_metadata(200)? {
    println!("{}", metadata.name);
}

POST/dbfields/{fieldId}/options*

client.db_fields.options.create()client.db_fields().options().create()

Create a database-field option

Creates an option in the selected field’s backing table. Use the metadata endpoint to determine the complete request shape. Fields without a backing table do not support this operation.

ParameterTypOrtPflichtBeschreibung
field_idintimpl DisplayPfadjaDatabase-field definition ID returned by GET /dbfields.
name"name"strStringBodyCommon option label. Custom selection-table labels contain 1–30 characters.
sort_key"sortKey"inti64BodyDisplay order, required for custom selection tables and any metadata exposing a non-auto-increment sortKey column.

Rückgabe DbFieldOption

result = client.db_fields.options.create(200, name="Vegetarian")
print(result.name)
let body = models::DbFieldOptionCreate {
    name: Some("Vegetarian".into()),
    ..Default::default()
};
let result = client.db_fields().options().create(200, &body)?;
println!("{:?}", result.name);

PUT/dbfields/{fieldId}/options/{optionId}*

client.db_fields.options.update()client.db_fields().options().update()

Update a database-field option

Updates an option row using all non-auto-increment columns from the metadata endpoint. This operation replaces the complete metadata-defined row and supports only fields backed by a table.

ParameterTypOrtPflichtBeschreibung
field_idintimpl DisplayPfadjaDatabase-field definition ID returned by GET /dbfields.
option_idintimpl DisplayPfadjaOption row ID in this field’s backing table.
name"name"strStringBodyCommon option label. Custom selection-table labels contain 1–30 characters.
sort_key"sortKey"inti64BodyDisplay order, required for custom selection tables and any metadata exposing a non-auto-increment sortKey column.

Rückgabe DbFieldOption

result = client.db_fields.options.update(200, 3, name="Vegetarian")
print(result.name)
let body = models::DbFieldOptionUpdate {
    name: Some("Vegetarian".into()),
    ..Default::default()
};
let result = client.db_fields().options().update(200, 3, &body)?;
println!("{:?}", result.name);

DELETE/dbfields/{fieldId}/options/{optionId}*

client.db_fields.options.delete()client.db_fields().options().delete()mit Filtern: .delete_with(&DeleteDbfieldsFieldIdOptionsOptionIdQuery)

Delete a database-field option

Deletes an option row from the selected field’s backing masterdata table through the shared deletion service. References can block deletion. dryRun=true returns the deletion preview with HTTP 409 without removing the row.

ParameterTypOrtPflichtBeschreibung
field_idintimpl DisplayPfadjaDatabase-field definition ID returned by GET /dbfields.
option_idintimpl DisplayPfadjaOption row ID in this field’s backing table.
dry_runboolQueryIf true, the deletion is only simulated and the option is not deleted.

Rückgabe None()

client.db_fields.options.delete(200, 3)
client.db_fields().options().delete(200, 3)?;

GET/dynamicgroups

client.dynamic_groups.list()client.dynamic_groups().list()

List groups with automatic membership refresh

Returns IDs of groups whose dynamicGroupStatus is active. A dynamic group is an ordinary ChurchTools group whose memberships can be maintained by a set of query rules. Groups in manual, inactive or none status are excluded, even when a rule set is stored. Conversely, active groups without a valid rule set are included and may fail during refresh. Requires churchcore administer persons. Results are not paginated and no ordering is guaranteed. This preliminary API may change.

Rückgabe List[int]Vec<i64>

for dynamic_group in client.dynamic_groups.list():
    print(dynamic_group)
for dynamic_group in client.dynamic_groups().list()? {
    println!("{:?}", dynamic_group);
}

GET/dynamicgroups/{groupId}/ruleset

client.dynamic_groups.list_ruleset()client.dynamic_groups().list_ruleset()

Get stored automatic membership rules

Returns the stored rule array directly, without a data wrapper. Requires churchcore administer persons. Rules can exist independently of the refresh status. If the group has no rules, including after an empty array was saved, this returns 404. Reading rules does not execute or validate their query results.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe List[DynamicGroupRule]Vec<DynamicGroupRule>

for ruleset in client.dynamic_groups.list_ruleset(42):
    print(ruleset.description)
for ruleset in client.dynamic_groups().list_ruleset(42)? {
    println!("{}", ruleset.description);
}

GET/dynamicgroups/{groupId}/status

client.dynamic_groups.get_status()client.dynamic_groups().get_status()

Get the dynamic membership refresh mode

Returns the stored refresh mode of an ordinary group. A missing/null stored status is returned as none. This is configuration, not the progress of an in-flight job or proof that the rules are valid. Requires churchcore administer persons. The response is a flat object without a data wrapper.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe DynamicGroupStatusUpdate

statu = client.dynamic_groups.get_status(42)
print(statu.dynamic_group_status)
let statu = client.dynamic_groups().get_status(42)?;
println!("{}", statu.dynamic_group_status);

PUT/dynamicgroups/{groupId}/ruleset*

client.dynamic_groups.update_ruleset()client.dynamic_groups().update_ruleset()

Replace automatic membership rules

Stores the complete rule array after validation against the dynamic-group JSON schema. Requires churchcore administer persons. Rule syntax validation does not execute queries or validate all referenced roles, fields and runtime process values. Saving rules does not change dynamicGroupStatus or immediately update memberships. Use PUT /status to select the refresh mode and POST /refresh to run it explicitly. An empty array stores no rule set and returns dynamicGroupRuleSet: null, even if the group remains active. The response has a dynamicGroupRuleSet property directly, without a data wrapper.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
dynamic_group_rule_set"dynamicGroupRuleSet"List[DynamicGroupRule]Vec<DynamicGroupRule>Bodyja

Rückgabe PutDynamicgroupsIdRulesetResponse

result = client.dynamic_groups.update_ruleset(
    42,
    dynamic_group_rule_set=[ct.models.DynamicGroupRule.model_validate({"description": "Add selected people to the group.", "importance": 10, "personIdFieldName": "person.id", "process": {"groupAndQueryResult": {}, "groupOnly": {}, "queryResultOnly": {}}, "query": {"method": "ChurchQuery", "params": {}}, "shorty": "selected-people"})],
)
print(result)
let body = models::DynamicGroupRuleSetUpdate {
    dynamic_group_rule_set: vec![models::DynamicGroupRule {
        description: "Add selected people to the group.".into(),
        importance: 10,
        person_id_field_name: "person.id".into(),
        process: models::DynamicGroupProcessSets {
            group_and_query_result: models::DynamicGroupProcessSetsGroupAndQueryResult::default(),
            group_only: models::DynamicGroupProcessSetsGroupOnly::default(),
            query_result_only: models::DynamicGroupProcessSetsQueryResultOnly::default(),
            ..Default::default()
        },
        query: models::DynamicGroupQuery {
            method: "ChurchQuery".into(),
            params: models::DynamicGroupQueryParams::default(),
            ..Default::default()
        },
        shorty: "selected-people".into(),
        ..Default::default()
    }],
    ..Default::default()
};
let result = client.dynamic_groups().update_ruleset(42, &body)?;
println!("{:?}", result);

PUT/dynamicgroups/{groupId}/status*

client.dynamic_groups.update_status()client.dynamic_groups().update_status()

Set the dynamic membership refresh mode

Sets active, manual, inactive or none for an existing group. Requires churchcore administer persons. This does not run a refresh, delete stored rules or alter existing memberships. The mode is not checked against the presence or validity of a rule set, so an active group can subsequently fail to refresh. To remove rules as well, use DELETE /ruleset. The response is a flat object without a data wrapper.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
dynamic_group_status"dynamicGroupStatus"strStringBodyjaControls automatic membership refresh: active participates in scheduled and manual refreshes; manual allows explicit refresh only; inactive blocks both; none disables dynamic-group behavior without deleting stored rules or existing memberships.

Rückgabe DynamicGroupStatusUpdate

result = client.dynamic_groups.update_status(42, dynamic_group_status="manual")
print(result.dynamic_group_status)
let body = models::DynamicGroupStatusUpdate {
    dynamic_group_status: "manual".into(),
    ..Default::default()
};
let result = client.dynamic_groups().update_status(42, &body)?;
println!("{}", result.dynamic_group_status);

DELETE/dynamicgroups/{groupId}/ruleset*

client.dynamic_groups.delete_ruleset()client.dynamic_groups().delete_ruleset()

Remove automatic membership rules

Clears the stored rule set and resets the stored dynamicGroupStatus to null (reported as none by GET /status). Requires churchcore administer persons. Existing group memberships and the group itself remain in place. No refresh is run. The current implementation returns HTTP 200 with an empty body, including when no rule set was stored.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe None()

client.dynamic_groups.delete_ruleset(42)
client.dynamic_groups().delete_ruleset(42)?;

POST/dynamicgroups/{groupId}/refresh*

client.dynamic_groups.refresh()client.dynamic_groups().refresh()

Refresh memberships of one dynamic group

Synchronously evaluates and applies the stored rules of one group. Requires churchcore administer persons and dynamicGroupStatus active or manual. inactive and none reject manual refreshes. The request has no body and no dry-run option. Rules run against the initial membership snapshot and changes are applied as the system user, with at most 500 actual changes per run. Inspect unprocessed and runsNeeded before assuming convergence. A caught processing failure returns 400 with a message; it does not return a successful statistics object. Membership updates have their own transaction, but later timestamp/event/logging failures can occur after those changes have committed.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe List[DynamicGroupRefreshResult]Vec<DynamicGroupRefreshResult>

for dynamic_group in client.dynamic_groups.refresh(42):
    print(dynamic_group.created)
for dynamic_group in client.dynamic_groups().refresh(42)? {
    println!("{}", dynamic_group.created);
}

POST/dynamicgroups/refresh*

client.dynamic_groups.refresh_all()client.dynamic_groups().refresh_all()

Refresh all active dynamic groups

Synchronously evaluates and applies membership rules for all groups with active dynamicGroupStatus. Requires churchcore administer persons. Manual, inactive and none groups are excluded. Rules run in ascending importance order against the starting membership snapshot; later field updates can override earlier ones, while any deletion action takes precedence. Membership writes run as the system user and can bypass the group size limit. Each group is processed separately; this is not a transaction across groups. At most 500 actual changes are applied per group per run, so inspect unprocessed and runsNeeded and repeat if necessary. A 200 response can contain per-group failures alongside successful statistics. Error entries lack a structured groupId; unexpected Errors can still abort the whole request. This endpoint performs changes immediately and does not support a dry run.

Rückgabe List[Union[DynamicGroupRefreshResult, DynamicGroupRefreshError]]Vec<serde_json::Value>

for dynamic_group in client.dynamic_groups.refresh_all():
    print(dynamic_group)
for dynamic_group in client.dynamic_groups().refresh_all()? {
    println!("{:?}", dynamic_group);
}

GET/grouphomepages

client.group_homepages.list()client.group_homepages().list()

Get all enabled group homepages

Public directory of every enabled group homepage as lightweight domain objects. No authentication or per-homepage view permission is required. The random page hashes are intentionally returned in apiUrl/frontendUrl and are not secrets suitable for access control. Entries include the owning parent group ID and hierarchy descendant IDs across all depths; this list does not apply the stored page depth or the detailed page’s public-group eligibility filter. Active, non-hidden hierarchy edges are followed, so child IDs can include internal groups and duplicates through multiple paths. There is no pagination or guaranteed ordering of homepage entries.

Rückgabe List[DomainObjectGrouphomepage]Vec<DomainObjectGrouphomepage>

for group_homepage in client.group_homepages.list():
    print(group_homepage.title)
for group_homepage in client.group_homepages().list()? {
    println!("{}", group_homepage.title);
}

GET/grouphomepages/{hash}

client.group_homepages.get()client.group_homepages().get()mit Filtern: .get_with(&GetGrouphomepagesHashQuery)

Get a public group homepage by hash

Public page settings, filter catalogs and eligible descendant groups for a group homepage hash. Anonymous access is supported, but signup eligibility and the public-group feature check can depend on whether the caller is signed in. Only enabled homepages are returned. Descendants are loaded through active, non-hidden hierarchy edges, sorted by the page’s configured field/direction, then filtered for public-page eligibility. The parent group itself is not included. An omitted depth uses the stored setting; depth=0 loads no groups, a positive depth limits hierarchy levels, and negative values currently traverse without a depth bound. The override does not change data.depth. Filter options include entire master-data catalogs, even for hidden filters and values unused by these groups. Group notes/places remain in the API even if their corresponding UI display settings hide them. No signup-person list is included here.

ParameterTypOrtPflichtBeschreibung
hashstrimpl DisplayPfadjaRandom hash of the group homepage.
depthinti64QueryOptional hierarchy-depth override.

Rückgabe GroupHomepage

group_homepage = client.group_homepages.get("RNdjTK0tGp1N1afoblczGbFb8ikLfa9b")
print(group_homepage.name)
let group_homepage = client.group_homepages().get("RNdjTK0tGp1N1afoblczGbFb8ikLfa9b")?;
println!("{}", group_homepage.name);

GET/publicgroups/{groupId}

client.public_groups.get()client.public_groups().get()mit Filtern: .get_with(&GetPublicgroupsIdQuery)

Get public group details

Returns group details, signup conditions and eligible signUpPersons for the current user. Public access is supported, but normal group-view permission still applies. Optional hash restricts the lookup to an enabled group homepage. Without it, the group is loaded directly. Seat counts include membership/role rules and need not equal the number of persons. Image and leader fields depend on the homepage display settings; signUpConditions explains why a signup is currently available or unavailable.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
hashstrStringQueryOptional group-homepage hash.

Rückgabe PublicGroupDetail

public_group = client.public_groups.get(42)
print(public_group.name)
let public_group = client.public_groups().get(42)?;
println!("{}", public_group.name);

GET/publicgroups/{groupId}/form

client.public_groups.get_form()client.public_groups().get_form()Query: GetPublicgroupsGroupIdFormQuery

Get group signup form

Loads the dynamic signup form for a token belonging to this group. Requires access to group signup. The response is wrapped in data. Each field is identified by type plus id; required fields and allowed options depend on group configuration and on the requester. Additional spouse/child/other forms are null when unavailable. Optional personId selects the requester and persists that choice on the token (this GET changes state). Use a person returned by possiblerequesters. Prefilled person values and privacy state are returned in signUpPersons.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
tokenstrStringQueryjaSign Up Token
person_idinti64QueryOptional requester selection; updates the token’s requester and clicked selection.

Rückgabe PublicGroupFormResult

form = client.public_groups.get_form(42, token="abc123")
print(form.email)
let query = GetPublicgroupsGroupIdFormQuery {
    token: Some("abc123".into()),
    ..Default::default()
};
let form = client.public_groups().get_form(42, &query)?;
println!("{:?}", form.email);

GET/publicgroups/{groupId}/possiblerequesters

client.public_groups.get_possible_requesters()client.public_groups().get_possible_requesters()Query: GetPublicgroupsGroupIdPossiblerequestersQuery

List possible signup requesters

Returns a requester-selection object for a token belonging to this group. Requires access to group signup. An email token lists persons sharing that address, because email addresses are not unique in ChurchTools; a token without email uses its requesterId. Status distinguishes existing members, pending/waiting requests and persons not yet requested. Results are not paginated and the DTO has no meta.count.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
tokenstrStringQueryjaThe signup token for the registration

Rückgabe PublicGroupPossibleRequesters

possible_requester = client.public_groups.get_possible_requesters(42, token="abc123")
print(possible_requester.email)
let query = GetPublicgroupsGroupIdPossiblerequestersQuery {
    token: Some("abc123".into()),
    ..Default::default()
};
let possible_requester = client.public_groups().get_possible_requesters(42, &query)?;
println!("{:?}", possible_requester.email);

GET/publicgroups/{groupId}/signoutdata

client.public_groups.get_signout_data()client.public_groups().get_signout_data()mit Filtern: .get_signout_data_with(&GetPublicgroupsIdSignoutdataQuery)

Get group withdrawal options

Returns requester information and the persons whose group participation may be withdrawn directly or requires contacting leaders. A supplied signup token must belong to this group; without token the current user is used and signup access is required. For requesterId=-1 (no person created), requester and both person lists are null and noUserCreated=true is included. For a normal requester that flag is omitted. This GET does not withdraw anyone.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
tokenstrStringQueryOptional signup token; omit to use the current user.

Rückgabe PublicGroupSignoutData

signout_data = client.public_groups.get_signout_data(42)
print(signout_data.group_has_auto_accept)
let signout_data = client.public_groups().get_signout_data(42)?;
println!("{}", signout_data.group_has_auto_accept);

POST/publicgroups/{groupId}/token*

client.public_groups.token()client.public_groups().token()

Create group signup token

Starts a group-membership signup, distinct from account self-registration. Requires access to this group’s signup and an open signup feature. In verification mode all, supply either the current logged-in personId for a token returned directly or an email address for a verification link. Another personId is forbidden, and personId and email are mutually exclusive. In modes existing and none, both may be omitted and a new-person token is returned directly; in mode existing, matching uses the email supplied later in the signup form. Email flow returns only a success message. Tokens can be used to load forms, select a requester and submit memberships; they have no stored expiry in the current implementation.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
clicked"clicked"List[int]Vec<i64>BodyArray of person ids, which are clicked on group detail page.
email"email"strStringBodyEmail address of an anonymous requester.
group_homepage_hash"groupHomepageHash"Optional[str]Option<String>BodyThe hash of the group homepage.
person_id"personId"inti64BodyCurrent logged-in person ID; an arbitrary person cannot be selected here.
sign_up_url_template"signUpUrlTemplate"strStringBodyEmail link template. $groupId and $token are replaced; omission uses the ChurchTools public signup page.

Rückgabe Union[PublicGroupToken, PostPublicgroupsGroupIdTokenDataVariant2]serde_json::Value

result = client.public_groups.token(42, email="mara@example.org")
print(result)
let body = models::PublicGroupTokenCreate {
    email: Some("mara@example.org".into()),
    ..Default::default()
};
let result = client.public_groups().token(42, &body)?;
println!("{:?}", result);

GET/publicgroups/signup/confirm/{confirmationToken}*

client.public_groups.signup.confirm.get()client.public_groups().signup().confirm().get()

Show the deferred public group signup confirmation page

Renders the deferred signup confirmation page without changing signup data. The page starts confirmation through the POST endpoint after JavaScript has loaded, preventing email link scanners from confirming the signup.

ParameterTypOrtPflichtBeschreibung
confirmation_tokenstrimpl DisplayPfadjaSecret confirmation token from the signup email.

Rückgabe bytes (text/html)Vec<u8> (text/html)

data = client.public_groups.signup.confirm.get("abc123")
with open("ergebnis.bin", "wb") as f:
    f.write(data)
let data = client.public_groups().signup().confirm().get("abc123")?;
std::fs::write("ergebnis.bin", &data)?;

POST/publicgroups/signup/confirm/{confirmationToken}*

client.public_groups.signup.confirm.create()client.public_groups().signup().confirm().create()

Confirm a deferred public group signup

Confirms a deferred group signup using the secret emailed to the requester. The link expires after 72 hours. Places are assigned using the group's current signup and waiting-list rules. Repeated confirmation is safe.

ParameterTypOrtPflichtBeschreibung
confirmation_tokenstrimpl DisplayPfadjaSecret confirmation token from the signup email.
bodyStrMap[Any]std::collections::BTreeMap<String, serde_json::Value>Bodyja

Rückgabe PostPublicgroupsSignupConfirmConfirmationTokenData

result = client.public_groups.signup.confirm.create("abc123", body={})
print(result.group_homepage_hash)
let body: std::collections::BTreeMap<String, serde_json::Value> = Default::default();
let result = client.public_groups().signup().confirm().create("abc123", &body)?;
println!("{:?}", result.group_homepage_hash);

GET/event/masterdata

client.event.get_master_data()client.event().get_master_data()

Get Event module reference data

Returns six complete reference-data lists for the Event module together with their individual counts in meta. All lists are present and unpaginated; receiving a record does not grant permission to use or edit it. Song categories and sources have no guaranteed list order.

Rückgabe EventMasterData

master_data = client.event.get_master_data()
print(master_data)
let master_data = client.event().get_master_data()?;
println!("{:?}", master_data);

GET/masterdata/person

client.master_data.get_person()client.master_data().get_person()veraltet

Fetch all master data for the module "People & Groups"

Deprecated alias of GET /person/masterdata. Use /person/masterdata for new integrations.

Rückgabe PersonMasterData

person = client.master_data.get_person()
print(person)
let person = client.master_data().get_person()?;
println!("{:?}", person);

GET/person/masterdata

client.person.get_master_data()client.person().get_master_data()

Get People & Groups reference catalogs

Returns complete reference catalogs for People & Groups, including membership roles, group and person classifications, campuses, relationship types and meeting feedback templates. These are reference definitions, not person records or group memberships. Roles are ordered by type and sortKey; campuses by sortKey.

Rückgabe PersonMasterData

master_data = client.person.get_master_data()
print(master_data)
let master_data = client.person().get_master_data()?;
println!("{:?}", master_data);

GET/pr/masterdata

client.pr.get_master_data()client.pr().get_master_data()

Get public relations master data

Returns the master data used by the public relations module and public profiles. The response groups each master data collection under data and returns the item count for each collection under meta.

Rückgabe PublicRelationsMasterData

master_data = client.pr.get_master_data()
print(master_data)
let master_data = client.pr().get_master_data()?;
println!("{:?}", master_data);

GET/bulkletters

client.bulk_letters.list()client.bulk_letters().list()

Get all bulkletters

Lists the current user’s mail-merge jobs and jobs with created_pid=0. Requires edit bulkletter permission. Returns a bare array without data or meta; no pagination, status filter or ordering is defined.

Rückgabe List[Bulkletter]Vec<Bulkletter>

for bulk_letter in client.bulk_letters.list():
    print(bulk_letter.name)
for bulk_letter in client.bulk_letters().list()? {
    println!("{}", bulk_letter.name);
}

GET/bulkletters/{id}/persons

client.bulk_letters.list_persons()client.bulk_letters().list_persons()

Get receivers of a bulkletter

Lists scheduled recipient persons whose person records the caller may view. Requires edit bulkletter or create print labels permission. Returns data only, without meta or pagination. Address fields reflect current person data. This endpoint does not apply the job-owner restriction of the detail read; a nonexistent job normally yields an empty list.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of the bulkletter

Rückgabe List[BulkletterReceiver]Vec<BulkletterReceiver>

for person in client.bulk_letters.list_persons(36):
    print(person.name)
for person in client.bulk_letters().list_persons(36)? {
    println!("{:?}", person.name);
}

GET/bulkletters/{id}

client.bulk_letters.get()client.bulk_letters().get()

Get bulkletter

Reads one mail-merge job as a bare object, without a data wrapper. Requires edit bulkletter permission. Only the creator’s jobs and jobs with created_pid=0 are visible; other owners are reported as 404. The final file is a ZIP archive, not a combined PDF.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of the bulkletter

Rückgabe Bulkletter

bulk_letter = client.bulk_letters.get(36)
print(bulk_letter.name)
let bulk_letter = client.bulk_letters().get(36)?;
println!("{}", bulk_letter.name);

POST/bulkletters*

client.bulk_letters.create()client.bulk_letters().create()

Create a bulkletter

Schedules a mail-merge rendering job and starts the worker in the background. Requires edit bulkletter permission and access to the selected HTML template. Returns HTTP 200 with only {id}, plus a Location header for the job; it does not return the job object or finished PDF. Poll that URL until the job is DONE and has fileId/url. The final download is a ZIP containing individual PDFs. groupByHousehold groups exact addresses rather than family relationships.

ParameterTypOrtPflichtBeschreibung
content"content"strStringBodyjaHTML inserted into the template’s {{content}} slot.
group_by_household"groupByHousehold"boolBodyjaGroup persons by identical street, address addition, postal code, city and country.
group_id"groupId"Optional[int]Option<i64>BodyOptional group used as placeholder context, not as a restriction on personIds.
html_template_id"htmlTemplateId"inti64BodyjaID of the HTML template used to render the bulkletter.
name"name"strStringBodyjaJob name. Non-empty; the literal string 0 is rejected by the current validator.
person_ids"personIds"List[int]Vec<i64>BodyjaPerson IDs to render.

Rückgabe BulkletterCreated

result = client.bulk_letters.create(
    content="<p>Hello [Spitzname]!</p>",
    group_by_household=True,
    html_template_id=39,
    name="Newsletter April 2025",
    person_ids=[13, 14],
)
print(result.id)
let body = models::BulkletterCreate {
    content: "<p>Hello [Spitzname]!</p>".into(),
    group_by_household: true,
    html_template_id: 39,
    name: "Newsletter April 2025".into(),
    person_ids: vec![13, 14],
    ..Default::default()
};
let result = client.bulk_letters().create(&body)?;
println!("{}", result.id);

DELETE/bulkletters/{id}*

client.bulk_letters.delete()client.bulk_letters().delete()

Delete bulkletter

Deletes the mail-merge job, its recipient rows, temporary rendering directory and generated ZIP file. Requires edit bulkletter permission and the same owner restriction as the detail read. No dry-run mode is supported. The operation does not coordinate with a currently running renderer.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of the bulkletter

Rückgabe None()

client.bulk_letters.delete(36)
client.bulk_letters().delete(36)?;

POST/bulkletters/execute*

client.bulk_letters.execute()client.bulk_letters().execute()

Execute pending bulkletter jobs

Internal worker entry point, normally started automatically after creation. Processes up to ten recipient rows of the first unfinished mail-merge job, then starts another background request while work remains. Operates across creators. It renders separate PDFs and packages them into a ZIP; it does not send mail. A recently active worker causes this request to do no work. Returns 204 regardless of whether processing was skipped or a rendering exception was recorded as job status ERROR; inspect the job status for the result.

ParameterTypOrtPflichtBeschreibung
bodyStrMap[Any]std::collections::BTreeMap<String, serde_json::Value>Body

Rückgabe None()

client.bulk_letters.execute()
let body: std::collections::BTreeMap<String, serde_json::Value> = Default::default();
client.bulk_letters().execute(&body)?;

POST/emails/placeholderstatistics*

client.emails.placeholder_statistics()client.emails().placeholder_statistics()

Get email placeholder statistics

Renders placeholder statistics for the visible subset of personIds without sending emails. Content fragments are concatenated, optionally inserted into an accessible HTML template, then evaluated for each person. Missing/inaccessible recipients are omitted; if none are visible, the request returns 404. Without placeholder-like syntax in the resulting text, data is empty even when recipients were supplied. Results follow the loaded recipient order, not necessarily the input order; correlate by personId. Stats report availability of evaluated placeholders, not their values or occurrence counts. A subject is not part of this request. The automaticEmailId parameter currently has no effect.

ParameterTypOrtPflichtBeschreibung
content"content"List[str]Vec<String>BodyjaHTML/text fragments concatenated in order without inserting whitespace.
email_template_id"emailTemplateId"inti64BodyOptional HTML template.
group_id"groupId"inti64BodyOptional visible group providing group and membership placeholders.
automatic_email_id"automaticEmailId"inti64BodyAccepted legacy parameter.
person_ids"personIds"List[int]Vec<i64>BodyjaIDs of the persons for which statistics are calculated

Rückgabe List[EmailPlaceholderStatistics]Vec<EmailPlaceholderStatistics>

for email in client.emails.placeholder_statistics(
    content=["Hello {{person.firstName}}"],
    person_ids=[1, 2],
):
    print(email.person_id)
let body = models::EmailPlaceholderStatisticsCreate {
    content: vec!["Hello {{person.firstName}}".into()],
    person_ids: vec![1, 2],
    ..Default::default()
};
for email in client.emails().placeholder_statistics(&body)? {
    println!("{}", email.person_id);
}

POST/emails/preview

client.emails.preview()client.emails().preview()

Render an email preview

Renders content and an optional subject for one person visible to the caller. No email is sent and no draft is saved. Content fragments are concatenated without separators; an optional template replaces its {{body}} tokens before placeholder expansion. groupId adds group and membership context and requires access to that group. The HTML template requires template-view permission, or permission to view automatic emails for the supplied group. Missing or inaccessible recipients return 404. The flat response always contains html and contains subject only when supplied. userId selects a placeholder acting context rather than a recipient and is handled differently by individual decorators; it is not an authenticated-user switch for the whole request.

ParameterTypOrtPflichtBeschreibung
content"content"List[str]Vec<String>BodyjaHTML/text fragments concatenated in order without inserting whitespace.
email_template_id"emailTemplateId"inti64BodyOptional HTML template.
group_id"groupId"inti64BodyOptional visible group providing group and membership placeholders.
person_id"personId"inti64BodyjaID of the person used to render person placeholders
subject"subject"strStringBodyOptional email subject to render with placeholders
user_id"userId"inti64BodyOptional acting-user context used by placeholder decorators; omit to use the current context.

Rückgabe EmailPreview

email = client.emails.preview(content=["Hello {{person.firstName}}"], person_id=1)
print(email.html)
let body = models::EmailPreviewCreate {
    content: vec!["Hello {{person.firstName}}".into()],
    person_id: 1,
    ..Default::default()
};
let email = client.emails().preview(&body)?;
println!("{}", email.html);

Finance

Buchhaltung: Konten, Buchungen, Spenden und Belege.

134 Endpunkte im Überblick

GET/finance/masterdata

client.finance.get_master_data()client.finance().get_master_data()Query: GetFinanceMasterdataQuery

Get finance master data for an accounting period

Finance definitions needed for one accounting period. Clients and periods include all entries visible to the caller; account types, classes, groups and tax types are installation-wide. Accounts, cost centers, tax rates, cash discounts and transaction purposes relate to the selected period. The selected accounting period must be visible. Returns data, per-collection counts in meta and top-level UI permissions. Account balances are calculated only with global view/edit accounting period permission; otherwise account values may remain at their uncalculated defaults. Cost-center budgets are calculated independently. Unlike /finance/transactionpurposes, the preset list is restricted by period and, without global period rights, by groups allowing posting.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaVisible accounting period whose finance definitions are requested.

Rückgabe FinanceMasterData

master_data = client.finance.get_master_data(accounting_period_id=1)
print(master_data)
let query = GetFinanceMasterdataQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let master_data = client.finance().get_master_data(&query)?;
println!("{:?}", master_data);

GET/finance/accountclasses

client.finance.account_classes.list()client.finance().account_classes().list()

Get all account classs

Account classes group account groups within one account type. The hierarchy is account type → account class → account group → account. Returns the complete, unpaginated list ordered by sortKey, then name, ascending. meta.count is the number returned.

Rückgabe List[AccountClass]Vec<AccountClass>

for account_class in client.finance.account_classes.list():
    print(account_class.name)
for account_class in client.finance().account_classes().list()? {
    println!("{}", account_class.name);
}

GET/finance/accountclasses/{id}

client.finance.account_classes.get()client.finance().account_classes().get()

Get an account class by ID

Account classes group account groups within one account type. The hierarchy is account type → account class → account group → account. Returns one definition by ID.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe AccountClass

account_class = client.finance.account_classes.get(1)
print(account_class.name)
let account_class = client.finance().account_classes().get(1)?;
println!("{}", account_class.name);

POST/finance/accountclasses*

client.finance.account_classes.create()client.finance().account_classes().create()

Create a new account class

Creates finance master data. Account classes group account groups within one account type. The hierarchy is account type → account class → account group → account. Requires finance “edit masterdata”. Names must be unique across this resource. The successful response uses HTTP 200.

ParameterTypOrtPflichtBeschreibung
account_type_id"accountTypeId"inti64BodyjaID of the related account type.
include_profit_loss"includeProfitLoss"boolBodyAdds the profit-and-loss total to this class in reports.
name"name"strStringBodyjaUnique account-class name.
sort_key"sortKey"inti64BodySort order of the account class.

Rückgabe AccountClass

result = client.finance.account_classes.create(account_type_id=3, name="Anlagevermögen")
print(result.name)
let body = models::AccountClassCreate {
    account_type_id: 3,
    name: "Anlagevermögen".into(),
    ..Default::default()
};
let result = client.finance().account_classes().create(&body)?;
println!("{}", result.name);

PUT/finance/accountclasses/{id}*

client.finance.account_classes.update()client.finance().account_classes().update()

Update an account class

Replaces the editable fields of this definition. Requires finance “edit masterdata”. Names must remain unique. Omitted optional fields are reset to their defaults. includeProfitLoss defaults to false and may be enabled on at most one class.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_type_id"accountTypeId"inti64BodyjaID of the related account type.
include_profit_loss"includeProfitLoss"boolBodyAdds the profit-and-loss total to this class in reports.
name"name"strStringBodyjaUnique account-class name.
sort_key"sortKey"inti64BodySort order of the account class.

Rückgabe AccountClass

result = client.finance.account_classes.update(1, account_type_id=3, name="Anlagevermögen")
print(result.name)
let body = models::AccountClassUpdate {
    account_type_id: 3,
    name: "Anlagevermögen".into(),
    ..Default::default()
};
let result = client.finance().account_classes().update(1, &body)?;
println!("{}", result.name);

DELETE/finance/accountclasses/{id}*

client.finance.account_classes.delete()client.finance().account_classes().delete()mit Filtern: .delete_with(&DeleteFinanceAccountclassesIdQuery)

Delete an account class

Deletes this definition if no account groups reference it. Requires finance “edit masterdata”. With dry_run=true no deletion occurs and HTTP 409 returns the conflict report, including when deletion would be allowed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.account_classes.delete(1)
client.finance().account_classes().delete(1)?;

GET/finance/accountgroups

client.finance.account_groups.list()client.finance().account_groups().list()

Get all account groups

Account groups collect individual ledger accounts within one account class. isCashAssetAccount identifies groups of cash or bank accounts. Returns the complete, unpaginated list ordered by sortKey, then name, ascending. meta.count is the number returned.

Rückgabe List[AccountGroup]Vec<AccountGroup>

for account_group in client.finance.account_groups.list():
    print(account_group.name)
for account_group in client.finance().account_groups().list()? {
    println!("{}", account_group.name);
}

GET/finance/accountgroups/{id}

client.finance.account_groups.get()client.finance().account_groups().get()

Get a account group

Account groups collect individual ledger accounts within one account class. isCashAssetAccount identifies groups of cash or bank accounts. Returns one definition by ID.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe AccountGroup

account_group = client.finance.account_groups.get(1)
print(account_group.name)
let account_group = client.finance().account_groups().get(1)?;
println!("{}", account_group.name);

POST/finance/accountgroups*

client.finance.account_groups.create()client.finance().account_groups().create()

Create new account group

Creates finance master data. Account groups collect individual ledger accounts within one account class. isCashAssetAccount identifies groups of cash or bank accounts. Requires finance “edit masterdata”. Names must be unique across this resource. The successful response uses HTTP 200.

ParameterTypOrtPflichtBeschreibung
account_class_id"accountClassId"inti64BodyjaExisting parent account class, obtainable from /finance/accountclasses.
is_cash_asset_account"isCashAssetAccount"boolBodyjaWhether accounts in this group represent cash or bank assets.
name"name"strStringBodyjaUnique account-group name, trimmed before storage.
sort_key"sortKey"inti64BodyAscending display order.

Rückgabe AccountGroup

result = client.finance.account_groups.create(
    account_class_id=2,
    is_cash_asset_account=False,
    name="Sachanlagen",
)
print(result.name)
let body = models::AccountGroupCreate {
    account_class_id: 2,
    is_cash_asset_account: false,
    name: "Sachanlagen".into(),
    ..Default::default()
};
let result = client.finance().account_groups().create(&body)?;
println!("{}", result.name);

PUT/finance/accountgroups/{id}*

client.finance.account_groups.update()client.finance().account_groups().update()

Update account group

Replaces the editable fields of this definition. Requires finance “edit masterdata”. Names must remain unique. Omitted optional fields are reset to their defaults. sortKey defaults to 0.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_class_id"accountClassId"inti64BodyjaExisting parent account class, obtainable from /finance/accountclasses.
is_cash_asset_account"isCashAssetAccount"boolBodyjaWhether accounts in this group represent cash or bank assets.
name"name"strStringBodyjaUnique account-group name, trimmed before storage.
sort_key"sortKey"inti64BodyAscending display order.

Rückgabe AccountGroup

result = client.finance.account_groups.update(
    1,
    account_class_id=2,
    is_cash_asset_account=False,
    name="Sachanlagen",
)
print(result.name)
let body = models::AccountGroupUpdate {
    account_class_id: 2,
    is_cash_asset_account: false,
    name: "Sachanlagen".into(),
    ..Default::default()
};
let result = client.finance().account_groups().update(1, &body)?;
println!("{}", result.name);

DELETE/finance/accountgroups/{id}*

client.finance.account_groups.delete()client.finance().account_groups().delete()mit Filtern: .delete_with(&DeleteFinanceAccountgroupsIdQuery)

Delete account group

Deletes this definition if no accounts reference it. Requires finance “edit masterdata”. With dry_run=true no deletion occurs and HTTP 409 returns the conflict report, including when deletion would be allowed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.account_groups.delete(1)
client.finance().account_groups().delete(1)?;

GET/finance/accounttypes

client.finance.account_types.list()client.finance().account_types().list()

Get all account types

Account types are the top level of the finance chart of accounts. They distinguish assets, liabilities and profit-and-loss accounts. Each account class belongs to one account type. Returns the complete, unpaginated list ordered by sortKey, then name, ascending. meta.count is the number returned.

Rückgabe List[AccountType]Vec<AccountType>

for account_type in client.finance.account_types.list():
    print(account_type.name)
for account_type in client.finance().account_types().list()? {
    println!("{}", account_type.name);
}

GET/finance/accounttypes/{id}

client.finance.account_types.get()client.finance().account_types().get()

Get a account type

Account types are the top level of the finance chart of accounts. They distinguish assets, liabilities and profit-and-loss accounts. Each account class belongs to one account type. Returns one definition by ID.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe AccountType

account_type = client.finance.account_types.get(1)
print(account_type.name)
let account_type = client.finance().account_types().get(1)?;
println!("{}", account_type.name);

POST/finance/accounttypes*

client.finance.account_types.create()client.finance().account_types().create()

Create new account type

Creates finance master data. Account types are the top level of the finance chart of accounts. They distinguish assets, liabilities and profit-and-loss accounts. Each account class belongs to one account type. Requires finance “edit masterdata”. Names must be unique across this resource. The successful response uses HTTP 200.

ParameterTypOrtPflichtBeschreibung
balance_type"balanceType"Optional[str]Option<String>BodyBalance-sheet side: assets or liabilities.
name"name"strStringBodyjaUnique account-type name.
sort_key"sortKey"inti64BodyAscending display order.

Rückgabe AccountType

result = client.finance.account_types.create(name="Aktiva")
print(result.name)
let body = models::AccountTypeCreate {
    name: "Aktiva".into(),
    ..Default::default()
};
let result = client.finance().account_types().create(&body)?;
println!("{}", result.name);

PUT/finance/accounttypes/{id}*

client.finance.account_types.update()client.finance().account_types().update()

Update account type

Replaces the editable fields of this definition. Requires finance “edit masterdata”. Names must remain unique. Omitted optional fields are reset to their defaults. Omitting balanceType changes the type to profit-and-loss.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
balance_type"balanceType"Optional[str]Option<String>BodyBalance-sheet side: assets or liabilities.
name"name"strStringBodyjaUnique account-type name.
sort_key"sortKey"inti64BodyAscending display order.

Rückgabe AccountType

result = client.finance.account_types.update(1, name="Aktiva")
print(result.name)
let body = models::AccountTypeUpdate {
    name: "Aktiva".into(),
    ..Default::default()
};
let result = client.finance().account_types().update(1, &body)?;
println!("{}", result.name);

DELETE/finance/accounttypes/{id}*

client.finance.account_types.delete()client.finance().account_types().delete()mit Filtern: .delete_with(&DeleteFinanceAccounttypesIdQuery)

Delete account type

Deletes this definition if no account classes reference it. Requires finance “edit masterdata”. With dry_run=true no deletion occurs and HTTP 409 returns the conflict report, including when deletion would be allowed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.account_types.delete(1)
client.finance().account_types().delete(1)?;

GET/finance/accountingperiods

client.finance.accounting_periods.list()client.finance().accounting_periods().list()

Get all accounting periods

An accounting period is the date range for one finance client’s books, usually a financial year. Accounts and cost centers belong to a period. Closing a period prevents ordinary account and transaction changes; it is separate from making individual transactions immutable. Returns an unpaginated list of periods visible through global finance permissions or group-internal cost-center rights, ordered by startDate ascending. Finance master-data editors can see all periods. meta.count is the number returned.

Rückgabe List[AccountingPeriod]Vec<AccountingPeriod>

for accounting_period in client.finance.accounting_periods.list():
    print(accounting_period.id)
for accounting_period in client.finance().accounting_periods().list()? {
    println!("{}", accounting_period.id);
}

GET/finance/accountingperiods/{id}/bills

client.finance.accounting_periods.list_bills()client.finance().accounting_periods().list_bills()mit Filtern: .list_bills_with(&GetFinanceAccountingperiodsIdBillsQuery)seitenweise

Get bills for accounting period

Returns a page of supporting documents for an accounting period. Requires permission to view or edit the whole accounting period; access to individual transactions alone is insufficient for this list. Explicit order_by=submittedDate sorts by submission date and then bill ID in the same direction. Without order_by no order is guaranteed. The only supported query parameters are pagination and ordering; submitter/date/text filters are not exposed by this endpoint.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
limitinti64QueryMaximum documents per page.
order_bystrStringQueryEnable sorting by submission date, with bill ID as a tie-breaker.
order_directionstrStringQueryDirection used when order_by is supplied.

Rückgabe Paginator[Bill]Vec<Bill>

for bill in client.finance.accounting_periods.list_bills(1):
    print(bill.id)
for bill in client.finance().accounting_periods().list_bills(1)? {
    println!("{}", bill.id);
}

GET/finance/accountingperiods/{id}/userrules

client.finance.accounting_periods.list_user_rules()client.finance().accounting_periods().list_user_rules()

Get statement suggestion rules

Returns all suggestion rules for an accounting period, ordered by sortKey ascending, without pagination. Both reading and replacing these rules require edit accounting period permission. meta.count is the number returned.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe List[UserRule]Vec<UserRule>

for user_rule in client.finance.accounting_periods.list_user_rules(1):
    print(user_rule.id)
for user_rule in client.finance().accounting_periods().list_user_rules(1)? {
    println!("{}", user_rule.id);
}

GET/finance/accountingperiods/{id}

client.finance.accounting_periods.get()client.finance().accounting_periods().get()

Get an accounting period

Returns one accounting period visible to the caller through global or group-internal finance permissions. A period rejected by the visibility check returns 403 before it is loaded.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe AccountingPeriod

accounting_period = client.finance.accounting_periods.get(1)
print(accounting_period.id)
let accounting_period = client.finance().accounting_periods().get(1)?;
println!("{}", accounting_period.id);

POST/finance/accountingperiods*

client.finance.accounting_periods.create()client.finance().accounting_periods().create()

Create new accounting period

Creates an accounting period and optionally copies master data and transfers opening balances. Requires finance “edit masterdata”. The combination of clientId, startDate and endDate must be unique. Returns HTTP 201. Exceptions during creation, copying or balance transfer are rolled back and reported as HTTP 400, including a missing client.

ParameterTypOrtPflichtBeschreibung
client_id"clientId"inti64BodyjaFinance client owning this period.
end_date"endDate"dateNaiveDateBodyjaLast date of the period.
increment_document_number"incrementDocumentNumber"boolBodyjaWhether document numbers are incremented automatically.
is_closed"isClosed"boolBodyjaWhether the period is closed for ordinary accounting changes.
start_date"startDate"dateNaiveDateBodyjaFirst date of the period.
balances"balances"AccountingPeriodBalanceTransferBodyOptional opening-balance transfer.
copy_master_data"copyMasterData"boolBodyCopy the previous period’s accounts, cost centers and related finance master data.

Rückgabe AccountingPeriod

result = client.finance.accounting_periods.create(
    client_id=1,
    end_date=dt.date(2026, 12, 31),
    increment_document_number=True,
    is_closed=False,
    start_date=dt.date(2026, 1, 1),
)
print(result.id)
let body = models::AccountingPeriodCreate {
    client_id: 1,
    end_date: "2026-12-31".parse()?,
    increment_document_number: true,
    is_closed: false,
    start_date: "2026-01-01".parse()?,
    ..Default::default()
};
let result = client.finance().accounting_periods().create(&body)?;
println!("{}", result.id);

PUT/finance/accountingperiods/{id}*

client.finance.accounting_periods.update()client.finance().accounting_periods().update()

Update accounting period

Replaces period dates, client, closed state and document-number behavior. Requires finance “edit masterdata”; ordinary edit accounting period permission alone is insufficient. The date/client combination must remain unique. Optionally transfer opening balances or, when closing, make transactions immutable with setImmutability. Reopening does not make transactions editable again. Period settings are saved before these additional actions execute.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
client_id"clientId"inti64BodyjaFinance client owning this period.
end_date"endDate"dateNaiveDateBodyjaLast date of the period.
increment_document_number"incrementDocumentNumber"boolBodyjaWhether document numbers are incremented automatically.
is_closed"isClosed"boolBodyjaWhether the period is closed for ordinary accounting changes.
start_date"startDate"dateNaiveDateBodyjaFirst date of the period.
balances"balances"AccountingPeriodBalanceTransferBodyOptional opening-balance transfer.
set_immutability"setImmutability"boolBodyWhen isClosed=true, make currently mutable transactions in the period immutable.

Rückgabe AccountingPeriod

result = client.finance.accounting_periods.update(
    1,
    client_id=1,
    end_date=dt.date(2026, 12, 31),
    increment_document_number=True,
    is_closed=False,
    start_date=dt.date(2026, 1, 1),
)
print(result.id)
let body = models::AccountingPeriodUpdate {
    client_id: 1,
    end_date: "2026-12-31".parse()?,
    increment_document_number: true,
    is_closed: false,
    start_date: "2026-01-01".parse()?,
    ..Default::default()
};
let result = client.finance().accounting_periods().update(1, &body)?;
println!("{}", result.id);

PUT/finance/accountingperiods/{id}/userrules*

client.finance.accounting_periods.update_user_rules()client.finance().accounting_periods().update_user_rules()

Replace statement suggestion rules

Replaces the entire rule set for an accounting period and returns the new records ordered by sortKey. Send rules: [] to remove all rules. Existing IDs are discarded and newly inserted rules receive new IDs. Requires edit accounting period permission. This saves rules only; it does not regenerate existing movement suggestions. Deletion and insertion are not enclosed in a single transaction.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
rules"rules"List[UserRuleCreate]Vec<UserRuleCreate>BodyjaAll rules to retain. An empty array removes every rule for this period.

Rückgabe List[UserRule]Vec<UserRule>

for accounting_period in client.finance.accounting_periods.update_user_rules(
    1,
    rules=[ct.models.UserRuleCreate.model_validate({"accountIds": [5], "allAccounts": False, "isIncome": True, "operator": "contains", "searchString": "Donation", "searchType": "purpose", "sortKey": 0, "suggestionType": "costCenterId", "suggestionValue": "8"})],
):
    print(accounting_period.id)
let body = models::UserRulesUpdate {
    rules: vec![models::UserRuleCreate {
        account_ids: vec![5],
        all_accounts: false,
        is_income: true,
        operator: "contains".into(),
        search_string: "Donation".into(),
        search_type: "purpose".into(),
        sort_key: 0,
        suggestion_type: "costCenterId".into(),
        suggestion_value: "8".into(),
        ..Default::default()
    }],
    ..Default::default()
};
for accounting_period in client.finance().accounting_periods().update_user_rules(1, &body)? {
    println!("{}", accounting_period.id);
}

DELETE/finance/accountingperiods/{id}*

client.finance.accounting_periods.delete()client.finance().accounting_periods().delete()mit Filtern: .delete_with(&DeleteFinanceAccountingperiodsIdQuery)

Delete accounting period

Deletes a period when its accounts no longer block deletion. Requires finance “edit masterdata”. The last accounting period in the installation cannot be deleted. Cost centers are treated as removable dependencies; associated authorization entries and donation receipts are cleaned up. dry_run=true returns the HTTP 409 conflict report without deleting, including when deletion is allowed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.accounting_periods.delete(1)
client.finance().accounting_periods().delete(1)?;

DELETE/finance/accountingperiods/{id}/taxrates*

client.finance.accounting_periods.delete_tax_rates()client.finance().accounting_periods().delete_tax_rates()

Delete tax rates for accounting period

Deletes all tax rates whose receiving accounts belong to this accounting period. Requires finance “edit masterdata”. The operation first clears the default taxRateId of every account in the period, then deletes its tax rates in one transaction. References from transactions prevent deletion and return 400. An unknown or empty period succeeds without changes. Unlike single deletion, this operation does not support dry_run.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe None()

client.finance.accounting_periods.delete_tax_rates(1)
client.finance().accounting_periods().delete_tax_rates(1)?;

GET/finance/accountingperiods/{id}/accounts/{accountId}/movements

client.finance.accounting_periods.accounts.list_movements()client.finance().accounting_periods().accounts().list_movements()mit Filtern: .list_movements_with(&GetFinanceAccountingperiodsIdAccountsIdMovementsQuery)seitenweise

Get all movements of an account

Returns a page of imported movements, ordered by documentDate and then numberInStatement ascending. Requires edit accounting period permission for the actual account. Suggestions are always serialized; include[]=bills expands their attached documents. The period ID in the URL is not cross-checked against the account.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_idintimpl DisplayPfadjaID of the account
limitinti64QueryPositive number of results per page.
statestrStringQueryRestrict to a stored movement state.
querystrStringQuerySubstring search across purpose, account identifier and person name.
includeList[str]Vec<String>QueryAdditional suggestion details.

Rückgabe Paginator[StatementMovement]Vec<StatementMovement>

for movement in client.finance.accounting_periods.accounts.list_movements(1, 42):
    print(movement.id)
for movement in client.finance().accounting_periods().accounts().list_movements(1, 42)? {
    println!("{}", movement.id);
}

GET/finance/accountingperiods/{id}/accounts/statements

client.finance.accounting_periods.accounts.list_statements()client.finance().accounting_periods().accounts().list_statements()

Get per-account statement movement statistics

Returns per-account movement statistics across all imported statements of the accounting period. Only accounts that have at least one statement movement are included. For each account the number of movements is grouped by state (open, booked, ignored); a state key is only present when the account has movements in that state. Requires edit accounting period permission. The response has no outer meta object and no guaranteed account order.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe List[AccountStatementStatistics]Vec<AccountStatementStatistics>

for statement in client.finance.accounting_periods.accounts.list_statements(1):
    print(statement.account_id)
for statement in client.finance().accounting_periods().accounts().list_statements(1)? {
    println!("{}", statement.account_id);
}

DELETE/finance/accountingperiods/{id}/accounts*

client.finance.accounting_periods.accounts.delete()client.finance().accounting_periods().accounts().delete()

Delete accounts for accounting period

Deletes all accounts of one accounting period. Requires finance “edit masterdata”. Existing transactions using any of these accounts as account or contra account prevent deletion with HTTP 400. The service removes associated bank statements and transaction purposes, clears account tax-rate links and deletes the period’s tax rates before deleting the accounts in a transaction. This endpoint does not support dry_run. It does not require the period to exist or be open.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe None()

client.finance.accounting_periods.accounts.delete(1)
client.finance().accounting_periods().accounts().delete(1)?;

GET/finance/accountingperiods/{id}/accounts/{accountId}/statements

client.finance.accounting_periods.accounts.statements.list()client.finance().accounting_periods().accounts().statements().list()

Get imported statements for an account

Returns all statements for the account, sorted by startDate descending, without pagination. Each statement includes counts for open, booked and ignored movements and their sum. Requires edit accounting period permission. An account outside the path’s accounting period returns HTTP 404.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_idintimpl DisplayPfadjaFinance account whose imported statements are returned.

Rückgabe List[AccountStatement]Vec<AccountStatement>

for statement in client.finance.accounting_periods.accounts.statements.list(1, 5):
    print(statement.name)
for statement in client.finance().accounting_periods().accounts().statements().list(1, 5)? {
    println!("{}", statement.name);
}

GET/finance/accountingperiods/{id}/accounts/{accountId}/statements/{statementId}/movements

client.finance.accounting_periods.accounts.statements.movements.list()client.finance().accounting_periods().accounts().statements().movements().list()mit Filtern: .list_with(&GetFinanceAccountingperiodsIdAccountsIdStatementsIdMovementsQuery)seitenweise

Get all movements of a statement

Returns a page of imported movements, ordered by documentDate and then numberInStatement ascending. Requires edit accounting period permission for the actual account. Suggestions are always serialized; include[]=bills expands their attached documents. The statement must belong to the URL period (otherwise HTTP 404); the URL accountId is not cross-checked.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_idintimpl DisplayPfadjaID of the account the statement belongs to.
statement_idintimpl DisplayPfadjaID of the statement whose movements are returned.
limitinti64QueryPositive number of results per page.
statestrStringQueryRestrict to a stored movement state.
querystrStringQuerySubstring search across purpose, account identifier and person name.
includeList[str]Vec<String>QueryAdditional suggestion details.

Rückgabe Paginator[StatementMovement]Vec<StatementMovement>

for movement in client.finance.accounting_periods.accounts.statements.movements.list(1, 42, 7):
    print(movement.id)
for movement in client.finance().accounting_periods().accounts().statements().movements().list(1, 42, 7)? {
    println!("{}", movement.id);
}

POST/finance/accountingperiods/{id}/accounts/{accountId}/statements/{statementId}/movements/{movementId}*

client.finance.accounting_periods.accounts.statements.movements.create()client.finance().accounting_periods().accounts().statements().movements().create()

Update the state of a movement

Changes the movement state and returns its associated transaction, or an empty array when none is linked. A transition from any state other than booked to booked creates a new transaction from the current suggestions. Required ordinary-booking fields are documentDate, accountId, contraAccountId and amount, plus documentNumber unless automatic numbering is active. Split suggestions create a split booking and return its first non-tax child. Switching to open or ignored does not undo the existing transaction; booking again can create another transaction. Requires edit accounting period permission for the movement’s actual period; parent IDs in the URL are not cross-checked.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_idintimpl DisplayPfadjaID of the account the statement belongs to.
statement_idintimpl DisplayPfadjaID of the statement the movement belongs to.
movement_idintimpl DisplayPfadjaID of the movement to update.
state"state"strStringBodyjaTarget movement state.

Rückgabe Union[Transaction, List[Any]]serde_json::Value

result = client.finance.accounting_periods.accounts.statements.movements.create(
    1,
    42,
    7,
    123,
    state="booked",
)
print(result)
let body = models::StatementMovementUpdate {
    state: "booked".into(),
    ..Default::default()
};
let result = client.finance().accounting_periods().accounts().statements().movements().create(1, 42, 7, 123, &body)?;
println!("{:?}", result);

PATCH/finance/accountingperiods/{id}/accounts/{accountId}/statements/{statementId}/movements/{movementId}/suggestions*

client.finance.accounting_periods.accounts.statements.movements.patch_suggestions()client.finance().accounting_periods().accounts().statements().movements().patch_suggestions()

Update movement suggestions

Applies incremental edits to a movement’s booking suggestions. Matches existing fields by name and splitKey. Non-empty values create or change a suggestion; an empty string removes it. Other suggestions are retained. Modified values receive confidence 100 and userOverwrite=true. Repeating an identical value leaves metadata unchanged. Requires edit accounting period permission for the movement’s actual period. Parent IDs in the URL are not cross-checked. Split keys require the split-booking feature.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_idintimpl DisplayPfadjaIdentifier in the movement URL; authorization uses the movement’s actual accounting period.
statement_idintimpl DisplayPfadjaIdentifier in the movement URL; authorization uses the movement’s actual accounting period.
movement_idintimpl DisplayPfadjaIdentifier in the movement URL; authorization uses the movement’s actual accounting period.
suggestions"suggestions"List[MovementSuggestionUpdate]Vec<MovementSuggestionUpdate>BodyjaIncremental changes. Omitted suggestions are retained; an empty array changes nothing.

Rückgabe None()

client.finance.accounting_periods.accounts.statements.movements.patch_suggestions(
    1,
    7,
    7,
    7,
    suggestions=[ct.models.MovementSuggestionUpdate.model_validate({"name": "costCenterId", "value": "8"})],
)
let body = models::MovementSuggestionsUpdate {
    suggestions: vec![models::MovementSuggestionUpdate {
        name: "costCenterId".into(),
        value: "8".into(),
        ..Default::default()
    }],
    ..Default::default()
};
client.finance().accounting_periods().accounts().statements().movements().patch_suggestions(1, 7, 7, 7, &body)?;

PUT/finance/accountingperiods/{id}/statements/{statementId}*

client.finance.accounting_periods.statements.update()client.finance().accounting_periods().statements().update()

Rename a statement

Renames an imported statement and returns HTTP 204 without a body. Requires edit accounting period permission for the statement’s actual period. The period ID in the URL is not cross-checked by this operation.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
statement_idintimpl DisplayPfadjaID of the statement
name"name"strStringBodyjaStored as supplied; whitespace and an empty string are accepted.

Rückgabe None()

client.finance.accounting_periods.statements.update(1, 1, name="September 2026")
let body = models::AccountStatementUpdate {
    name: "September 2026".into(),
    ..Default::default()
};
client.finance().accounting_periods().statements().update(1, 1, &body)?;

DELETE/finance/accountingperiods/{id}/statements/{statementId}*

client.finance.accounting_periods.statements.delete()client.finance().accounting_periods().statements().delete()

Delete a statement

Deletes an imported statement, its movements, suggestions and source file. Finance transactions already created from the movements remain. Bills linked to deleted suggestions are also deleted. Requires edit accounting period permission for the statement’s actual period; the period ID in the URL is not cross-checked. There is no dry-run mode.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
statement_idintimpl DisplayPfadjaID of the statement

Rückgabe None()

client.finance.accounting_periods.statements.delete(1, 1)
client.finance().accounting_periods().statements().delete(1, 1)?;

POST/finance/accountingperiods/{id}/statements*

client.finance.accounting_periods.statements.preview()client.finance().accounting_periods().statements().preview()

Preview an uploaded bank statement file

Parses the first uploaded bank statement file and returns a preview without importing it. Send the file in multipart field files[]. Supported formats are MT940, CAMT and PayPal CSV; a ZIP can combine top-level files of the same type and account identifier. Requires edit accounting period permission for the path ID. Duplicate comparison is currently performed across all stored accounts in the date range, so the counts can differ from a later account-specific import. To import, upload the file to /files/statement/{accountId}.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
filesSequence[Upload]&[Upload]DateijaFiles to upload.

Rückgabe AccountStatementPreview

statement = client.finance.accounting_periods.statements.preview(
    1,
    files=[ct.Upload.from_path("kontoauszug.xml")],
)
print(statement.duplicates)
let file = Upload::from_path("kontoauszug.xml")?;
let statement = client.finance().accounting_periods().statements().preview(1, &[file])?;
println!("{}", statement.duplicates);

POST/finance/accountingperiods/{id}/statements/{statementId}/suggestions*

client.finance.accounting_periods.statements.suggestions()client.finance().accounting_periods().statements().suggestions()

Generate suggestions for a statement

Runs the configured suggestion generators over every movement of the statement, including movements already booked or ignored. New suggestions are merged with existing ones by field name and split key; an existing suggestion is replaced only by a higher-confidence suggestion, so this is not a complete reset. Invalid account references are removed afterwards. Requires edit accounting period permission for the statement’s actual period. The period ID in the URL is not cross-checked. Returns HTTP 204 without a body.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
statement_idintimpl DisplayPfadjaID of the statement to generate suggestions for.

Rückgabe None()

client.finance.accounting_periods.statements.suggestions(1, 7)
client.finance().accounting_periods().statements().suggestions(1, 7)?;

GET/finance/accounts

client.finance.accounts.list()client.finance().accounts().list()mit Filtern: .list_with(&GetFinanceAccountsQuery)

Get visible accounts

A ledger account belongs to one accounting period and one account group. The group links it to an account class and account type. Transactions post amounts between an account and a contra account. Amounts and budgets use integer minor currency units, for example cents. Returns an unpaginated list filtered by finance master-data permission, accounting-period permissions or access through cost centers and transaction purposes. Accounts are sorted by number across all selected periods, without a separate period sort. meta.count is the number returned. Balances and preceding-period budgets are calculated by default.

ParameterTypOrtPflichtBeschreibung
accounting_period_idUnion[int, List[int]]serde_json::ValueQueryOne accounting period or an array of period IDs.
calculate_balanceboolQueryCalculate current balances and budgets from the previous period.

Rückgabe List[Account]Vec<Account>

for account in client.finance.accounts.list():
    print(account.name)
for account in client.finance().accounts().list()? {
    println!("{}", account.name);
}

GET/finance/accounts/{id}

client.finance.accounts.get()client.finance().accounts().get()

Get an account

Returns one visible ledger account with calculated balances, preceding-period budget values and posting permission. Visibility follows the same rules as the collection endpoint. An unknown ID returns 404; an existing but inaccessible account returns 403.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe Account

account = client.finance.accounts.get(1)
print(account.name)
let account = client.finance().accounts().get(1)?;
println!("{}", account.name);

GET/finance/accounts/csv

client.finance.accounts.get_csv()client.finance().accounts().get_csv()Query: GetFinanceAccountsCsvQuery

Export accounts as CSV

Downloads visible accounts of one accounting period. Requires global finance “view accounting period” for that period. Columns contain number, name, annotation, budget, account-group name, account function, tax type/rate and identifier. Headings use the installation language. Budgets use formatted major currency units. CSV uses semicolons and a UTF-8 BOM. Returns an attachment without a JSON wrapper.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaAccounting period to export.

Rückgabe bytes (text/csv)Vec<u8> (text/csv)

data = client.finance.accounts.get_csv(accounting_period_id=1)
with open("ergebnis.csv", "wb") as f:
    f.write(data)
let query = GetFinanceAccountsCsvQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let data = client.finance().accounts().get_csv(&query)?;
std::fs::write("ergebnis.csv", &data)?;

GET/finance/accounts/export

client.finance.accounts.get_export()client.finance().accounts().get_export()Query: GetFinanceAccountsExportQuery

Export accounts

Downloads visible accounts of one accounting period. Requires global finance “view accounting period” for that period. Columns contain number, name, annotation, budget, account-group name, account function, tax type/rate and identifier. Headings use the installation language. Budgets use formatted major currency units. CSV uses semicolons and a UTF-8 BOM. Returns an attachment without a JSON wrapper.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaAccounting period to export.
formatstrStringQueryDownload format. Only CSV and XLSX generators are registered.
type_r#typestrStringQueryCompatibility alias for format.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.finance.accounts.get_export(accounting_period_id=1)
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let query = GetFinanceAccountsExportQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let data = client.finance().accounts().get_export(&query)?;
std::fs::write("ergebnis.xlsx", &data)?;

POST/finance/accounts*

client.finance.accounts.create()client.finance().accounts().create()

Create new account

Creates a ledger account in an open accounting period. Requires finance “edit masterdata”. Name and number must each be unique in that period; account number 9999 is reserved. Returns HTTP 200 with the new account, initially with balance 0.

12 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
account_group_id"accountGroupId"inti64BodyjaExisting parent account group from /finance/accountgroups.
annotation"annotation"Optional[str]Option<String>BodyOptional trimmed note.
budget"budget"Optional[int]Option<i64>BodyBudget in minor currency units.
identifier"identifier"Optional[str]Option<String>BodyOptional account identifier, for example an IBAN.
is_donation_account"isDonationAccount"boolBodyWhether transactions on this account can be recorded as donations.
is_mandatory_eubp"isMandatoryEubp"boolBodyWhether the account is included in electronically supported employer audits (euBP).
is_opening_balance_account"isOpeningBalanceAccount"boolBodyWhether this account is used for opening-balance postings.
name"name"strStringBodyjaTrimmed, nonblank account name.
number"number"strStringBodyjaTrimmed account number.
tax_rate_id"taxRateId"Optional[int]Option<i64>BodyOptional default tax rate from /finance/taxrates.
accounting_period_id"accountingPeriodId"inti64BodyjaExisting, open accounting period.
is_mandatory_eubp_locked"isMandatoryEubpLocked"boolBodyInitial euBP lock. When already locked, later updates force isMandatoryEubp to true.

Rückgabe Account

result = client.finance.accounts.create(
    account_group_id=4,
    name="Donations",
    number="8200",
    accounting_period_id=5,
)
print(result.name)
let body = models::AccountCreate {
    account_group_id: 4,
    name: "Donations".into(),
    number: "8200".into(),
    accounting_period_id: 5,
    ..Default::default()
};
let result = client.finance().accounts().create(&body)?;
println!("{}", result.name);

PUT/finance/accounts/{id}*

client.finance.accounts.update()client.finance().accounts().update()

Update account

Replacement values for an account in an open accounting period. The period cannot be changed here. Omitted optional fields reset to false or null. A donation account with existing donation transactions cannot have isDonationAccount disabled through this single-update endpoint. Requires finance “edit masterdata”. Returns recalculated balances and posting permission. isMandatoryEubpLocked cannot be changed by this operation.

11 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_group_id"accountGroupId"inti64BodyjaExisting parent account group from /finance/accountgroups.
annotation"annotation"Optional[str]Option<String>BodyOptional trimmed note.
budget"budget"Optional[int]Option<i64>BodyBudget in minor currency units.
identifier"identifier"Optional[str]Option<String>BodyOptional account identifier, for example an IBAN.
is_donation_account"isDonationAccount"boolBodyWhether transactions on this account can be recorded as donations.
is_mandatory_eubp"isMandatoryEubp"boolBodyWhether the account is included in electronically supported employer audits (euBP).
is_opening_balance_account"isOpeningBalanceAccount"boolBodyWhether this account is used for opening-balance postings.
name"name"strStringBodyjaTrimmed, nonblank account name.
number"number"strStringBodyjaTrimmed account number.
tax_rate_id"taxRateId"Optional[int]Option<i64>BodyOptional default tax rate from /finance/taxrates.

Rückgabe Account

result = client.finance.accounts.update(1, account_group_id=4, name="Donations", number="8200")
print(result.name)
let body = models::AccountUpdate {
    account_group_id: 4,
    name: "Donations".into(),
    number: "8200".into(),
    ..Default::default()
};
let result = client.finance().accounts().update(1, &body)?;
println!("{}", result.name);

DELETE/finance/accounts/{id}*

client.finance.accounts.delete()client.finance().accounts().delete()mit Filtern: .delete_with(&DeleteFinanceAccountsIdQuery)

Delete account

Deletes an account if no transactions, transaction purposes, tax rates or cash discounts require it. Requires finance “edit masterdata”. Associated bank statements, account movements and transaction suggestions are removed. dry_run=true returns the HTTP 409 conflict report without deleting, including when deletion is allowed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.accounts.delete(1)
client.finance().accounts().delete(1)?;

POST/finance/accounts/bulkcreate*

client.finance.accounts.bulk_create()client.finance().accounts().bulk_create()

Create or replace accounts in bulk

Imports a JSON array of account definitions. Requires finance “edit masterdata”. Existing accounts are matched by account number and accounting period and updated; other entries are created. Optional fields use the same false/null defaults as single creation, also when replacing existing accounts. Repeated raw period/number pairs in the request collapse to the last entry. Returns HTTP 200 and meta.count for the processed entries. Every affected period must be open. The bulk path does not apply the single-update donation-account protection.

ParameterTypOrtPflichtBeschreibung
bodyList[AccountCreate]Vec<AccountCreate>Bodyja

Rückgabe List[Account]Vec<Account>

for account in client.finance.accounts.bulk_create(
    body=[ct.models.AccountCreate.model_validate({"accountGroupId": 4, "name": "Donations", "number": "8200", "accountingPeriodId": 5})],
):
    print(account.name)
let body: Vec<models::AccountCreate> = vec![models::AccountCreate {
    account_group_id: 4,
    name: "Donations".into(),
    number: "8200".into(),
    accounting_period_id: 5,
    ..Default::default()
}];
for account in client.finance().accounts().bulk_create(&body)? {
    println!("{}", account.name);
}

POST/finance/accounts/exporttemplate*

client.finance.accounts.export_template()client.finance().accounts().export_template()

Download an account-import workbook

Downloads an XLSX workbook with translated column headings and import instructions. Requires finance “edit masterdata”. Select a finance template, existing accounts by year and optional client, or omit the selection for an empty workbook. Only accounting periods visible to the caller contribute existing accounts.

ParameterTypOrtPflichtBeschreibung
client_id"clientId"Optional[int]Option<i64>BodyFilter existing accounts by client.
template_id"templateId"Optional[int]Option<i64>BodyFinance-template file ID.
with_clients"withClients"boolBodyPrepend client and booking-year columns.
year"year"Optional[int]Option<i64>BodyCalendar year of the accounting-period start date.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.finance.accounts.export_template(client_id=1)
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let body = models::AccountImportTemplateCreate {
    client_id: Some(Some(1)),
    ..Default::default()
};
let data = client.finance().accounts().export_template(&body)?;
std::fs::write("ergebnis.xlsx", &data)?;

GET/finance/bills/{id}

client.finance.bills.get()client.finance().bills().get()

Get a bill

Returns one supporting document. Access is granted through view/edit permission for its accounting period or visibility of its directly linked ordinary transaction. Split transactions and booking suggestions do not provide this additional individual-access route.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe Bill

bill = client.finance.bills.get(1)
print(bill.id)
let bill = client.finance().bills().get(1)?;
println!("{}", bill.id);

POST/finance/bills*

client.finance.bills.create()client.finance().bills().create()

Create new bill

Registers an existing uploaded file as a supporting document. Exactly one booking link is required. The linked transaction, all split components, or the account movement behind a suggestion must belong to accountingPeriodId. Ordinary and split transactions must be mutable and pass booking authorization. The submitting person must be visible. Returns the stored bill including file download metadata.

ParameterTypOrtPflichtBeschreibung
bodyUnion[BillCreateWithTransaction, BillCreateWithSplit, BillCreateWithSuggestion]serde_json::ValueBodyja

Rückgabe Bill

result = client.finance.bills.create(
    body=ct.models.BillCreateWithTransaction.model_validate({"accountingPeriodId": 1, "fileId": 21, "submittedDate": "2026-09-14", "submittedPid": 42, "transactionId": 12}),
)
print(result.id)
let body = serde_json::json!({
    "accountingPeriodId": 1,
    "fileId": 21,
    "submittedDate": "2026-09-14",
    "submittedPid": 42,
    "transactionId": 12
});
let result = client.finance().bills().create(&body)?;
println!("{}", result.id);

PUT/finance/bills/{id}*

client.finance.bills.update()client.finance().bills().update()

Update bill

Updates submission date/person and optionally renames the file or changes its booking link. Requires edit permission for the accounting period or update access to the directly linked ordinary transaction. A directly linked immutable transaction prevents changes. Newly supplied transaction/split links are checked for authorization, immutability and accounting-period consistency. Omitted or null link IDs do not detach the document. Accounting period and file attachment remain fixed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
filename"filename"Optional[str]Option<String>BodyOptional new display name for the attached file.
split_transaction_id"splitTransactionId"Optional[int]Option<i64>BodyLinked split transaction, covering its component transactions.
submitted_date"submittedDate"dateNaiveDateBodyjaDate the supporting document was submitted, independently of the booking date.
submitted_pid"submittedPid"inti64BodyjaPerson who submitted the document.
transaction_id"transactionId"Optional[int]Option<i64>BodyLinked ordinary transaction.
transaction_suggestion_id"transactionSuggestionId"Optional[int]Option<i64>BodyLinked booking suggestion from an account statement.

Rückgabe Bill

result = client.finance.bills.update(1, submitted_date=dt.date(2026, 9, 14), submitted_pid=42)
print(result.id)
let body = models::BillUpdate {
    submitted_date: "2026-09-14".parse()?,
    submitted_pid: 42,
    ..Default::default()
};
let result = client.finance().bills().update(1, &body)?;
println!("{}", result.id);

DELETE/finance/bills/{id}*

client.finance.bills.delete()client.finance().bills().delete()mit Filtern: .delete_with(&DeleteFinanceBillsIdQuery)

Delete bill

Deletes a supporting document and its attached file, leaving the booking itself intact. Requires bill-update permissions and validates the existing booking links; immutable ordinary transactions or split components prevent deletion. dry_run=true performs the same checks and returns HTTP 409 with deletion information without deleting.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.bills.delete(1)
client.finance().bills().delete(1)?;

GET/finance/cashdiscounts

client.finance.cash_discounts.list()client.finance().cash_discounts().list()mit Filtern: .list_with(&GetFinanceCashdiscountsQuery)

Get all cash discounts

A cash discount defines a percentage for early-payment discounts and the ledger account to which the discount is posted. Its accounting period is determined by that account. Returns an unpaginated list. Optionally restrict results to the linked accounts’ accounting period. No result order is guaranteed; an unknown period returns an empty list. meta.count is the number returned.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryOnly return entries linked to accounts in this accounting period.

Rückgabe List[CashDiscount]Vec<CashDiscount>

for cash_discount in client.finance.cash_discounts.list():
    print(cash_discount.id)
for cash_discount in client.finance().cash_discounts().list()? {
    println!("{}", cash_discount.id);
}

GET/finance/cashdiscounts/{id}

client.finance.cash_discounts.get()client.finance().cash_discounts().get()

Get a cash discount

A cash discount defines a percentage for early-payment discounts and the ledger account to which the discount is posted. Its accounting period is determined by that account. Returns one definition by ID.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe CashDiscount

cash_discount = client.finance.cash_discounts.get(1)
print(cash_discount.id)
let cash_discount = client.finance().cash_discounts().get(1)?;
println!("{}", cash_discount.id);

POST/finance/cashdiscounts*

client.finance.cash_discounts.create()client.finance().cash_discounts().create()

Create a cash discount

A cash discount defines a percentage for early-payment discounts and the ledger account to which the discount is posted. Its accounting period is determined by that account. Requires finance “edit masterdata”. Returns HTTP 200 on success.

ParameterTypOrtPflichtBeschreibung
account_id"accountId"inti64BodyjaID of the existing ledger account receiving this amount.
note"note"strStringBodyjaTrimmed description. Supply a nonblank value because the stored model requires a string.
rate"rate"inti64BodyjaWhole percentage points: 2 means 2%.

Rückgabe CashDiscount

result = client.finance.cash_discounts.create(account_id=5, note="Skonto 2%", rate=2)
print(result.id)
let body = models::CashDiscountCreate {
    account_id: 5,
    note: "Skonto 2%".into(),
    rate: 2,
    ..Default::default()
};
let result = client.finance().cash_discounts().create(&body)?;
println!("{}", result.id);

PUT/finance/cashdiscounts/{id}*

client.finance.cash_discounts.update()client.finance().cash_discounts().update()

Update cash discount

Replaces this cash discount. Requires finance “edit masterdata”. All required creation fields must be supplied again.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_id"accountId"inti64BodyjaID of the existing ledger account receiving this amount.
note"note"strStringBodyjaTrimmed description. Supply a nonblank value because the stored model requires a string.
rate"rate"inti64BodyjaWhole percentage points: 2 means 2%.

Rückgabe CashDiscount

result = client.finance.cash_discounts.update(1, account_id=5, note="Skonto 2%", rate=2)
print(result.id)
let body = models::CashDiscountUpdate {
    account_id: 5,
    note: "Skonto 2%".into(),
    rate: 2,
    ..Default::default()
};
let result = client.finance().cash_discounts().update(1, &body)?;
println!("{}", result.id);

DELETE/finance/cashdiscounts/{id}*

client.finance.cash_discounts.delete()client.finance().cash_discounts().delete()mit Filtern: .delete_with(&DeleteFinanceCashdiscountsIdQuery)

Delete cash discount

Deletes this cash discount if no transactions reference it. Requires finance “edit masterdata”. dry_run=true returns the HTTP 409 conflict report without deleting, also when deletion is allowed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.cash_discounts.delete(1)
client.finance().cash_discounts().delete(1)?;

GET/finance/clients

client.finance.clients.list()client.finance().clients().list()

Get all clients

A finance client is the organizational entity whose books are kept separately, for example a congregation or a charitable organization. Each client owns accounting periods, and those periods own its accounts and cost centers. It is unrelated to an OAuth application client. Returns an unpaginated list ordered by sortKey. Users with finance “edit masterdata” see all clients; other callers see clients belonging to their visible accounting periods. meta.count is the number returned. The treasurer is expanded to a person domain object.

Rückgabe List[Client]Vec<Client>

for item in client.finance.clients.list():
    print(item.name)
for item in client.finance().clients().list()? {
    println!("{}", item.name);
}

GET/finance/clients/{id}

client.finance.clients.get()client.finance().clients().get()

Get a client

Returns a finance client visible under the same rules as the collection endpoint. An unknown or invisible client returns 404. A finance client is the organizational entity whose books are kept separately, for example a congregation or a charitable organization. Each client owns accounting periods, and those periods own its accounts and cost centers. It is unrelated to an OAuth application client.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe Client

item = client.finance.clients.get(1)
print(item.name)
let item = client.finance().clients().get(1)?;
println!("{}", item.name);

POST/finance/clients*

client.finance.clients.create()client.finance().clients().create()

Create new client

Creates a finance client. Requires finance “edit masterdata” and an available client slot in the installation license. Returns HTTP 201 with the treasurer expanded, if assigned. Optional fields default to null.

12 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
city"city"Optional[str]Option<String>BodyOptional contact information.
datev_client_number"datevClientNumber"Optional[Union[str, float]]serde_json::ValueBodyOptional numeric DATEV client identifier.
datev_consultant_number"datevConsultantNumber"Optional[Union[str, float]]serde_json::ValueBodyOptional numeric DATEV consultant identifier.
email"email"Optional[str]Option<String>BodyOptional valid email address.
eubp_business_name"eubpBusinessName"Optional[str]Option<String>BodyEmployer name used for electronically supported employer audits (euBP).
eubp_business_number"eubpBusinessNumber"Optional[str]Option<String>BodyGerman employer business number for euBP: eight digits with a valid checksum.
name"name"strStringBodyjaTrimmed client name, unique across finance clients.
phone"phone"Optional[str]Option<String>BodyOptional contact information.
postal_code"postalCode"Optional[str]Option<String>BodyOptional contact information.
sort_key"sortKey"inti64BodyjaAscending display order.
street"street"Optional[str]Option<String>BodyOptional contact information.
treasurer_id"treasurerId"Optional[int]Option<i64>BodyOptional person ID of the treasurer.

Rückgabe Client

result = client.finance.clients.create(name="Example congregation", sort_key=0)
print(result.name)
let body = models::ClientCreate {
    name: "Example congregation".into(),
    sort_key: 0,
    ..Default::default()
};
let result = client.finance().clients().create(&body)?;
println!("{}", result.name);

PUT/finance/clients/{id}*

client.finance.clients.update()client.finance().clients().update()

Update client

Replacement finance-client data. name and sortKey are required; omitted optional fields are cleared, including contact, DATEV and euBP fields. Requires finance “edit masterdata”. The client name must remain unique.

13 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
city"city"Optional[str]Option<String>BodyOptional contact information.
datev_client_number"datevClientNumber"Optional[Union[str, float]]serde_json::ValueBodyOptional numeric DATEV client identifier.
datev_consultant_number"datevConsultantNumber"Optional[Union[str, float]]serde_json::ValueBodyOptional numeric DATEV consultant identifier.
email"email"Optional[str]Option<String>BodyOptional valid email address.
eubp_business_name"eubpBusinessName"Optional[str]Option<String>BodyEmployer name used for electronically supported employer audits (euBP).
eubp_business_number"eubpBusinessNumber"Optional[str]Option<String>BodyGerman employer business number for euBP: eight digits with a valid checksum.
name"name"strStringBodyjaTrimmed client name, unique across finance clients.
phone"phone"Optional[str]Option<String>BodyOptional contact information.
postal_code"postalCode"Optional[str]Option<String>BodyOptional contact information.
sort_key"sortKey"inti64BodyjaAscending display order.
street"street"Optional[str]Option<String>BodyOptional contact information.
treasurer_id"treasurerId"Optional[int]Option<i64>BodyOptional person ID of the treasurer.

Rückgabe Client

result = client.finance.clients.update(1, name="Example congregation", sort_key=0)
print(result.name)
let body = models::ClientUpdate {
    name: "Example congregation".into(),
    sort_key: 0,
    ..Default::default()
};
let result = client.finance().clients().update(1, &body)?;
println!("{}", result.name);

DELETE/finance/clients/{id}*

client.finance.clients.delete()client.finance().clients().delete()mit Filtern: .delete_with(&DeleteFinanceClientsIdQuery)

Delete client

Deletes a finance client if no accounting periods reference it. Requires finance “edit masterdata”. With dry_run=true no deletion occurs and HTTP 409 returns the conflict report, also when deletion would be allowed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.clients.delete(1)
client.finance().clients().delete(1)?;

GET/finance/costcenters

client.finance.cost_centers.list()client.finance().cost_centers().list()mit Filtern: .list_with(&GetFinanceCostcentersQuery)

Get visible cost centers

A cost center assigns income and expenses to a purpose, project or group within one accounting period. Budgets and balances use integer minor currency units (for example cents). Linking a group also enables access through group-internal finance permissions. Returns an unpaginated list filtered by global accounting-period rights and group-internal permissions to see cost centers, see budgets or post transactions. Sorted by accounting-period ID, then the numeric value of number, ascending. Previous-period budget values are matched by cost-center number. meta.count is the number returned.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryRestrict results to this accounting period.

Rückgabe List[CostCenter]Vec<CostCenter>

for cost_center in client.finance.cost_centers.list():
    print(cost_center.name)
for cost_center in client.finance().cost_centers().list()? {
    println!("{:?}", cost_center.name);
}

GET/finance/costcenters/{id}

client.finance.cost_centers.get()client.finance().cost_centers().get()

Get a cost center

Returns one visible cost center and its linked group. Visibility follows the same period and group permissions as the collection endpoint. A missing or invisible ID is rejected with 403 before the entity lookup. Budget values may be null when no budget is configured.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe CostCenter

cost_center = client.finance.cost_centers.get(1)
print(cost_center.name)
let cost_center = client.finance().cost_centers().get(1)?;
println!("{:?}", cost_center.name);

GET/finance/costcenters/export

client.finance.cost_centers.get_export()client.finance().cost_centers().get_export()Query: GetFinanceCostcentersExportQuery

Export cost centers

Downloads the visible cost centers of one accounting period as CSV or XLSX. Requires global finance “view accounting period” for the selected period. Columns contain ID, number, name, budget and linked group ID. Headings are translated using the installation language. CSV uses semicolons and a UTF-8 BOM; budgets are formatted as major currency units. The response is a file, without a JSON data wrapper.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaAccounting period to export.
formatstrStringQueryDownload format. Only CSV and XLSX generators are registered.
type_r#typestrStringQueryCompatibility alias for format.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.finance.cost_centers.get_export(accounting_period_id=1)
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let query = GetFinanceCostcentersExportQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let data = client.finance().cost_centers().get_export(&query)?;
std::fs::write("ergebnis.xlsx", &data)?;

POST/finance/costcenters*

client.finance.cost_centers.create()client.finance().cost_centers().create()

Create new cost center

Creates a cost center. A cost center assigns income and expenses to a purpose, project or group within one accounting period. Budgets and balances use integer minor currency units (for example cents). Linking a group also enables access through group-internal finance permissions. Requires finance “edit masterdata” and an open accounting period. Name and number must each be unique in that period. Returns HTTP 200. budgetBalance initially equals budget; spent and previous-period values are not yet calculated.

ParameterTypOrtPflichtBeschreibung
accounting_period_id"accountingPeriodId"inti64BodyjaExisting, open accounting period owning this cost center.
annotation"annotation"Optional[str]Option<String>BodyOptional trimmed note.
budget"budget"Optional[int]Option<i64>BodyOptional budget in minor currency units, for example 3200 for EUR 32.00.
group_id"groupId"Optional[int]Option<i64>BodyOptional linked group.
name"name"strStringBodyjaTrimmed name, unique within the accounting period.
number"number"strStringBodyjaTrimmed identifier, unique within the accounting period.

Rückgabe CostCenter

result = client.finance.cost_centers.create(
    accounting_period_id=1,
    name="Kostenstelle Sonstige",
    number="802",
)
print(result.name)
let body = models::CostCenterCreate {
    accounting_period_id: 1,
    name: "Kostenstelle Sonstige".into(),
    number: "802".into(),
    ..Default::default()
};
let result = client.finance().cost_centers().create(&body)?;
println!("{:?}", result.name);

PUT/finance/costcenters/{id}*

client.finance.cost_centers.update()client.finance().cost_centers().update()

Update cost center

Replacement values for a cost center. number and accountingPeriodId are required; omitted name, annotation, budget and groupId are cleared. The target accounting period must be open. Both name and number must remain unique in that period. Requires finance “edit masterdata”. The returned current-period balance is recalculated; previous-period values are not guaranteed to be refreshed by this update.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
accounting_period_id"accountingPeriodId"inti64BodyjaExisting, open accounting period owning this cost center.
annotation"annotation"Optional[str]Option<String>BodyOptional trimmed note.
budget"budget"Optional[int]Option<i64>BodyOptional budget in minor currency units, for example 3200 for EUR 32.00.
group_id"groupId"Optional[int]Option<i64>BodyOptional linked group.
name"name"Optional[str]Option<String>BodyTrimmed name. Unlike creation, updating accepts omitted, null or blank names and stores null.
number"number"strStringBodyjaTrimmed identifier, unique within the accounting period.

Rückgabe CostCenter

result = client.finance.cost_centers.update(1, accounting_period_id=1, number="802")
print(result.name)
let body = models::CostCenterUpdate {
    accounting_period_id: 1,
    number: "802".into(),
    ..Default::default()
};
let result = client.finance().cost_centers().update(1, &body)?;
println!("{:?}", result.name);

DELETE/finance/costcenters/{id}*

client.finance.cost_centers.delete()client.finance().cost_centers().delete()mit Filtern: .delete_with(&DeleteFinanceCostcentersIdQuery)

Delete cost center

Deletes a cost center if no transactions or transaction purposes reference it. Requires finance “edit masterdata”. Linked transaction suggestions are removed. dry_run=true returns the HTTP 409 report without deleting, including when deletion would be allowed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.cost_centers.delete(1)
client.finance().cost_centers().delete(1)?;

POST/finance/costcenters/bulkcreate*

client.finance.cost_centers.bulk_create()client.finance().cost_centers().bulk_create()

Import many cost centers

Creates cost centers in one database transaction and returns HTTP 201. Requires finance “edit masterdata”; every target period must exist and be open. Each item uses the creation fields, including optional annotation. The bulk controller does not run the single-create uniqueness constraint. Results contain stored entities without the expanded group property. meta.count is the number created.

ParameterTypOrtPflichtBeschreibung
cost_centers"costCenters"List[CostCenterCreate]Vec<CostCenterCreate>Bodyja

Rückgabe List[CostCenterStored]Vec<CostCenterStored>

for cost_center in client.finance.cost_centers.bulk_create(
    cost_centers=[ct.models.CostCenterCreate.model_validate({"accountingPeriodId": 1, "name": "Kostenstelle Sonstige", "number": "802"})],
):
    print(cost_center.name)
let body = models::CostCenterBulkCreate {
    cost_centers: vec![models::CostCenterCreate {
        accounting_period_id: 1,
        name: "Kostenstelle Sonstige".into(),
        number: "802".into(),
        ..Default::default()
    }],
    ..Default::default()
};
for cost_center in client.finance().cost_centers().bulk_create(&body)? {
    println!("{:?}", cost_center.name);
}

GET/finance/donators

client.finance.donators.list()client.finance().donators().list()Query: GetFinanceDonatorsQueryseitenweise

Get donor household donation summaries

Returns paginated donation/payback aggregates for one accounting period. Both accounts of each contributing transaction must be visible in the period. Requires explicit view or edit access to the complete accounting period; group-only access is insufficient. Completeness and name search use the single donor or the lower-ID person of a pair. meta.incompleteCount counts incomplete households after applying the current filters, before pagination. Ordering has no additional tie-breaker.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaAccounting period to aggregate.
only_incompleteboolQueryReturn only households missing at least one required name/address field.
order_bystrStringQuerySort by primary last name, donation count, latest donation date or net sum.
order_directionstrStringQuerySort direction; upper- and lower-case values are accepted.
querystrStringQuerySubstring search on the primary first or last name.
limitinti64QueryMaximum households per page.

Rückgabe Paginator[Donator]Vec<Donator>

for donator in client.finance.donators.list(accounting_period_id=1):
    print(donator.count)
let query = GetFinanceDonatorsQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
for donator in client.finance().donators().list(&query)? {
    println!("{}", donator.count);
}

GET/finance/donators/receipts*

client.finance.donators.get_receipts()client.finance().donators().get_receipts()Query: GetFinanceDonatorsReceiptsQuery

Get combined donation receipt PDFs

Builds combined PDF download files from stored ORIGINAL receipts for the caller’s visible donor households, sorted by postcode, street, last name and first name. Requires accounting-period visibility. An active receipt job group normally returns HTTP 400; receipts must already exist. twofiles returns separate coverLetters and attachments URLs. onefile returns one coverLetters URL containing each household’s letter and attachment. Early-generated batch receipts receive a DRAFT watermark.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaAccounting period for these donation receipts.
modestrStringQueryCombine letters and attachments separately (twofiles), or interleave them by recipient into one PDF (onefile).
cleardoublepagestrStringQueryInsert blank pages for duplex printing: all, only cover letters, only attachments, or none.

Rückgabe CombinedDonationReceipts

receipt = client.finance.donators.get_receipts(accounting_period_id=1)
print(receipt.attachments)
let query = GetFinanceDonatorsReceiptsQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let receipt = client.finance().donators().get_receipts(&query)?;
println!("{:?}", receipt.attachments);

GET/finance/donators/{donatorCoupleId}/receipts*

client.finance.donators.get_receipts_for()client.finance().donators().get_receipts_for()Query: GetFinanceDonatorsDonatorCoupleIdQuery

Get existing donation receipt PDFs (cover letter and attachment)

Returns the latest stored receipt for the donor or pair and accounting period. The requested type controls watermarking only; the stored record is selected by creation date regardless of type. DRAFT and DUPLICATE produce temporary watermarked PDFs; ORIGINAL returns the stored files directly. Requires visibility of the accounting period.

ParameterTypOrtPflichtBeschreibung
donator_couple_idstrimpl DisplayPfadjaOne person ID (42) or two person IDs joined with a hyphen (42-43).
accounting_period_idinti64QueryjaAccounting period for these donation receipts.
type_r#typestrStringQueryWatermark for returned files.

Rückgabe DonationReceipt

receipts_for = client.finance.donators.get_receipts_for("42-43", accounting_period_id=1)
print(receipts_for.accounting_period_id)
let query = GetFinanceDonatorsDonatorCoupleIdQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let receipts_for = client.finance().donators().get_receipts_for("42-43", &query)?;
println!("{}", receipts_for.accounting_period_id);

POST/finance/donators/receipts*

client.finance.donators.create_receipts()client.finance().donators().create_receipts()

Create donation receipts

Queues ORIGINAL receipts for all donor households selected through the caller’s visible accounts. Requires accounting-period visibility and valid cover-letter/attachment template identifiers. A period already marked as having generated receipts is rejected. The period is marked when jobs are queued, before they finish. Returns HTTP 202 with job information, or HTTP 200 with total=0 and null job information when there are no households. Poll data.statusUrl before downloading the combined files.

ParameterTypOrtPflichtBeschreibung
accounting_period_id"accounting_period_id"inti64Bodyja
donation_receipt_attachment_template_id"donation_receipt_attachment_template_id"strStringBodyjaIdentifier of an existing attachment template.
donation_receipt_letter_template_id"donation_receipt_letter_template_id"strStringBodyjaIdentifier of an existing cover-letter template.

Rückgabe DonationReceiptJobResult

result = client.finance.donators.create_receipts(
    accounting_period_id=1,
    donation_receipt_attachment_template_id="abc123",
    donation_receipt_letter_template_id="abc123",
)
print(result.job_group)
let body = models::DonationReceiptsCreate {
    accounting_period_id: 1,
    donation_receipt_attachment_template_id: "abc123".into(),
    donation_receipt_letter_template_id: "abc123".into(),
    ..Default::default()
};
let result = client.finance().donators().create_receipts(&body)?;
println!("{:?}", result.job_group);

POST/finance/donators/{donatorCoupleId}/receipts*

client.finance.donators.create_receipts_for()client.finance().donators().create_receipts_for()

Create donation receipt PDFs (cover letter and attachment)

Generates cover-letter and attachment PDFs using the default templates. DRAFT produces temporary files and is not persisted. If the accounting period has not ended, or batch receipts were generated before its end, the request is forced to DRAFT. Other types are persisted when no stored receipt exists; if one already exists, it is returned with HTTP 200 instead of generating another. Newly generated files return HTTP 201. Requires visibility of the accounting period.

ParameterTypOrtPflichtBeschreibung
donator_couple_idstrimpl DisplayPfadjaOne person ID (42) or two person IDs joined with a hyphen (42-43).
accounting_period_id"accounting_period_id"inti64BodyjaAccounting period for the requested donor or pair.
type_"type"strStringBodyDRAFT creates temporary PDFs, ORIGINAL creates persistent files, and DUPLICATE marks a copy.

Rückgabe DonationReceipt

result = client.finance.donators.create_receipts_for("42-43", accounting_period_id=1)
print(result.accounting_period_id)
let body = models::DonationReceiptCreate {
    accounting_period_id: 1,
    ..Default::default()
};
let result = client.finance().donators().create_receipts_for("42-43", &body)?;
println!("{}", result.accounting_period_id);

DELETE/finance/donators/{donatorCoupleId}/receipts*

client.finance.donators.delete_latest_receipt_for()client.finance().donators().delete_latest_receipt_for()Query: DeleteFinanceDonatorsDonatorCoupleIdQuery

Delete the latest receipt for a donor

Deletes only the latest stored receipt for the donor or pair, including its two stored files. Older receipts, if present, remain. Requires visibility of the accounting period. No dry-run is supported; the accounting-period batch-generation marker is not reset.

ParameterTypOrtPflichtBeschreibung
donator_couple_idstrimpl DisplayPfadjaOne person ID (42) or two person IDs joined with a hyphen (42-43).
accounting_period_idinti64QueryjaAccounting period for these donation receipts.

Rückgabe None()

client.finance.donators.delete_latest_receipt_for("42-43", accounting_period_id=1)
let query = DeleteFinanceDonatorsDonatorCoupleIdQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
client.finance().donators().delete_latest_receipt_for("42-43", &query)?;

DELETE/finance/donators/receipts*

client.finance.donators.delete_receipts()client.finance().donators().delete_receipts()Query: DeleteFinanceDonatorsReceiptsQuery

Delete all donation receipts

Deletes all stored donation receipts and their files for the accounting period, then clears its batch-generation timestamp so generation can be repeated. Requires finance edit masterdata. Active generation jobs prevent deletion. Processing is synchronous, but the endpoint returns HTTP 202 without a body. Each receipt is deleted in its own transaction.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaAccounting period for these donation receipts.

Rückgabe None()

client.finance.donators.delete_receipts(accounting_period_id=1)
let query = DeleteFinanceDonatorsReceiptsQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
client.finance().donators().delete_receipts(&query)?;

GET/finance/eubp/health

client.finance.eubp.get_health()client.finance().eubp().get_health()

Get euBP service health status

Checks the configured eXTra integration service and returns its availability, URL and configured environment. A connection failure is represented by extraServiceAvailable=false with HTTP 200. This does not establish that a submission will be accepted by DRV. Requires finance edit masterdata permission.

Rückgabe EubpHealthInfo

health = client.finance.eubp.get_health()
print(health.environment)
let health = client.finance().eubp().get_health()?;
println!("{}", health.environment);

GET/finance/eubp/submissions

client.finance.eubp.submissions.list()client.finance().eubp().submissions().list()mit Filtern: .list_with(&GetFinanceEubpSubmissionsQuery)

Get all euBP submissions

Returns all audit submissions, newest ID first, without pagination. client_id matches the main client or any client represented by a submission-period row. An unknown client filter returns an empty list. meta.count is the number returned. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
client_idinti64QueryFilter by client ID

Rückgabe List[EubpSubmission]Vec<EubpSubmission>

for submission in client.finance.eubp.submissions.list():
    print(submission.title)
for submission in client.finance().eubp().submissions().list()? {
    println!("{:?}", submission.title);
}

GET/finance/eubp/submissions/{id}/accounts

client.finance.eubp.submissions.list_accounts()client.finance().eubp().submissions().list_accounts()mit Filtern: .list_accounts_with(&GetFinanceEubpSubmissionsIdAccountsQuery)

Get unified accounts for euBP submission

Returns accounts with bookings across the submission’s linked accounting periods, merged by exact number|name. Optional client_id restricts the contributing client. Accounts are sorted by account-number length and then lexicographically; years are sorted ascending. This response has no meta wrapper. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
client_idinti64QueryOptional finance client ID to return accounts only for this client.

Rückgabe List[EubpUnifiedAccount]Vec<EubpUnifiedAccount>

for account in client.finance.eubp.submissions.list_accounts(1):
    print(account.name)
for account in client.finance().eubp().submissions().list_accounts(1)? {
    println!("{}", account.name);
}

GET/finance/eubp/submissions/{id}

client.finance.eubp.submissions.get()client.finance().eubp().submissions().get()

Get euBP submission by ID

Returns the stored submission, including all client/year rows and the most recent transmission statuses. This does not contact DRV to refresh the status. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe EubpSubmission

submission = client.finance.eubp.submissions.get(1)
print(submission.title)
let submission = client.finance().eubp().submissions().get(1)?;
println!("{:?}", submission.title);

GET/finance/eubp/submissions/{id}/preview

client.finance.eubp.submissions.get_preview()client.finance().eubp().submissions().get_preview()

Get preview data for euBP submission

Returns date ranges for all client/year rows and informational warnings for missing accounting periods. It does not generate an export or contact DRV. Multiple clients can produce repeated year entries; preview rows currently contain no client ID. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe EubpSubmissionPreview

preview = client.finance.eubp.submissions.get_preview(1)
print(preview)
let preview = client.finance().eubp().submissions().get_preview(1)?;
println!("{:?}", preview);

POST/finance/eubp/submissions*

client.finance.eubp.submissions.create()client.finance().eubp().submissions().create()

Create new euBP submission

Creates a draft euBP submission for the inclusive calendar-year range. Main-client treasurer and business number are required. The main client is always included; eligible additional clients receive their own period rows. Each year links the first overlapping CT accounting period, or remains a row without data. Company name/number are snapshotted. No transmission is sent by this endpoint; a delivery deadline within seven days can trigger a notification. Requires finance edit masterdata permission.

9 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
additional_accounts_per_year"additionalAccountsPerYear"Optional[StrMap[List[int]]]Option<BTreeMap<String, Vec<i64>>>BodyYear-to-account-ID mapping for the main client only.
affected_client_ids"affectedClientIds"Optional[List[int]]Option<Vec<i64>>BodyIDs of finance clients that belong to the audited company and should get their own submission periods.
client_id"clientId"inti64BodyjaID of the finance client
delivery_date"deliveryDate"Optional[date]Option<NaiveDate>BodyDelivery deadline for the audit data Only retained for transmissionReason=1; cleared for software/provider changes.
reference_date"referenceDate"Optional[date]Option<NaiveDate>BodyReference date for the audit (Stichtag der Prüfung) Only retained for transmissionReason=1; cleared for software/provider changes.
title"title"Optional[str]Option<String>BodyTitle of the submission
transmission_reason"transmissionReason"inti64BodyjaReason for transmission (1=audit, 2=software change, 3=provider change)
year_from"yearFrom"inti64BodyjaStart year of the delivery period
year_to"yearTo"inti64BodyjaEnd year of the delivery period

Rückgabe EubpSubmission

result = client.finance.eubp.submissions.create(
    client_id=1,
    transmission_reason=1,
    year_from=2020,
    year_to=2023,
)
print(result.title)
let body = models::EubpSubmissionCreate {
    client_id: 1,
    transmission_reason: 1,
    year_from: 2020,
    year_to: 2023,
    ..Default::default()
};
let result = client.finance().eubp().submissions().create(&body)?;
println!("{:?}", result.title);

PUT/finance/eubp/submissions/{id}/accounts*

client.finance.eubp.submissions.update_accounts()client.finance().eubp().submissions().update_accounts()

Update accounts for euBP submission

Replaces the optional account selections across linked periods, optionally for one client. Uses exact number|name keys. Unknown keys are ignored and omitted optional selections are removed. Mandatory accounts are not stored as additional selections. Only draft, rejected and response are editable. Returns the resulting merged list of accounts with bookings, without meta. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_keys"accountKeys"List[str]Vec<String>BodyjaComplete selection by exact keys from the unified account list.
client_id"clientId"Optional[int]Option<i64>BodyRestrict the update to one affected client; omitted/null applies to all clients.

Rückgabe List[EubpUnifiedAccount]Vec<EubpUnifiedAccount>

for submission in client.finance.eubp.submissions.update_accounts(1, account_keys=["1200|Bank"]):
    print(submission.name)
let body = models::EubpSubmissionAccountsUpdate {
    account_keys: vec!["1200|Bank".into()],
    ..Default::default()
};
for submission in client.finance().eubp().submissions().update_accounts(1, &body)? {
    println!("{}", submission.name);
}

DELETE/finance/eubp/submissions/{id}*

client.finance.eubp.submissions.delete()client.finance().eubp().submissions().delete()

Delete euBP submission

Deletes the local submission. For every state other than draft, it first sends an external cancellation request and requires a configured treasurer and business number. There is no dry-run mode. This is different from cancel, which retains the local record. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe None()

client.finance.eubp.submissions.delete(1)
client.finance().eubp().submissions().delete(1)?;

POST/finance/eubp/submissions/{id}/cancel*

client.finance.eubp.submissions.cancel()client.finance().eubp().submissions().cancel()

Cancel euBP submission

Sends an external cancellation request and keeps the local submission. Allowed from pending, sent, accepted, rejected and cancelled; a treasurer and business number are required. A successful result sets cancelled. An eXTra-level rejection can still return HTTP 200 with rejection details in the submission, so inspect the returned status codes. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe EubpSubmission

submission = client.finance.eubp.submissions.cancel(1)
print(submission.title)
let submission = client.finance().eubp().submissions().cancel(1)?;
println!("{:?}", submission.title);

POST/finance/eubp/submissions/{id}/fetch-status*

client.finance.eubp.submissions.fetch_status()client.finance().eubp().submissions().fetch_status()

Fetch status from DRV for euBP submission

Fetches remote responses through eXTra, applies status/results locally and confirms received response IDs. Allowed from draft, pending, sent, accepted, rejected and cancelled. This operation can update the stored workflow state and history; it is not just a local read. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe EubpSubmission

submission = client.finance.eubp.submissions.fetch_status(1)
print(submission.title)
let submission = client.finance().eubp().submissions().fetch_status(1)?;
println!("{:?}", submission.title);

POST/finance/eubp/submissions/{id}/finish*

client.finance.eubp.submissions.finish()client.finance().eubp().submissions().finish()

Mark euBP submission as finished

Locally marks an accepted submission as finished and records the change in history. Other starting states return HTTP 400. Does not send another transmission. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
bodyStrMap[Any]std::collections::BTreeMap<String, serde_json::Value>Body

Rückgabe EubpSubmission

submission = client.finance.eubp.submissions.finish(1)
print(submission.title)
let body: std::collections::BTreeMap<String, serde_json::Value> = Default::default();
let submission = client.finance().eubp().submissions().finish(1, &body)?;
println!("{:?}", submission.title);

POST/finance/eubp/submissions/{id}/generate*

client.finance.eubp.submissions.generate()client.finance().eubp().submissions().generate()

Generate euBP export files

Generates and stores a new ZIP of transmission files and returns its download URL. This updates fileId/downloadUrl but neither sends data nor changes the workflow status. Requires the main client’s treasurer and a business number. File numbers are simulated without reserving transmission numbers. This operation is permitted in any submission state. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe PostFinanceEubpSubmissionsIdGenerateData

submission = client.finance.eubp.submissions.generate(1)
print(submission.download_url)
let submission = client.finance().eubp().submissions().generate(1)?;
println!("{}", submission.download_url);

POST/finance/eubp/submissions/{id}/reopen*

client.finance.eubp.submissions.reopen()client.finance().eubp().submissions().reopen()

Reopen finished euBP submission

Locally changes finished back to accepted and records the change in history. Other starting states return HTTP 400. This does not make the account selection editable, because accepted is not an editable state. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
bodyStrMap[Any]std::collections::BTreeMap<String, serde_json::Value>Body

Rückgabe EubpSubmission

submission = client.finance.eubp.submissions.reopen(1)
print(submission.title)
let body: std::collections::BTreeMap<String, serde_json::Value> = Default::default();
let submission = client.finance().eubp().submissions().reopen(1, &body)?;
println!("{:?}", submission.title);

POST/finance/eubp/submissions/{id}/send*

client.finance.eubp.submissions.send()client.finance().eubp().submissions().send()

Send euBP submission to DRV

Queues transmission through the eXTra service and returns HTTP 202 with the current submission. Allowed from draft, rejected, response, sent and accepted. Requires a treasurer and business number. The submission is set to pending and old status codes are cleared before the background job is queued. HTTP 202 does not confirm DRV acceptance; read or refresh status afterwards. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe None()

client.finance.eubp.submissions.send(1)
client.finance().eubp().submissions().send(1)?;

PUT/finance/eubp/submissions/{id}/periods/{periodId}/accounts*

client.finance.eubp.submissions.periods.update_accounts()client.finance().eubp().submissions().periods().update_accounts()

Update additional accounts for a submission period

Replaces the additional-account selection for one submission-period row. periodId is a row ID from submission.periods, not an accounting-period ID. A row belonging to another submission returns HTTP 400. Only draft, rejected and response are editable. Unknown account IDs are ignored; current code does not enforce that supplied accounts belong to the row’s accounting period. Requires finance edit masterdata permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
period_idintimpl DisplayPfadjaID of the submission period
account_ids"accountIds"List[int]Vec<i64>BodyjaComplete additional-account selection for this submission-period row.

Rückgabe EubpSubmissionPeriod

result = client.finance.eubp.submissions.periods.update_accounts(1, 1, account_ids=[10, 11])
print(result.id)
let body = models::EubpPeriodAccountsUpdate {
    account_ids: vec![10, 11],
    ..Default::default()
};
let result = client.finance().eubp().submissions().periods().update_accounts(1, 1, &body)?;
println!("{}", result.id);

POST/finance/reports/balance*

client.finance.reports.balance()client.finance().reports().balance()

Create balance report

Creates a balance sheet from balance accounts in the requested document-date range. The configured profit/loss account class can include the period result. Requires finance edit masterdata or explicit view/edit permission for the accounting period; group-level access alone is insufficient. Default format=pdf returns HTTP 201 with data.url. CSV/XLSX return HTTP 200 with the file body. An Accept header whose first value is exactly text/html returns rendered HTML with HTTP 200 and overrides format.

ParameterTypOrtPflichtBeschreibung
account_types"accountTypes"Optional[List[int]]Option<Vec<i64>>BodyAccount-type IDs. Omission, null or [] selects all types.
accounting_period_id"accountingPeriodId"inti64BodyjaAccounting period owning the accounts.
format"format"strStringBodyPDF creates a file and returns its URL with HTTP 201.
show_account_groups"showAccountGroups"boolBodyInclude account-group grouping/columns in the report.
show_empty_accounts"showEmptyAccounts"boolBodyInclude zero-value accounts according to the selected report’s balance/activity calculation.
end_date"endDate"dateNaiveDateBodyjaLast document date to include.
start_date"startDate"dateNaiveDateBodyjaFirst document date to include.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.finance.reports.balance(
    accounting_period_id=1,
    end_date=dt.date(2026, 12, 31),
    start_date=dt.date(2026, 1, 1),
)
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let body = models::BalanceReportCreate {
    accounting_period_id: 1,
    end_date: "2026-12-31".parse()?,
    start_date: "2026-01-01".parse()?,
    ..Default::default()
};
let data = client.finance().reports().balance(&body)?;
std::fs::write("ergebnis.xlsx", &data)?;

POST/finance/reports/profit-loss*

client.finance.reports.profit_loss()client.finance().reports().profit_loss()

Create profit and loss report

Creates a profit-and-loss report from accounts whose account type has no balance-sheet classification. Requires finance edit masterdata or explicit view/edit permission for the accounting period; group-level access alone is insufficient. Default format=pdf returns HTTP 201 with data.url. CSV/XLSX return HTTP 200 with the file body. An Accept header whose first value is exactly text/html returns rendered HTML with HTTP 200 and overrides format.

ParameterTypOrtPflichtBeschreibung
account_types"accountTypes"Optional[List[int]]Option<Vec<i64>>BodyAccount-type IDs. Omission, null or [] selects all types.
accounting_period_id"accountingPeriodId"inti64BodyjaAccounting period owning the accounts.
format"format"strStringBodyPDF creates a file and returns its URL with HTTP 201.
show_account_groups"showAccountGroups"boolBodyInclude account-group grouping/columns in the report.
show_empty_accounts"showEmptyAccounts"boolBodyInclude zero-value accounts according to the selected report’s balance/activity calculation.
end_date"endDate"dateNaiveDateBodyjaLast document date to include.
start_date"startDate"dateNaiveDateBodyjaFirst document date to include.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.finance.reports.profit_loss(
    accounting_period_id=1,
    end_date=dt.date(2026, 12, 31),
    start_date=dt.date(2026, 1, 1),
)
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let body = models::BalanceReportCreate {
    accounting_period_id: 1,
    end_date: "2026-12-31".parse()?,
    start_date: "2026-01-01".parse()?,
    ..Default::default()
};
let data = client.finance().reports().profit_loss(&body)?;
std::fs::write("ergebnis.xlsx", &data)?;

POST/finance/reports/sum-balance*

client.finance.reports.sum_balance()client.finance().reports().sum_balance()

Create summed balance report

Creates a trial balance (Summen- und Saldenliste) with opening balances, debit/credit totals for the chosen month and cumulative totals from January. accountTypes does not filter this report. Requires finance edit masterdata or explicit view/edit permission for the accounting period; group-level access alone is insufficient. Default format=pdf returns HTTP 201 with data.url. CSV/XLSX return HTTP 200 with the file body. An Accept header whose first value is exactly text/html returns rendered HTML with HTTP 200 and overrides format.

ParameterTypOrtPflichtBeschreibung
account_types"accountTypes"Optional[List[int]]Option<Vec<i64>>BodyAccepted by the shared validator but ignored by the sum-balance report.
accounting_period_id"accountingPeriodId"inti64BodyjaAccounting period owning the accounts.
format"format"strStringBodyPDF creates a file and returns its URL with HTTP 201.
month"month"inti64BodyjaCalendar month in the year of the accounting period’s start date.
show_account_groups"showAccountGroups"boolBodyInclude account-group grouping/columns in the report.
show_empty_accounts"showEmptyAccounts"boolBodyInclude zero-value accounts according to the selected report’s balance/activity calculation.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.finance.reports.sum_balance(accounting_period_id=1, month=9)
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let body = models::SumBalanceReportCreate {
    accounting_period_id: 1,
    month: 9,
    ..Default::default()
};
let data = client.finance().reports().sum_balance(&body)?;
std::fs::write("ergebnis.xlsx", &data)?;

POST/finance/reports/turnover*

client.finance.reports.turnover()client.finance().reports().turnover()

Issue new turnover report

Creates monthly or quarterly account turnover columns. Columns use the calendar year of the accounting period’s start date; the total reflects the selected accounting period. Requires finance edit masterdata or explicit view/edit permission for the accounting period; group-level access alone is insufficient. Default format=pdf returns HTTP 201 with data.url. CSV/XLSX return HTTP 200 with the file body. An Accept header whose first value is exactly text/html returns rendered HTML with HTTP 200 and overrides format.

ParameterTypOrtPflichtBeschreibung
account_types"accountTypes"Optional[List[int]]Option<Vec<i64>>BodyAccount-type IDs. Omission, null or [] selects all types.
accounting_period_id"accountingPeriodId"inti64BodyjaAccounting period owning the accounts.
format"format"strStringBodyPDF creates a file and returns its URL with HTTP 201.
period"period"strStringBodyjaUse twelve calendar-month columns or four calendar-quarter columns for the year of the accounting period’s start date.
show_account_groups"showAccountGroups"boolBodyAccepted by the shared validator but ignored by the turnover report.
show_empty_accounts"showEmptyAccounts"boolBodyInclude zero-value accounts according to the selected report’s balance/activity calculation.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.finance.reports.turnover(accounting_period_id=1, period="monthly")
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let body = models::TurnoverReportCreate {
    accounting_period_id: 1,
    period: "monthly".into(),
    ..Default::default()
};
let data = client.finance().reports().turnover(&body)?;
std::fs::write("ergebnis.xlsx", &data)?;

POST/finance/reports/statement/accounts/{accountId}*

client.finance.reports.statement.accounts.create()client.finance().reports().statement().accounts().create()

Create account statement report

Creates a ledger report of posted finance transactions for one account, sorted by document date. This is separate from imported bank-statement files. Missing date boundaries default independently to the account’s accounting period. Requires finance edit masterdata or explicit view/edit permission for the accounting period; group-level access alone is insufficient. Default format=pdf returns HTTP 201 with data.url. CSV/XLSX return HTTP 200 with the file body. An Accept header whose first value is exactly text/html returns rendered HTML with HTTP 200 and overrides format.

ParameterTypOrtPflichtBeschreibung
account_idintimpl DisplayPfadjaID of account
end_date"endDate"Optional[date]Option<NaiveDate>BodyLast document date to include.
format"format"strStringBodyPDF creates a file and returns its URL with HTTP 201.
start_date"startDate"Optional[date]Option<NaiveDate>BodyFirst document date to include.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.finance.reports.statement.accounts.create(21, end_date=dt.date(2026, 12, 31))
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let body = models::AccountStatementReportCreate {
    end_date: Some(Some("2026-12-31".parse()?)),
    ..Default::default()
};
let data = client.finance().reports().statement().accounts().create(21, &body)?;
std::fs::write("ergebnis.xlsx", &data)?;

POST/finance/reports/statement/costcenters/{costCenterId}*

client.finance.reports.statement.cost_centers.create()client.finance().reports().statement().cost_centers().create()

Create cost center statement report

Creates a ledger report of transactions assigned to one cost center, with income, expenditure and totals. Canceled transactions and their cancellation entries are excluded. Internal rebookings are omitted unless includeRebookings=true. Missing date boundaries default independently to the cost center’s accounting period. Requires finance edit masterdata or explicit view/edit permission for the accounting period; group-level access alone is insufficient. Default format=pdf returns HTTP 201 with data.url. CSV/XLSX return HTTP 200 with the file body. An Accept header whose first value is exactly text/html returns rendered HTML with HTTP 200 and overrides format.

ParameterTypOrtPflichtBeschreibung
cost_center_idintimpl DisplayPfadjaID of cost center
end_date"endDate"Optional[date]Option<NaiveDate>BodyLast document date to include.
format"format"strStringBodyPDF creates a file and returns its URL with HTTP 201.
start_date"startDate"Optional[date]Option<NaiveDate>BodyFirst document date to include.
include_rebookings"includeRebookings"boolBodyInclude transactions classified as internal rebookings in the cost-center report.
type_"type"strStringBodyLegacy alias for format.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.finance.reports.statement.cost_centers.create(21, end_date=dt.date(2026, 12, 31))
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let body = models::CostCenterStatementReportCreate {
    end_date: Some(Some("2026-12-31".parse()?)),
    ..Default::default()
};
let data = client.finance().reports().statement().cost_centers().create(21, &body)?;
std::fs::write("ergebnis.xlsx", &data)?;

GET/finance/splittransactions/{id}

client.finance.split_transactions.get()client.finance().split_transactions().get()mit Filtern: .get_with(&GetFinanceSplittransactionsIdQuery)

Get a split transaction

Returns a split parent with its ordinary child bookings, including generated tax rows. The caller must be allowed to view every child; one inaccessible child rejects the entire request. Donor details and notes are censored per child according to donor visibility. include[]=bills adds receipts attached to the parent. The parent note is returned independently of the child notes.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
includeList[str]Vec<String>QueryInclude additional information

Rückgabe SplitTransaction

split_transaction = client.finance.split_transactions.get(1)
print(split_transaction.id)
let split_transaction = client.finance().split_transactions().get(1)?;
println!("{}", split_transaction.id);

POST/finance/splittransactions*

client.finance.split_transactions.create()client.finance().split_transactions().create()mit Filtern: .create_with(&PostFinanceSplittransactionsQuery)

Create new split transaction

Creates a grouped booking from new children or existing standalone booking IDs. Child notes, amounts, accounts and assignments are supplied separately; document date and number come from the parent. New child accounts must allow posting; supplied existing child accounts require period edit permission. Children must meet the shared-account and amount-sum rules. A new child must belong to an open period containing the document date. Generated tax amounts are derived from the gross child inputs. With one child the group is converted to an ordinary booking and HTTP 204 is returned without its ID. For multiple children, returns the split parent with child booking data.

ParameterTypOrtPflichtBeschreibung
ignore_donation_constraintboolQuerySkip the normal donation-account/donor constraint.
amount"amount"inti64BodyjaTotal gross amount in minor currency units, equal to the sum of submitted child amounts.
document_date"documentDate"dateNaiveDateBodyjaDocument date applied to all children.
document_number"documentNumber"Optional[str]Option<String>BodyParent number. Required unless the period generates numbers; omission or null then generates a number, including on update.
note"note"Optional[str]Option<String>BodyjaParent note; trimmed, with an empty result stored as null.
split_children"splitChildren"List[SplitTransactionChildCreate]Vec<SplitTransactionChildCreate>BodyjaComplete replacement list.

Rückgabe Optional[SplitTransaction]Option<SplitTransaction>

result = client.finance.split_transactions.create(
    amount=30000,
    document_date=dt.date(2026, 9, 14),
    note="Offering and building fund",
    split_children=[ct.models.SplitTransactionChildCreate.model_validate({"accountId": 10, "amount": 7812, "contraAccountId": 11, "note": "Building fund"})],
)
print(result)
let body = models::SplitTransactionCreate {
    amount: 30000,
    document_date: "2026-09-14".parse()?,
    note: Some("Offering and building fund".into()),
    split_children: vec![models::SplitTransactionChildCreate {
        account_id: 10,
        amount: 7812,
        contra_account_id: 11,
        note: Some("Building fund".into()),
        ..Default::default()
    }],
    ..Default::default()
};
let result = client.finance().split_transactions().create(&body)?;
println!("{:?}", result);

PUT/finance/splittransactions/{id}*

client.finance.split_transactions.update()client.finance().split_transactions().update()mit Filtern: .update_with(&PutFinanceSplittransactionsIdQuery)

Update split transaction, or convert to normal transaction, if only one split child is given,

Replaces a split parent and its complete child list. Existing children not included in the request are deleted. Child notes, amounts, accounts and assignments are supplied separately; document date and number come from the parent. New child accounts must allow posting; supplied existing child accounts require period edit permission. Children must meet the shared-account and amount-sum rules. A new child must belong to an open period containing the document date. Generated tax amounts are derived from the gross child inputs. With one child the group is converted to an ordinary booking and HTTP 204 is returned without its ID. For multiple children, returns the split parent with child booking data.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
ignore_donation_constraintboolQuerySkip the normal donation-account/donor constraint.
includeList[str]Vec<String>QueryInclude additional information
amount"amount"inti64BodyjaTotal gross amount in minor currency units, equal to the sum of submitted child amounts.
document_date"documentDate"dateNaiveDateBodyjaDocument date applied to all children.
document_number"documentNumber"Optional[str]Option<String>BodyParent number. Required unless the period generates numbers; omission or null then generates a number, including on update.
note"note"Optional[str]Option<String>BodyjaParent note; trimmed, with an empty result stored as null.
split_children"splitChildren"List[SplitTransactionChildCreate]Vec<SplitTransactionChildCreate>BodyjaComplete replacement list.

Rückgabe Optional[SplitTransaction]Option<SplitTransaction>

result = client.finance.split_transactions.update(
    1,
    amount=30000,
    document_date=dt.date(2026, 9, 14),
    note="Offering and building fund",
    split_children=[ct.models.SplitTransactionChildCreate.model_validate({"accountId": 10, "amount": 7812, "contraAccountId": 11, "note": "Building fund"})],
)
print(result)
let body = models::SplitTransactionUpdate {
    amount: 30000,
    document_date: "2026-09-14".parse()?,
    note: Some("Offering and building fund".into()),
    split_children: vec![models::SplitTransactionChildCreate {
        account_id: 10,
        amount: 7812,
        contra_account_id: 11,
        note: Some("Building fund".into()),
        ..Default::default()
    }],
    ..Default::default()
};
let result = client.finance().split_transactions().update(1, &body)?;
println!("{:?}", result);

PUT/finance/splittransactions/{id}/storno*

client.finance.split_transactions.update_storno()client.finance().split_transactions().update_storno()

Cancel split transaction

Creates and returns one cancellation split parent containing opposite bookings for the original children, including tax bookings. Original records remain and reference their cancellations. Requires edit permission for each child period. Unlike ordinary cancellation, a second cancellation attempt is rejected with 403 if a child already has a cancellation. This operation does not explicitly require an open period. The original document date and amount are retained; the parent document number receives -Storno. The result is one object, not an array.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
note"note"strStringBodyjaCancellation reason; trimmed before being added to parent and child notes.

Rückgabe SplitTransaction

result = client.finance.split_transactions.update_storno(1, note="Incorrect allocation")
print(result.id)
let body = models::SplitTransactionStornoCreate {
    note: "Incorrect allocation".into(),
    ..Default::default()
};
let result = client.finance().split_transactions().update_storno(1, &body)?;
println!("{}", result.id);

DELETE/finance/splittransactions/{id}*

client.finance.split_transactions.delete()client.finance().split_transactions().delete()mit Filtern: .delete_with(&DeleteFinanceSplittransactionsIdQuery)

Delete split transaction

Deletes the entire split parent, its ordinary and generated tax children, related cancellation group, and attached receipts/files. Related statement movements are reset to open and unlinked. Requires edit permission for every child’s period. Each child must be mutable and its period open. dry_run=true returns HTTP 409 with a deletion assessment without deleting, including when deletion is possible.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.
includeList[str]Vec<String>QueryInclude additional information

Rückgabe None()

client.finance.split_transactions.delete(1)
client.finance().split_transactions().delete(1)?;

POST/finance/splittransactions/{id}/duplicate*

client.finance.split_transactions.duplicate()client.finance().split_transactions().duplicate()

Duplicate split transaction

Creates a new split group from the source children, regenerating tax bookings and copying parent receipts/files. Requires permission to create each child using its source accounts and cost center; periods must be open and dates valid. Copies the original date, notes, donor assignments, waiver and cash discount. Uses the parent number plus -Kopie and numbered child suffixes, without guaranteeing uniqueness. New children are mutable and non-synced. Unlike ordinary duplicate, child donor/spouse consistency is checked during creation.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
bodyStrMap[Any]std::collections::BTreeMap<String, serde_json::Value>Body

Rückgabe SplitTransaction

split_transaction = client.finance.split_transactions.duplicate(1)
print(split_transaction.id)
let body: std::collections::BTreeMap<String, serde_json::Value> = Default::default();
let split_transaction = client.finance().split_transactions().duplicate(1, &body)?;
println!("{}", split_transaction.id);

GET/finance/taxrates

client.finance.tax_rates.list()client.finance().tax_rates().list()mit Filtern: .list_with(&GetFinanceTaxratesQuery)

Get all tax rates

A tax rate combines a tax type, a percentage and the ledger account receiving the tax amount. Its accounting period is determined by that account. Returns an unpaginated list. Optionally restrict results to the linked accounts’ accounting period. No result order is guaranteed; an unknown period returns an empty list. meta.count is the number returned.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryOnly return entries linked to accounts in this accounting period.

Rückgabe List[TaxRate]Vec<TaxRate>

for tax_rate in client.finance.tax_rates.list():
    print(tax_rate.id)
for tax_rate in client.finance().tax_rates().list()? {
    println!("{}", tax_rate.id);
}

GET/finance/taxrates/{id}

client.finance.tax_rates.get()client.finance().tax_rates().get()

Get a tax rate

A tax rate combines a tax type, a percentage and the ledger account receiving the tax amount. Its accounting period is determined by that account. Returns one definition by ID.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe TaxRate

tax_rate = client.finance.tax_rates.get(1)
print(tax_rate.id)
let tax_rate = client.finance().tax_rates().get(1)?;
println!("{}", tax_rate.id);

POST/finance/taxrates*

client.finance.tax_rates.create()client.finance().tax_rates().create()

Create a tax rate

A tax rate combines a tax type, a percentage and the ledger account receiving the tax amount. Its accounting period is determined by that account. Requires finance “edit masterdata”. Returns HTTP 200 on success. The combination of taxTypeId, rate and accountId must be unique. The target account must belong to an open accounting period.

ParameterTypOrtPflichtBeschreibung
account_id"accountId"inti64BodyjaID of the existing ledger account receiving this amount.
note"note"Optional[str]Option<String>BodyDescription, trimmed before storage.
rate"rate"floatf64BodyjaPercentage points: 7 means 7%, not 0.07.
tax_type_id"taxTypeId"inti64BodyjaExisting tax type from /finance/taxtypes.

Rückgabe TaxRate

result = client.finance.tax_rates.create(account_id=5, rate=7, tax_type_id=4)
print(result.id)
let body = models::TaxRateCreate {
    account_id: 5,
    rate: 7.0,
    tax_type_id: 4,
    ..Default::default()
};
let result = client.finance().tax_rates().create(&body)?;
println!("{}", result.id);

PUT/finance/taxrates/{id}*

client.finance.tax_rates.update()client.finance().tax_rates().update()

Update tax rate

Replaces this tax rate. Requires finance “edit masterdata”. When transactions reference the rate, only note may change; resend the existing rate, taxTypeId and accountId. Omitted note is cleared. The target account must belong to an open accounting period.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_id"accountId"inti64BodyjaID of the existing ledger account receiving this amount.
note"note"Optional[str]Option<String>BodyDescription, trimmed before storage.
rate"rate"floatf64BodyjaPercentage points: 7 means 7%, not 0.07.
tax_type_id"taxTypeId"inti64BodyjaExisting tax type from /finance/taxtypes.

Rückgabe TaxRate

result = client.finance.tax_rates.update(1, account_id=5, rate=7, tax_type_id=4)
print(result.id)
let body = models::TaxRateUpdate {
    account_id: 5,
    rate: 7.0,
    tax_type_id: 4,
    ..Default::default()
};
let result = client.finance().tax_rates().update(1, &body)?;
println!("{}", result.id);

DELETE/finance/taxrates/{id}*

client.finance.tax_rates.delete()client.finance().tax_rates().delete()mit Filtern: .delete_with(&DeleteFinanceTaxratesIdQuery)

Delete tax rate

Deletes this tax rate if no transactions or accounts reference it. Requires finance “edit masterdata”. dry_run=true returns the HTTP 409 conflict report without deleting, also when deletion is allowed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.tax_rates.delete(1)
client.finance().tax_rates().delete(1)?;

GET/finance/taxtypes

client.finance.tax_types.list()client.finance().tax_types().list()

Get all tax types

Tax types group tax rates by their accounting purpose, for example input tax or output tax. The percentage and receiving ledger account are configured on each tax rate. Returns an unpaginated list. Results are ordered by sortKey, then name, ascending. meta.count is the number returned.

Rückgabe List[TaxType]Vec<TaxType>

for tax_type in client.finance.tax_types.list():
    print(tax_type.name)
for tax_type in client.finance().tax_types().list()? {
    println!("{:?}", tax_type.name);
}

GET/finance/taxtypes/{id}

client.finance.tax_types.get()client.finance().tax_types().get()

Get a tax type

Tax types group tax rates by their accounting purpose, for example input tax or output tax. The percentage and receiving ledger account are configured on each tax rate. Returns one definition by ID.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe TaxType

tax_type = client.finance.tax_types.get(1)
print(tax_type.name)
let tax_type = client.finance().tax_types().get(1)?;
println!("{:?}", tax_type.name);

POST/finance/taxtypes*

client.finance.tax_types.create()client.finance().tax_types().create()

Create a tax type

Tax types group tax rates by their accounting purpose, for example input tax or output tax. The percentage and receiving ledger account are configured on each tax rate. Requires finance “edit masterdata”. Returns HTTP 200 on success. The name must be unique.

ParameterTypOrtPflichtBeschreibung
name"name"Optional[str]Option<String>BodyUnique name, trimmed before storage.
sort_key"sortKey"inti64BodyjaAscending display order.

Rückgabe TaxType

result = client.finance.tax_types.create(sort_key=0)
print(result.name)
let body = models::TaxTypeCreate {
    sort_key: 0,
    ..Default::default()
};
let result = client.finance().tax_types().create(&body)?;
println!("{:?}", result.name);

PUT/finance/taxtypes/{id}*

client.finance.tax_types.update()client.finance().tax_types().update()

Update tax type

Replaces this tax type. Requires finance “edit masterdata”. All required creation fields must be supplied again. Omitted name is cleared; names must remain unique.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
name"name"Optional[str]Option<String>BodyUnique name, trimmed before storage.
sort_key"sortKey"inti64BodyjaAscending display order.

Rückgabe TaxType

result = client.finance.tax_types.update(1, sort_key=0)
print(result.name)
let body = models::TaxTypeUpdate {
    sort_key: 0,
    ..Default::default()
};
let result = client.finance().tax_types().update(1, &body)?;
println!("{:?}", result.name);

DELETE/finance/taxtypes/{id}*

client.finance.tax_types.delete()client.finance().tax_types().delete()mit Filtern: .delete_with(&DeleteFinanceTaxtypesIdQuery)

Delete tax type

Deletes this tax type if no tax rates reference it. Requires finance “edit masterdata”. dry_run=true returns the HTTP 409 conflict report without deleting, also when deletion is allowed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.tax_types.delete(1)
client.finance().tax_types().delete(1)?;

GET/finance/templates

client.finance.templates.list()client.finance().templates().list()

Get all finance templates

Returns stored finance-template files with per-collection definition counts. The list is unpaginated and has no guaranteed order. meta.count is the number returned. Files are selected by the finance_template domain.

Rückgabe List[FinanceTemplate]Vec<FinanceTemplate>

for template in client.finance.templates.list():
    print(template.name)
for template in client.finance().templates().list()? {
    println!("{}", template.name);
}

GET/finance/templates/export

client.finance.templates.get_export()client.finance().templates().get_export()Query: GetFinanceTemplatesExportQuery

Export a finance template

Downloads finance master data for an existing, visible accounting period as a portable JSON attachment. The root object contains definition collections directly, without a data wrapper or metadata. Accounts, tax rates, cash discounts and cost centers come from the selected period; account types/classes/groups and tax types are installation-wide. The export follows the caller’s master-data visibility and may therefore contain only a subset.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaExisting accounting period visible to the caller.

Rückgabe FinanceTemplateExport

export = client.finance.templates.get_export(accounting_period_id=1)
print(export)
let query = GetFinanceTemplatesExportQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let export = client.finance().templates().get_export(&query)?;
println!("{:?}", export);

POST/finance/templates/{id}*

client.finance.templates.create()client.finance().templates().create()Query: PostFinanceTemplatesIdQuery

Apply finance template

Applies a stored finance-template file to an existing accounting period with no transactions. Existing accounts and tax rates are removed before the template definitions are added. Existing account types/classes/groups and tax types are reused by normalized name; missing ones are added. Existing cost centers are retained, with additional matching/update rules. Cash-discount definitions are not imported by the current executors. This operation has no dry-run mode and no encompassing transaction; a later failure can leave earlier changes applied. Returns HTTP 204 without a body.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
accounting_period_idinti64QueryjaExisting accounting period visible to the caller.

Rückgabe None()

client.finance.templates.create(1, accounting_period_id=1)
let query = PostFinanceTemplatesIdQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
client.finance().templates().create(1, &query)?;

GET/finance/transactionpurposes

client.finance.transaction_purposes.list()client.finance().transaction_purposes().list()

Get all transaction purposes

A transaction purpose is a reusable preset for simplified bookkeeping. It fixes one ledger account, offers a list of accounts for the other side, and can assign a cost center. isIncome selects an income or expense preset; it is not the free-text note of a bank statement. Requires finance “view”. Returns the complete, unpaginated list across periods, ordered by sortKey and then name ascending. This endpoint does not apply the period/group filtering used by /finance/masterdata. meta.count is the number returned.

Rückgabe List[TransactionPurpose]Vec<TransactionPurpose>

for transaction_purpose in client.finance.transaction_purposes.list():
    print(transaction_purpose.name)
for transaction_purpose in client.finance().transaction_purposes().list()? {
    println!("{}", transaction_purpose.name);
}

GET/finance/transactionpurposes/{id}

client.finance.transaction_purposes.get()client.finance().transaction_purposes().get()

Get a transaction purpose

Returns one transaction purpose. A transaction purpose is a reusable preset for simplified bookkeeping. It fixes one ledger account, offers a list of accounts for the other side, and can assign a cost center. isIncome selects an income or expense preset; it is not the free-text note of a bank statement. Requires finance “view”; there is no additional period-specific visibility filter in this endpoint.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe TransactionPurpose

transaction_purpose = client.finance.transaction_purposes.get(1)
print(transaction_purpose.name)
let transaction_purpose = client.finance().transaction_purposes().get(1)?;
println!("{}", transaction_purpose.name);

POST/finance/transactionpurposes*

client.finance.transaction_purposes.create()client.finance().transaction_purposes().create()

Create new transaction purpose

Creates a transaction purpose and returns HTTP 201. Requires finance “edit masterdata” and an open period for purposeAccountId. When costCenterId is supplied, its period must match the fixed account and all resolved selectable accounts.

ParameterTypOrtPflichtBeschreibung
account_ids"accountIds"List[int]Vec<i64>BodyjaAccounts offered for the other side of the posting.
cost_center_id"costCenterId"Optional[int]Option<i64>BodyOptional cost center.
is_income"isIncome"boolBodyjaTrue for income presets, false for expense presets.
name"name"strStringBodyjaTrimmed display name.
purpose_account_id"purposeAccountId"inti64BodyjaFixed ledger account: the contra account for income, or the account for expenses.
sort_key"sortKey"inti64BodyjaAscending display order.

Rückgabe TransactionPurpose

result = client.finance.transaction_purposes.create(
    account_ids=[1, 2],
    is_income=True,
    name="Donations for youth work",
    purpose_account_id=3,
    sort_key=0,
)
print(result.name)
let body = models::TransactionPurposeCreate {
    account_ids: vec![1, 2],
    is_income: true,
    name: "Donations for youth work".into(),
    purpose_account_id: 3,
    sort_key: 0,
    ..Default::default()
};
let result = client.finance().transaction_purposes().create(&body)?;
println!("{}", result.name);

PUT/finance/transactionpurposes/{id}*

client.finance.transaction_purposes.update()client.finance().transaction_purposes().update()

Update transaction purpose

Replaces a transaction purpose, including the complete list of selectable accounts. Requires finance “edit masterdata” and an open period for the new purposeAccountId. Omitted costCenterId clears it. If a cost center is supplied, all resolved accounts must belong to its period.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
account_ids"accountIds"List[int]Vec<i64>BodyjaAccounts offered for the other side of the posting.
cost_center_id"costCenterId"Optional[int]Option<i64>BodyOptional cost center.
is_income"isIncome"boolBodyjaTrue for income presets, false for expense presets.
name"name"strStringBodyjaTrimmed display name.
purpose_account_id"purposeAccountId"inti64BodyjaFixed ledger account: the contra account for income, or the account for expenses.
sort_key"sortKey"inti64BodyjaAscending display order.

Rückgabe TransactionPurpose

result = client.finance.transaction_purposes.update(
    1,
    account_ids=[1, 2],
    is_income=True,
    name="Donations for youth work",
    purpose_account_id=3,
    sort_key=0,
)
print(result.name)
let body = models::TransactionPurposeUpdate {
    account_ids: vec![1, 2],
    is_income: true,
    name: "Donations for youth work".into(),
    purpose_account_id: 3,
    sort_key: 0,
    ..Default::default()
};
let result = client.finance().transaction_purposes().update(1, &body)?;
println!("{}", result.name);

DELETE/finance/transactionpurposes/{id}*

client.finance.transaction_purposes.delete()client.finance().transaction_purposes().delete()mit Filtern: .delete_with(&DeleteFinanceTransactionpurposesIdQuery)

Delete transaction purpose

Deletes the transaction-purpose preset and its selectable-account links. Requires finance “edit masterdata”. Existing transaction records are not deleted. dry_run=true returns the HTTP 409 report without deleting, also when deletion is allowed.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.

Rückgabe None()

client.finance.transaction_purposes.delete(1)
client.finance().transaction_purposes().delete(1)?;

GET/finance/transactions

client.finance.transactions.list()client.finance().transactions().list()Query: GetFinanceTransactionsQueryseitenweise

Get all transactions

Lists bookings in one accounting period, including split children and generated tax or cancellation bookings. Both accounts must be visible to the caller. With no cost_center_ids and no permission for the entire period, the list is limited to accessible cost centers. Donor filtering is silently ignored unless the caller has view permission for the period or a group permission to see donors in cost centers. Donor details are independently censored per booking. All filters are combined; an empty ID array does not restrict results. Send array filters using bracket query syntax, for example account_ids[]=10&account_ids[]=11. The pagination total describes the filtered result; meta.all ignores the optional filters except exclude_stornos and retains the visibility restrictions.

20 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaID of accounting period to get master data for
created_pidinti64QueryFilter by person ID. Get all transactions the person has created.
cost_center_idsList[int]Vec<i64>QueryFilter by cost centers.
donator_idsList[int]Vec<i64>QueryPerson IDs matching either donor or spouse, including the original donation referenced by a cancellation booking.
include_idsList[int]Vec<i64>QueryFilter by ids to include.
exclude_idsList[int]Vec<i64>QueryFilter by ids to exclude.
account_idsList[int]Vec<i64>QueryFilter by account/contra account.
is_donationboolQueryCurrently, either true or false selects bookings with a positive donor ID.
is_incomeboolQueryTrue selects a cash-asset debit account and a non-cash-asset credit account (income); false selects the reverse (expense).
start_datedateNaiveDateQueryInclusive lower bound for documentDate.
end_datedateNaiveDateQueryInclusive upper bound for documentDate.
is_immutableboolQueryFilter transactions, whether transaction is immutable.
exclude_stornosboolQueryExclude both cancellation bookings and the original bookings they cancel.
exclude_paybacksboolQueryExclude donor-linked bookings debiting a donation account and crediting a non-donation account (donation repayments).
order_bystrStringQuerySort by document date, amount, modification time, document number, note, account number, contra-account number, cost-center number, donor name or receipt count.
order_directionstrStringQueryPrimary sort direction.
limitinti64QueryMaximum number of bookings per page.
includeList[str]Vec<String>QueryInclude additional information
querystrStringQuerySearch note, document number or amount.
is_waiver_of_reimbursement_of_expensesboolQueryFilter by whether reimbursement of expenses was waived as a donation.

Rückgabe Paginator[Transaction]Vec<Transaction>

for transaction in client.finance.transactions.list(accounting_period_id=1):
    print(transaction.id)
let query = GetFinanceTransactionsQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
for transaction in client.finance().transactions().list(&query)? {
    println!("{}", transaction.id);
}

GET/finance/transactions/{id}

client.finance.transactions.get()client.finance().transactions().get()mit Filtern: .get_with(&GetFinanceTransactionsIdQuery)

Get a transaction

Returns a single booking, including a child of a split transaction. Requires view or edit permission for its accounting period, or the corresponding group permission for its assigned cost center. Donor visibility is checked separately: a user who may see the booking but not its donors receives censored person placeholders and a null note. Request include[]=bills to include attached receipts. Related tax, cancellation and split bookings are referenced by ID.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
includeList[str]Vec<String>QueryInclude additional information

Rückgabe Transaction

transaction = client.finance.transactions.get(1)
print(transaction.id)
let transaction = client.finance().transactions().get(1)?;
println!("{}", transaction.id);

GET/finance/transactions/csv

client.finance.transactions.get_csv()client.finance().transactions().get_csv()Query: GetFinanceTransactionsCsvQueryveraltet

Export transactions as CSV

Downloads all matching bookings without pagination or a JSON wrapper. Supports the listed booking filters; page, limit, include, exclude_stornos and exclude_paybacks are not evaluated. Both accounts must be visible. Without an explicit cost-center filter, users without permission for the whole period are restricted to their accessible cost centers. Donor details and notes are censored where required, but the donor-ID filter itself is accepted without the list endpoint’s additional filter-permission check. target selects the column layout. CSV uses semicolons, UTF-8 with BOM, localized column labels and locale-dependent amount formatting in major currency units. Use /finance/transactions/export for new integrations.

17 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaID of accounting period to get master data for
created_pidinti64QueryFilter by person ID. Get all transactions the person has created.
cost_center_idsList[int]Vec<i64>QueryFilter by cost centers.
donator_idsList[int]Vec<i64>QueryPerson IDs matching either donor or spouse, including donors of the original booking when matching cancellations.
include_idsList[int]Vec<i64>QueryFilter by ids to include.
exclude_idsList[int]Vec<i64>QueryFilter by ids to exclude.
account_idsList[int]Vec<i64>QueryFilter by account/contra account.
is_donationboolQueryCurrently, either true or false selects bookings with a positive donor ID.
is_incomeboolQueryTrue selects a cash-asset debit account and a non-cash-asset credit account (income); false selects the reverse (expense).
start_datedateNaiveDateQueryInclusive lower bound for documentDate.
end_datedateNaiveDateQueryInclusive upper bound for documentDate.
is_immutableboolQueryFilter transactions, whether transaction is immutable.
order_bystrStringQuerySort by document date, amount, modification time, document number, note, account number, contra-account number, cost-center number, donor name or receipt count.
order_directionstrStringQueryPrimary sort direction.
querystrStringQuerySearch note, document number or amount.
is_waiver_of_reimbursement_of_expensesboolQueryFilter by whether reimbursement of expenses was waived as a donation.
targetstrStringQueryColumn layout: default is the human-readable CT export; sage100 uses separate debit/credit account and cost-center numbers plus tax fields.

Rückgabe bytes (text/csv)Vec<u8> (text/csv)

data = client.finance.transactions.get_csv(accounting_period_id=1)
with open("ergebnis.csv", "wb") as f:
    f.write(data)
let query = GetFinanceTransactionsCsvQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let data = client.finance().transactions().get_csv(&query)?;
std::fs::write("ergebnis.csv", &data)?;

GET/finance/transactions/datevexport

client.finance.transactions.get_datev_export()client.finance().transactions().get_datev_export()Query: GetFinanceTransactionsDatevexportQuery

Export transactions in DATEV format

Downloads a semicolon-separated DATEV EXTF booking-batch CSV with UTF-8 BOM, a metadata row and a column-header row. Includes all matching bookings without pagination, including cancellation and tax rows. The listed booking filters apply; exclude_stornos and exclude_paybacks are not evaluated. Accounts and default cost-center scope are restricted by permissions. Uses the client’s DATEV consultant/client numbers and the period’s start date. Current output uses EUR and debit indicator S. Choose order_by=date&order_direction=ASC because the header takes the first and last row dates as its range. An empty result currently fails during header creation.

16 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaID of accounting period to get master data for
created_pidinti64QueryFilter by person ID. Get all transactions the person has created.
cost_center_idsList[int]Vec<i64>QueryFilter by cost centers.
donator_idsList[int]Vec<i64>QueryPerson IDs matching either donor or spouse, including donors of the original booking when matching cancellations.
include_idsList[int]Vec<i64>QueryFilter by ids to include.
exclude_idsList[int]Vec<i64>QueryFilter by ids to exclude.
account_idsList[int]Vec<i64>QueryFilter by account/contra account.
is_donationboolQueryCurrently, either true or false selects bookings with a positive donor ID.
is_incomeboolQueryTrue selects a cash-asset debit account and a non-cash-asset credit account (income); false selects the reverse (expense).
start_datedateNaiveDateQueryInclusive lower bound for documentDate.
end_datedateNaiveDateQueryInclusive upper bound for documentDate.
is_immutableboolQueryFilter transactions, whether transaction is immutable.
order_bystrStringQuerySort by document date, amount, modification time, document number, note, account number, contra-account number, cost-center number, donor name or receipt count.
order_directionstrStringQueryPrimary sort direction.
querystrStringQuerySearch note, document number or amount.
is_waiver_of_reimbursement_of_expensesboolQueryFilter by whether reimbursement of expenses was waived as a donation.

Rückgabe bytes (text/csv)Vec<u8> (text/csv)

data = client.finance.transactions.get_datev_export(accounting_period_id=1)
with open("ergebnis.csv", "wb") as f:
    f.write(data)
let query = GetFinanceTransactionsDatevexportQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let data = client.finance().transactions().get_datev_export(&query)?;
std::fs::write("ergebnis.csv", &data)?;

GET/finance/transactions/documentnumberavailable

client.finance.transactions.get_document_number_available()client.finance().transactions().get_document_number_available()Query: GetFinanceTransactionsDocumentnumberavailableQuery

Check if a document number is available

Checks whether an ordinary transaction row in the accounting period uses document_number. Returns HTTP 200 without a body when available and HTTP 409 without a body when occupied. Includes synced and cancellation rows and performs a database string comparison. It does not normalize split-parent or copy suffixes as the next-number suggestion does, and does not reserve the number. Requires visibility of the accounting period.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaID of accounting period to get master data for
document_numberstrStringQueryjaDocument number to check for availability.

Rückgabe None()

client.finance.transactions.get_document_number_available(
    accounting_period_id=1,
    document_number="2024-001",
)
let query = GetFinanceTransactionsDocumentnumberavailableQuery {
    accounting_period_id: Some(1),
    document_number: Some("2024-001".into()),
    ..Default::default()
};
client.finance().transactions().get_document_number_available(&query)?;

GET/finance/transactions/export

client.finance.transactions.get_export()client.finance().transactions().get_export()Query: GetFinanceTransactionsExportQuery

Export transactions

Downloads all matching bookings without pagination or a JSON wrapper. Supports the listed booking filters; page, limit, include, exclude_stornos and exclude_paybacks are not evaluated. Both accounts must be visible. Without an explicit cost-center filter, users without permission for the whole period are restricted to their accessible cost centers. Donor details and notes are censored where required, but the donor-ID filter itself is accepted without the list endpoint’s additional filter-permission check. target selects the column layout. CSV uses semicolons, UTF-8 with BOM, localized column labels and locale-dependent amount formatting in major currency units. format=xlsx returns an Excel workbook instead of CSV; PDF is not supported.

19 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaID of accounting period to get master data for
created_pidinti64QueryFilter by person ID. Get all transactions the person has created.
cost_center_idsList[int]Vec<i64>QueryFilter by cost centers.
donator_idsList[int]Vec<i64>QueryPerson IDs matching either donor or spouse, including donors of the original booking when matching cancellations.
include_idsList[int]Vec<i64>QueryFilter by ids to include.
exclude_idsList[int]Vec<i64>QueryFilter by ids to exclude.
account_idsList[int]Vec<i64>QueryFilter by account/contra account.
is_donationboolQueryCurrently, either true or false selects bookings with a positive donor ID.
is_incomeboolQueryTrue selects a cash-asset debit account and a non-cash-asset credit account (income); false selects the reverse (expense).
start_datedateNaiveDateQueryInclusive lower bound for documentDate.
end_datedateNaiveDateQueryInclusive upper bound for documentDate.
is_immutableboolQueryFilter transactions, whether transaction is immutable.
order_bystrStringQuerySort by document date, amount, modification time, document number, note, account number, contra-account number, cost-center number, donor name or receipt count.
order_directionstrStringQueryPrimary sort direction.
querystrStringQuerySearch note, document number or amount.
is_waiver_of_reimbursement_of_expensesboolQueryFilter by whether reimbursement of expenses was waived as a donation.
targetstrStringQueryColumn layout: default is the human-readable CT export; sage100 uses separate debit/credit account and cost-center numbers plus tax fields.
formatstrStringQueryFile format.
type_r#typestrStringQueryLegacy alias for format.

Rückgabe bytes (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)Vec<u8> (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

data = client.finance.transactions.get_export(accounting_period_id=1)
with open("ergebnis.xlsx", "wb") as f:
    f.write(data)
let query = GetFinanceTransactionsExportQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let data = client.finance().transactions().get_export(&query)?;
std::fs::write("ergebnis.xlsx", &data)?;

GET/finance/transactions/ids

client.finance.transactions.get_ids()client.finance().transactions().get_ids()mit Filtern: .get_ids_with(&GetFinanceTransactionsIdsQuery)

Get IDs of all transactions

Returns ordinary transaction IDs for visible accounting periods, including split children, tax bookings and cancellations. With accounting_period_id, data is a flat array of decimal ID strings. Without it, data is an object keyed by accounting-period ID; periods without transactions are omitted and an entirely empty result is serialized as an empty array. Ordering is unspecified. The endpoint checks period visibility and does not apply the transaction list's account or cost-center filters; an ID in this result does not guarantee access to the corresponding transaction. Use the paginated transaction list for that purpose.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryOptional ID of an accounting period.

Rückgabe Optional[Union[List[str], StrMap[List[str]]]]serde_json::Value

result = client.finance.transactions.get_ids()
print(result)
let result = client.finance().transactions().get_ids()?;
println!("{:?}", result);

GET/finance/transactions/nextdocumentnumber

client.finance.transactions.get_next_document_number()client.finance().transactions().get_next_document_number()Query: GetFinanceTransactionsNextdocumentnumberQuery

Get suggestion for next document number

Suggests a document number for a new booking. Uses the most recently inserted non-synced, non-cancellation transaction as its base, not the greatest existing number. For split children the child suffix is removed; the copy suffix -Kopie is removed as well. A trailing number is incremented with its zero padding preserved; a base without digits receives -1. Existing normalized non-cancellation numbers are skipped. With no eligible base transaction, returns the string 1. Requires visibility of the accounting period. The suggestion is not reserved and concurrent clients can receive the same number.

ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaID of accounting period to get master data for

Rückgabe strString

result = client.finance.transactions.get_next_document_number(accounting_period_id=1)
print(result)
let query = GetFinanceTransactionsNextdocumentnumberQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let result = client.finance().transactions().get_next_document_number(&query)?;
println!("{:?}", result);

GET/finance/transactions/summary

client.finance.transactions.get_summary()client.finance().transactions().get_summary()Query: GetFinanceTransactionsSummaryQuery

Calculate a journal summary with previous-year comparison

Calculates a journal summary for one accounting period. calculation_type selects account debit/credit balances, cost-center income/expense, or net donations. Supplying it also saves the current user’s preference for the combination of account, cost-center and donor filters. If omitted, the saved preference is used; without a preference the first non-empty filter selects accounts, then cost centers, then donors. Without a usable filter/type the request fails. Date limits default to the accounting period boundaries. Previous-year comparison shifts both dates back one year and uses the previous accounting period of the same client. Monetary values are minor currency units. The donor filter is removed unless the caller has view permission for the entire period, even if group donor visibility is available. include_ids, exclude_ids, pagination and exclusion flags are not evaluated by this endpoint.

15 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
accounting_period_idinti64QueryjaID of accounting period to get master data for
created_pidinti64QueryFilter by person ID. Get all transactions the person has created.
cost_center_idsList[int]Vec<i64>QueryFilter by cost centers.
donator_idsList[int]Vec<i64>QueryPerson IDs matching either donor or spouse, including donors of the original booking when matching cancellations.
account_idsList[int]Vec<i64>QueryFilter by account/contra account.
is_donationboolQueryCurrently, either true or false selects bookings with a positive donor ID.
is_incomeboolQueryTrue selects a cash-asset debit account and a non-cash-asset credit account (income); false selects the reverse (expense).
start_datedateNaiveDateQueryInclusive lower bound for documentDate.
end_datedateNaiveDateQueryInclusive upper bound for documentDate.
is_immutableboolQueryFilter transactions, whether transaction is immutable.
order_bystrStringQuerySort by document date, amount, modification time, document number, note, account number, contra-account number, cost-center number, donor name or receipt count.
order_directionstrStringQueryPrimary sort direction.
querystrStringQuerySearch note, document number or amount.
is_waiver_of_reimbursement_of_expensesboolQueryFilter by whether reimbursement of expenses was waived as a donation.
calculation_typestrStringQueryExplicit calculation mode, also saved as the current user’s preference.

Rückgabe Union[TransactionSummaryCostCenter, TransactionSummaryCreditDebit, TransactionSummaryDonation]serde_json::Value

result = client.finance.transactions.get_summary(accounting_period_id=1)
print(result)
let query = GetFinanceTransactionsSummaryQuery {
    accounting_period_id: Some(1),
    ..Default::default()
};
let result = client.finance().transactions().get_summary(&query)?;
println!("{:?}", result);

POST/finance/transactions*

client.finance.transactions.create()client.finance().transactions().create()mit Filtern: .create_with(&PostFinanceTransactionsQuery)

Create new transaction

Creates one booking and, if requested, its tax booking. Requires permission to post on both accounts and either edit permission for the period or a permitted booking purpose matching the accounts and cost center. The accounting period must be open and contain documentDate. Related finance objects must belong to that same period. Unless ignoreDonationConstraint=true is supplied in the query, crediting a donation account from a non-donation account requires a donor. Joint donors must have an existing spouse relationship. Returns the main booking; generated tax booking IDs are included in it.

16 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
ignore_donation_constraintboolQuerySkip the donor/account constraint.
account_id"accountId"inti64BodyjaID of the debit account the amount is posted to.
amount"amount"inti64BodyjaGross booking amount in integer minor currency units.
cash_discount_amount"cashDiscountAmount"Optional[int]Option<i64>BodyCash discount in the smallest currency unit.
cash_discount_id"cashDiscountId"Optional[int]Option<i64>BodyCash-discount definition from the same accounting period.
contra_account_id"contraAccountId"inti64BodyjaID of the credit (contra) account the amount is posted from.
contra_cost_center_id"contraCostCenterId"Optional[int]Option<i64>BodyID of the target cost center for a cost center transfer.
cost_center_id"costCenterId"Optional[int]Option<i64>BodyCost center from the same accounting period.
document_date"documentDate"dateNaiveDateBodyjaDate printed on the underlying document/receipt.
donator_id"donatorId"Optional[int]Option<i64>BodyDonor person ID. Normally required when only the credit account is a donation account.
donator_spouse_id"donatorSpouseId"Optional[int]Option<i64>BodySpouse for joint donation receipts.
is_waiver_of_reimbursement_of_expenses"isWaiverOfReimbursementOfExpenses"boolBodyWhether this is a donation through waived reimbursement of expenses.
note"note"strStringBodyjaFree-text note describing the booking.
tax_rate_id"taxRateId"Optional[int]Option<i64>BodyTax rate from the same accounting period.
document_number"documentNumber"Optional[str]Option<String>BodyDocument number, required unless automatic numbering is enabled.
is_synced"isSynced"boolBodyMark this booking as created through a sync.

Rückgabe Transaction

result = client.finance.transactions.create(
    account_id=10,
    amount=7812,
    contra_account_id=11,
    document_date=dt.date(2019, 1, 14),
    note="Donation service offering",
)
print(result.id)
let body = models::TransactionCreate {
    account_id: 10,
    amount: 7812,
    contra_account_id: 11,
    document_date: "2019-01-14".parse()?,
    note: "Donation service offering".into(),
    ..Default::default()
};
let result = client.finance().transactions().create(&body)?;
println!("{}", result.id);

PUT/finance/transactions/{id}*

client.finance.transactions.update()client.finance().transactions().update()mit Filtern: .update_with(&PutFinanceTransactionsIdQuery)

Update transaction

Updates a standalone booking. Requires edit permission for its original accounting period and posting permission on the supplied accounts. The original period must be open and the booking mutable; split children, generated tax bookings and cancellation bookings cannot be edited here. Required fields replace existing values. Missing cost center, donors and tax rate are cleared, while missing cash-discount fields retain their previous values. isImmutable=true finalizes the booking and any tax booking. Joint-donor consistency is checked when either donor ID changes.

18 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
includeList[str]Vec<String>QueryInclude additional information
account_id"accountId"inti64BodyjaID of the debit account the amount is posted to.
amount"amount"inti64BodyjaGross booking amount in integer minor currency units.
cash_discount_amount"cashDiscountAmount"Optional[int]Option<i64>BodyCash discount in the smallest currency unit.
cash_discount_id"cashDiscountId"Optional[int]Option<i64>BodyCash-discount definition from the same accounting period.
contra_account_id"contraAccountId"inti64BodyjaID of the credit (contra) account the amount is posted from.
contra_cost_center_id"contraCostCenterId"Optional[int]Option<i64>BodyID of the target cost center for a cost center transfer.
cost_center_id"costCenterId"Optional[int]Option<i64>BodyCost center from the same accounting period.
document_date"documentDate"dateNaiveDateBodyjaDate printed on the underlying document/receipt.
donator_id"donatorId"Optional[int]Option<i64>BodyDonor person ID. Normally required when only the credit account is a donation account.
donator_spouse_id"donatorSpouseId"Optional[int]Option<i64>BodySpouse for joint donation receipts.
is_waiver_of_reimbursement_of_expenses"isWaiverOfReimbursementOfExpenses"boolBodyWhether this is a donation through waived reimbursement of expenses.
note"note"strStringBodyjaFree-text note describing the booking.
tax_rate_id"taxRateId"Optional[int]Option<i64>BodyTax rate from the same accounting period.
document_number"documentNumber"strStringBodyjaReplacement document number; never generated automatically on update.
ignore_donation_constraint"ignoreDonationConstraint"boolBodySkip the normal donation-account/donor constraint.
is_immutable"isImmutable"boolBodyFinalize this booking and its tax booking.

Rückgabe Transaction

result = client.finance.transactions.update(
    1,
    account_id=10,
    amount=7812,
    contra_account_id=11,
    document_date=dt.date(2019, 1, 14),
    note="Donation service offering",
    document_number="2026-42",
)
print(result.id)
let body = models::TransactionUpdate {
    account_id: 10,
    amount: 7812,
    contra_account_id: 11,
    document_date: "2019-01-14".parse()?,
    note: "Donation service offering".into(),
    document_number: "2026-42".into(),
    ..Default::default()
};
let result = client.finance().transactions().update(1, &body)?;
println!("{}", result.id);

PUT/finance/transactions/{id}/storno*

client.finance.transactions.update_storno()client.finance().transactions().update_storno()

Cancel transaction

Cancels a standalone booking by creating an opposite booking with swapped debit and credit accounts, the same amount and document date, and a -Storno document-number suffix. The original remains in place and references its cancellation. A tax booking is cancelled recursively. Requires edit permission for the period; split children must be cancelled through their parent endpoint. This operation does not require a mutable booking or check that the period is open. Repeating it updates the existing cancellation without creating another one; targeting a cancellation itself is a no-op. Returns HTTP 200 without a response body. Retrieve the original afterwards to obtain stornoTransactionId.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
note"note"strStringBodyjaReason added to the original booking note in a localized cancellation prefix.

Rückgabe None()

client.finance.transactions.update_storno(1, note="Incorrect amount")
let body = models::TransactionStornoCreate {
    note: "Incorrect amount".into(),
    ..Default::default()
};
client.finance().transactions().update_storno(1, &body)?;

PATCH/finance/transactions*

client.finance.transactions.patch()client.finance().transactions().patch()

Finalize or delete a filtered set of bookings

Runs one batch action on bookings selected by a non-empty array of filters. Conditions within each filter are combined with AND and filters with OR. Requires edit permission for every specified accounting period. isImmutable=true finalizes selected bookings and expands the selection to related tax bookings, tax bases and originals of selected cancellations. All children of any affected split booking must be covered, otherwise HTTP 403 is returned. delete=true performs period cleanup: it can delete immutable bookings and does not apply the normal open-period or standalone-booking checks. Deletion removes related records through the deletion service and has no dry-run mode. If both actions are true, finalization wins. Always send a non-empty filters array; the current backend does not safely restrict an empty selection.

ParameterTypOrtPflichtBeschreibung
changeset"changeset"TransactionBatchUpdateChangesetBodyjaUse isImmutable=true to finalize or delete=true to delete.
filters"filters"List[TransactionBatchFilter]Vec<TransactionBatchFilter>BodyjaScopes to combine with OR.

Rückgabe Union[TransactionBatchResult, List[Any]]serde_json::Value

result = client.finance.transactions.patch(
    changeset=ct.models.TransactionBatchUpdateChangeset.model_validate({}),
    filters=[ct.models.TransactionBatchFilter.model_validate({"accountingPeriodId": 1})],
)
print(result)
let body = models::TransactionBatchUpdate {
    changeset: models::TransactionBatchUpdateChangeset::default(),
    filters: vec![models::TransactionBatchFilter {
        accounting_period_id: 1,
        ..Default::default()
    }],
    ..Default::default()
};
let result = client.finance().transactions().patch(&body)?;
println!("{:?}", result);

DELETE/finance/transactions/{id}*

client.finance.transactions.delete()client.finance().transactions().delete()mit Filtern: .delete_with(&DeleteFinanceTransactionsIdQuery)

Delete transaction

Deletes a standalone booking and its generated tax and cancellation bookings, together with attached receipts/files. Related statement movements are reset to open and unlinked. Requires edit permission for the accounting period, which must be open. Immutable bookings, generated tax bookings and split children cannot be deleted directly. A cancellation booking can be deleted to remove the cancellation link from its original booking. dry_run=true performs the same eligibility checks without deleting and returns HTTP 409 with the deletion assessment, including when deletion is possible.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.
includeList[str]Vec<String>QueryInclude additional information

Rückgabe None()

client.finance.transactions.delete(1)
client.finance().transactions().delete(1)?;

POST/finance/transactions/bulkcreate*

client.finance.transactions.bulk_create()client.finance().transactions().bulk_create()mit Filtern: .bulk_create_with(&PostFinanceTransactionsBulkcreateQuery)

Create multiple transactions

Creates a non-empty JSON array of bookings in input order and returns the main bookings with meta.count. Each item supplies its own document number and accounts; items may belong to different accounting periods. Both accounts must allow posting and all related finance references within an item must belong to the same period. Periods must be open and contain each documentDate. Input validation runs before creation, followed by a shared database transaction. The optional query flag skips the normal donation-account/donor constraint for all items, but joint-donor consistency still applies. Use actual JSON boolean and integer values.

ParameterTypOrtPflichtBeschreibung
ignore_donation_constraintboolQuerySkip the donor/account constraint.
bodyList[TransactionBulkCreateItem]Vec<TransactionBulkCreateItem>Bodyja

Rückgabe List[Transaction]Vec<Transaction>

for transaction in client.finance.transactions.bulk_create(
    body=[ct.models.TransactionBulkCreateItem.model_validate({"accountId": 10, "amount": 7812, "contraAccountId": 11, "documentDate": "2019-01-14", "note": "Donation service offering", "documentNumber": "2026-42"})],
):
    print(transaction.id)
let body: Vec<models::TransactionBulkCreateItem> = vec![models::TransactionBulkCreateItem {
    account_id: 10,
    amount: 7812,
    contra_account_id: 11,
    document_date: "2019-01-14".parse()?,
    note: "Donation service offering".into(),
    document_number: "2026-42".into(),
    ..Default::default()
}];
for transaction in client.finance().transactions().bulk_create(&body)? {
    println!("{}", transaction.id);
}

POST/finance/transactions/{id}/duplicate*

client.finance.transactions.duplicate()client.finance().transactions().duplicate()

Duplicate transaction

Copies a standalone booking into its original open accounting period. Requires permission to create a booking with the source accounts and cost center. Copies document date, accounts, note, donor assignments, waiver and cash discount; recreates tax bookings and copies attached receipts/files. The document number receives the suffix -Kopie; this does not reserve or generate a unique number. The new booking starts mutable and non-synced and is not linked as a cancellation. Split children cannot be duplicated here. The response contains the new main booking; copied bills can be retrieved with include[]=bills.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
bodyStrMap[Any]std::collections::BTreeMap<String, serde_json::Value>Body

Rückgabe Transaction

transaction = client.finance.transactions.duplicate(1)
print(transaction.id)
let body: std::collections::BTreeMap<String, serde_json::Value> = Default::default();
let transaction = client.finance().transactions().duplicate(1, &body)?;
println!("{}", transaction.id);

GET/permissions/{domainType}/{domainId}

client.permissions.list()client.permissions().list()

List permissions for a domain object

Lists raw assignments for one source object. status/person address a person-status or person ID; group_type_role/group_role address their role IDs. group_type collects role-template assignments of that group type; group combines concrete group-role and associated group-type-role assignments, preserving each row’s actual owner domain and ID. Only permission IDs in the currently loaded active definition table are returned. No pagination, explicit ordering, or object-existence check is applied; an unknown owner normally returns an empty list. Intended access is administer persons in churchcore, with a restricted post-administration fallback. The current fallback passes an incomplete key to a boolean permission check and ignores its result; enabled assertions may fail the request. Otherwise direct-domain views restrict authIds to 10130/10131, but combined group/group_type views omit that restriction. This defect must not be treated as an authorization guarantee.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaRead domain. status/person select direct assignments; group_type_role/group_role select role assignments.
domain_idintimpl DisplayPfadjaID of the object in the selected permission domain

Rückgabe List[Permission]Vec<Permission>

for permission in client.permissions.list("person", 1):
    print(permission.auth_id)
for permission in client.permissions().list("person", 1)? {
    println!("{}", permission.auth_id);
}

GET/permissions/assignment-targets

client.permissions.list_assignment_targets()client.permissions().list_assignment_targets()mit Filtern: .list_assignment_targets_with(&GetPermissionsAssignmentTargetsQuery)seitenweise

Search selectable permission assignment targets

Requires "administer persons" in churchcore. Lists statuses, group-type role templates, concrete group roles, and persons, independently of existing assignments. Archived and inactive targets are included. Without query, lists all targets. Every whitespace-separated search word must match part of the name or its group/group-type context, irrespective of word order. SQL wildcard characters are treated literally. Results use one global pagination, ordered by category (status, group_type_role, group_role, person), name, context name, and domainId. Later categories can therefore start on later pages. Selection does not authorize assigning a specific permission; write endpoints check that separately. Group and role context is returned only for role targets. Authorization filtering and ordering are applied before pagination. Detailed statistics are computed only for the returned page unless required for ordering. Status and role templates include public permissions; concrete roles also inherit their template with applicable revocations. Archived persons have zero effective grants. Counts describe the search/category/group population before authorization filtering. Without these options the original catalog response is retained.

ParameterTypOrtPflichtBeschreibung
includeList[str]Vec<String>QueryInclude per-target permission statistics
authorizationstrStringQueryRestrict to targets with effective global grants
order_fieldsList[str]Vec<String>QuerySort before pagination; multiple fields are applied in order with catalog ordering as tie-breaker.
order_directionsList[str]Vec<String>QueryDirection for each order field; missing directions use ASC
querystrStringQuerySearch status, role, group-type, group, or person names.
domain_typesList[str]Vec<String>QueryRestrict categories; omitted or empty selects all categories
group_idinti64QueryRestrict to concrete roles of this group, intersected with domainTypes.
limitinti64QueryMaximum number of targets per page across all categories

Rückgabe Paginator[PermissionAssignmentTarget]Vec<PermissionAssignmentTarget>

for assignment_target in client.permissions.list_assignment_targets():
    print(assignment_target.domain_id)
for assignment_target in client.permissions().list_assignment_targets()? {
    println!("{}", assignment_target.domain_id);
}

GET/permissions/{domainType}

client.permissions.list_for_type()client.permissions().list_for_type()mit Filtern: .list_for_type_with(&GetPermissionsPermissionDomainTypeQuery)

List permissions for a domain type

Lists stored permission assignments in one source domain; these are raw grants/revocations, not effective permissions. Optional domainId filters a specific assignment owner. group_type and group are combined read views and require domainId even on this short route; omitting it returns a validation error. group_type lists its role-template assignments, while group combines concrete group-role and corresponding group-type-role assignments. Returned rows retain their actual role domain/ID. Only authIds present in the currently loaded active definition table are included. No pagination, object-existence check or explicit ordering is applied. Intended access is administer persons in churchcore, with a limited post-administration fallback. That fallback currently uses an incomplete permission key and ignores its boolean result; with assertions enabled it may fail, and otherwise combined views are not restricted to the two post-creation authIds. Do not rely on this behavior as an authorization guarantee.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaRead domain. status/person select direct assignments; group_type_role/group_role select role assignments.
domain_idinti64QueryOptional owner ID for direct domains; required in practice for group and group_type combined views.

Rückgabe List[Permission]Vec<Permission>

for for_type in client.permissions.list_for_type("person"):
    print(for_type.auth_id)
for for_type in client.permissions().list_for_type("person")? {
    println!("{}", for_type.auth_id);
}

GET/permissions/definitions

client.permissions.get_definitions()client.permissions().get_definitions()mit Filtern: .get_definitions_with(&GetPermissionsDefinitionsQuery)

List permission definitions

Returns registered permission definitions grouped by module. Requires administer persons in churchcore. global selects keys without a leading +; internal selects group-internal keys beginning with +; all includes both. Definitions explain assignable keys, not the current user’s effective permissions. Modules follow application ordering and modules without matching definitions are omitted. For data-field permissions, selections starts with dataId=-1 for unrestricted access to current and future values. Other selections come from the configured catalog without per-object visibility filtering. name and description currently contain the same text, and assignmentDomains is a fixed generic list. The response is not paginated.

ParameterTypOrtPflichtBeschreibung
scopestrStringQueryPermission scope to return

Rückgabe GetPermissionsDefinitionsData

definition = client.permissions.get_definitions()
print(definition)
let definition = client.permissions().get_definitions()?;
println!("{:?}", definition);

GET/permissions/locked

client.permissions.get_locked()client.permissions().get_locked()

List locked permissions

Lists all stored permission locks, ordered by permission ID and selection ID. Requires administer persons in churchcore, but the caller need not be an authorized contact person. A lock restricts assigning or removing the selected permission across assignment domains; it does not revoke existing grants or disable their use. Only authorized persons may change locked assignments. Locks can refer to global or group-internal permission keys. The response includes whether the current person is on the installation’s authorized-person list. Stored locks are returned without filtering inactive/obsolete definitions, and the result is not paginated.

Rückgabe LockedPermissionState

locked = client.permissions.get_locked()
print(locked.is_current_user_authorized_person)
let locked = client.permissions().get_locked()?;
println!("{}", locked.is_current_user_authorized_person);

GET/permissions/overview

client.permissions.get_overview()client.permissions().get_overview()

Get permission dashboard previews and totals

Requires "administer persons" in churchcore. Returns up to three targets per category, ranked by distinct permission keys descending, with domain ID as a stable tie-breaker. Totals count all authorized targets, not just the preview. Persons must have a direct grant and their counts include effective indirect global permissions. Group roles include their role-template grants, minus matching revocations. Public permissions are direct grants for person -1. Multiple selections and direct/deep assignments of the same key count once.

Rückgabe GetPermissionsOverviewData

overview = client.permissions.get_overview()
print(overview.public_permission_count)
let overview = client.permissions().get_overview()?;
println!("{}", overview.public_permission_count);

PUT/permissions/{domainType}/{domainId}*

client.permissions.update()client.permissions().update()

Save a raw permission assignment

Adds or updates raw permission assignments for the source owner in the path. Requires administer persons in churchcore, or a group_role assignment for authId 10130/10131 and churchdb +admin posts in that role’s actual group. Locked selections additionally require an authorized person. type defaults to grant; revoke is only supported for group_role. Only role domains allow inheritance and internal authIds; status/person require authId<10000. Obsolete authId=10127 returns 410. dataId is an additive list: other existing selections remain. Omission, null or [] writes a null-data row, not an unrestricted grant; use [-1] for unrestricted selections. An existing -1 row of the same grant/revoke type for the key/inheritance mode causes a nonempty-list update to be ignored, including reason changes. Opposite-type assignments can coexist at different dataIds: a finite grant preserves an existing unrestricted revoke. Otherwise, writing the opposite type for the same selection (including -1) updates that row rather than retaining both types. These rules apply separately to each key/inheritance mode. The general admin path does not validate owner, permission-definition or selection existence. Success returns 204 without a representation; it does not necessarily mean a row changed.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaAssignment source domain.
domain_idintimpl DisplayPfadjaID of the object in the selected permission domain
auth_id"authId"inti64BodyjaPermission ID. status and person require values below 10000.
data_id"dataId"Optional[List[int]]Option<Vec<i64>>BodySelections to add/update.
is_inherited"isInherited"boolBodySelect inherited-source rows when true, otherwise direct rows.
reason"reason"Optional[str]Option<String>BodyTrimmed optional explanation.
type_"type"strStringBodyGrant a permission, or revoke a contribution for a concrete group_role.

Rückgabe None()

client.permissions.update("group_role", 1, auth_id=10130)
let body = models::PermissionUpdate {
    auth_id: 10130,
    ..Default::default()
};
client.permissions().update("group_role", 1, &body)?;

PUT/permissions/locked*

client.permissions.update_locked()client.permissions().update_locked()

Update locked permissions

Adds and removes permission locks in one transaction. Requires both administer persons in churchcore and membership in the installation’s authorized-person list. Both add and remove are required; empty lists are allowed. Duplicates are collapsed, existing additions and missing removals are harmless, but the same normalized pair in both lists returns 400. This is a delta update, not full replacement. Each authId must exist in the definition table loaded for the request. Boolean permissions require omitted/null dataId; selectable permissions require a non-null dataId. Concrete selection existence and range are currently not checked. Locks may concern internal or global permissions; -1 locks all values. Existing grants are not revoked. Returns the complete resulting list under data.permissions, without the authorization flag returned by GET.

ParameterTypOrtPflichtBeschreibung
add"add"List[LockedPermissionChange]Vec<LockedPermissionChange>BodyjaLocks to add. Duplicates are collapsed and existing rows are retained.
remove"remove"List[LockedPermissionChange]Vec<LockedPermissionChange>BodyjaExact locks to remove.

Rückgabe PutPermissionsLockedData

result = client.permissions.update_locked(
    add=[ct.models.LockedPermissionChange.model_validate({"authId": 1})],
    remove=[ct.models.LockedPermissionChange.model_validate({"authId": 1})],
)
print(result)
let body = models::LockedPermissionUpdate {
    add: vec![models::LockedPermissionChange {
        auth_id: 1,
        ..Default::default()
    }],
    remove: vec![models::LockedPermissionChange {
        auth_id: 1,
        ..Default::default()
    }],
    ..Default::default()
};
let result = client.permissions().update_locked(&body)?;
println!("{:?}", result);

PUT/permissions/{domainType}/{domainId}/replace*

client.permissions.update_replace()client.permissions().update_replace()

Replace a raw permission assignment

Atomically replaces all raw assignment rows for the source owner, authId and inheritance mode. A nonempty dataId list becomes the complete selection; an empty list removes the assignment. The authorization, domain and locked-permission restrictions are the same as for updating and deleting the corresponding raw assignment.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaAssignment source domain.
domain_idintimpl DisplayPfadjaID of the object in the selected permission domain
auth_id"authId"inti64BodyjaPermission ID. status and person require values below 10000.
data_id"dataId"List[int]Vec<i64>BodyjaComplete replacement selection.
is_inherited"isInherited"boolBodySelect inherited-source rows when true, otherwise direct rows.
reason"reason"Optional[str]Option<String>BodyOptional explanation for the replacement assignment.
type_"type"strStringBodyGrant a permission, or revoke a contribution for a concrete group_role.

Rückgabe None()

client.permissions.update_replace("group_role", 1, auth_id=10130, data_id=[1, 2])
let body = models::PermissionReplace {
    auth_id: 10130,
    data_id: vec![1, 2],
    ..Default::default()
};
client.permissions().update_replace("group_role", 1, &body)?;

DELETE/permissions/{domainType}/{domainId}*

client.permissions.delete()client.permissions().delete()

Delete a raw permission assignment

Deletes stored assignment rows for the owner in the path, authId and inheritance mode. Requires administer persons in churchcore, or specifically a group_role assignment for authId 10130/10131 plus churchdb +admin posts in that role’s actual group. Locked selections may only be changed by an authorized person. Omitting dataId, null or [] removes all selection rows in the chosen inheritance mode; a nonempty list deletes exact selections. -1 does not expand to concrete rows. type/reason do not filter deletion, so both grants and revocations matching the key are removed. Other assignment sources remain effective. Missing rows are harmless. The generic admin path does not verify the owner or permission definition exists, except obsolete authId=10127 returns 410. status/person disallow authId>=10000 and inheritance. The current deletion path does not explicitly invalidate the permission cache.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaAssignment source domain.
domain_idintimpl DisplayPfadjaID of the object in the selected permission domain
auth_id"authId"inti64BodyjaPermission ID. status and person require values below 10000.
data_id"dataId"Optional[List[int]]Option<Vec<i64>>BodyConcrete selections to delete.
is_inherited"isInherited"boolBodySelect inherited-source rows when true, otherwise direct rows.

Rückgabe None()

client.permissions.delete("group_role", 1, auth_id=10130)
let body = models::PermissionDelete {
    auth_id: 10130,
    ..Default::default()
};
client.permissions().delete("group_role", 1, &body)?;

POST/permissions/bulk*

client.permissions.bulk()client.permissions().bulk()

Apply multiple raw permission changes atomically

Applies raw permission changes atomically, including changes for different source owners. All entries are validated and authorized against the state before any writes. The authorization and locked-permission rules of the corresponding single-assignment operations apply to each entry. Any failure leaves all assignments unchanged. Duplicate owner/authId/inheritance keys are rejected. Permission caches are invalidated after commit. save is additive and an empty dataId list writes a null-data row; replace replaces the complete selection and an empty list removes it; delete removes exact selections or the whole assignment when no selections are specified. Validation errors identify fields such as changes.2.authId.

ParameterTypOrtPflichtBeschreibung
changes"changes"List[PermissionBulkChange]Vec<PermissionBulkChange>Bodyja

Rückgabe None()

client.permissions.bulk(
    changes=[ct.models.PermissionBulkChange.model_validate({"domainId": 7, "domainType": "group_type_role"})],
)
let body = models::PostPermissionsBulkBody {
    changes: vec![models::PermissionBulkChange {
        domain_id: 7,
        domain_type: "group_type_role".into(),
        ..Default::default()
    }],
    ..Default::default()
};
client.permissions().bulk(&body)?;

POST/permissions/promote*

client.permissions.promote()client.permissions().promote()

Promote a selected permission grant to a higher assignment target

Promotes one selected global permission grant to a target that must be a higher assignment target for every source. Atomically adds the grant while preserving the target's other selections, and removes only selected direct source grants newly covered indirectly. Revocations, other selections and deep grants are retained. For maximum-level permissions, only the exact selected stored level is removed if covered; other lower levels are retained. Requires "administer persons" in churchcore and authority to change the affected assignments; locked-permission restrictions apply. Any failure leaves all assignments unchanged.

ParameterTypOrtPflichtBeschreibung
auth_id"authId"inti64BodyjaGlobal permission definition ID
data_id"dataId"inti64BodySingle selected permission value.
reason"reason"strStringBodyReason for changing the permission assignment
sources"sources"List[PermissionAssignmentTargetReference]Vec<PermissionAssignmentTargetReference>BodyjaInput order and duplicate references are preserved
target"target"PermissionAssignmentTargetReferenceBodyja

Rückgabe None()

client.permissions.promote(
    auth_id=3,
    sources=[ct.models.PermissionAssignmentTargetReference.model_validate({"domainId": 91, "domainType": "group_role"})],
    target=ct.models.PermissionAssignmentTargetReference.model_validate({"domainId": 91, "domainType": "group_role"}),
)
let body = models::PostPermissionsPromoteBody {
    auth_id: 3,
    sources: vec![models::PermissionAssignmentTargetReference {
        domain_id: 91,
        domain_type: "group_role".into(),
        ..Default::default()
    }],
    target: models::PermissionAssignmentTargetReference {
        domain_id: 91,
        domain_type: "group_role".into(),
        ..Default::default()
    },
    ..Default::default()
};
client.permissions().promote(&body)?;

POST/permissions/assignment-targets/higher-levels/query*

client.permissions.assignment_targets.higher_levels.query()client.permissions().assignment_targets().higher_levels().query()

Query higher permission assignment targets

Requires "administer persons" in churchcore. Returns deduplicated higher assignment targets with indexes into the input sources. For persons, these are effective direct-membership group roles, their group-type role templates, and the current status. System users do not inherit status permissions. Archived persons have no higher targets. A concrete group role has its associated group-type role template as its higher target; statuses and group-type role templates have none.

ParameterTypOrtPflichtBeschreibung
sources"sources"List[PermissionAssignmentTargetReference]Vec<PermissionAssignmentTargetReference>BodyjaInput order and duplicate references are preserved

Rückgabe List[PermissionAssignmentHigherTarget]Vec<PermissionAssignmentHigherTarget>

for higher_level in client.permissions.assignment_targets.higher_levels.query(
    sources=[ct.models.PermissionAssignmentTargetReference.model_validate({"domainId": 91, "domainType": "group_role"})],
):
    print(higher_level.domain_id)
let body = models::PostPermissionsAssignmentTargetsHigherLevelsQueryBody {
    sources: vec![models::PermissionAssignmentTargetReference {
        domain_id: 91,
        domain_type: "group_role".into(),
        ..Default::default()
    }],
    ..Default::default()
};
for higher_level in client.permissions().assignment_targets().higher_levels().query(&body)? {
    println!("{}", higher_level.domain_id);
}

POST/permissions/assignment-targets/person-summary/query*

client.permissions.assignment_targets.person_summary.query()client.permissions().assignment_targets().person_summary().query()

Count persons reached by permission assignment targets

Requires "administer persons" in churchcore. Counts distinct active, non-archived persons reached by each target and by the union of all targets. Memberships must be active; groups must be non-archived and have the permissions feature enabled. System users are excluded from status reach. Results retain input order and duplicate targets. These counts describe target reach, not newly granted concrete permissions.

ParameterTypOrtPflichtBeschreibung
targets"targets"List[PermissionAssignmentTargetReference]Vec<PermissionAssignmentTargetReference>BodyjaInput order and duplicate references are preserved

Rückgabe PostPermissionsAssignmentTargetsPersonSummaryQueryData

person_summary = client.permissions.assignment_targets.person_summary.query(
    targets=[ct.models.PermissionAssignmentTargetReference.model_validate({"domainId": 91, "domainType": "group_role"})],
)
print(person_summary.unique_person_count)
let body = models::PostPermissionsAssignmentTargetsPersonSummaryQueryBody {
    targets: vec![models::PermissionAssignmentTargetReference {
        domain_id: 91,
        domain_type: "group_role".into(),
        ..Default::default()
    }],
    ..Default::default()
};
let person_summary = client.permissions().assignment_targets().person_summary().query(&body)?;
println!("{}", person_summary.unique_person_count);

GET/permissions/global

client.permissions.global_.get()client.permissions().global().get()

Get the current user’s global permissions

Returns effective global permission values for the authenticated user, grouped by active module. No permission-administration grant is required. Includes registered keys even without a grant: boolean flags are false and selection arrays are empty. A maximum-level permission is represented by a one-element array with the effective maximum; unrestricted maximum access uses 99999. Multi-selection grants expand unrestricted access into currently available IDs, so this response cannot distinguish unrestricted access from explicit grants to all current values. Inactive modules are absent; compatibility aliases in churchdb can be null when their source in churchgroup is absent. Use the definitions and origins endpoints for value semantics and assignment provenance. Group-internal permissions and additional object policies are not combined here.

Rückgabe GlobalPermissions

item = client.permissions.global_.get()
print(item)
let item = client.permissions().global().get()?;
println!("{:?}", item);

GET/permissions/global/person-summary

client.permissions.global_.get_person_summary()client.permissions().global().get_person_summary()

Summarize Persons with Global Permissions

Returns every registered global permission of active modules with per-selection counts across non-archived persons. Requires administer persons in churchcore; this administrative overview has no additional person-visibility filter and does not generally exclude system users. Includes zero-count selections. Boolean permissions have one dataId=null selection. Data-field permissions start with unrestricted dataId=-1, followed by configured IDs in ascending order. Maximum grants count toward every configured level up to the effective maximum; unrestricted counts only include grants covering future values. Preview arrays contain the first three matching person IDs in ascending order. Permissions follow definition order. Counts across selections can overlap. No pagination or full person lists are returned; load /permissions/global/auths/{authId}/persons for one selection.

Rückgabe GetPermissionsGlobalPersonSummaryData

person_summary = client.permissions.global_.get_person_summary()
print(person_summary)
let person_summary = client.permissions().global().get_person_summary()?;
println!("{:?}", person_summary);

GET/permissions/global/auths/{authId}/assignment-summary

client.permissions.global_.auths.get_assignment_summary()client.permissions().global().auths().get_assignment_summary()mit Filtern: .get_assignment_summary_with(&GetPermissionsGlobalAuthsAuthIdAssignmentSummaryQuery)

Summarize assignments of a global permission

Summarizes assignment sources for one global permission selection across non-archived persons. Requires administer persons in churchcore; does not filter the population to persons individually visible to the caller. data_id is required for selectable permissions and forbidden for boolean permissions; -1 selects genuinely unrestricted grants. Status, group-type-role, group-role and direct-person assignments are grouped into separate lists. Counts are distinct within one entry and can overlap across entries. Logged-in defaults, public-user rights and super-admin status count toward effectivePersonCount but have no breakdown entries, so the total need not match the sum even without overlapping assignments. Revoked sources are excluded. Unknown, inactive or group-internal authId values return 404. The result is not paginated.

ParameterTypOrtPflichtBeschreibung
auth_idintimpl DisplayPfadjaNumeric permission key from the internal authorization table
data_idinti64QueryRequired for a permission with selectable values, and forbidden for a boolean permission.

Rückgabe PermissionAssignmentSummary

assignment_summary = client.permissions.global_.auths.get_assignment_summary(125)
print(assignment_summary.auth_id)
let assignment_summary = client.permissions().global().auths().get_assignment_summary(125)?;
println!("{}", assignment_summary.auth_id);

GET/permissions/global/auths/{authId}/persons

client.permissions.global_.auths.get_persons()client.permissions().global().auths().get_persons()mit Filtern: .get_persons_with(&GetPermissionsGlobalAuthsAuthIdPersonsQuery)

List Persons with a Global Permission

Lists non-archived persons with one effective global permission selection, in ascending numeric ID order. Requires administer persons in churchcore; there is no additional person-visibility filter or general exclusion of system users. Contributions from direct assignments, status, group roles, public-user rights, logged-in defaults and super-admin status are combined. For selectable permissions, data_id is required: a configured ID selects that value and -1 selects genuinely unrestricted access to current and future values. Maximum permissions match when their effective maximum reaches the requested value. For boolean permissions data_id must be omitted, and the selection has dataId=null. Unknown, inactive or internal authId values return 404; invalid/missing selections return 400. By default all matching IDs are returned. Supplying page, limit OR include=origins enables pagination, defaulting to page 1 and limit 50. include=origins adds contributing, non-revoked sources for each person on that page. Pagination metadata is inside data.meta.

ParameterTypOrtPflichtBeschreibung
auth_idintimpl DisplayPfadjaNumeric permission key from the internal authorization table
data_idinti64QueryRequired for a permission with selectable values, and forbidden for a boolean permission.
pageinti64QueryOne-based page. Providing page, limit or include=origins enables pagination; otherwise all matching IDs are returned.
limitinti64QueryPage size, 1–100. Providing it enables pagination; page defaults to 1.
includestrStringQueryAdd origins for each person on the page.

Rückgabe PermissionPersons

person = client.permissions.global_.auths.get_persons(125)
print(person.auth_id)
let person = client.permissions().global().auths().get_persons(125)?;
println!("{}", person.auth_id);

GET/permissions/internal/events/{eventId}

client.permissions.internal.events.get()client.permissions().internal().events().get()

Lookup event-related internal permissions

Calculates internal group permissions for the currently logged-in person from groups connected to service roles. internalPerms contains event-level grants, while serviceGroups and services are maps keyed by master-data IDs. Only granted keys appear and their values are true; an empty area is returned as []. Role and service-group grants are collected across connected roles and do not require an assignment in this event.

ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event

Rückgabe InternalEventPermissions

event = client.permissions.internal.events.get(42)
print(event)
let event = client.permissions().internal().events().get(42)?;
println!("{:?}", event);

GET/permissions/internal/groups

client.permissions.internal.groups.list()client.permissions().internal().groups().list()

Get the current user’s internal permissions by group

Calculates the authenticated user’s group-internal permissions from active memberships, role assignments and inheritance through the group hierarchy. Returns an unpaginated map keyed by target group ID, or [] when there are no calculated groups. Values are grouped by active module, including false/0 defaults for registered keys without grants. This is an internal-permission calculation, not a list of visible groups or a complete authorization decision: global grants and object policies are separate. No permission-administration grant is required. The legacy +create posts flag is derived only by the single-group endpoint, not here.

Rückgabe Union[StrMap[InternalGroupPermissions], List[InternalGroupPermissions]]serde_json::Value

result = client.permissions.internal.groups.list()
print(result)
let result = client.permissions().internal().groups().list()?;
println!("{:?}", result);

GET/permissions/internal/groups/{groupId}

client.permissions.internal.groups.get()client.permissions().internal().groups().get()

Get the current user’s internal permissions for a group

Calculates the authenticated user’s group-internal permissions for the target group, including inherited grants from superior groups. Values are grouped by active module. Registered flags without grants are false; level/selection values without grants are 0. Maximum-level grants are integers (99999 for unrestricted), while multiple selections are integer arrays. No permission-administration grant or group-visibility check is performed, and the group is not loaded: an unknown group ID returns the default permission structure rather than 404. Global grants and object policies are separate, so this response is not a complete authorization decision. Unlike the all-groups endpoint, this response includes legacy +create posts, derived as the conjunction of internal and visible post-creation grants.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe InternalGroupPermissions

group = client.permissions.internal.groups.get(42)
print(group)
let group = client.permissions().internal().groups().get(42)?;
println!("{:?}", group);

GET/permissions/internal/groups/{groupId}/auths/{authId}/persons

client.permissions.internal.groups.auths.get_persons()client.permissions().internal().groups().auths().get_persons()mit Filtern: .get_persons_with(&GetPermissionsInternalGroupsGroupIdAuthsAuthIdPersonsQuery)

List Persons with a Group-Internal Permission

Lists non-archived persons with one effective group-internal permission in the target group, combining direct and inherited grants and excluding revoked contributions. Requires administer persons in churchcore. The group must exist, but no additional group/person visibility check is performed. For selectable permissions data_id is required: a configured ID yields one selection, while -1 yields one selection for each currently configured value in ascending order, possibly none. Unlike the global endpoint, -1 does not mean only persons with unrestricted grants. Maximum permissions match every requested level up to the effective maximum. For boolean permissions omit data_id; the single selection then has dataId=null. Person IDs are sorted numerically. No pagination or include=origins option is implemented here. Unknown groups and unknown, inactive or global authId values return 404; invalid selection combinations return 400.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
auth_idintimpl DisplayPfadjaNumeric permission key from the internal authorization table
data_idinti64QueryFor group-internal permissions with selection values, this parameter is required: a configured ID selects one value and -1 expands into all current configured IDs, in ascending order.

Rückgabe PermissionPersons

person = client.permissions.internal.groups.auths.get_persons(42, 125)
print(person.auth_id)
let person = client.permissions().internal().groups().auths().get_persons(42, 125)?;
println!("{}", person.auth_id);

GET/permissions/internal/persons/{personId}

client.permissions.internal.persons.get()client.permissions().internal().persons().get()

Get the current user’s internal permissions toward a person

Calculates what the authenticated user is granted through group-internal permissions toward the target person. It does not return that person’s own grants. The target groups come from the person’s memberships in non-archived groups, currently including requested, waiting and to-delete memberships. The caller’s effective internal grants across those groups are combined by maximum value for person-related keys. Missing flags are false and missing levels are 0; unrestricted levels use 99999. No person-visibility or existence check is performed, so an unknown person ID returns default values rather than 404. Global grants and additional person policies are not included. +edit persons is a deprecated boolean derived from the modern person-field level. Service-module keys are absent when that module is inactive.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe InternalPersonPermissions

person = client.permissions.internal.persons.get(42)
print(person)
let person = client.permissions().internal().persons().get(42)?;
println!("{:?}", person);

GET/permissions/origins/global/{domainType}/{domainId}

client.permissions.origins.global_.get()client.permissions().origins().global().get()

Explain global permissions of a status or group-type role

Requires "administer persons" in churchcore. Combines the target's direct global grants with the public-user baseline from person -1. Includes directValue, indirectValue and redundantDataIds from the shared assignment metadata calculation. Group-type-role origins have no groupId when explaining the template itself. Group-internal permissions and parent-group inheritance are excluded. Unknown targets have no origins.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaAssignment target domain
domain_idintimpl DisplayPfadjaStatus or group-type-role ID

Rückgabe GetPermissionsOriginsGlobalDomainTypeDomainIdData

item = client.permissions.origins.global_.get("status", 1)
print(item.domain_id)
let item = client.permissions().origins().global().get("status", 1)?;
println!("{}", item.domain_id);

GET/permissions/origins/global/group-roles/{groupRoleId}

client.permissions.origins.global_.group_roles.get()client.permissions().origins().global().group_roles().get()

Explain global permissions of a concrete group role

Requires "administer persons" in churchcore. Combines direct role grants and the group-type role template with allowed revocations applied, plus the public-user baseline from person -1. Includes directValue, indirectValue and redundantDataIds, using the same calculation as assignment-target statistics. Unknown IDs return an empty permissions array. Deep grants describe propagation, not upstream inheritance. Roles of archived groups retain inspectable configuration and template inheritance.

ParameterTypOrtPflichtBeschreibung
group_role_idintimpl DisplayPfadjaConcrete group role ID, not the group or template ID

Rückgabe GetPermissionsOriginsGlobalGroupRolesGroupRoleIdData

group_role = client.permissions.origins.global_.group_roles.get(91)
print(group_role.group_role_id)
let group_role = client.permissions().origins().global().group_roles().get(91)?;
println!("{}", group_role.group_role_id);

GET/permissions/origins/global/persons/{personId}

client.permissions.origins.global_.persons.get()client.permissions().origins().global().persons().get()

Explain Global Permissions of a Person

Explains global permission sources for the person specified in the path. Requires administer persons in churchcore even for the caller’s own ID. Sources include logged-in defaults, public-user rights, person status, direct person assignments, direct group/group-type roles and super-admin status. Only active memberships in groups that grant permissions contribute; archived persons have no normal origin data. No person-visibility or existence check is performed: unknown IDs return the requested personId with an empty permissions array rather than 404. Archived persons retain stored direct configuration with zero effective values. Entries include directValue, indirectValue and redundantDataIds from the assignment-target statistics calculation, and follow active permission-definition order; each origin carries its own contribution and the entry carries the combined value. Global maximum-level values are integers here, unlike the arrays used by /permissions/global. No pagination is applied.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person

Rückgabe GetPermissionsOriginsGlobalPersonsPersonIdData

person = client.permissions.origins.global_.persons.get(42)
print(person.person_id)
let person = client.permissions().origins().global().persons().get(42)?;
println!("{}", person.person_id);

GET/permissions/origins/internal/persons/{personId}

client.permissions.origins.internal.persons.get()client.permissions().origins().internal().persons().get()mit Filtern: .get_with(&GetPermissionsOriginsInternalPersonsPersonIdQuery)

Explain Group Internal Permissions of a Person

Explains the specified person’s group-internal (+) permission origins, grouped by target group. Requires administer persons in churchcore; no additional person/group visibility check is performed. Origins are group-role and group-type-role assignments from active memberships. inherited=true identifies a grant reaching the target through a superior group; origin.groupId is the donor group, while the outer groupId is the target. revokedByGroupRoleId marks a contribution canceled by that group role. Entries with only revoked contributions are still returned with false, 0 or [] as effectiveValue, so presence alone does not mean access is granted. Omit group_ids to inspect all targets; an explicit empty array selects none. Unknown target IDs and targets without recorded contributions are omitted. Unknown or archived person IDs return the requested personId and an empty groups array. Permissions follow definition order; no explicit group ordering or pagination is applied.

ParameterTypOrtPflichtBeschreibung
person_idintimpl DisplayPfadjaID of person
group_idsList[int]Vec<i64>QueryTarget group IDs to inspect.

Rückgabe GetPermissionsOriginsInternalPersonsPersonIdData

person = client.permissions.origins.internal.persons.get(42)
print(person.person_id)
let person = client.permissions().origins().internal().persons().get(42)?;
println!("{}", person.person_id);

GET/logs

client.logs.list()client.logs().list()mit Filtern: .list_with(&GetLogsQuery)seitenweise

Get all log messages

The response is a collection of all log messages you may see and is limited to a specific number of messages. You can use the page parameter to browse the list of log messages. The logs are ordered by date.

ParameterTypOrtPflichtBeschreibung
messagestrStringQueryFilter by text
levelsList[str]Vec<String>QueryFilter by log level ID
beforestrStringQueryFilter log messages before that date.
afterstrStringQueryFilter log messages after that date.
person_idinti64QueryFilter by person
limitinti64QueryNumber of results per page.

Rückgabe Paginator[Log]Vec<Log>

for log in client.logs.list():
    print(log.id)
for log in client.logs().list()? {
    println!("{}", log.id);
}

GET/logs/{id}

client.logs.get()client.logs().get()

Get a log message

Fetch one specific log message by its ID.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe Log

log = client.logs.get(1)
print(log.id)
let log = client.logs().get(1)?;
println!("{}", log.id);

GET/logs/statistics/login

client.logs.statistics.list_login()client.logs().statistics().list_login()mit Filtern: .list_login_with(&GetLogsStatisticsLoginQuery)seitenweise

Get statistics about login counts of users.

ParameterTypOrtPflichtBeschreibung
order_bystrStringQueryOrder the pagination result.
limitinti64QueryNumber of results per page.

Rückgabe Paginator[GetLogsStatisticsLoginDataItem]Vec<GetLogsStatisticsLoginDataItem>

for login in client.logs.statistics.list_login():
    print(login.last_login)
for login in client.logs().statistics().list_login()? {
    println!("{}", login.last_login);
}

GET/securitylevels

client.security_levels.list()client.security_levels().list()

get all securitylevels

Returns hierarchical access thresholds, not an independent display order. Lower levels are included in higher levels. IDs may change during order-preserving renumbering; internal references are updated automatically, while external integrations must refresh stored mappings.

Rückgabe List[SecurityLevel]Vec<SecurityLevel>

for security_level in client.security_levels.list():
    print(security_level.name)
for security_level in client.security_levels().list()? {
    println!("{}", security_level.name);
}

GET/securitylevels/{id}

client.security_levels.get()client.security_levels().get()

Get a particular security level

Returns the security level in data. The same entity fields are also returned at the top level for backward compatibility. New consumers should use data.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe SecurityLevel

security_level = client.security_levels.get(1)
print(security_level.name)
let security_level = client.security_levels().get(1)?;
println!("{}", security_level.name);

POST/securitylevels/{id}

client.security_levels.create()client.security_levels().create()

Create a new security Level

Creates a security level. Returns the created security level in data, with the same entity fields also returned at the top level for backward compatibility. New consumers should use data. Choose a free ID between 1 and 99997 to insert a level without renumbering existing levels. Requires "edit masterdata" in "churchdb".

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
name"name"strStringBody

Rückgabe GetSecuritylevelsIdResponse

result = client.security_levels.create(1, name="Hauskreis Nord")
print(result.name)
let body = models::PostSecuritylevelsIdBody {
    name: Some("Hauskreis Nord".into()),
    ..Default::default()
};
let result = client.security_levels().create(1, &body)?;
println!("{}", result.name);

PATCH/securitylevels/{id}

client.security_levels.patch()client.security_levels().patch()mit Filtern: .patch_with(&PatchSecuritylevelsIdQuery)

Update the security level

Changes the security level. Returns the updated security level in data, with the same entity fields also returned at the top level for backward compatibility. New consumers should use data. ID changes must preserve the relative order of all existing security levels. Requires "edit masterdata" in "churchdb".

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
forcereorderboolQueryIgnored; changes to the hierarchy are always rejected.
expected_name"expectedName"strStringBodyOriginal name from the loaded level; a mismatch rejects the request with 409.
forcereorder2"forcereorder"boolBodyIgnored; changes to the hierarchy are always rejected.
name"name"strStringBody
newid"newid"inti64BodyA free ID between 1 and 99997 that preserves the hierarchy.

Rückgabe GetSecuritylevelsIdResponse

result = client.security_levels.patch(1, name="Hauskreis Nord")
print(result.name)
let body = models::PatchSecuritylevelsIdBody {
    name: Some("Hauskreis Nord".into()),
    ..Default::default()
};
let result = client.security_levels().patch(1, &body)?;
println!("{}", result.name);

DELETE/securitylevels/{id}

client.security_levels.delete()client.security_levels().delete()mit Filtern: .delete_with(&DeleteSecuritylevelsIdQuery)

Delete the Security Level

Delete a security level

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryIf set to true, the deletion is simulated but nothing will be deleted.
expected_namestrStringQueryOriginal name from the loaded level; a mismatch rejects the request with 409.

Rückgabe None()

client.security_levels.delete(1)
client.security_levels().delete(1)?;

POST/securitylevels/renumber

client.security_levels.renumber()client.security_levels().renumber()

Renumber security levels without changing their hierarchy

Renumbers security levels atomically to create gaps for inserting new levels, preserving their relative order. Updates internal security-level references and permissions. External integrations must refresh stored security-level IDs after this operation. Requires "edit masterdata" in "churchdb". Returns 403 without changing data if group-member-field thresholds or security-level grants reference unknown levels. Valid sentinel values remain unchanged, including grants stored as -1 for unrestricted access.

Rückgabe None()

client.security_levels.renumber()
client.security_levels().renumber()?;

Sync

55 Endpunkte im Überblick

GET/sync/executions

client.sync.list_executions()client.sync().list_executions()mit Filtern: .list_executions_with(&GetSyncExecutionsQuery)seitenweise

List sync execution summaries

Returns background executions ordered by creation date descending and job ID ascending. Counts are derived from operation logs.

ParameterTypOrtPflichtBeschreibung
limitinti64QueryNumber of results per page.
es_idsList[int]Vec<i64>QueryFilter by external connection IDs.
job_idsList[int]Vec<i64>QueryFilter by job configuration IDs.
start_datedateNaiveDateQueryFirst included log day.
end_datedateNaiveDateQueryLast included log day.
statusesList[str]Vec<String>QueryBackground execution statuses.
is_dry_runboolQueryFilter by dry-run mode.
has_errorsboolQueryFilter by errors. An execution has errors when its status is ERROR or it has logs at level error, critical, alert or emergency.

Rückgabe Paginator[SyncExecutionSummary]Vec<SyncExecutionSummary>

for execution in client.sync.list_executions():
    print(execution.created_date)
for execution in client.sync().list_executions()? {
    println!("{:?}", execution.created_date);
}

GET/sync/jobconfigs

client.sync.list_job_configs()client.sync().list_job_configs()mit Filtern: .list_job_configs_with(&GetSyncJobconfigsQuery)

List sync job configurations

Lists job configurations ordered by name.

ParameterTypOrtPflichtBeschreibung
external_system_idsList[int]Vec<i64>QueryRestrict to these external connection IDs.

Rückgabe List[JobConfigurationReturn]Vec<JobConfigurationReturn>

for job_config in client.sync.list_job_configs():
    print(job_config.name)
for job_config in client.sync().list_job_configs()? {
    println!("{}", job_config.name);
}

GET/sync/logs

client.sync.list_logs()client.sync().list_logs()mit Filtern: .list_logs_with(&GetSyncLogsQuery)seitenweise

List sync log entries

Returns rendered log messages ordered by log ID descending.

10 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
limitinti64QueryNumber of results per page.
es_idsList[int]Vec<i64>QueryFilter by external connection IDs.
job_idsList[int]Vec<i64>QueryFilter by job configuration IDs.
execution_idsList[str]Vec<String>QueryFilter by background execution IDs.
start_datedateNaiveDateQueryFirst included log day.
end_datedateNaiveDateQueryLast included log day.
typesList[str]Vec<String>QueryOperation types.
levelsList[str]Vec<String>QueryLog severities.
querystrStringQuerySubstring search in rendered log messages.
is_dry_runboolQuerySelect dry-run or actual-execution logs.

Rückgabe Paginator[SyncLog]Vec<SyncLog>

for log in client.sync.list_logs():
    print(log.id)
for log in client.sync().list_logs()? {
    println!("{}", log.id);
}

POST/sync/logs*

client.sync.create_logs()client.sync().create_logs()

Store sync log entries

Stores log entries. messageKey, translation arguments and changes are rendered into a stored message.

ParameterTypOrtPflichtBeschreibung
logs"logs"List[SyncLogCreate]Vec<SyncLogCreate>Bodyja

Rückgabe SyncLogsPersisted

result = client.sync.create_logs(
    logs=[ct.models.SyncLogCreate.model_validate({"date": "2022-10-19T12:00:00Z", "executionId": "abc123", "jobId": 42, "level": "debug", "messageKey": "Hallo zusammen", "type": "create"})],
)
print(result.persisted)
let body = models::SyncLogsCreate {
    logs: vec![models::SyncLogCreate {
        date: "2022-10-19T12:00:00Z".parse()?,
        execution_id: "abc123".into(),
        job_id: 42,
        level: "debug".into(),
        message_key: "Hallo zusammen".into(),
        r#type: "create".into(),
        ..Default::default()
    }],
    ..Default::default()
};
let result = client.sync().create_logs(&body)?;
println!("{}", result.persisted);

GET/sync/adapters

client.sync.adapters.list()client.sync().adapters().list()

List sync adapters

Lists registered adapter services. An adapter translates between the Sync worker and a system-specific API.

Rückgabe List[SyncAdapter]Vec<SyncAdapter>

for adapter in client.sync.adapters.list():
    print(adapter.name)
for adapter in client.sync().adapters().list()? {
    println!("{}", adapter.name);
}

GET/sync/adapters/{id}

client.sync.adapters.get()client.sync().adapters().get()

Get a sync adapter

Returns adapter settings with a masked token.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe SyncAdapter

adapter = client.sync.adapters.get(1)
print(adapter.name)
let adapter = client.sync().adapters().get(1)?;
println!("{}", adapter.name);

POST/sync/adapters*

client.sync.adapters.create()client.sync().adapters().create()

Register a sync adapter

Registers the service URL and authentication token of an adapter. Registration does not configure an external connection.

ParameterTypOrtPflichtBeschreibung
name"name"strStringBodyjaUnique adapter lookup name used by external systems and the proxy.
token"token"strStringBodyjaAuthentication token sent to the adapter.
url"url"strStringBodyjaBase URL of the adapter service.

Rückgabe SyncAdapter

result = client.sync.adapters.create(
    name="churchtools",
    token="kfghsjdlkfigblszurglizeifuz4",
    url="http://localhost:8090",
)
print(result.name)
let body = models::SyncAdapterCreate {
    name: "churchtools".into(),
    token: "kfghsjdlkfigblszurglizeifuz4".into(),
    url: "http://localhost:8090".into(),
    ..Default::default()
};
let result = client.sync().adapters().create(&body)?;
println!("{}", result.name);

PUT/sync/adapters/{id}*

client.sync.adapters.update()client.sync().adapters().update()

Replace sync adapter settings

Replaces the adapter name, URL and authentication token.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
name"name"strStringBodyjaUnique adapter lookup name used by external systems and the proxy.
token"token"strStringBodyjaAuthentication token sent to the adapter.
url"url"strStringBodyjaBase URL of the adapter service.

Rückgabe SyncAdapter

result = client.sync.adapters.update(
    1,
    name="churchtools",
    token="kfghsjdlkfigblszurglizeifuz4",
    url="http://localhost:8090",
)
print(result.name)
let body = models::SyncAdapterUpdate {
    name: "churchtools".into(),
    token: "kfghsjdlkfigblszurglizeifuz4".into(),
    url: "http://localhost:8090".into(),
    ..Default::default()
};
let result = client.sync().adapters().update(1, &body)?;
println!("{}", result.name);

DELETE/sync/adapters/{id}*

client.sync.adapters.delete()client.sync().adapters().delete()mit Filtern: .delete_with(&DeleteSyncAdaptersIdQuery)

Delete a sync adapter

Deletes the adapter registration. External connections referencing it block deletion.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
dry_runboolQueryReturn a deletion report without deleting.

Rückgabe None()

client.sync.adapters.delete(1)
client.sync().adapters().delete(1)?;

GET/sync/adapters/{adapterName}/proxy/{uri}

client.sync.adapters.proxy.get()client.sync().adapters().proxy().get()

Proxy GET to a sync adapter

Forwards the HTTP method and query parameters to the adapter’s /api/{uri} route. Response status, body and Content-Type come from the adapter without a data wrapper. Uses the registered adapter token.

ParameterTypOrtPflichtBeschreibung
adapter_namestrimpl DisplayPfadjaRegistered adapter name; custom adapters are supported.
uristrimpl DisplayPfadjaAdapter-relative route below /api/, including any nested path segments.

Rückgabe None()

client.sync.adapters.proxy.get("churchtools", "adapter/info")
client.sync().adapters().proxy().get("churchtools", "adapter/info")?;

POST/sync/adapters/{adapterName}/proxy/{uri}*

client.sync.adapters.proxy.create()client.sync().adapters().proxy().create()

Proxy POST to a sync adapter

Forwards the HTTP method and query parameters to the adapter’s /api/{uri} route. Response status, body and Content-Type come from the adapter without a data wrapper. Uses the registered adapter token.

ParameterTypOrtPflichtBeschreibung
adapter_namestrimpl DisplayPfadjaRegistered adapter name; custom adapters are supported.
uristrimpl DisplayPfadjaAdapter-relative route below /api/, including any nested path segments.

Rückgabe None()

client.sync.adapters.proxy.create("churchtools", "adapter/info")
client.sync().adapters().proxy().create("churchtools", "adapter/info")?;

PUT/sync/adapters/{adapterName}/proxy/{uri}*

client.sync.adapters.proxy.update()client.sync().adapters().proxy().update()

Proxy PUT to a sync adapter

Forwards the HTTP method and query parameters to the adapter’s /api/{uri} route. Response status, body and Content-Type come from the adapter without a data wrapper. Uses the registered adapter token.

ParameterTypOrtPflichtBeschreibung
adapter_namestrimpl DisplayPfadjaRegistered adapter name; custom adapters are supported.
uristrimpl DisplayPfadjaAdapter-relative route below /api/, including any nested path segments.

Rückgabe None()

client.sync.adapters.proxy.update("churchtools", "adapter/info")
client.sync().adapters().proxy().update("churchtools", "adapter/info")?;

PATCH/sync/adapters/{adapterName}/proxy/{uri}*

client.sync.adapters.proxy.patch()client.sync().adapters().proxy().patch()

Proxy PATCH to a sync adapter

Forwards the HTTP method and query parameters to the adapter’s /api/{uri} route. Response status, body and Content-Type come from the adapter without a data wrapper. Uses the registered adapter token.

ParameterTypOrtPflichtBeschreibung
adapter_namestrimpl DisplayPfadjaRegistered adapter name; custom adapters are supported.
uristrimpl DisplayPfadjaAdapter-relative route below /api/, including any nested path segments.

Rückgabe None()

client.sync.adapters.proxy.patch("churchtools", "adapter/info")
client.sync().adapters().proxy().patch("churchtools", "adapter/info")?;

DELETE/sync/adapters/{adapterName}/proxy/{uri}*

client.sync.adapters.proxy.delete()client.sync().adapters().proxy().delete()

Proxy DELETE to a sync adapter

Forwards the HTTP method and query parameters to the adapter’s /api/{uri} route. Response status, body and Content-Type come from the adapter without a data wrapper. Uses the registered adapter token.

ParameterTypOrtPflichtBeschreibung
adapter_namestrimpl DisplayPfadjaRegistered adapter name; custom adapters are supported.
uristrimpl DisplayPfadjaAdapter-relative route below /api/, including any nested path segments.

Rückgabe None()

client.sync.adapters.proxy.delete("churchtools", "adapter/info")
client.sync().adapters().proxy().delete("churchtools", "adapter/info")?;

GET/sync/conflicts

client.sync.conflicts.list()client.sync().conflicts().list()mit Filtern: .list_with(&GetSyncConflictsQuery)seitenweise

List sync conflicts

Filters on source and domain refer to the linked entity mapping. Conflict jobId identifies the producing sync run, not a job configuration. Requires "churchcore: administer persons" permission.

ParameterTypOrtPflichtBeschreibung
limitinti64QueryNumber of results per page.
typesList[str]Vec<String>QueryConflict categories.
domain_typesList[str]Vec<String>QueryDomains of linked entity mappings.
source_idsList[int]Vec<i64>QueryExternal connection IDs of linked entity mappings.

Rückgabe Paginator[SyncConflicts]Vec<SyncConflicts>

for conflict in client.sync.conflicts.list():
    print(conflict.id)
for conflict in client.sync().conflicts().list()? {
    println!("{}", conflict.id);
}

GET/sync/conflicts/{id}*

client.sync.conflicts.get()client.sync().conflicts().get()

Get a sync conflict

Returns one conflict and its supporting key/value data. Requires "churchcore: administer persons" permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe SyncConflicts

conflict = client.sync.conflicts.get(1)
print(conflict.id)
let conflict = client.sync().conflicts().get(1)?;
println!("{}", conflict.id);

POST/sync/conflicts*

client.sync.conflicts.create()client.sync().conflicts().create()

Record a sync conflict

Creates a conflict record. Requires "churchcore: administer persons" permission.

ParameterTypOrtPflichtBeschreibung
data"data"List[SyncConflictDataCreate]Vec<SyncConflictDataCreate>Bodyja
entity_mapping_id"entityMappingId"inti64BodyjaRelationship affected by the conflict.
job_id"jobId"strStringBodyjaIdentifier of the sync job run that produced the conflict; not the numeric job configuration ID.
type_"type"strStringBodyjaConflict category. Values use underscores and are case-sensitive; CT denotes ChurchTools.

Rückgabe SyncConflicts

result = client.sync.conflicts.create(
    data=[ct.models.SyncConflictDataCreate.model_validate({"key": "abc123", "value": "beispiel"})],
    entity_mapping_id=1,
    job_id="7e31c399-91b1-4148-bfdd-6c05b557a25c",
    type_="create",
)
print(result.id)
let body = models::SyncConflictCreate {
    data: vec![models::SyncConflictDataCreate {
        key: "abc123".into(),
        value: "beispiel".into(),
        ..Default::default()
    }],
    entity_mapping_id: 1,
    job_id: "7e31c399-91b1-4148-bfdd-6c05b557a25c".into(),
    r#type: "create".into(),
    ..Default::default()
};
let result = client.sync().conflicts().create(&body)?;
println!("{}", result.id);

PUT/sync/conflicts/{id}*

client.sync.conflicts.update()client.sync().conflicts().update()

Replace a sync conflict

Replaces job, relationship, type and all conflict data. This does not modify either synchronized record. Requires "churchcore: administer persons" permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
data"data"List[SyncConflictDataCreate]Vec<SyncConflictDataCreate>Bodyja
entity_mapping_id"entityMappingId"inti64BodyjaRelationship affected by the conflict.
job_id"jobId"strStringBodyjaIdentifier of the sync job run that produced the conflict; not the numeric job configuration ID.
type_"type"strStringBodyjaConflict category. Values use underscores and are case-sensitive; CT denotes ChurchTools.

Rückgabe SyncConflicts

result = client.sync.conflicts.update(
    1,
    data=[ct.models.SyncConflictDataCreate.model_validate({"key": "abc123", "value": "beispiel"})],
    entity_mapping_id=1,
    job_id="7e31c399-91b1-4148-bfdd-6c05b557a25c",
    type_="create",
)
print(result.id)
let body = models::SyncConflictUpdate {
    data: vec![models::SyncConflictDataCreate {
        key: "abc123".into(),
        value: "beispiel".into(),
        ..Default::default()
    }],
    entity_mapping_id: 1,
    job_id: "7e31c399-91b1-4148-bfdd-6c05b557a25c".into(),
    r#type: "create".into(),
    ..Default::default()
};
let result = client.sync().conflicts().update(1, &body)?;
println!("{}", result.id);

DELETE/sync/conflicts/{id}*

client.sync.conflicts.delete()client.sync().conflicts().delete()

Delete a sync conflict

Removes the conflict record without resolving or modifying the underlying records. Missing conflicts also return 204. Requires "churchcore: administer persons" permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe None()

client.sync.conflicts.delete(1)
client.sync().conflicts().delete(1)?;

GET/sync/entitymappings

client.sync.entity_mappings.list()client.sync().entity_mappings().list()mit Filtern: .list_with(&GetSyncEntitymappingsQuery)seitenweise

List entity mappings

Lists relationships between ChurchTools records and external records, newest mapping ID first. domainId and sourceEntityId are record identifiers; sourceId identifies the external connection. Requires "churchcore: administer persons" permission.

ParameterTypOrtPflichtBeschreibung
limitinti64QueryNumber of results per page.
domain_typeList[str]Vec<String>QueryRestrict to these ChurchTools domains.
domain_idList[str]Vec<String>QueryFilter ChurchTools record IDs, represented as strings.
source_entity_idList[str]Vec<String>QueryFilter external record IDs.
source_idstrStringQueryExternal connection ID as a string.
scopestrStringQueryAdapter-specific context key.

Rückgabe Paginator[SyncEntityMapping]Vec<SyncEntityMapping>

for entity_mapping in client.sync.entity_mappings.list():
    print(entity_mapping.id)
for entity_mapping in client.sync().entity_mappings().list()? {
    println!("{}", entity_mapping.id);
}

GET/sync/entitymappings/{id}

client.sync.entity_mappings.get()client.sync().entity_mappings().get()

Get an entity mapping

Returns a stored relationship. Requires "churchcore: administer persons" permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe SyncEntityMapping

entity_mapping = client.sync.entity_mappings.get(1)
print(entity_mapping.id)
let entity_mapping = client.sync().entity_mappings().get(1)?;
println!("{}", entity_mapping.id);

POST/sync/entitymappings*

client.sync.entity_mappings.create()client.sync().entity_mappings().create()

Create an entity mapping

Registers a relationship without creating either underlying record. Provided ChurchTools or external IDs must not be linked for the same domain and source. Requires "churchcore: administer persons" permission.

ParameterTypOrtPflichtBeschreibung
domain_id"domainId"Optional[str]Option<String>BodyjaChurchTools entity ID as text.
domain_type"domainType"strStringBodyjaChurchTools domain types accepted by entity and field mapping validation.
last_synced_date"lastSyncedDate"Optional[datetime]Option<DateTime<Utc>>BodyLast synchronization timestamp.
scope"scope"Optional[str]Option<String>BodyAdapter-specific context key.
source_entity_id"sourceEntityId"Optional[str]Option<String>BodyjaID in the external system.
source_id"sourceId"inti64BodyjaExternal connection ID (the source system).
status"status"strStringBodyjaState of the relationship: synchronized, unresolved conflict, or deleted in ChurchTools.

Rückgabe SyncEntityMapping

result = client.sync.entity_mappings.create(
    domain_id="42",
    domain_type="status",
    source_entity_id="p-42",
    source_id=1,
    status="synced",
)
print(result.id)
let body = models::SyncEntityMappingCreate {
    domain_id: Some("42".into()),
    domain_type: "status".into(),
    source_entity_id: Some("p-42".into()),
    source_id: 1,
    status: "synced".into(),
    ..Default::default()
};
let result = client.sync().entity_mappings().create(&body)?;
println!("{}", result.id);

PUT/sync/entitymappings/{id}*

client.sync.entity_mappings.update()client.sync().entity_mappings().update()

Update or create an entity mapping

Updates the relationship. Requires "churchcore: administer persons" permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
domain_id"domainId"Optional[str]Option<String>BodyjaChurchTools entity ID as text.
domain_type"domainType"strStringBodyjaChurchTools domain types accepted by entity and field mapping validation.
last_synced_date"lastSyncedDate"Optional[datetime]Option<DateTime<Utc>>BodyLast synchronization timestamp.
scope"scope"Optional[str]Option<String>BodyAdapter-specific context key.
source_entity_id"sourceEntityId"Optional[str]Option<String>BodyjaID in the external system.
source_id"sourceId"inti64BodyjaExternal connection ID (the source system).
status"status"strStringBodyjaState of the relationship: synchronized, unresolved conflict, or deleted in ChurchTools.

Rückgabe SyncEntityMapping

result = client.sync.entity_mappings.update(
    1,
    domain_id="42",
    domain_type="status",
    source_entity_id="p-42",
    source_id=1,
    status="synced",
)
print(result.id)
let body = models::SyncEntityMappingUpdate {
    domain_id: Some("42".into()),
    domain_type: "status".into(),
    source_entity_id: Some("p-42".into()),
    source_id: 1,
    status: "synced".into(),
    ..Default::default()
};
let result = client.sync().entity_mappings().update(1, &body)?;
println!("{}", result.id);

DELETE/sync/entitymappings/{id}*

client.sync.entity_mappings.delete()client.sync().entity_mappings().delete()

Delete an entity mapping

Removes only the stored relationship; neither the ChurchTools record nor the external record is deleted. A missing mapping also returns 204. Requires "churchcore: administer persons" permission.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity

Rückgabe None()

client.sync.entity_mappings.delete(1)
client.sync().entity_mappings().delete(1)?;

GET/sync/externalsystems

client.sync.externalsystems.list()client.sync().externalsystems().list()

List external connections

Lists configured connections, including their adapter names and job counts. A connection identifies one external installation or account; several can use the same adapter.

Rückgabe List[ExternalSystem]Vec<ExternalSystem>

for externalsystem in client.sync.externalsystems.list():
    print(externalsystem.name)
for externalsystem in client.sync().externalsystems().list()? {
    println!("{}", externalsystem.name);
}

GET/sync/externalsystems/{externalSystemId}

client.sync.externalsystems.get()client.sync().externalsystems().get()

Get an external connection

Returns connection settings with masked access credentials.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.

Rückgabe ExternalSystem

externalsystem = client.sync.externalsystems.get(1)
print(externalsystem.name)
let externalsystem = client.sync().externalsystems().get(1)?;
println!("{}", externalsystem.name);

POST/sync/externalsystems*

client.sync.externalsystems.create()client.sync().externalsystems().create()

Create an external connection

Creates a connection using an existing adapter name and copies available field-mapping presets. Outside the trial period, the licensed connection limit is checked.

ParameterTypOrtPflichtBeschreibung
access_header_values"accessHeaderValues"Union[StrMap[Any], List[Any]]serde_json::ValueBodyjaAdapter-specific HTTP header values used to access the external system.
adapter"adapter"strStringBodyjaName of a registered adapter from /sync/adapters.
name"name"strStringBodyjaDisplay name of the external connection.

Rückgabe ExternalSystem

result = client.sync.externalsystems.create(
    access_header_values={},
    adapter="churchtools",
    name="Accounting system",
)
print(result.name)
let body = models::ExternalSystemCreate {
    access_header_values: serde_json::json!({}),
    adapter: "churchtools".into(),
    name: "Accounting system".into(),
    ..Default::default()
};
let result = client.sync().externalsystems().create(&body)?;
println!("{}", result.name);

PUT/sync/externalsystems/{externalSystemId}*

client.sync.externalsystems.update()client.sync().externalsystems().update()

Update an external connection

Changes the name and adapter and merges supplied access headers.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
access_header_values"accessHeaderValues"Union[StrMap[Any], List[Any]]serde_json::ValueBodyjaAdapter-specific HTTP header values used to access the external system.
adapter"adapter"strStringBodyjaName of a registered adapter from /sync/adapters.
name"name"strStringBodyjaDisplay name of the external connection.
id"id"inti64BodyjaExisting external system ID.

Rückgabe ExternalSystem

result = client.sync.externalsystems.update(
    1,
    access_header_values={},
    adapter="churchtools",
    name="Accounting system",
    id=1,
)
print(result.name)
let body = models::ExternalSystemUpdate {
    access_header_values: serde_json::json!({}),
    adapter: "churchtools".into(),
    name: "Accounting system".into(),
    id: 1,
    ..Default::default()
};
let result = client.sync().externalsystems().update(1, &body)?;
println!("{}", result.name);

DELETE/sync/externalsystems/{externalSystemId}*

client.sync.externalsystems.delete()client.sync().externalsystems().delete()

Delete an external connection

Deletes the connection, its job configurations, related job logs and executions, field mappings and entity mappings. Synchronized records themselves are not deleted. Returns 204 if the connection is missing.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.

Rückgabe None()

client.sync.externalsystems.delete(1)
client.sync().externalsystems().delete(1)?;

DELETE/sync/externalsystems/{externalSystemId}/entitymappings*

client.sync.externalsystems.delete_entity_mappings()client.sync().externalsystems().delete_entity_mappings()

Delete all mappings for an external connection

Removes all relationships belonging to the external connection. Underlying records remain. Returns 204 when no mapping exists. Requires "churchcore: administer persons" permission.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.

Rückgabe None()

client.sync.externalsystems.delete_entity_mappings(1)
client.sync().externalsystems().delete_entity_mappings(1)?;

POST/sync/externalsystems/{externalSystemId}/test*

client.sync.externalsystems.test()client.sync().externalsystems().test()

Test a saved external connection

Calls the adapter’s connection test using the saved settings. This is a connection check, not a synchronization run.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.

Rückgabe None()

client.sync.externalsystems.test(1)
client.sync().externalsystems().test(1)?;

POST/sync/externalsystems/test*

client.sync.externalsystems.test_settings()client.sync().externalsystems().test_settings()

Test proposed external connection settings

Runs the adapter's connection test without saving the supplied settings.

ParameterTypOrtPflichtBeschreibung
access_header_values"accessHeaderValues"Union[StrMap[Any], List[Any]]serde_json::ValueBodyjaAdapter-specific HTTP header values used to access the external system.
adapter"adapter"strStringBodyjaName of a registered adapter from /sync/adapters.
name"name"strStringBodyjaDisplay name of the external connection.
id"id"inti64BodyExisting connection to base the test on.

Rückgabe Union[StrMap[Any], List[Any]]serde_json::Value

result = client.sync.externalsystems.test_settings(
    access_header_values={},
    adapter="churchtools",
    name="Accounting system",
)
print(result)
let body = models::SyncExternalSystemTestCreate {
    access_header_values: serde_json::json!({}),
    adapter: "churchtools".into(),
    name: "Accounting system".into(),
    ..Default::default()
};
let result = client.sync().externalsystems().test_settings(&body)?;
println!("{:?}", result);

GET/sync/externalsystems/{externalSystemId}/adapterproxy/{uri}

client.sync.externalsystems.adapter_proxy.get()client.sync().externalsystems().adapter_proxy().get()

Proxy GET to a sync adapter

Forwards the HTTP method and query parameters to the adapter’s /api/{uri} route. Response status, body and Content-Type come from the adapter without a data wrapper. externalSystemId set to 0 selects the local ChurchTools system.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
uristrimpl DisplayPfadjaAdapter-relative route below /api/, including any nested path segments.

Rückgabe None()

client.sync.externalsystems.adapter_proxy.get(1, "adapter/info")
client.sync().externalsystems().adapter_proxy().get(1, "adapter/info")?;

POST/sync/externalsystems/{externalSystemId}/adapterproxy/{uri}*

client.sync.externalsystems.adapter_proxy.create()client.sync().externalsystems().adapter_proxy().create()

Proxy POST to a sync adapter

Forwards the HTTP method and query parameters to the adapter’s /api/{uri} route. Response status, body and Content-Type come from the adapter without a data wrapper. externalSystemId set to 0 selects the local ChurchTools system.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
uristrimpl DisplayPfadjaAdapter-relative route below /api/, including any nested path segments.

Rückgabe None()

client.sync.externalsystems.adapter_proxy.create(1, "adapter/info")
client.sync().externalsystems().adapter_proxy().create(1, "adapter/info")?;

PUT/sync/externalsystems/{externalSystemId}/adapterproxy/{uri}*

client.sync.externalsystems.adapter_proxy.update()client.sync().externalsystems().adapter_proxy().update()

Proxy PUT to a sync adapter

Forwards the HTTP method and query parameters to the adapter’s /api/{uri} route. Response status, body and Content-Type come from the adapter without a data wrapper. externalSystemId set to 0 selects the local ChurchTools system.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
uristrimpl DisplayPfadjaAdapter-relative route below /api/, including any nested path segments.

Rückgabe None()

client.sync.externalsystems.adapter_proxy.update(1, "adapter/info")
client.sync().externalsystems().adapter_proxy().update(1, "adapter/info")?;

PATCH/sync/externalsystems/{externalSystemId}/adapterproxy/{uri}*

client.sync.externalsystems.adapter_proxy.patch()client.sync().externalsystems().adapter_proxy().patch()

Proxy PATCH to a sync adapter

Forwards the HTTP method and query parameters to the adapter’s /api/{uri} route. Response status, body and Content-Type come from the adapter without a data wrapper. externalSystemId set to 0 selects the local ChurchTools system.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
uristrimpl DisplayPfadjaAdapter-relative route below /api/, including any nested path segments.

Rückgabe None()

client.sync.externalsystems.adapter_proxy.patch(1, "adapter/info")
client.sync().externalsystems().adapter_proxy().patch(1, "adapter/info")?;

DELETE/sync/externalsystems/{externalSystemId}/adapterproxy/{uri}*

client.sync.externalsystems.adapter_proxy.delete()client.sync().externalsystems().adapter_proxy().delete()

Proxy DELETE to a sync adapter

Forwards the HTTP method and query parameters to the adapter’s /api/{uri} route. Response status, body and Content-Type come from the adapter without a data wrapper. externalSystemId set to 0 selects the local ChurchTools system.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
uristrimpl DisplayPfadjaAdapter-relative route below /api/, including any nested path segments.

Rückgabe None()

client.sync.externalsystems.adapter_proxy.delete(1, "adapter/info")
client.sync().externalsystems().adapter_proxy().delete(1, "adapter/info")?;

GET/sync/externalsystems/{externalSystemId}/fieldmappings

client.sync.externalsystems.field_mappings.list()client.sync().externalsystems().field_mappings().list()

List field mappings for a connection

Lists stored domain-level field mappings. These define available translations between fields; a job separately selects which mappings to use.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.

Rückgabe List[FieldMapping]Vec<FieldMapping>

for field_mapping in client.sync.externalsystems.field_mappings.list(1):
    print(field_mapping.id)
for field_mapping in client.sync().externalsystems().field_mappings().list(1)? {
    println!("{:?}", field_mapping.id);
}

GET/sync/externalsystems/{externalSystemId}/fieldmappings/{domainType}

client.sync.externalsystems.field_mappings.get()client.sync().externalsystems().field_mappings().get()

Get field mappings for a domain

Returns mappings in both directions. If the connection exists but no mapping is stored for the domain, returns an unsaved mapping.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
domain_typestrimpl DisplayPfadjaEntity domain for this field mapping.

Rückgabe FieldMapping

field_mapping = client.sync.externalsystems.field_mappings.get(1, "status")
print(field_mapping.id)
let field_mapping = client.sync().externalsystems().field_mappings().get(1, "status")?;
println!("{:?}", field_mapping.id);

GET/sync/externalsystems/{externalSystemId}/fieldmappings/{domainType}/nosuggestions

client.sync.externalsystems.field_mappings.get_nosuggestions()client.sync().externalsystems().field_mappings().get_nosuggestions()

List fields without mapping suggestions

Returns source fields whose adapter preset has no target suggestion, grouped by system. This reports preset coverage, not all unselected job fields.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
domain_typestrimpl DisplayPfadjaEntity domain for this field mapping.

Rückgabe Union[GetSyncExternalsystemsIdFieldmappingsDomaintypeNosuggestionsDataVariant1, List[Any]]serde_json::Value

result = client.sync.externalsystems.field_mappings.get_nosuggestions(1, "status")
print(result)
let result = client.sync().externalsystems().field_mappings().get_nosuggestions(1, "status")?;
println!("{:?}", result);

PUT/sync/externalsystems/{externalSystemId}/fieldmappings/{domainType}*

client.sync.externalsystems.field_mappings.update()client.sync().externalsystems().field_mappings().update()

Replace field mappings for a domain

Replaces both direction lists. Direction is inferred from the enclosing list.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
domain_typestrimpl DisplayPfadjaEntity domain for this field mapping.
property_mappings_es_to_master"propertyMappingsESToMaster"List[SyncFieldMappingEntryCreate]Vec<SyncFieldMappingEntryCreate>Bodyja
property_mappings_master_to_es"propertyMappingsMasterToES"List[SyncFieldMappingEntryCreate]Vec<SyncFieldMappingEntryCreate>Bodyja

Rückgabe FieldMapping

result = client.sync.externalsystems.field_mappings.update(
    1,
    "status",
    property_mappings_es_to_master=[ct.models.SyncFieldMappingEntryCreate.model_validate({"from": "firstName", "fromFilter": "", "others": {}, "to": "firstName", "toFilter": "", "valueMapping": {}})],
    property_mappings_master_to_es=[ct.models.SyncFieldMappingEntryCreate.model_validate({"from": "firstName", "fromFilter": "", "others": {}, "to": "firstName", "toFilter": "", "valueMapping": {}})],
)
print(result.id)
let body = models::SyncFieldMappingUpdate {
    property_mappings_es_to_master: vec![models::SyncFieldMappingEntryCreate {
        from: "firstName".into(),
        from_filter: "".into(),
        others: serde_json::json!({}),
        to: "firstName".into(),
        to_filter: "".into(),
        value_mapping: serde_json::json!({}),
        ..Default::default()
    }],
    property_mappings_master_to_es: vec![models::SyncFieldMappingEntryCreate {
        from: "firstName".into(),
        from_filter: "".into(),
        others: serde_json::json!({}),
        to: "firstName".into(),
        to_filter: "".into(),
        value_mapping: serde_json::json!({}),
        ..Default::default()
    }],
    ..Default::default()
};
let result = client.sync().externalsystems().field_mappings().update(1, "status", &body)?;
println!("{:?}", result.id);

DELETE/sync/externalsystems/{externalSystemId}/fieldmappings/{domainType}*

client.sync.externalsystems.field_mappings.delete()client.sync().externalsystems().field_mappings().delete()

Delete field mappings for a domain

Removes the stored field mapping and its entries for this connection and domain. A missing mapping also returns 204.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
domain_typestrimpl DisplayPfadjaEntity domain for this field mapping.

Rückgabe None()

client.sync.externalsystems.field_mappings.delete(1, "status")
client.sync().externalsystems().field_mappings().delete(1, "status")?;

GET/sync/externalsystems/{externalSystemId}/jobconfigs

client.sync.externalsystems.job_configs.list()client.sync().externalsystems().job_configs().list()

List jobs for an external connection

Lists job configurations belonging to the external connection.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.

Rückgabe List[JobConfigurationReturn]Vec<JobConfigurationReturn>

for job_config in client.sync.externalsystems.job_configs.list(1):
    print(job_config.name)
for job_config in client.sync().externalsystems().job_configs().list(1)? {
    println!("{}", job_config.name);
}

GET/sync/externalsystems/{externalSystemId}/jobconfigs/{jobId}

client.sync.externalsystems.job_configs.get()client.sync().externalsystems().job_configs().get()

Find a sync job configuration

Returns configurations matching the job and external connection IDs.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
job_idintimpl DisplayPfadjaNumeric job configuration ID, distinct from an execution ID.

Rückgabe List[JobConfigurationReturn]Vec<JobConfigurationReturn>

for job_config in client.sync.externalsystems.job_configs.get(1, 1):
    print(job_config.name)
for job_config in client.sync().externalsystems().job_configs().get(1, 1)? {
    println!("{}", job_config.name);
}

GET/sync/externalsystems/{externalSystemId}/jobconfigs/{jobId}/filter

client.sync.externalsystems.job_configs.get_filter()client.sync().externalsystems().job_configs().get_filter()

Get sync job record filters

Returns record filters grouped by direction.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
job_idintimpl DisplayPfadjaNumeric job configuration ID, distinct from an execution ID.

Rückgabe SyncJobFilters

filter = client.sync.externalsystems.job_configs.get_filter(1, 1)
print(filter)
let filter = client.sync().externalsystems().job_configs().get_filter(1, 1)?;
println!("{:?}", filter);

GET/sync/externalsystems/{externalSystemId}/jobconfigs/{jobId}/properties

client.sync.externalsystems.job_configs.get_properties()client.sync().externalsystems().job_configs().get_properties()

Get sync job selected fields

Returns selected fields grouped by direction.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
job_idintimpl DisplayPfadjaNumeric job configuration ID, distinct from an execution ID.

Rückgabe SyncJobProperties

property = client.sync.externalsystems.job_configs.get_properties(1, 1)
print(property.domain_type)
let property = client.sync().externalsystems().job_configs().get_properties(1, 1)?;
println!("{}", property.domain_type);

POST/sync/externalsystems/{externalSystemId}/jobconfigs*

client.sync.externalsystems.job_configs.create()client.sync().externalsystems().job_configs().create()

Create a sync job configuration

Selected fields and record filters are managed through the properties and filter endpoints.

14 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
auto_schedule_enabled"autoScheduleEnabled"boolBodyjaWhether the periodic scheduler can start this job.
create_behavior_es"createBehaviorES"strStringBodyWhether records may be created or updated.
create_behavior_master"createBehaviorMaster"strStringBodyWhether records may be created or updated.
create_defaults_es"createDefaultsES"Optional[Union[StrMap[Any], List[Any]]]serde_json::ValueBody
create_defaults_master"createDefaultsMaster"Optional[Union[StrMap[Any], List[Any]]]serde_json::ValueBody
delete_behavior_es"deleteBehaviorES"strStringBodyHow deletions are handled on the specified side: retain, archive or delete.
delete_behavior_master"deleteBehaviorMaster"strStringBodyHow deletions are handled on the specified side: retain, archive or delete.
domain_type"domainType"strStringBodyjaDomain supported by the adapter, such as person.
link_behavior"linkBehavior"strStringBodyWhether matching records are linked: never, use an existing record, or merge when linking.
link_data"linkData"strStringBodyWhich side supplies data: the most recently updated record, ChurchTools, or the external system.
name"name"strStringBodyjaJob display name.
update_behavior"updateBehavior"strStringBodyWhether records may be created or updated.
update_data"updateData"strStringBodyWhich side supplies data: the most recently updated record, ChurchTools, or the external system.

Rückgabe JobConfigurationReturn

result = client.sync.externalsystems.job_configs.create(
    1,
    auto_schedule_enabled=False,
    domain_type="person",
    name="Synchronize people",
)
print(result.name)
let body = models::SyncJobConfigurationCreate {
    auto_schedule_enabled: false,
    domain_type: "person".into(),
    name: "Synchronize people".into(),
    ..Default::default()
};
let result = client.sync().externalsystems().job_configs().create(1, &body)?;
println!("{}", result.name);

PUT/sync/externalsystems/{externalSystemId}/jobconfigs/{jobId}*

client.sync.externalsystems.job_configs.update()client.sync().externalsystems().job_configs().update()

Update a sync job configuration

Updates the job configuration for the external connection.

16 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
job_idintimpl DisplayPfadjaNumeric job configuration ID, distinct from an execution ID.
auto_schedule_enabled"autoScheduleEnabled"boolBodyjaWhether the periodic scheduler can start this job.
create_behavior_es"createBehaviorES"strStringBodyWhether records may be created or updated.
create_behavior_master"createBehaviorMaster"strStringBodyWhether records may be created or updated.
create_defaults_es"createDefaultsES"Optional[Union[StrMap[Any], List[Any]]]serde_json::ValueBodyAdapter-specific defaults for newly created records on this side.
create_defaults_master"createDefaultsMaster"Optional[Union[StrMap[Any], List[Any]]]serde_json::ValueBodyAdapter-specific defaults for newly created records on this side.
delete_behavior_es"deleteBehaviorES"strStringBodyHow deletions are handled on the specified side: retain, archive or delete.
delete_behavior_master"deleteBehaviorMaster"strStringBodyHow deletions are handled on the specified side: retain, archive or delete.
domain_type"domainType"strStringBodyjaDomain supported by the adapter, such as person.
link_behavior"linkBehavior"strStringBodyWhether matching records are linked: never, use an existing record, or merge when linking.
link_data"linkData"strStringBodyWhich side supplies data: the most recently updated record, ChurchTools, or the external system.
name"name"strStringBodyjaJob display name.
update_behavior"updateBehavior"strStringBodyWhether records may be created or updated.
update_data"updateData"strStringBodyWhich side supplies data: the most recently updated record, ChurchTools, or the external system.
id"id"inti64BodyjaExisting job configuration ID.

Rückgabe JobConfigurationReturn

result = client.sync.externalsystems.job_configs.update(
    1,
    1,
    auto_schedule_enabled=False,
    domain_type="person",
    name="Synchronize people",
    id=1,
)
print(result.name)
let body = models::SyncJobConfigurationUpdate {
    auto_schedule_enabled: false,
    domain_type: "person".into(),
    name: "Synchronize people".into(),
    id: 1,
    ..Default::default()
};
let result = client.sync().externalsystems().job_configs().update(1, 1, &body)?;
println!("{}", result.name);

PUT/sync/externalsystems/{externalSystemId}/jobconfigs/{jobId}/filter*

client.sync.externalsystems.job_configs.update_filter()client.sync().externalsystems().job_configs().update_filter()

Replace sync job record filters

Filter operators and values are interpreted by the adapter.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
job_idintimpl DisplayPfadjaNumeric job configuration ID, distinct from an execution ID.
es"es"List[SyncJobFilterCreate]Vec<SyncJobFilterCreate>Bodyja
master"master"List[SyncJobFilterCreate]Vec<SyncJobFilterCreate>Bodyja

Rückgabe SyncJobFilters

result = client.sync.externalsystems.job_configs.update_filter(
    1,
    1,
    es=[ct.models.SyncJobFilterCreate.model_validate({"field": "statusId", "system": "master", "values": {}})],
    master=[ct.models.SyncJobFilterCreate.model_validate({"field": "statusId", "system": "master", "values": {}})],
)
print(result)
let body = models::SyncJobFiltersUpdate {
    es: vec![models::SyncJobFilterCreate {
        field: "statusId".into(),
        system: "master".into(),
        values: serde_json::json!({}),
        ..Default::default()
    }],
    master: vec![models::SyncJobFilterCreate {
        field: "statusId".into(),
        system: "master".into(),
        values: serde_json::json!({}),
        ..Default::default()
    }],
    ..Default::default()
};
let result = client.sync().externalsystems().job_configs().update_filter(1, 1, &body)?;
println!("{:?}", result);

PUT/sync/externalsystems/{externalSystemId}/jobconfigs/{jobId}/properties*

client.sync.externalsystems.job_configs.update_properties()client.sync().externalsystems().job_configs().update_properties()

Replace sync job selected fields

Value mappings and adapter options are inherited from the referenced mapping.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
job_idintimpl DisplayPfadjaNumeric job configuration ID, distinct from an execution ID.
property_mappings_es_to_master"propertyMappingsESToMaster"List[SyncJobPropertyCreate]Vec<SyncJobPropertyCreate>Bodyja
property_mappings_master_to_es"propertyMappingsMasterToES"List[SyncJobPropertyCreate]Vec<SyncJobPropertyCreate>Bodyja

Rückgabe SyncJobProperties

result = client.sync.externalsystems.job_configs.update_properties(
    1,
    1,
    property_mappings_es_to_master=[ct.models.SyncJobPropertyCreate.model_validate({"fieldMappingId": 1, "from": "firstName", "fromFilter": "", "system": "master", "to": "firstName", "toFilter": ""})],
    property_mappings_master_to_es=[ct.models.SyncJobPropertyCreate.model_validate({"fieldMappingId": 1, "from": "firstName", "fromFilter": "", "system": "master", "to": "firstName", "toFilter": ""})],
)
print(result.domain_type)
let body = models::SyncJobPropertiesUpdate {
    property_mappings_es_to_master: vec![models::SyncJobPropertyCreate {
        field_mapping_id: 1,
        from: "firstName".into(),
        from_filter: "".into(),
        system: "master".into(),
        to: "firstName".into(),
        to_filter: "".into(),
        ..Default::default()
    }],
    property_mappings_master_to_es: vec![models::SyncJobPropertyCreate {
        field_mapping_id: 1,
        from: "firstName".into(),
        from_filter: "".into(),
        system: "master".into(),
        to: "firstName".into(),
        to_filter: "".into(),
        ..Default::default()
    }],
    ..Default::default()
};
let result = client.sync().externalsystems().job_configs().update_properties(1, 1, &body)?;
println!("{}", result.domain_type);

DELETE/sync/externalsystems/{externalSystemId}/jobconfigs/{jobId}*

client.sync.externalsystems.job_configs.delete()client.sync().externalsystems().job_configs().delete()

Delete a sync job configuration

Deletes the configuration together with selected properties, filters, logs and associated background executions. Missing jobs also return 204.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
job_idintimpl DisplayPfadjaNumeric job configuration ID, distinct from an execution ID.

Rückgabe None()

client.sync.externalsystems.job_configs.delete(1, 1)
client.sync().externalsystems().job_configs().delete(1, 1)?;

DELETE/sync/externalsystems/{externalSystemId}/jobconfigs/{jobId}/filter*

client.sync.externalsystems.job_configs.delete_filter()client.sync().externalsystems().job_configs().delete_filter()

Clear sync job record filters

Deletes all record filters; the job configuration remains.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
job_idintimpl DisplayPfadjaNumeric job configuration ID, distinct from an execution ID.

Rückgabe None()

client.sync.externalsystems.job_configs.delete_filter(1, 1)
client.sync().externalsystems().job_configs().delete_filter(1, 1)?;

DELETE/sync/externalsystems/{externalSystemId}/jobconfigs/{jobId}/properties*

client.sync.externalsystems.job_configs.delete_properties()client.sync().externalsystems().job_configs().delete_properties()

Clear sync job selected fields

Deletes all selected fields; the job configuration remains.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
job_idintimpl DisplayPfadjaNumeric job configuration ID, distinct from an execution ID.

Rückgabe None()

client.sync.externalsystems.job_configs.delete_properties(1, 1)
client.sync().externalsystems().job_configs().delete_properties(1, 1)?;

POST/sync/externalsystems/{externalSystemId}/jobconfigs/{jobId}/start*

client.sync.externalsystems.job_configs.start()client.sync().externalsystems().job_configs().start()

Schedule a sync execution

Schedules the configuration as a background job. A 204 response confirms scheduling, not successful synchronization. Inspect /sync/executions and /sync/logs for progress. Requires an enabled license or active trial.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
job_idintimpl DisplayPfadjaNumeric job configuration ID, distinct from an execution ID.
is_dry_run"isDryRun"boolBodySchedule a dry run; the worker is instructed not to change synchronized records.
is_validation_only"isValidationOnly"boolBodySchedule configuration validation only.

Rückgabe None()

client.sync.externalsystems.job_configs.start(1, 1, is_dry_run=True)
let body = models::SyncExecutionCreate {
    is_dry_run: Some(true),
    ..Default::default()
};
client.sync().externalsystems().job_configs().start(1, 1, &body)?;

GET/sync/externalsystems/{externalSystemId}/jobconfigs/{jobId}/executions/{executionId}*

client.sync.externalsystems.job_configs.executions.get()client.sync().externalsystems().job_configs().executions().get()

Get a sync execution configuration snapshot

Returns the arguments saved for a background execution. Adapter credentials and the external connection headers are removed. Mapping system values are normalized to master and es.

ParameterTypOrtPflichtBeschreibung
external_system_idintimpl DisplayPfadjaID of a configured external connection.
job_idintimpl DisplayPfadjaNumeric job configuration ID, distinct from an execution ID.
execution_idstrimpl DisplayPfadjaBackground execution identifier from /sync/executions.

Rückgabe SyncExecutionDetails

execution = client.sync.externalsystems.job_configs.executions.get(1, 1, "run-123")
print(execution.domain_type)
let execution = client.sync().externalsystems().job_configs().executions().get(1, 1, "run-123")?;
println!("{}", execution.domain_type);

GET/joblog

client.job_log.list()client.job_log().list()Query: GetJoblogQuery

Get diagnostic entries for a job

Returns log entries for an exact job identifier. An unknown identifier returns an empty array. Results are not paginated or ordered.

ParameterTypOrtPflichtBeschreibung
guidstrStringQueryjaExact job identifier supplied by the job workflow, including any suffix.

Rückgabe List[JobLogEntry]Vec<JobLogEntry>

for job_log in client.job_log.list(guid="d038d398-c8e1-4c95-a3ad-c725dc6d4537-unchanged"):
    print(job_log.element_id)
let query = GetJoblogQuery {
    guid: Some("d038d398-c8e1-4c95-a3ad-c725dc6d4537-unchanged".into()),
    ..Default::default()
};
for job_log in client.job_log().list(&query)? {
    println!("{}", job_log.element_id);
}

GET/jobs

client.jobs.list()client.jobs().list()mit Filtern: .list_with(&GetJobsQuery)

List background jobs

Lists persisted background jobs, newest creation time first. Requires "administer settings" permission in churchcore. All supplied filters are combined with AND; status/domain ID lists match any contained value. Empty lists add no restriction. No pagination or result limit is implemented.

ParameterTypOrtPflichtBeschreibung
statusList[str]Vec<String>QueryFilter by stored states.
identifierstrStringQueryExact identifier match, not a substring search.
namestrStringQueryExact name match, not a substring search.
domain_idsList[float]Vec<f64>QueryAssociated business-object IDs, matched across all job domain types.
created_start_datedateNaiveDateQueryInclusive lower date bound.
created_end_datedateNaiveDateQueryInclusive upper date bound.
modified_start_datedateNaiveDateQueryInclusive lower date bound.
modified_end_datedateNaiveDateQueryInclusive upper date bound.

Rückgabe List[Job]Vec<Job>

for job in client.jobs.list():
    print(job.name)
for job in client.jobs().list()? {
    println!("{}", job.name);
}

PUT/jobs/{identifier}/status*

client.jobs.update_status()client.jobs().update_status()

Update a background-job status

Updates the stored job status. For sync_job jobs, "view" permission in churchsync is required; other jobs require "administer settings" permission in churchcore. This endpoint does not start or stop a worker.

ParameterTypOrtPflichtBeschreibung
identifierstrimpl DisplayPfadjaOpaque background-job identifier returned when scheduling; not an integer ID.
manual"manual"boolBodyMarks the status change as manual.
status"status"strStringBodyjaStored background-job status.

Rückgabe None()

client.jobs.update_status("1a9e9b86-78ee-4c8a-bf58-51e653073a0c", status="QUEUED")
let body = models::JobStatusUpdate {
    status: "QUEUED".into(),
    ..Default::default()
};
client.jobs().update_status("1a9e9b86-78ee-4c8a-bf58-51e653073a0c", &body)?;

POST/jobs/{identifier}/logs*

client.jobs.logs()client.jobs().logs()

Append a background-job log message

Appends an application log entry for an existing background job.

ParameterTypOrtPflichtBeschreibung
identifierstrimpl DisplayPfadjaOpaque background-job identifier returned when scheduling; not an integer ID.
log_message"logMessage"strStringBodyjaLog message.

Rückgabe None()

client.jobs.logs(
    "1a9e9b86-78ee-4c8a-bf58-51e653073a0c",
    log_message="Processed 25 records.",
)
let body = models::JobLogCreate {
    log_message: "Processed 25 records.".into(),
    ..Default::default()
};
client.jobs().logs("1a9e9b86-78ee-4c8a-bf58-51e653073a0c", &body)?;

POST/queues/{queue}*

client.queues.create()client.queues().create()

Start Worker For Queue

ChurchTools utilizes a queueing system to offload time-intensive or processing-intensive work. Calling this endpoint will start a worker, which grabs pending jobs and processing them. If the queue has still jobs pending the worker starts a new worker to continue the work.

ParameterTypOrtPflichtBeschreibung
queuestrimpl DisplayPfadja

Rückgabe PostQueuesQueueData

result = client.queues.create("default")
print(result.queue)
let result = client.queues().create("default")?;
println!("{:?}", result.queue);

GET/queues/{queue}/jobgroups/{jobGroup}

client.queues.job_groups.get()client.queues().job_groups().get()

Status Information About Job Groups in Queue

Job in a queue can belong to a job group to categorize a job. This endpoint counts jobs in queue and groups them by they status.

Use this endpoint to check if all jobs are processed or if still jobs are pending and wait to be processed.

ParameterTypOrtPflichtBeschreibung
queuestrimpl DisplayPfadja
job_groupstrimpl DisplayPfadjaLimit result to this job group.

Rückgabe List[JobGroupStatus]Vec<JobGroupStatus>

for job_group in client.queues.job_groups.get("beispiel", "beispiel"):
    print(job_group.name)
for job_group in client.queues().job_groups().get("beispiel", "beispiel")? {
    println!("{}", job_group.name);
}

GET/groups/{groupId}/members/routines

client.groups.members.routines.list()client.groups().members().routines().list()

List routine bindings for membership roles and statuses

Lists the routines bound to role/status combinations in this group, including disabled routines and their nested steps. A binding selects which automation applies to matching memberships; it is separate from the execution progress of any individual member. The list is not paginated and has no guaranteed ordering. Requires authentication; the current controller/service do not perform an additional group-specific permission check. A group with no bindings returns an empty list. Action data is converted from its stored form by the registered action handler before being returned.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group

Rückgabe List[GroupMembershipRoutine]Vec<GroupMembershipRoutine>

for routine in client.groups.members.routines.list(42):
    print(routine.id)
for routine in client.groups().members().routines().list(42)? {
    println!("{}", routine.id);
}

PUT/groups/{groupId}/members/routines/{roleId}/{groupMemberStatus}*

client.groups.members.routines.update()client.groups().members().routines().update()

Create a membership routine binding if absent

Binds an existing empty routine to this exact group, group-type role and membership status. Create the routine first and provide its ID; a routine with existing steps is rejected with 422. The response includes the binding and nested routine. If the binding already exists, this request returns it unchanged and ignores the submitted routineId. Requires authentication; the current controller/service omit group-specific permission checks. This endpoint does not start executions or change routine steps. Missing/nonexistent routine IDs for a new binding currently cause a server error.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
role_idintimpl DisplayPfadjaGroup-type role ID, not the ID of a group-role configuration row.
group_member_statusstrimpl DisplayPfadjaStatus of a group membership
routine_id"routineId"inti64BodyID of an existing routine with no steps.

Rückgabe GroupMembershipRoutine

result = client.groups.members.routines.update(42, 12, "active", routine_id=5)
print(result.id)
let body = models::GroupMembershipRoutineUpdate {
    routine_id: Some(5),
    ..Default::default()
};
let result = client.groups().members().routines().update(42, 12, "active", &body)?;
println!("{}", result.id);

DELETE/groups/{groupId}/members/routines/{roleId}/{groupMemberStatus}*

client.groups.members.routines.delete()client.groups().members().routines().delete()

Delete a membership routine and its binding

Deletes the binding for this exact group, group-type role and membership status, and also deletes the entire referenced routine and its steps. This is not an unlink-only operation. There is no delete-preview workflow. Requires authentication; this controller/service currently omit the group-specific permission checks used by the regular routine API. Missing bindings currently cause a server error rather than an idempotent 204 or a defined 404.

ParameterTypOrtPflichtBeschreibung
group_idintimpl DisplayPfadjaID of group
role_idintimpl DisplayPfadjaGroup-type role ID, not the ID of a group-role configuration row.
group_member_statusstrimpl DisplayPfadjaStatus of a group membership

Rückgabe None()

client.groups.members.routines.delete(42, 12, "active")
client.groups().members().routines().delete(42, 12, "active")?;

GET/htmltemplates

client.html_templates.list()client.html_templates().list()Query: GetHtmltemplatesQuery

List visible templates for one purpose

Lists templates of exactly one required domain type, ordered by name. By default it includes the current user’s own templates and global templates allowed by the corresponding domain policy. Global does not mean public. onlyOwn=true filters by ownership, so it can include global templates owned by the current user. Other users’ private templates are omitted. The response contains metadata and file IDs, not source text or assets. Results are unpaginated; meta.count counts returned templates. domain_type is required unless its deprecated alias type is supplied; there is no default domain.

ParameterTypOrtPflichtBeschreibung
domain_typestrStringQueryjaTemplate purpose. Supply this canonical parameter, or the legacy type alias.
type_r#typestrStringQueryLegacy alias for domain_type; domain_type wins if both are provided.
only_ownboolQueryFilter by the current owner, regardless of private/global visibility.

Rückgabe List[HtmlTemplate]Vec<HtmlTemplate>

for html_template in client.html_templates.list(domain_type="email"):
    print(html_template.name)
let query = GetHtmltemplatesQuery {
    domain_type: Some("email".into()),
    ..Default::default()
};
for html_template in client.html_templates().list(&query)? {
    println!("{}", html_template.name);
}

GET/htmltemplates/{templateId}

client.html_templates.get()client.html_templates().get()

Get HTML template metadata

Returns metadata and content-file IDs for one visible template. Owners may view their own private or global templates; other users need the matching domain’s permission to view a global template. This endpoint does not return HTML/MJML source or asset contents. Use the html/mjml content routes or export for those. A template may exist with both content-file IDs null. Missing templates return 404; an existing inaccessible template returns 403.

ParameterTypOrtPflichtBeschreibung
template_idintimpl DisplayPfadjaID of an HTML template

Rückgabe HtmlTemplate

html_template = client.html_templates.get(2)
print(html_template.name)
let html_template = client.html_templates().get(2)?;
println!("{}", html_template.name);

GET/htmltemplates/{templateId}/export

client.html_templates.get_export()client.html_templates().get_export()

Create a downloadable template export

Requires the same template visibility as GET /htmltemplates/{templateId}. Generates and stores a JSON export file, then returns its relative download URL in data; the export is not embedded in this response. The file contains name, domainType, html, mjml and assets. Each asset contains its name, fileHash and base64-encoded content. Ownership, global/private state and template metadata are not exported. The export file is scheduled for deletion after 30 days. This GET creates a new stored file on each call; missing content files or asset failures can prevent export.

ParameterTypOrtPflichtBeschreibung
template_idintimpl DisplayPfadjaID of an HTML template

Rückgabe strString

result = client.html_templates.get_export(2)
print(result)
let result = client.html_templates().get_export(2)?;
println!("{:?}", result);

GET/htmltemplates/{templateId}/html

client.html_templates.get_html()client.html_templates().get_html()

Read stored HTML template source

Returns the HTML source as a string inside the JSON data property. Requires template ownership or permission to view the global template. No placeholders are rendered, HTML is not sanitized by this read endpoint, and stored MJML is not compiled as a fallback. data=null means no HTML file is attached; an attached but missing file instead results in 404. The response is application/json rather than text/html.

ParameterTypOrtPflichtBeschreibung
template_idintimpl DisplayPfadjaID of an HTML template

Rückgabe Optional[str]Option<String>

result = client.html_templates.get_html(2)
print(result)
let result = client.html_templates().get_html(2)?;
println!("{:?}", result);

GET/htmltemplates/{templateId}/mjml

client.html_templates.get_mjml()client.html_templates().get_mjml()

Read stored MJML template source

Returns the MJML editor source as a string inside the JSON data property. Requires template ownership or permission to view the global template. The source is returned unchanged, without compilation, placeholder rendering or validation; no MJML is inferred from an HTML file. data=null means no MJML file is attached. A referenced but missing content file results in 404. The response has no meta envelope.

ParameterTypOrtPflichtBeschreibung
template_idintimpl DisplayPfadjaID of an HTML template

Rückgabe Optional[str]Option<String>

result = client.html_templates.get_mjml(2)
print(result)
let result = client.html_templates().get_mjml(2)?;
println!("{:?}", result);

POST/htmltemplates

client.html_templates.create()client.html_templates().create()

Create a private or shared HTML template

Creates metadata and optional independent HTML/MJML files. The current user becomes owner even for a global template. email and bulkletter allow private templates (isGlobal defaults to false); groupmember-document and both donation-receipt types require isGlobal=true. Global creation requires the matching template domain’s administration permission. Neither source is required, so an empty template can be created. Source text is stored without rendering placeholders or compiling MJML. copyAssetsFromId copies only image files after template creation has committed; a copy failure can leave the new template and some assets in place. The current copy path does not check visibility of the source template.

ParameterTypOrtPflichtBeschreibung
domain_type"domainType"strStringBodyjaTemplate purpose: email for group-member emails, bulkletter for mail-merged letters, groupmember-document for membership documents, and donation-receipt-letter/attachment for donation receipt output.
is_global"isGlobal"boolBodyWhether the template is shared for its domain.
name"name"strStringBodyjaDisplay name of the HTML template.
copy_assets_from_id"copyAssetsFromId"Optional[int]Option<i64>BodyCopy image asset files from this template ID after creating the new template.
html"html"Optional[str]Option<String>BodyHTML source; omitted/null stores no HTML file.
mjml"mjml"Optional[str]Option<String>BodyMJML editor source; omitted/null stores no MJML file.

Rückgabe HtmlTemplate

result = client.html_templates.create(domain_type="email", name="Welcome email")
print(result.name)
let body = models::HtmlTemplateCreate {
    domain_type: "email".into(),
    name: "Welcome email".into(),
    ..Default::default()
};
let result = client.html_templates().create(&body)?;
println!("{}", result.name);

PATCH/htmltemplates/{templateId}

client.html_templates.patch()client.html_templates().patch()

Update template metadata or replace source content

Requires template editing permission. If the resulting template is global, the domain’s global-template administration permission is additionally required, even when isGlobal is omitted. The template owner is retained when changing visibility. Private templates are allowed only for email/bulkletter; an email template referenced by group membership emails cannot become private. Omitted/null values preserve fields; content cannot be cleared by sending null. HTML and MJML replacements run first. A truthy htmlFileId is processed last, must belong to this template or be the current user’s unbound html_template upload, and replaces the HTML reference while deleting other content files and clearing MJML. Supply either content or htmlFileId to avoid unintentionally replacing just-written files. domainType and owner are not changed by this route.

ParameterTypOrtPflichtBeschreibung
template_idintimpl DisplayPfadjaID of an HTML template
html"html"Optional[str]Option<String>BodyReplace HTML source when nonempty and truthy; null/omission and the string 0 preserve existing content.
html_file_id"htmlFileId"Optional[int]Option<i64>BodyAttach a file in the html_template domain, either already belonging to this template or an unbound upload (domainId=-1) created by the current user.
is_global"isGlobal"Optional[bool]Option<bool>BodyChange shared availability; null/omission preserves it.
mjml"mjml"Optional[str]Option<String>BodyReplace MJML source independently; null/omission and the string 0 preserve it.
name"name"Optional[str]Option<String>BodyNew trimmed display name; null/omission preserves it.

Rückgabe HtmlTemplate

result = client.html_templates.patch(2, name="Updated welcome email")
print(result.name)
let body = models::HtmlTemplateUpdate {
    name: Some(Some("Updated welcome email".into())),
    ..Default::default()
};
let result = client.html_templates().patch(2, &body)?;
println!("{}", result.name);

DELETE/htmltemplates/{templateId}

client.html_templates.delete()client.html_templates().delete()Query: DeleteHtmltemplatesTemplateIdQuery

Check dependencies or delete an HTML template

Requires permission to edit the template (ownership or the domain’s global-template editing permission). Send dryRun explicitly. dryRun=true always returns 409 with a dependency report, even when deletion is allowed; it never returns a successful 204 preview. dryRun=false deletes an unblocked template, its HTML/MJML content files and image assets, then returns 204 without a body. References from group membership emails, bulk letters and group-role document configuration can block deletion, along with registered database dependency checks. An already missing template returns 404. Deleting a global template also invalidates cached authorization data.

ParameterTypOrtPflichtBeschreibung
template_idintimpl DisplayPfadjaID of an HTML template
dry_runboolQueryjaTrue: only return a 409 dependency report.

Rückgabe None()

client.html_templates.delete(2, dry_run=True)
let query = DeleteHtmltemplatesTemplateIdQuery {
    dry_run: Some(true),
    ..Default::default()
};
client.html_templates().delete(2, &query)?;

POST/htmltemplates/{templateId}/uploadassets*

client.html_templates.upload_assets()client.html_templates().upload_assets()

Upload image assets to a template

Requires permission to edit the template. Send one or more multipart file parts named files[]. The controller accepts client media types beginning with image/; it does not limit uploads to PNG. Files are saved as separate template image assets and returned in input order as editor descriptors. HTML and MJML source are not modified automatically. All client media-type headers are checked before storage, but files are then saved individually; a later storage failure can leave earlier assets persisted. This response has no meta envelope.

ParameterTypOrtPflichtBeschreibung
template_idintimpl DisplayPfadjaID of an HTML template
filesSequence[Upload]&[Upload]DateijaFiles to upload.

Rückgabe List[HtmlTemplateAssetUpload]Vec<HtmlTemplateAssetUpload>

for html_template in client.html_templates.upload_assets(2, files=[ct.Upload.from_path("logo.png")]):
    print(html_template.name)
let file = Upload::from_path("logo.png")?;
for html_template in client.html_templates().upload_assets(2, &[file])? {
    println!("{}", html_template.name);
}

Placeholder

2 Endpunkte im Überblick

GET/placeholders/email

client.placeholders.list_email()client.placeholders().list_email()

Get email placeholders

Returns the editor’s available email-template placeholders using an empty person context. No recipient values are rendered. The response data is a recursive menu: groups have name and items, selectable leaves have placeholder and label, optionally menuLabel. Labels are translated. Insert the supplied expression verbatim; ordinary values use triple braces, while block helpers use double braces. The set of fields depends on configuration, so names are not a fixed enum. This object-backed tree has no meta.count envelope.

Rückgabe List[PlaceholderMenuGroup]Vec<PlaceholderMenuGroup>

for email in client.placeholders.list_email():
    print(email.name)
for email in client.placeholders().list_email()? {
    println!("{}", email.name);
}

GET/placeholders/group/{id}

client.placeholders.group.get()client.placeholders().group().get()

Get group placeholders

Returns the editor’s available group and group-membership placeholders, including this group’s custom membership fields. id must be numeric; GUIDs are not accepted by this controller. No group/member values are rendered. The handler loads the group without a separate group-visibility check. The response data is a recursive menu: groups have name and items, selectable leaves have placeholder and label, optionally menuLabel. Labels are translated. Insert the supplied expression verbatim; ordinary values use triple braces, while block helpers use double braces. The set of fields depends on configuration, so names are not a fixed enum. This object-backed tree has no meta.count envelope.

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of the group used to build group-specific placeholders

Rückgabe List[PlaceholderMenuGroup]Vec<PlaceholderMenuGroup>

for group in client.placeholders.group.get(11):
    print(group.name)
for group in client.placeholders().group().get(11)? {
    println!("{}", group.name);
}

GET/translations

client.translations.list()client.translations().list()mit Filtern: .list_with(&GetTranslationsQuery)

Get all translations

Returns non-deleted translation keys with matching non-deleted language entries. updated_by_church and needs_check filter language entries; omit either to include both boolean states. The returned translations map contains the matching entries, and keys without any match are omitted. The list is unpaginated, has no guaranteed order and returns meta.count, not page metadata.

ParameterTypOrtPflichtBeschreibung
updated_by_churchboolQueryFilter if church has updated this translation by themselves.
needs_checkboolQueryFilter if translation has to be checked.

Rückgabe List[TranslationKey]Vec<TranslationKey>

for translation in client.translations.list():
    print(translation.id)
for translation in client.translations().list()? {
    println!("{}", translation.id);
}

PUT/translations/{keyId}*

client.translations.update()client.translations().update()

Update a local translation key

Changes the key string and module of an installation-created translation key. Both fields are required; individual translated texts are unchanged. Product-supplied keys are rejected with 400. The response is empty.

ParameterTypOrtPflichtBeschreibung
key_idintimpl DisplayPfadjaNumeric translation-key ID.
key"key"strStringBodyjaTranslation key, trimmed before validation.
module"module"strStringBodyjaModule grouping, trimmed before validation.

Rückgabe None()

client.translations.update(1, key="mychurch.welcome", module="churchcore")
let body = models::TranslationKeyUpdate {
    key: "mychurch.welcome".into(),
    module: "churchcore".into(),
    ..Default::default()
};
client.translations().update(1, &body)?;

DELETE/translations/{keyId}*

client.translations.delete()client.translations().delete()

Delete translation key

Marks a locally created translation key as deleted and clears generated message files. It no longer appears in translation queries. Product-supplied keys are rejected with 400. This is a soft deletion; language entries are not individually deleted by this operation. There is no dry-run mode.

ParameterTypOrtPflichtBeschreibung
key_idintimpl DisplayPfadjaNumeric translation-key ID.

Rückgabe None()

client.translations.delete(1)
client.translations().delete(1)?;

DELETE/translations/{keyId}/languages/{languageId}*

client.translations.languages.delete()client.translations().languages().delete()

Delete translation language for key

Marks one language translation as deleted, updates its modification timestamp and clears generated message files. The key and other language entries remain. An unknown key/language pair returns 404. Repeating the operation on an existing already-deleted entry also succeeds with 204. There is no dry-run mode.

ParameterTypOrtPflichtBeschreibung
key_idintimpl DisplayPfadjaNumeric translation-key ID.
language_idintimpl DisplayPfadjaNumeric language ID from GET /languages.

Rückgabe None()

client.translations.languages.delete(1, 1)
client.translations().languages().delete(1, 1)?;

Language

1 Endpunkte im Überblick

GET/languages

client.languages.list()client.languages().list()mit Filtern: .list_with(&GetLanguagesQuery)

Get all languages

The response is a list of all languages

ParameterTypOrtPflichtBeschreibung
only_activeboolQuerySet to true if only active languages should be returned

Rückgabe List[Language]Vec<Language>

for language in client.languages.list():
    print(language.name)
for language in client.languages().list()? {
    println!("{}", language.name);
}

Widgets

3 Endpunkte im Überblick

GET/startpage

client.start_page.list()client.start_page().list()

Widgets and data for startpage

Here you get data like birthdays in the next seven days, open meeting requests, next appointments and songs to lern

Rückgabe List[Union[WidgetDate, WidgetDetail, WidgetDomainObject, WidgetPost, WidgetCommon, WidgetHidden]]Vec<serde_json::Value>

for start_page in client.start_page.list():
    print(start_page)
for start_page in client.start_page().list()? {
    println!("{:?}", start_page);
}

GET/widgets/blog

client.widgets.get_blog()client.widgets().get_blog()

Rückgabe GetWidgetsBlogData

blog = client.widgets.get_blog()
print(blog.title)
let blog = client.widgets().get_blog()?;
println!("{:?}", blog.title);

GET/widgets/rss

client.widgets.get_rss()client.widgets().get_rss()

Rückgabe RssFeed

rss = client.widgets.get_rss()
print(rss.title)
let rss = client.widgets().get_rss()?;
println!("{}", rss.title);

GET/evangelischetermine/eventtypes*

client.evangelische_termine.list_event_types()client.evangelische_termine().list_event_types()

Get external event classifications

Fetches the eventtype parameter values from the configured Evangelische Termine SOAP service. Use the returned keys and labels when selecting an external event classification. ChurchTools forwards the external list without adding pagination or meta. Synchronization must already be enabled and its stored connection settings must work. The controller has no additional settings-administration permission check beyond API authentication.

Rückgabe List[EvangelischeTermineEventType]Vec<EvangelischeTermineEventType>

for event_type in client.evangelische_termine.list_event_types():
    print(event_type.key)
for event_type in client.evangelische_termine().list_event_types()? {
    println!("{}", event_type.key);
}

DELETE/evangelischetermine*

client.evangelische_termine.delete()client.evangelische_termine().delete()

Queue deletion of published external appointments

Queues removal of ChurchTools-published appointments from the configured Evangelische Termine organizer. Local ChurchTools appointments are retained. The background job reads the external JSON event list and deletes remote dates whose external identifier starts with ChurchTools; it does not limit removal to calendars currently selected for synchronization. Requires the churchcore permission "administer settings". HTTP 204 means the deletion job was queued and started in the background, not that remote deletion has completed. If synchronization is disabled, this call returns 204 without queuing a job. It does not disable synchronization, so later synchronization can publish appointments again. There is no dry-run option or returned job identifier.

Rückgabe None()

client.evangelische_termine.delete()
client.evangelische_termine().delete()?;

POST/evangelischetermine/validatesettings*

client.evangelische_termine.validate_settings()client.evangelische_termine().validate_settings()

Test external synchronization settings

Tests the supplied server URL, organizer ID and API key by creating a SOAP connection and requesting the external event types. Requires the churchcore permission "administer settings". The integration need not already be enabled. A successful test returns 200 with an empty body; it does not save the settings, enable synchronization or publish appointments. A rejected URL or failed connection/authentication check returns 400 with an empty body. Invalid request-field types can instead return a JSON validation error.

ParameterTypOrtPflichtBeschreibung
api_key"apiKey"strStringBodyjaSOAP API key for the organizer.
url"url"strStringBodyjaBase URL of the Evangelische Termine installation, without /soap or /soap?WSDL.
vid"vid"strStringBodyjaExternal organizer identifier (Veranstalter-ID).

Rückgabe None()

client.evangelische_termine.validate_settings(
    api_key="*****",
    url="https://www.evangelische-termine.de",
    vid="1234",
)
let body = models::EvangelischeTermineSettingsValidateCreate {
    api_key: "*****".into(),
    url: "https://www.evangelische-termine.de".into(),
    vid: "1234".into(),
    ..Default::default()
};
client.evangelische_termine().validate_settings(&body)?;

POST/bulkjobs/{domainType}/{jobKey}/enqueue*

client.bulk_jobs.enqueue()client.bulk_jobs().enqueue()

Enqueue a bulk operation

Queues the selected operation for targets allowed by its preflight permission check. Forbidden targets are omitted; remaining IDs retain order and duplicates. Each queued chunk normally contains up to 50 IDs, or 5 for group/delete. HTTP 201 confirms enqueueing, not successful execution, and can contain zero queued jobs. Each target is processed separately. Follow job or queue status using the returned identifiers.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaDomain of the target identifiers.
job_keystrimpl DisplayPfadjaRegistered operation key.
action_context"actionContext"BulkJobCreateActionContextBodyContext for action-based operations.
domain_object_identifiers"domainObjectIdentifiers"List[Union[int, str]]Vec<serde_json::Value>BodyjaTargets to check or queue, in request order.
job_data"jobData"Union[StrMap[Any], BulkGroupSetMaxMembersUpdate, BulkGroupSetCampusUpdate, BulkGroupSetGroupCategoryUpdate, BulkGroupSetTargetGroupUpdate, BulkGroupAddParentGroupUpdate, BulkGroupDelTagUpdate, BulkGroupSetInformLeaderUpdate, BulkGroupSetShowInMemberStatisticUpdate, BulkGroupSetWeeklyMeetingUpdate, BulkGroupSetSignUpOpenUpdate, BulkGroupMeetingTimeUpdate, BulkGroupWeekdayUpdate, BulkGroupAgeGroupsUpdate, BulkGroupStatusUpdate, BulkGroupVisibilityUpdate, BulkTagCreate, BulkPersonChangeNationalityUpdate, BulkPersonChangeFamilyStatusUpdate, BulkPersonChangeSexUpdate, BulkPersonChangeCampusUpdate, BulkPersonChangeStatusUpdate, BulkPersonAddPersonAuthUpdate, BulkPersonAddDepartmentUpdate, BulkPersonDeleteDepartmentUpdate, BulkPersonDelPersonTagUpdate, BulkPersonDeleteFromGroupUpdate, BulkPersonMembershipCreate, BulkPersonMembershipUpdate, BulkPersonMembershipFieldUpdate, BulkEventDeclineUpdate, BulkEventServiceAssignmentCreate, BulkMembershipActionUpdate, BulkMembershipActionCreate, BulkPersonTagsActionUpdate, BulkMemberEmailActionCreate, BulkFollowUpActionCreate]serde_json::ValueBodyjaPayload selected by the domain/key table.

Rückgabe BulkJobQueued

bulk_job = client.bulk_jobs.enqueue(
    "group",
    "setMaxMembers",
    domain_object_identifiers=[42],
    job_data=ct.models.BulkGroupSetMaxMembersUpdate.model_validate({}),
)
print(bulk_job.job_group)
let body = models::BulkJobCreate {
    domain_object_identifiers: vec![serde_json::json!(42)],
    job_data: serde_json::json!({}),
    ..Default::default()
};
let bulk_job = client.bulk_jobs().enqueue("group", "setMaxMembers", &body)?;
println!("{}", bulk_job.job_group);

POST/bulkjobs/{domainType}/{jobKey}/infos*

client.bulk_jobs.infos()client.bulk_jobs().infos()

Preview permitted bulk targets

Checks which supplied target identifiers the current user is allowed to process for the chosen job and payload. This is a read-only permission preview: it does not queue or execute the operation. Forbidden targets are silently omitted, while missing targets, invalid data and other errors may abort the whole request. Order and duplicate identifiers are retained. No reservation is made. See BulkJobCreate for domain/key mappings.

ParameterTypOrtPflichtBeschreibung
domain_typestrimpl DisplayPfadjaDomain of the target identifiers.
job_keystrimpl DisplayPfadjaRegistered operation key.
action_context"actionContext"BulkJobCreateActionContextBodyContext for action-based operations.
domain_object_identifiers"domainObjectIdentifiers"List[Union[int, str]]Vec<serde_json::Value>BodyjaTargets to check or queue, in request order.
job_data"jobData"Union[StrMap[Any], BulkGroupSetMaxMembersUpdate, BulkGroupSetCampusUpdate, BulkGroupSetGroupCategoryUpdate, BulkGroupSetTargetGroupUpdate, BulkGroupAddParentGroupUpdate, BulkGroupDelTagUpdate, BulkGroupSetInformLeaderUpdate, BulkGroupSetShowInMemberStatisticUpdate, BulkGroupSetWeeklyMeetingUpdate, BulkGroupSetSignUpOpenUpdate, BulkGroupMeetingTimeUpdate, BulkGroupWeekdayUpdate, BulkGroupAgeGroupsUpdate, BulkGroupStatusUpdate, BulkGroupVisibilityUpdate, BulkTagCreate, BulkPersonChangeNationalityUpdate, BulkPersonChangeFamilyStatusUpdate, BulkPersonChangeSexUpdate, BulkPersonChangeCampusUpdate, BulkPersonChangeStatusUpdate, BulkPersonAddPersonAuthUpdate, BulkPersonAddDepartmentUpdate, BulkPersonDeleteDepartmentUpdate, BulkPersonDelPersonTagUpdate, BulkPersonDeleteFromGroupUpdate, BulkPersonMembershipCreate, BulkPersonMembershipUpdate, BulkPersonMembershipFieldUpdate, BulkEventDeclineUpdate, BulkEventServiceAssignmentCreate, BulkMembershipActionUpdate, BulkMembershipActionCreate, BulkPersonTagsActionUpdate, BulkMemberEmailActionCreate, BulkFollowUpActionCreate]serde_json::ValueBodyjaPayload selected by the domain/key table.

Rückgabe BulkInfos

bulk_job = client.bulk_jobs.infos(
    "group",
    "setMaxMembers",
    domain_object_identifiers=[42],
    job_data=ct.models.BulkGroupSetMaxMembersUpdate.model_validate({}),
)
print(bulk_job)
let body = models::BulkJobCreate {
    domain_object_identifiers: vec![serde_json::json!(42)],
    job_data: serde_json::json!({}),
    ..Default::default()
};
let bulk_job = client.bulk_jobs().infos("group", "setMaxMembers", &body)?;
println!("{:?}", bulk_job);

DomainObjects

2 Endpunkte im Überblick

GET/domainobjects

client.domain_objects.list()client.domain_objects().list()Query: GetDomainobjectsQuery

Get domain objects

Resolves heterogeneous ChurchTools references into compact display objects. Pair domain_types[] and domain_identifiers[] by index. Output order and count may differ from the input, and repeated IDs may not produce repeated results. Missing or inaccessible objects are usually omitted, but an unresolved appointment_occurrence may fail the request. Resolver permissions differ by domain type.

ParameterTypOrtPflichtBeschreibung
domain_typesList[str]Vec<String>QueryjaRegistered object types, paired by index with domain_identifiers[].
domain_identifiersList[str]Vec<String>QueryjaFor person, group, song, event, group_membership, and appointment, use a numeric database ID encoded as a string.

Rückgabe List[ResolvedDomainObject]Vec<ResolvedDomainObject>

for domain_object in client.domain_objects.list(
    domain_types=["person", "group"],
    domain_identifiers=["42", "7"],
):
    print(domain_object.api_url)
let query = GetDomainobjectsQuery {
    domain_types: Some(vec!["person".into(), "group".into()]),
    domain_identifiers: Some(vec!["42".into(), "7".into()]),
    ..Default::default()
};
for domain_object in client.domain_objects().list(&query)? {
    println!("{:?}", domain_object.api_url);
}

POST/domainobjects

client.domain_objects.resolve()client.domain_objects().resolve()

Resolve domain objects from a JSON payload

Read-only JSON alternative to GET /domainobjects with the same resolution and permission behavior. Output order and count may differ from the input. Missing or inaccessible objects are usually omitted, but an unresolved appointment_occurrence may fail the request.

ParameterTypOrtPflichtBeschreibung
domain_identifiers"domain_identifiers"List[str]Vec<String>BodyjaFor person, group, song, event, group_membership, and appointment, use a numeric database ID encoded as a string.
domain_types"domain_types"List[str]Vec<String>BodyjaObject types corresponding to the identifiers at the same indexes.

Rückgabe List[ResolvedDomainObject]Vec<ResolvedDomainObject>

for domain_object in client.domain_objects.resolve(
    domain_identifiers=["42", "7"],
    domain_types=["person", "group"],
):
    print(domain_object.api_url)
let body = models::DomainObjectPayload {
    domain_identifiers: vec!["42".into(), "7".into()],
    domain_types: vec!["person".into(), "group".into()],
    ..Default::default()
};
for domain_object in client.domain_objects().resolve(&body)? {
    println!("{:?}", domain_object.api_url);
}

Field

1 Endpunkte im Überblick

GET/fields

client.fields.list()client.fields().list()veraltet

Get all fields

Returns an array of all fields defined in ChurchTools.

Rückgabe List[StrMap[Any]]Vec<BTreeMap<String, serde_json::Value>>

for field in client.fields.list():
    print(field)
for field in client.fields().list()? {
    println!("{:?}", field);
}

Hidden

Interne Endpunkte, die ChurchTools nicht offiziell dokumentiert. Sie können sich ohne Ankündigung ändern.

57 Endpunkte im Überblick

POST/actions*

client.actions.filter()client.actions().filter()

Get filtered actions

Returns all available actions filtered by one or more domain types. Actions represent executable operations on domain objects (e.g. adding a member to a group, changing a member status). The optional filter object can be used to further narrow down the returned actions based on domain-specific criteria.

ParameterTypOrtPflichtBeschreibung
domain_type"domain_type"List[str]Vec<String>BodyjaOne or more domain types to filter actions by.
filter"filter"StrMap[Any]BTreeMap<String, serde_json::Value>BodyOptional filter criteria to further narrow the returned actions.

Rückgabe List[Action]Vec<Action>

for action in client.actions.filter(domain_type=["group_membership"]):
    print(action.domain_type)
let body = models::PostActionsBody {
    domain_type: vec!["group_membership".into()],
    ..Default::default()
};
for action in client.actions().filter(&body)? {
    println!("{}", action.domain_type);
}

DELETE/ccli/connection*

client.ccli.delete_connection()client.ccli().delete_connection()

Disconnect CCLI

Disables the stored CCLI tokens.

Rückgabe None()

client.ccli.delete_connection()
client.ccli().delete_connection()?;

POST/ccli/authorization*

client.ccli.authorization()client.ccli().authorization()

Start CCLI authorization

Returns the SongSelect authorization URL.

Rückgabe PostCcliAuthorizationData

ccli = client.ccli.authorization()
print(ccli.url)
let ccli = client.ccli().authorization()?;
println!("{}", ccli.url);

GET/ccli/songs*

client.ccli.songs.list()client.ccli().songs().list()Query: GetCcliSongsQueryseitenweise

Search CCLI songs

Searches SongSelect. Legacy connections paginate only the first 100 results; their total reflects that limited result set.

ParameterTypOrtPflichtBeschreibung
querystrStringQueryjaSongSelect search text.
limitinti64QueryResults per page.

Rückgabe Paginator[CCLISong]Vec<CCLISong>

for song in client.ccli.songs.list(query="Amazing Grace"):
    print(song.title)
let query = GetCcliSongsQuery {
    query: Some("Amazing Grace".into()),
    ..Default::default()
};
for song in client.ccli().songs().list(&query)? {
    println!("{}", song.title);
}

GET/ccli/songs/{songNumber}*

client.ccli.songs.get()client.ccli().songs().get()

Get a CCLI song

Returns normalized SongSelect metadata. Requires "use ccli" permission.

ParameterTypOrtPflichtBeschreibung
song_numberintimpl DisplayPfadjaPositive CCLI song number.

Rückgabe CCLISong

song = client.ccli.songs.get(1100)
print(song.title)
let song = client.ccli().songs().get(1100)?;
println!("{}", song.title);

GET/churchquery/metadata

client.church_query.get_metadata()client.church_query().get_metadata()mit Filtern: .get_metadata_with(&GetChurchqueryMetadataQuery)

Get masterdata for ChurchQuery

ParameterTypOrtPflichtBeschreibung
entity_to_search_forstrStringQueryRoot entity prefix for which metadata should be generated.
exclude_field_typesList[str]Vec<String>QueryExcludes db-field intern codes from metadata field lists (e.g.

Rückgabe Anyserde_json::Value

result = client.church_query.get_metadata()
print(result)
let result = client.church_query().get_metadata()?;
println!("{:?}", result);

POST/churchquery/debug/export*

client.church_query.debug.export()client.church_query().debug().export()mit Filtern: .export_with(&PostChurchqueryDebugExportQuery)

Export result of ChurchQuery

Caution: This is an preliminary API, and is subject to be changed. It provides a downloadfile with the result of a given query.

ParameterTypOrtPflichtBeschreibung
type_r#typestrStringQuerytype of export
bodystrStringBodyja

Rückgabe None()

client.church_query.debug.export(body="beispiel")
let body: String = "beispiel".into();
client.church_query().debug().export(&body)?;

POST/events/{eventId}/agenda/print*

client.events.agenda.print()client.events().agenda().print()

Print event agenda as PDF

Generates a PDF of the agenda and returns a protected download URL. By default, items hidden for this event and service groups the current user cannot view are omitted. For an integrated agenda, all linked event start-time columns and their visible items can optionally be included. The generated file is deleted after one day.

11 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
event_idintimpl DisplayPfadjaID of Event
font_size"fontSize"strStringBodyBase font size used for the PDF
orientation"orientation"strStringBodyPage orientation used for the PDF
service_group_columns"serviceGroupColumns"List[int]Vec<i64>BodyIDs of service groups whose item notes are printed as columns
service_group_header"serviceGroupHeader"List[int]Vec<i64>BodyIDs of service groups whose assignments are printed above the agenda
show_all_event_start_times"showAllEventStartTimes"boolBodyWhether an integrated agenda includes start-time columns for every linked event and items visible in any linked event
show_duration"showDuration"boolBodyWhether to print the duration of each agenda item
show_enumeration"showEnumeration"boolBodyWhether to number non-header agenda items
show_event_description"showEventDescription"boolBodyWhether to print the event description above the agenda
show_event_files"showEventFiles"boolBodyWhether to print permitted files linked to the event
show_responsible"showResponsible"boolBodyWhether to print the responsible-person column

Rückgabe PostEventsIdAgendaPrintData

agenda = client.events.agenda.print(42, font_size="medium")
print(agenda.url)
let body = models::PostEventsIdAgendaPrintBody {
    font_size: Some("medium".into()),
    ..Default::default()
};
let agenda = client.events().agenda().print(42, &body)?;
println!("{}", agenda.url);

POST/externallogins/{externalLoginId}/link*

client.external_logins.link.create()client.external_logins().link().create()

Verify and link an external identity

Completes the verified_user_linking flow after a successful external identity-provider callback requested proof of a ChurchTools account. Requires the same browser session and pending linkToken, a visible provider in verified_user_linking mode, and valid credentials for an active, non-archived person. Tokens expire after 600 seconds; only ten pending links are retained per session. Each attempt clears any previous pending two-factor session. If the account uses two-factor authentication, no identity is linked yet: data.location points to the two-factor screen and POST /login/totp completes linking after verification. Otherwise the external identity is linked and the ChurchTools session is logged in. Navigate to data.location; this endpoint returns JSON rather than an HTTP redirect. The token is consumed after successful login. Credential failures can increment the account’s failed-login counter; the shared login rate limit also applies.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
link_token"linkToken"strStringBodyjaOpaque, session-bound linking token from the account-linking redirect.
password"password"strStringBodyjaPassword for that account; does not replace the second-factor step.
username"username"strStringBodyjaUsername or email address verified by the configured ChurchTools credential authentication, including legacy LDAP when configured.

Rückgabe ExternalLoginLinkResult

result = client.external_logins.link.create(
    7,
    link_token="opaque-session-bound-link-token",
    password="geheim",
    username="alex@example.org",
)
print(result.location)
let body = models::ExternalLoginLinkCreate {
    link_token: "opaque-session-bound-link-token".into(),
    password: "geheim".into(),
    username: "alex@example.org".into(),
    ..Default::default()
};
let result = client.external_logins().link().create(7, &body)?;
println!("{}", result.location);

POST/externallogins/{externalLoginId}/link/create-person*

client.external_logins.link.create_person()client.external_logins().link().create_person()

Create a person for an external identity

Creates a ChurchTools person from a pending verified external identity, links it and establishes the ChurchTools login session. Requires the same browser session and unexpired linkToken, a visible provider in verified_user_linking mode and createNewPerson enabled. Tokens expire after 600 seconds and are consumed after successful login. The external identity must not already be mapped. Person name, email and username come from the saved provider identity; department, campus and status come from the provider configuration. A nonblank last name is required by person creation. Returns JSON data.location for the client to navigate to. Person creation/mapping commit before session login, so a later completion error does not guarantee that no person was created.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
link_token"linkToken"strStringBodyjaOpaque, session-bound linking token from the account-linking redirect.

Rückgabe ExternalLoginLinkResult

result = client.external_logins.link.create_person(
    7,
    link_token="opaque-session-bound-link-token",
)
print(result.location)
let body = models::ExternalLoginPersonCreate {
    link_token: "opaque-session-bound-link-token".into(),
    ..Default::default()
};
let result = client.external_logins().link().create_person(7, &body)?;
println!("{}", result.location);

GET/externallogins/{externalLoginId}/oidc/start*

client.external_logins.oidc.get_start()client.external_logins().oidc().get_start()mit Filtern: .get_start_with(&GetExternalloginsIdOidcStartQuery)

Start a browser-based OpenID Connect login

Starts Authorization Code login for a visible OIDC provider using S256 PKCE, state and nonce. No existing ChurchTools login token is required. The pending flow is bound to the current browser session for 600 seconds; keep its cookie through the provider redirect and callback. At most ten pending OIDC authorizations/tests are retained per session, with older entries evicted. The configured issuer is discovered before returning the authorization URL. New flows use the stable /api/externallogins/oidc/callback URL. If the Accept header contains application/json, returns authorization details as JSON; otherwise redirects to the provider. Missing, hidden, wrong-type or unusable providers all use the same 404 text response.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
redirectstrStringQueryAbsolute same-origin URL within the ChurchTools base path to open after login.

Rückgabe ExternalLoginAuthorizationStart

start = client.external_logins.oidc.get_start(7)
print(start.expires_at)
let start = client.external_logins().oidc().get_start(7)?;
println!("{}", start.expires_at);

GET/externallogins/oidc/callback*

client.external_logins.oidc.callback()client.external_logins().oidc().callback()Query: GetExternalloginsOidcCallbackQuery

Complete OIDC login through the stable callback

Browser callback for OIDC Authorization Code login. The state resolves the provider from a pending flow in the same session; no provider ID is needed in this URL. State is consumed once before code exchange and expires after 600 seconds. The server validates the ID token, nonce and configured claim policies, then applies the provider’s person-matching mode. Success redirects to the stored safe local target; verified-user-linking mode can instead redirect to the local account-linking screen. A local matching/login failure can return an HTML 401 page, while protocol/state failures use plain-text 401 with a diagnostic ID. For administrator test flows, it records sanitized diagnostics and returns an HTML popup-completion page without creating/linking/logging in a person; the page itself does not indicate whether the test succeeded. Inspect the test-result endpoint.

ParameterTypOrtPflichtBeschreibung
statestrStringQueryjaOpaque state created by the matching OIDC start request.
codestrStringQueryAuthorization code returned by the OIDC provider.
errorstrStringQueryOIDC authorization error returned instead of a code.

Rückgabe bytes (text/html)Vec<u8> (text/html)

data = client.external_logins.oidc.callback(state="opaque-session-bound-state")
with open("ergebnis.bin", "wb") as f:
    f.write(data)
let query = GetExternalloginsOidcCallbackQuery {
    state: Some("opaque-session-bound-state".into()),
    ..Default::default()
};
let data = client.external_logins().oidc().callback(&query)?;
std::fs::write("ergebnis.bin", &data)?;

GET/externallogins/{externalLoginId}/oidc/callback*

client.external_logins.oidc.callback_for()client.external_logins().oidc().callback_for()Query: GetExternalloginsIdOidcCallbackQuery

Complete OIDC login

Compatibility callback containing a provider ID. New flows use /api/externallogins/oidc/callback. The route ID must match the provider recorded for the state. Browser callback for OIDC Authorization Code login. The state resolves the provider from a pending flow in the same session; no provider ID is needed in this URL. State is consumed once before code exchange and expires after 600 seconds. The server validates the ID token, nonce and configured claim policies, then applies the provider’s person-matching mode. Success redirects to the stored safe local target; verified-user-linking mode can instead redirect to the local account-linking screen. A local matching/login failure can return an HTML 401 page, while protocol/state failures use plain-text 401 with a diagnostic ID. For administrator test flows, it records sanitized diagnostics and returns an HTML popup-completion page without creating/linking/logging in a person; the page itself does not indicate whether the test succeeded. Inspect the test-result endpoint.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
statestrStringQueryjaOpaque state created by the matching OIDC start request.
codestrStringQueryAuthorization code returned by the OIDC provider.
errorstrStringQueryOIDC authorization error returned instead of a code.

Rückgabe bytes (text/html)Vec<u8> (text/html)

data = client.external_logins.oidc.callback_for(7, state="opaque-session-bound-state")
with open("ergebnis.bin", "wb") as f:
    f.write(data)
let query = GetExternalloginsIdOidcCallbackQuery {
    state: Some("opaque-session-bound-state".into()),
    ..Default::default()
};
let data = client.external_logins().oidc().callback_for(7, &query)?;
std::fs::write("ergebnis.bin", &data)?;

GET/externallogins/{externalLoginId}/oidc/test/{state}

client.external_logins.oidc.test.get()client.external_logins().oidc().test().get()

Get OIDC login test result

Polls an OIDC test started by the current administrator for this provider in the same browser session. Requires "churchcore administer settings" permission and an existing OIDC provider; hidden providers are allowed. Returns pending until the callback completes, then success with claim names or error with a sanitized category. Unknown states, another session/administrator/provider, or expired pending authorizations return data.status=expired with HTTP 200. Pending states expire after 600 seconds. Completed results are not consumed by reads; the current implementation only prunes their age when another test result is stored, so expiresAt is not a strict expiry for completed results. No claim values or tokens are exposed.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
statestrimpl DisplayPfadjaOpaque state returned when the OIDC login test was started.

Rückgabe ExternalLoginOidcTestResult

test = client.external_logins.oidc.test.get(7, "opaque-session-bound-state")
print(test.error_code)
let test = client.external_logins().oidc().test().get(7, "opaque-session-bound-state")?;
println!("{:?}", test.error_code);

POST/externallogins/{externalLoginId}/oidc/test*

client.external_logins.oidc.test.create()client.external_logins().oidc().test().create()

Start OIDC login test

Starts an OIDC Authorization Code test using the stored provider configuration. Requires "churchcore administer settings" permission. Hidden OIDC providers can be tested. Returns a URL to open in the same browser session and an opaque state for polling; preserve the session cookie through the provider callback. The pending flow expires after 600 seconds and shares the session limit of ten pending authorizations. This performs issuer discovery and token validation but does not create or link a person or establish a new ChurchTools login. Errors during authorization preparation are returned as data.status=error with HTTP 200; provider lookup errors occur before that conversion.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja

Rückgabe Union[ExternalLoginOidcTestStart, ExternalLoginOidcTestError]serde_json::Value

result = client.external_logins.oidc.test.create(7)
print(result)
let result = client.external_logins().oidc().test().create(7)?;
println!("{:?}", result);

GET/externallogins/{externalLoginId}/saml/test/{state}

client.external_logins.saml.test.get()client.external_logins().saml().test().get()

Get SAML login test result

Polls a SAML test for the current administrator, provider and browser session. Requires "churchcore administer settings" permission; hidden SAML providers are allowed. An unknown state, another administrator/provider/session, an evicted test, or a test older than 600 seconds returns status=expired with HTTP 200. Success returns attribute names and all five mapping-presence checks; error returns only its status. Reads do not consume completed results. Provider lookup and SAML configuration are checked again, so deleting the provider or breaking its settings can prevent polling an existing result.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja
statestrimpl DisplayPfadjaOpaque state returned when the SAML login test was started.

Rückgabe ExternalLoginSamlTestResult

test = client.external_logins.saml.test.get(7, "beispiel")
print(test.status)
let test = client.external_logins().saml().test().get(7, "beispiel")?;
println!("{}", test.status);

POST/externallogins/{externalLoginId}/saml/test*

client.external_logins.saml.test.create()client.external_logins().saml().test().create()

Start SAML login test

Starts a SAML round-trip test for the stored provider configuration. Requires "churchcore administer settings" permission; hidden SAML providers can be tested. Open data.url in the same browser session, then poll using data.state. At most five tests are retained per session; older entries are evicted. Tests and completed results expire 600 seconds after creation. The callback validates the SAML response and returns claim-name/mapping diagnostics without creating or linking a ChurchTools person or establishing a new ChurchTools login. A successful test does not guarantee that required identity attributes have usable values or that person matching would succeed. Configuration/URL-generation failures are not converted into an error result by this endpoint.

ParameterTypOrtPflichtBeschreibung
external_login_idintimpl DisplayPfadja

Rückgabe ExternalLoginSamlTestStart

result = client.external_logins.saml.test.create(7)
print(result.expires_at)
let result = client.external_logins().saml().test().create(7)?;
println!("{}", result.expires_at);

POST/featureusage*

client.feature_usage.create()client.feature_usage().create()

Send feature usage statistics in bulk.

ParameterTypOrtPflichtBeschreibung
data"data"List[FeatureUsage]Vec<FeatureUsage>Body

Rückgabe None()

client.feature_usage.create()
let body = models::PostFeatureusageBody::default();
client.feature_usage().create(&body)?;

GET/history

client.history.list()client.history().list()Query: GetHistoryQueryseitenweise

Get History

Get history entries with links to domain objects.

9 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
domain_typesList[str]Vec<String>QueryjaTypes of domain objects to retrieve
domain_identifiersList[str]Vec<String>QueryjaIdentifiers of domain objects to retrieve
actionstrStringQueryFilters the action of the entry
querystrStringQueryFull-Text Search for the Entry Name.
from_fromdateNaiveDateQueryReturn entities starting from this date.
todateNaiveDateQueryReturn entities up to (but not including) this date.
actor_idinti64QueryReturn entries created by this person.
originstrStringQueryReturn entries with this origin.
limitinti64QueryNumber of results per page.

Rückgabe Paginator[HistoryEntry]Vec<HistoryEntry>

for history in client.history.list(domain_types=["beispiel"], domain_identifiers=["beispiel"]):
    print(history.id)
let query = GetHistoryQuery {
    domain_types: Some(vec!["beispiel".into()]),
    domain_identifiers: Some(vec!["beispiel".into()]),
    ..Default::default()
};
for history in client.history().list(&query)? {
    println!("{}", history.id);
}

POST/installation-sync/oidc*

client.installation_sync.oidc()client.installation_sync().oidc()

Synchronize Directory-managed OIDC configuration

Applies a Directory-signed OIDC configuration to the dedicated ChurchTools Identity provider. This public endpoint trusts only locally provisioned signing keys and uses monotonic revisions.

ParameterTypOrtPflichtBeschreibung
configuration_token"configurationToken"strStringBodyjaCompact RS256 JWS containing the configuration.

Rückgabe PostInstallationSyncOidcData

installation_sync = client.installation_sync.oidc(configuration_token="abc123")
print(installation_sync.external_login_id)
let body = models::PostInstallationSyncOidcBody {
    configuration_token: "abc123".into(),
    ..Default::default()
};
let installation_sync = client.installation_sync().oidc(&body)?;
println!("{:?}", installation_sync.external_login_id);

GET/license/fetch

client.license.get_fetch()client.license().get_fetch()

Fetch license information

Fetches and stores the current license information.

Rückgabe None()

client.license.get_fetch()
client.license().get_fetch()?;

GET/menu

client.menu.get()client.menu().get()

Get the CT-Menu

Rückgabe GetMenuResponse

menu = client.menu.get()
print(menu.current_station)
let menu = client.menu().get()?;
println!("{:?}", menu.current_station);

POST/nps*

client.nps.create()client.nps().create()

Save NPS score

ParameterTypOrtPflichtBeschreibung
score"score"inti64Bodyja

Rückgabe PostNpsResponse

result = client.nps.create(score=42)
print(result.date)
let body = models::PostNpsBody {
    score: 42,
    ..Default::default()
};
let result = client.nps().create(&body)?;
println!("{:?}", result.date);

GET/oauthclients

client.oauth_clients.list()client.oauth_clients().list()

List registered OAuth clients

Lists visible OAuth clients registered in this ChurchTools installation, without pagination or an explicit sort order. Requires "churchcore administer settings" permission. Client secrets and hashes are not included.

Rückgabe List[OAuthClient]Vec<OAuthClient>

for oauth_client in client.oauth_clients.list():
    print(oauth_client.name)
for oauth_client in client.oauth_clients().list()? {
    println!("{}", oauth_client.name);
}

POST/oauthclients

client.oauth_clients.create()client.oauth_clients().create()

Register an OAuth client

Registers a visible OAuth client for an application that uses ChurchTools as its authorization server. Requires "churchcore administer settings" permission. The name must be unique, including hidden clients. Confidential clients receive a generated secret exactly once. Logo discovery can contact the redirect origin or configured metadata service.

ParameterTypOrtPflichtBeschreibung
is_confidential"isConfidential"boolBodytrue generates a secret for a server application able to keep it private; false creates a public client without a secret.
name"name"strStringBodyjaDisplay name, unique across visible and hidden OAuth clients.
redirect_uri"redirectUri"strStringBodyjaSingle callback URI stored as the registered redirect entry.

Rückgabe OAuthClientCreated

result = client.oauth_clients.create(
    name="Parish website",
    redirect_uri="https://parish.example.org/oauth/callback",
)
print(result.name)
let body = models::OAuthClientCreate {
    name: "Parish website".into(),
    redirect_uri: "https://parish.example.org/oauth/callback".into(),
    ..Default::default()
};
let result = client.oauth_clients().create(&body)?;
println!("{}", result.name);

PUT/oauthclients/{identifier}

client.oauth_clients.update()client.oauth_clients().update()

Update an OAuth client

Replaces the name and registered redirect URI of a visible OAuth client. Requires "churchcore administer settings" permission. The URI replaces all previously registered URI entries. The name must remain unique across visible and hidden clients. Logo discovery runs again from the new URI origin.

ParameterTypOrtPflichtBeschreibung
identifierstrimpl DisplayPfadjaOAuth client_id, not the internal numeric id.
is_confidential"isConfidential"boolBodyLegacy compatibility field.
name"name"strStringBodyjaDisplay name, unique across visible and hidden OAuth clients.
redirect_uri"redirectUri"strStringBodyjaSingle callback URI stored as the registered redirect entry.

Rückgabe OAuthClient

result = client.oauth_clients.update(
    "abc123",
    name="Parish website",
    redirect_uri="https://parish.example.org/oauth/callback",
)
print(result.name)
let body = models::OAuthClientUpdate {
    name: "Parish website".into(),
    redirect_uri: "https://parish.example.org/oauth/callback".into(),
    ..Default::default()
};
let result = client.oauth_clients().update("abc123", &body)?;
println!("{}", result.name);

DELETE/oauthclients/{identifier}

client.oauth_clients.delete()client.oauth_clients().delete()

Delete an OAuth client

Permanently deletes a visible OAuth client. Requires "churchcore administer settings" permission. Database cascades remove associated authorization codes, access tokens and consents. Hidden clients cannot be managed through this endpoint.

ParameterTypOrtPflichtBeschreibung
identifierstrimpl DisplayPfadjaOAuth client_id, not the internal numeric id.

Rückgabe None()

client.oauth_clients.delete("abc123")
client.oauth_clients().delete("abc123")?;

GET/persons/search_old

client.persons.list_search_old()client.persons().list_search_old()veraltet

Rückgabe List[int]Vec<i64>

for search_old in client.persons.list_search_old():
    print(search_old)
for search_old in client.persons().list_search_old()? {
    println!("{:?}", search_old);
}

GET/persons/{personId}/poststatistics

client.persons.get_post_statistics()client.persons().get_post_statistics()

Returns the post statistics for a person

ParameterTypOrtPflichtBeschreibung
person_idstrimpl DisplayPfadja

Rückgabe PersonPostStatistics

post_statistic = client.persons.get_post_statistics("abc123")
print(post_statistic.count_banned)
let post_statistic = client.persons().get_post_statistics("abc123")?;
println!("{}", post_statistic.count_banned);

POST/persons/export*

client.persons.export()client.persons().export()

Rückgabe None()

client.persons.export()
client.persons().export()?;

POST/persons/filter*

client.persons.filter()client.persons().filter()mit Filtern: .filter_with(&PostPersonsFilterQuery)

Filter persons with probes

Evaluates a logical expression of probes against all persons the current user may view. Probe evaluation honors person security levels, and the matching persons are returned as a paginated collection.

ParameterTypOrtPflichtBeschreibung
pageinti64QueryPage number to show page in pagination.
limitinti64QueryNumber of matching persons returned per page.
bodyUnion[ProbeInvocation, ProbeLogicalExpression, ProbeMembershipTraversalExpression, ProbeRelationshipTraversalExpression]serde_json::ValueBodyja

Rückgabe List[Person]Vec<Person>

for person in client.persons.filter(
    body=ct.models.ProbeInvocation.model_validate({"data": {}, "probe": "probe-person-field"}),
):
    print(person.title)
let body = serde_json::json!({
    "data": {},
    "probe": "probe-person-field"
});
for person in client.persons().filter(&body)? {
    println!("{:?}", person.title);
}

POST/probes*

client.probes.filter()client.probes().filter()

Get filtered probes

Returns probe definitions filtered by one or more domain types.

ParameterTypOrtPflichtBeschreibung
domain_type"domain_type"List[str]Vec<String>BodyjaOne or more domain types to filter probes by.
filter"filter"StrMap[Any]BTreeMap<String, serde_json::Value>BodyOptional domain-specific filter criteria.

Rückgabe List[Probe]Vec<Probe>

for probe in client.probes.filter(domain_type=["person"]):
    print(probe.domain_type)
let body = models::PostProbesBody {
    domain_type: vec!["person".into()],
    ..Default::default()
};
for probe in client.probes().filter(&body)? {
    println!("{}", probe.domain_type);
}

GET/profiles/slugcheck/{slug}

client.profiles.slug_check.get()client.profiles().slug_check().get()mit Filtern: .get_with(&GetProfilesSlugcheckSlugQuery)

Check if a finder slug is free

Published profiles are visibale in ChurchTools Finder. Each profile has an unique slug (URI). This endpoint can be used to check if a slug is free.

ParameterTypOrtPflichtBeschreibung
slugstrimpl DisplayPfadjaSlug to check
guidstrStringQueryGUID of the profile currently being edited.

Rückgabe None()

client.profiles.slug_check.get("my-church")
client.profiles().slug_check().get("my-church")?;

GET/registrationconfig/{id}

client.registration_config.get()client.registration_config().get()

Get self-registration configuration

Loads the form and campus choices for self-registration. Callers with "churchcore administer persons" permission also receive administrative settings and audit metadata. fields contains active configured fields, or the default phone, address, sex and birthday fields when no selection is stored.

ParameterTypOrtPflichtBeschreibung
idUnion[int, str]impl DisplayPfadjaNumeric configuration ID or its GUID.

Rückgabe RegistrationConfig

registration_config = client.registration_config.get(42)
print(registration_config.id)
let registration_config = client.registration_config().get(serde_json::json!(42))?;
println!("{}", registration_config.id);

PATCH/registrationconfig/{id}*

client.registration_config.patch()client.registration_config().patch()

Update self-registration configuration

Partially updates the numeric configuration ID. Requires "churchcore administer persons" permission. Supplied arrays replace their complete lists. Changing the configuration does not alter existing persons or memberships. Returns the complete administrative configuration.

12 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of Entity
blacklist"blacklist"List[str]Vec<String>BodyCase-insensitive email patterns; * is a wildcard.
campuses"campuses"List[RegistrationConfigUpdateCampusesItem]Vec<RegistrationConfigUpdateCampusesItem>Body
department_ids"departmentIds"List[int]Vec<i64>Body
fields"fields"List[RegistrationConfigUpdateFieldsItem]Vec<RegistrationConfigUpdateFieldsItem>BodyComplete replacement of configured person fields.
is_active"isActive"boolBody
minimum_age"minimumAge"inti64Body
show_button"showButton"boolBody
status_id"statusId"Optional[int]Option<i64>Body
tags"tags"List[str]Vec<String>BodyLegacy input alias; prefer tagsForNewPersons.
tags_for_existing_persons"tagsForExistingPersons"List[str]Vec<String>Body
tags_for_new_persons"tagsForNewPersons"List[str]Vec<String>Body

Rückgabe RegistrationConfigAdmin

result = client.registration_config.patch(1, is_active=True)
print(result.id)
let body = models::RegistrationConfigUpdate {
    is_active: Some(true),
    ..Default::default()
};
let result = client.registration_config().patch(1, &body)?;
println!("{}", result.id);

POST/registrations*

client.registrations.create()client.registrations().create()

Start self-registration

Starts account self-registration for the configuration GUID and emails a confirmation link. Requires an active, complete configuration and an enabled default login. Blacklisted email addresses, blocked accounts and recognized existing login accounts receive an informational email and return 204 without creating a registration.

ParameterTypOrtPflichtBeschreibung
config_id"configId"strStringBodyjaGUID from RegistrationConfig.guid.
email"email"strStringBodyjaEmail address used for confirmation.
first_name"firstName"strStringBodyjaGiven name.
has_minimum_age"hasMinimumAge"boolBodyApplicant confirms the configured minimum age.
last_name"lastName"strStringBodyjaFamily name.
password"password"strStringBodyjaMust satisfy the configured password-strength requirements.
redirect_after_registration"redirectAfterRegistration"Optional[str]Option<String>BodyDestination for the client after completion.

Rückgabe Optional[Registration]Option<Registration>

result = client.registrations.create(
    config_id="8c3bf5f0-305d-4e24-8e06-7c1d217fd3f1",
    email="mara@example.org",
    first_name="Mara",
    last_name="Becker",
    password="geheim",
)
print(result)
let body = models::RegistrationCreate {
    config_id: "8c3bf5f0-305d-4e24-8e06-7c1d217fd3f1".into(),
    email: "mara@example.org".into(),
    first_name: "Mara".into(),
    last_name: "Becker".into(),
    password: "geheim".into(),
    ..Default::default()
};
let result = client.registrations().create(&body)?;
println!("{:?}", result);

DELETE/registrations/{registrationGuid}*

client.registrations.delete()client.registrations().delete()

Delete self-registration

Deletes the registration record by GUID. This does not delete a person created by an earlier conversion.

ParameterTypOrtPflichtBeschreibung
registration_guidstrimpl DisplayPfadjaGUID of the pending self-registration

Rückgabe None()

client.registrations.delete("8c3bf5f0-305d-4e24-8e06-7c1d217fd3f1")
client.registrations().delete("8c3bf5f0-305d-4e24-8e06-7c1d217fd3f1")?;

POST/registrations/{registrationGuid}/confirm*

client.registrations.confirm()client.registrations().confirm()

Confirm self-registration email

Verifies the emailed token for an unconverted registration and records the confirmation time. Returns active persons with the same default email as possibleMatches, including configured form fields and hasPassword. Repeated confirmation is accepted while the registration is unconverted.

ParameterTypOrtPflichtBeschreibung
registration_guidstrimpl DisplayPfadjaGUID of the pending self-registration
token"token"strStringBodyjaConfirmation token from the emailed link.

Rückgabe Registration

registration = client.registrations.confirm("8c3bf5f0-305d-4e24-8e06-7c1d217fd3f1", token="abc123")
print(registration.first_name)
let body = models::RegistrationConfirm {
    token: "abc123".into(),
    ..Default::default()
};
let registration = client.registrations().confirm("8c3bf5f0-305d-4e24-8e06-7c1d217fd3f1", &body)?;
println!("{}", registration.first_name);

POST/registrations/{registrationGuid}/convert*

client.registrations.convert()client.registrations().convert()

Complete self-registration

Completes an email-confirmed, unconverted registration using its token. Creates a new person or links personId to an active person with the same default email. Requires an active/complete configuration and enabled default login. formData supplies consent and configured fields by field ID or modern person field name (ID takes precedence); unknown/unconfigured fields are discarded. Required configured fields and person data are validated. A new person receives configured status, departments, tags and campus group memberships; a sole campus is selected automatically, otherwise formData.campusId must match a configured campus. Existing persons receive supplied fields, configured existing-person tags and the registration password. Success marks conversion complete and logs in that person in the current session.

ParameterTypOrtPflichtBeschreibung
registration_guidstrimpl DisplayPfadjaGUID of the pending self-registration
form_data"formData"RegistrationConvertFormDataBodyjaConsent fields plus configured person fields by numeric field ID or modern field name.
person_id"personId"inti64BodyEligible existing person to link; without it, a new person is created.
token"token"strStringBodyjaSame token used for email confirmation.

Rückgabe None()

client.registrations.convert(
    "8c3bf5f0-305d-4e24-8e06-7c1d217fd3f1",
    form_data=ct.models.RegistrationConvertFormData.model_validate({"acceptDataPrivacy": True}),
    token="abc123",
)
let body = models::RegistrationConvert {
    form_data: models::RegistrationConvertFormData {
        accept_data_privacy: true,
        ..Default::default()
    },
    token: "abc123".into(),
    ..Default::default()
};
client.registrations().convert("8c3bf5f0-305d-4e24-8e06-7c1d217fd3f1", &body)?;

POST/registrations/{registrationGuid}/resend*

client.registrations.resend()client.registrations().resend()

Resend self-registration confirmation

Resends the confirmation email for this registration.

ParameterTypOrtPflichtBeschreibung
registration_guidstrimpl DisplayPfadjaGUID of the pending self-registration

Rückgabe None()

client.registrations.resend("8c3bf5f0-305d-4e24-8e06-7c1d217fd3f1")
client.registrations().resend("8c3bf5f0-305d-4e24-8e06-7c1d217fd3f1")?;

GET/routines

client.routines.list()client.routines().list()mit Filtern: .list_with(&GetRoutinesQuery)

List visible automation definitions

A routine is an automation definition attached to a domain context (currently a group membership role/status). Each matching membership can have its own run and progress. Lists only routines with at least one domain attachment for which the caller can administer routines in every associated group. Includes enabled and disabled definitions with nested step trees; no pagination or explicit sort order. meta.count counts the returned routines.

ParameterTypOrtPflichtBeschreibung
domain_typestrStringQueryOptional domain filter; group_membership is the currently registered handler.

Rückgabe List[Routine]Vec<Routine>

for routine in client.routines.list():
    print(routine.name)
for routine in client.routines().list()? {
    println!("{}", routine.name);
}

GET/routines/{routineId}

client.routines.get()client.routines().get()

Get automation definition

Requires routine administration for every associated group. Returns the definition and nested step tree, including disabled steps. A routine with no associated domain context is not visible through this endpoint. Action data is expanded for clients, including stored email/follow-up definitions. Run progress is available separately from /runs.

ParameterTypOrtPflichtBeschreibung
routine_idintimpl DisplayPfadjaID of a routine

Rückgabe Routine

routine = client.routines.get(9)
print(routine.name)
let routine = client.routines().get(9)?;
println!("{}", routine.name);

POST/routines*

client.routines.create()client.routines().create()

Create group-membership automation

Creates a routine and attaches it to a group, role and optional membership status. Currently domainType must be group_membership. Requires routine administration for the context group. The new definition has no steps; use PATCH to add the complete step tree. isEnabled defaults to false and priority to 0. Creation alone does not explicitly start the worker.

ParameterTypOrtPflichtBeschreibung
description"description"Optional[str]Option<String>Body
domain_context"domainContext"RoutineCreateDomainContextBodyjaContext for the currently supported group_membership domain.
domain_type"domainType"strStringBodyja
is_enabled"isEnabled"boolBody
name"name"strStringBodyjaTrimmed automation name.
priority"priority"inti64BodyExecution order for routines bound to the same trigger.
trigger_key"triggerKey"strStringBodyRegistered trigger whose domain type must match domainType.

Rückgabe Routine

result = client.routines.create(
    domain_context=ct.models.RoutineCreateDomainContext.model_validate({"groupId": 42, "groupTypeRoleId": 42}),
    domain_type="group_membership",
    name="Welcome new members",
)
print(result.name)
let body = models::RoutineCreate {
    domain_context: models::RoutineCreateDomainContext {
        group_id: 42,
        group_type_role_id: 42,
        ..Default::default()
    },
    domain_type: "group_membership".into(),
    name: "Welcome new members".into(),
    ..Default::default()
};
let result = client.routines().create(&body)?;
println!("{}", result.name);

PATCH/routines/{routineId}*

client.routines.patch()client.routines().patch()mit Filtern: .patch_with(&PatchRoutinesRoutineIdQuery)

Update automation and reposition runs

Requires routine administration for every associated group. Partially updates definition fields. Supplied steps replaces the entire step tree: keep id to update an existing step, omit id to create one; an existing step’s actionKey cannot change. Omitted steps are deleted, but affected runs must be repositioned or the operation returns 422. restart/finish and per-step reposition accept source step IDs or not-started/started/finished run buckets. Repeat loops may occur only at root level, must contain a waiting action, and an unbounded loop must be last. Destructive membership actions must be last. dry_run=true validates input and permissions, returns 204 and skips persistence; persistence-only consistency checks can still fail on the real update. Enabling, changing steps or repositioning runs can immediately trigger pending execution beyond this routine.

9 Parameter anzeigen
ParameterTypOrtPflichtBeschreibung
routine_idintimpl DisplayPfadjaID of a routine
dry_runboolQueryValidate controller-level input/permissions without persisting; returns 204.
description"description"Optional[str]Option<String>Body
finish"finish"List[Union[int, str]]Vec<serde_json::Value>BodySource step IDs or run status buckets.
is_enabled"isEnabled"boolBody
name"name"strStringBody
priority"priority"inti64Body
restart"restart"List[Union[int, str]]Vec<serde_json::Value>BodySource step IDs or run status buckets.
steps"steps"List[Union[RoutineStepUpdateWithoutRepeat, RoutineStepUpdateRepeat]]Vec<serde_json::Value>BodyComplete replacement tree; omitted existing steps are removed.

Rückgabe Optional[Routine]Option<Routine>

result = client.routines.patch(9, name="Welcome new members")
print(result)
let body = models::RoutineUpdate {
    name: Some("Welcome new members".into()),
    ..Default::default()
};
let result = client.routines().patch(9, &body)?;
println!("{:?}", result);

DELETE/routines/{routineId}*

client.routines.delete()client.routines().delete()

Delete automation definition

Requires routine administration for every associated group. Deletes the routine, its steps and associated action definitions through action cleanup handlers. A missing routine returns 404. This endpoint has no dry-run. Effects already produced by previous runs, such as sent mail or person changes, are not reversed.

ParameterTypOrtPflichtBeschreibung
routine_idintimpl DisplayPfadjaID of a routine

Rückgabe None()

client.routines.delete(9)
client.routines().delete(9)?;

POST/routines/execute*

client.routines.execute()client.routines().execute()

Process pending automation runs

Triggers the shared routine worker for pending ready runs of enabled routines. Requires authentication; this controller has no additional routine/group authorization check. Processes batches of up to 25 runs and schedules another worker when a batch is full. A recent worker marker or ongoing bulk processing can skip execution while still returning 204. This is a global processing trigger, not a request to execute one selected routine or a completion report.

Rückgabe None()

client.routines.execute()
client.routines().execute()?;

GET/routines/{routineId}/runs

client.routines.runs.list()client.routines().runs().list()mit Filtern: .list_with(&GetRoutinesRoutineIdRunsQuery)

List automation runs and potential runs

Requires routine administration for every associated group. Lists persisted runs with isReady=true for this routine. with_potential_domain_objects=true appends eligible memberships without a run as not-started entries with id=null and meta=null; these are previews, not newly persisted runs. No pagination or explicit ordering. include[]=domainObject adds the resolved membership domain object or null if it cannot be resolved. Loop iteration and wait-start date are included only when available; terminal runs omit them.

ParameterTypOrtPflichtBeschreibung
routine_idintimpl DisplayPfadjaID of a routine
includeList[str]Vec<String>QueryInclude additional information
with_potential_domain_objectsboolQueryAppend unpersisted candidate runs with null IDs.

Rückgabe List[RoutineRun]Vec<RoutineRun>

for run in client.routines.runs.list(9):
    print(run.id)
for run in client.routines().runs().list(9)? {
    println!("{:?}", run.id);
}

POST/routines/{routineId}/runs/{runId}/{runAction}*

client.routines.runs.create()client.routines().runs().create()

Apply action to an automation run

Requires routine administration for every associated group. Actions pause, resume, restart-routine, restart-step, skip-step and update change run state and then invoke the worker, so the returned status may already reflect further execution. For update, supply at most one of currentIteration and waitingSince. currentIteration=0 is ignored by the current implementation; other integers have no minimum constraint. waitingSince is stored as a calendar date. A state change incompatible with the current step can return 422. Use run IDs belonging to the route routine; the current backend authorizes routineId separately from the run lookup.

ParameterTypOrtPflichtBeschreibung
routine_idintimpl DisplayPfadjaID of a routine
run_idintimpl DisplayPfadjaID of a routine run
run_actionstrimpl DisplayPfadjaRun transition; some actions may immediately continue execution.
current_iteration"currentIteration"inti64BodyUpdate the current iteration for a special:repeat step
waiting_since"waitingSince"dateNaiveDateBodyUpdate the waiting since date for a special:wait step

Rückgabe RoutineRun

result = client.routines.runs.create(9, 16, "pause", current_iteration=42)
print(result.id)
let body = models::RoutineRunUpdate {
    current_iteration: Some(42),
    ..Default::default()
};
let result = client.routines().runs().create(9, 16, "pause", &body)?;
println!("{:?}", result.id);

POST/routines/{routineId}/runs/bulk/{runAction}*

client.routines.runs.bulk.create()client.routines().runs().bulk().create()

Apply action to multiple automation runs

Requires routine administration for every associated group. Actions pause, resume, restart-routine, restart-step, skip-step and update change run state and then invoke the worker, so the returned status may already reflect further execution. runIds is a nonempty list. Each run is processed in a separate transaction; earlier runs may remain changed when a later one fails. The bulk endpoint validates no currentIteration/waitingSince fields, so update cannot change those values here. Use run IDs belonging to the route routine; the current backend authorizes routineId separately from the run lookup.

ParameterTypOrtPflichtBeschreibung
routine_idintimpl DisplayPfadjaID of a routine
run_actionstrimpl DisplayPfadjaRun transition; some actions may immediately continue execution.
run_ids"runIds"List[int]Vec<i64>BodyjaRun IDs processed sequentially.

Rückgabe List[RoutineRun]Vec<RoutineRun>

for bulk in client.routines.runs.bulk.create(9, "pause", run_ids=[42]):
    print(bulk.id)
let body = models::RoutineRunBulkUpdate {
    run_ids: vec![42],
    ..Default::default()
};
for bulk in client.routines().runs().bulk().create(9, "pause", &body)? {
    println!("{:?}", bulk.id);
}

POST/routines/{routineId}/steps/validate*

client.routines.steps.validate()client.routines().steps().validate()

Validate one automation action

Requires routine administration for every associated group. Validates actionKey/actionData and checks action execution permission in the routine context without creating or executing a step. For special:repeat, count is optional (unbounded) and otherwise at least 1. special:wait requires exactly one of untilDate or duration, with at least one positive numDays/numMonths/numYears. This endpoint does not validate a complete step tree, nesting, ordering or whether a repeat loop includes a delay; PATCH applies those checks separately. Unknown action keys currently produce a server error.

ParameterTypOrtPflichtBeschreibung
routine_idintimpl DisplayPfadja
action_data"actionData"StrMap[Any]BTreeMap<String, serde_json::Value>BodyAction-specific data.
action_key"actionKey"strStringBodyjaRegistered action key, or special:wait / special:repeat.

Rückgabe None()

client.routines.steps.validate(42, action_key="special:wait")
let body = models::RoutineActionValidation {
    action_key: "special:wait".into(),
    ..Default::default()
};
client.routines().steps().validate(42, &body)?;

POST/songs/{songId}/arrangements/{arrangementId}/files/ccli*

client.songs.arrangements.files.ccli()client.songs().arrangements().files().ccli()

Import CCLI files into an arrangement

Imports SongSelect content using the song's stored CCLI number. Requires "use ccli" and "edit songcategory" permission for the song's category. lyrics creates both .txt and .sng files; chordSheet creates a PDF; chordPro creates a .chordpro file.

ParameterTypOrtPflichtBeschreibung
song_idintimpl DisplayPfadjaID of song
arrangement_idintimpl DisplayPfadjaID of arrangement
bodyUnion[PostSongsSongIdArrangementsArrangementIdFilesCcliBodyVariant1, PostSongsSongIdArrangementsArrangementIdFilesCcliBodyVariant2, PostSongsSongIdArrangementsArrangementIdFilesCcliBodyVariant3]serde_json::ValueBodyja

Rückgabe List[CtFile]Vec<CtFile>

for file in client.songs.arrangements.files.ccli(
    42,
    42,
    body=ct.models.PostSongsSongIdArrangementsArrangementIdFilesCcliBodyVariant1.model_validate({"type": "lyrics"}),
):
    print(file.name)
let body = serde_json::json!({
    "type": "lyrics"
});
for file in client.songs().arrangements().files().ccli(42, 42, &body)? {
    println!("{}", file.name);
}

GET/translations/keysbytext

client.translations.list_keys_by_text()client.translations().list_keys_by_text()Query: GetTranslationsKeysbytextQuery

Get all translation keys, which match a translation

Finds keys whose non-deleted translation text exactly matches the trimmed query in any language. This is not a substring search. Keys are returned in a nested array: data always contains one array, which is empty when nothing matches; meta.count is therefore always 1. A key can appear more than once if multiple languages match. No global ordering or pagination is applied.

ParameterTypOrtPflichtBeschreibung
querystrStringQueryjaTranslated text string

Rückgabe List[List[str]]Vec<Vec<String>>

for keys_by_text in client.translations.list_keys_by_text(query="Welcome"):
    print(keys_by_text)
let query = GetTranslationsKeysbytextQuery {
    query: Some("Welcome".into()),
    ..Default::default()
};
for keys_by_text in client.translations().list_keys_by_text(&query)? {
    println!("{:?}", keys_by_text);
}

POST/triggers*

client.triggers.create()client.triggers().create()

Get routine triggers

Returns the registered routine triggers for one or more domain types. Trigger keys are persisted on routines and identify the event that starts a run.

ParameterTypOrtPflichtBeschreibung
domain_type"domain_type"List[str]Vec<String>BodyjaOne or more routine domain types to filter triggers by.

Rückgabe List[RoutineTrigger]Vec<RoutineTrigger>

for trigger in client.triggers.create(domain_type=["group_membership"]):
    print(trigger.domain_type)
let body = models::PostTriggersBody {
    domain_type: vec!["group_membership".into()],
    ..Default::default()
};
for trigger in client.triggers().create(&body)? {
    println!("{}", trigger.domain_type);
}

GET/website/starttest

client.website.get_start_test()client.website().get_start_test()

Rückgabe None()

client.website.get_start_test()
client.website().get_start_test()?;

GET/website/data

client.website.data.list()client.website().data().list()mit Filtern: .list_with(&GetWebsiteDataQuery)

Get the data that is shared with the CT website

ParameterTypOrtPflichtBeschreibung
includeList[str]Vec<String>QueryInclude additional information

Rückgabe List[Union[WebsiteDataStaff, WebsiteDataCalendar, WebsiteDataPerson, WebsiteDataPostsInGroup]]Vec<serde_json::Value>

for item in client.website.data.list():
    print(item)
for item in client.website().data().list()? {
    println!("{:?}", item);
}

POST/website/data*

client.website.data.create()client.website().data().create()

ParameterTypOrtPflichtBeschreibung
additional_id"additionalId"inti64Body
domain_id"domainId"inti64Bodyja
domain_type"domainType"strStringBodyja

Rückgabe WebsiteDataWithoutInclude

result = client.website.data.create(domain_id=42, domain_type="calendar")
print(result.id)
let body = models::WebsiteDataCreate {
    domain_id: 42,
    domain_type: "calendar".into(),
    ..Default::default()
};
let result = client.website().data().create(&body)?;
println!("{}", result.id);

DELETE/website/data/{id}*

client.website.data.delete()client.website().data().delete()

ParameterTypOrtPflichtBeschreibung
idintimpl DisplayPfadjaID of a WebsiteData item

Rückgabe None()

client.website.data.delete(4)
client.website().data().delete(4)?;

Modelle

Absence9 Felder

An absence from service planning for one person, such as vacation or sickness.

FeldTypPflichtBeschreibung
absence_reasonAbsenceReasonjaInstallation-specific category of absence, such as vacation or sickness.
commentstrStringjaStored comment; absent comments are returned as an empty string.
end_datedateNaiveDatejaWhen this absence ends.
end_timeOptional[datetime]Option<DateTime<Utc>>When this absence ends.
idinti64jaID of Record
metaMetaDataEntityIdja
personDomainObjectPersonjaPerson as Domain Object
start_datedateNaiveDatejaWhen this absence begins.
start_timeOptional[datetime]Option<DateTime<Utc>>When this absence begins.
AbsenceCreate6 Felder

Creates an absence for the person identified by the path.

FeldTypPflichtBeschreibung
absence_reason_idinti64jaID of an existing, installation-specific absence reason.
commentOptional[str]Option<String>Comment about the absence.
end_dateUnion[date, datetime]DateOrDateTimeCalendar date (YYYY-MM-DD), interpreted at midnight in the application time zone, or a UTC timestamp ending in Z.
end_timedatetimeDateTime<Utc>Takes precedence over endDate.
start_dateUnion[date, datetime]DateOrDateTimeCalendar date (YYYY-MM-DD), interpreted at midnight in the application time zone, or a UTC timestamp ending in Z.
start_timedatetimeDateTime<Utc>Takes precedence over startDate.
AbsenceReason4 Felder

Installation-specific category of absence, such as vacation or sickness.

FeldTypPflichtBeschreibung
idinti64jaID of the absence reason.
namestrStringjaStored label or translation key.
name_translatedstrStringjaLabel translated for the current language.
sort_keyinti64jaDisplay order.
AbsenceUpdate6 Felder

Replaces an existing absence belonging to the person identified by the path.

FeldTypPflichtBeschreibung
absence_reason_idinti64jaID of an existing, installation-specific absence reason.
commentOptional[str]Option<String>Comment about the absence.
end_dateUnion[date, datetime]DateOrDateTimeCalendar date (YYYY-MM-DD), interpreted at midnight in the application time zone, or a UTC timestamp ending in Z.
end_timedatetimeDateTime<Utc>Takes precedence over endDate.
start_dateUnion[date, datetime]DateOrDateTimeCalendar date (YYYY-MM-DD), interpreted at midnight in the application time zone, or a UTC timestamp ending in Z.
start_timedatetimeDateTime<Utc>Takes precedence over startDate.
Account19 Felder

A ledger account belongs to one accounting period and one account group.

FeldTypPflichtBeschreibung
account_group_idinti64ja
accounting_period_idinti64ja
annotationOptional[str]Option<String>
balanceinti64jaCalculated account balance in minor currency units.
budgetOptional[int]Option<i64>Budget of account in cent.
budget_balanceinti64jaBudget (or 0 without a budget) minus debit plus credit, in minor currency units.
budget_balance_last_periodinti64jaBudget balance of the matching account in the preceding period, in minor currency units.
budget_last_periodOptional[int]Option<i64>Budget of the account with the same number in the preceding period of this client, in minor currency units.
idinti64ja
identifierOptional[str]Option<String>
is_donation_accountboolja
is_mandatory_eubpbooljaFlag indicating if this account must be included in euBP submissions.
is_mandatory_eubp_lockedbooljaFlag indicating if isMandatoryEubp was set by a ChurchTools account template and cannot be edited manually.
is_opening_balance_accountboolja
metaMetaDataEntityIdja
namestrStringja
numberstrStringja
permissionsAccountPermissionsjaPosting permission for the current caller, separate from permission to view or edit account definitions.
tax_rate_idOptional[int]Option<i64>
AccountClass6 Felder

Account classes group account groups within one account type.

FeldTypPflichtBeschreibung
account_type_idinti64jaID of the related account type.
include_profit_lossboolAdds the profit-and-loss total to this class in reports.
namestrStringjaUnique account-class name.
sort_keyinti64Sort order of the account class.
idinti64ja
metaMetaDataEntityIdja
AccountClassCreate4 Felder

Account classes group account groups within one account type.

FeldTypPflichtBeschreibung
account_type_idinti64jaID of the related account type.
include_profit_lossboolAdds the profit-and-loss total to this class in reports.
namestrStringjaUnique account-class name.
sort_keyinti64Sort order of the account class.
AccountClassUpdate4 Felder

Replacement values for an existing account class.

FeldTypPflichtBeschreibung
account_type_idinti64jaID of the related account type.
include_profit_lossboolAdds the profit-and-loss total to this class in reports.
namestrStringjaUnique account-class name.
sort_keyinti64Sort order of the account class.
AccountCreate12 Felder

A ledger account belongs to one accounting period and one account group.

FeldTypPflichtBeschreibung
account_group_idinti64jaExisting parent account group from /finance/accountgroups.
annotationOptional[str]Option<String>Optional trimmed note.
budgetOptional[int]Option<i64>Budget in minor currency units.
identifierOptional[str]Option<String>Optional account identifier, for example an IBAN.
is_donation_accountboolWhether transactions on this account can be recorded as donations.
is_mandatory_eubpboolWhether the account is included in electronically supported employer audits (euBP).
is_opening_balance_accountboolWhether this account is used for opening-balance postings.
namestrStringjaTrimmed, nonblank account name.
numberstrStringjaTrimmed account number.
tax_rate_idOptional[int]Option<i64>Optional default tax rate from /finance/taxrates.
accounting_period_idinti64jaExisting, open accounting period.
is_mandatory_eubp_lockedboolInitial euBP lock. When already locked, later updates force isMandatoryEubp to true.
AccountGroup6 Felder

Account groups collect individual ledger accounts within one account class.

FeldTypPflichtBeschreibung
account_class_idinti64jaExisting parent account class, obtainable from /finance/accountclasses.
is_cash_asset_accountbooljaWhether accounts in this group represent cash or bank assets.
namestrStringjaUnique account-group name, trimmed before storage.
sort_keyinti64Ascending display order.
idinti64ja
metaMetaDataEntityIdja
AccountGroupCreate4 Felder

Account groups collect individual ledger accounts within one account class.

FeldTypPflichtBeschreibung
account_class_idinti64jaExisting parent account class, obtainable from /finance/accountclasses.
is_cash_asset_accountbooljaWhether accounts in this group represent cash or bank assets.
namestrStringjaUnique account-group name, trimmed before storage.
sort_keyinti64Ascending display order.
AccountGroupUpdate4 Felder

Replacement values for an existing account group.

FeldTypPflichtBeschreibung
account_class_idinti64jaExisting parent account class, obtainable from /finance/accountclasses.
is_cash_asset_accountbooljaWhether accounts in this group represent cash or bank assets.
namestrStringjaUnique account-group name, trimmed before storage.
sort_keyinti64Ascending display order.
AccountImportTemplateCreate4 Felder

Selection for an XLSX account-import workbook.

FeldTypPflichtBeschreibung
client_idOptional[int]Option<i64>Filter existing accounts by client.
template_idOptional[int]Option<i64>Finance-template file ID.
with_clientsboolPrepend client and booking-year columns.
yearOptional[int]Option<i64>Calendar year of the accounting-period start date.
AccountPermissions1 Felder

Posting permission for the current caller, separate from permission to view or edit account definitions.

FeldTypPflichtBeschreibung
allow_postingbooljaFlag, if user can use this account to post a transaction.
AccountStatement9 Felder

Imported bank statement with balances and movement counts.

FeldTypPflichtBeschreibung
duplicatesinti64jaNumber of source movements skipped as duplicates during import.
end_amountinti64jaBalance in minor currency units (cents for EUR), which can be negative.
end_datedateNaiveDatejaA simple date in ISO format, e.g.
idinti64ja
identifierOptional[str]Option<String>Account identifier detected in the source, such as an IBAN; null if the format provides none.
namestrStringja
start_amountinti64jaBalance in minor currency units (cents for EUR), which can be negative.
start_datedateNaiveDatejaA simple date in ISO format, e.g.
statisticsStatementStatisticsja
AccountStatementPreview10 Felder

Parsed statement preview.

FeldTypPflichtBeschreibung
duplicatesinti64jaMovements matching existing movements across all accounts in the parsed date range.
end_amountinti64jaEnd balance in cents.
end_datedateNaiveDatejaA simple date in ISO format, e.g.
file_namestrStringja
file_typestrStringjaDetected parser format.
identifierOptional[str]Option<String>Account identifier detected in the source, such as an IBAN; null if the format provides none.
movementsinti64jaMovement count after cross-account duplicate comparison.
start_amountinti64jaStart balance in cents.
start_datedateNaiveDatejaA simple date in ISO format, e.g.
without_amountinti64jaNumber of movements with an amount of zero that would be skipped on import.
AccountStatementReportCreate3 Felder

Optional account-report options.

FeldTypPflichtBeschreibung
end_dateOptional[date]Option<NaiveDate>Last document date to include.
formatstrStringPDF creates a file and returns its URL with HTTP 201.
start_dateOptional[date]Option<NaiveDate>First document date to include.
AccountStatementStatistics4 Felder

Movement counts for one account.

FeldTypPflichtBeschreibung
account_idinti64ja
bookedinti64Number of movements that have been booked.
ignoredinti64Number of movements that have been ignored.
openinti64Number of movements that are still open.
AccountStatementUpdate1 Felder

New display name for an imported statement.

FeldTypPflichtBeschreibung
namestrStringjaStored as supplied; whitespace and an empty string are accepted.
AccountType6 Felder

Account types are the top level of the finance chart of accounts.

FeldTypPflichtBeschreibung
balance_typeOptional[str]Option<String>Balance-sheet side: assets or liabilities.
namestrStringjaUnique account-type name.
sort_keyinti64Ascending display order.
idinti64ja
is_balance_accountboolLegacy flag: true when balanceType is non-null. veraltet
metaMetaDataEntityIdja
AccountTypeCreate3 Felder

Account types are the top level of the finance chart of accounts.

FeldTypPflichtBeschreibung
balance_typeOptional[str]Option<String>Balance-sheet side: assets or liabilities.
namestrStringjaUnique account-type name.
sort_keyinti64Ascending display order.
AccountTypeUpdate3 Felder

Replacement values for an existing account type.

FeldTypPflichtBeschreibung
balance_typeOptional[str]Option<String>Balance-sheet side: assets or liabilities.
namestrStringjaUnique account-type name.
sort_keyinti64Ascending display order.
AccountUpdate10 Felder

Replacement values for an account in an open accounting period.

FeldTypPflichtBeschreibung
account_group_idinti64jaExisting parent account group from /finance/accountgroups.
annotationOptional[str]Option<String>Optional trimmed note.
budgetOptional[int]Option<i64>Budget in minor currency units.
identifierOptional[str]Option<String>Optional account identifier, for example an IBAN.
is_donation_accountboolWhether transactions on this account can be recorded as donations.
is_mandatory_eubpboolWhether the account is included in electronically supported employer audits (euBP).
is_opening_balance_accountboolWhether this account is used for opening-balance postings.
namestrStringjaTrimmed, nonblank account name.
numberstrStringjaTrimmed account number.
tax_rate_idOptional[int]Option<i64>Optional default tax rate from /finance/taxrates.
AccountingPeriod9 Felder

An accounting period is the date range for one finance client’s books, usually a financial year.

FeldTypPflichtBeschreibung
client_idinti64jaFinance client owning this period.
end_datedateNaiveDatejaLast date of the period.
increment_document_numberbooljaWhether document numbers are incremented automatically.
is_closedbooljaWhether the period is closed for ordinary accounting changes.
start_datedateNaiveDatejaFirst date of the period.
donation_receipts_createdOptional[datetime]Option<DateTime<Utc>>Timestamp when donation receipts were marked as created, or null when not yet marked.
idinti64ja
metaMetaDataEntityIdja
permissionsAccountingPeriodPermissionsja
AccountingPeriodBalanceTransfer2 Felder

Optional opening-balance transfer.

FeldTypPflichtBeschreibung
from_fromList[int]Vec<i64>Source balance-sheet account IDs from the previous period.
opening_balance_accountOptional[int]Option<i64>ID of an existing account whose number identifies an opening-balance account in the target period.
AccountingPeriodCreate7 Felder

An accounting period is the date range for one finance client’s books, usually a financial year.

FeldTypPflichtBeschreibung
client_idinti64jaFinance client owning this period.
end_datedateNaiveDatejaLast date of the period.
increment_document_numberbooljaWhether document numbers are incremented automatically.
is_closedbooljaWhether the period is closed for ordinary accounting changes.
start_datedateNaiveDatejaFirst date of the period.
balancesAccountingPeriodBalanceTransferOptional opening-balance transfer.
copy_master_databoolCopy the previous period’s accounts, cost centers and related finance master data.
AccountingPeriodPermissions3 Felder
FeldTypPflichtBeschreibung
can_use_expert_modebooljaWhether the caller has resolved edit permission for finance expert-mode operations in this period.
edit_accounting_periodbooljaWhether the caller has global finance edit accounting period permission for this period.
view_accounting_periodbooljaWhether the caller has global finance view accounting period permission for this period.
AccountingPeriodUpdate7 Felder

Replacement period settings.

FeldTypPflichtBeschreibung
client_idinti64jaFinance client owning this period.
end_datedateNaiveDatejaLast date of the period.
increment_document_numberbooljaWhether document numbers are incremented automatically.
is_closedbooljaWhether the period is closed for ordinary accounting changes.
start_datedateNaiveDatejaFirst date of the period.
balancesAccountingPeriodBalanceTransferOptional opening-balance transfer.
set_immutabilityboolWhen isClosed=true, make currently mutable transactions in the period immutable.
Action4 Felder
FeldTypPflichtBeschreibung
action_meta_dataActionMetaDataja
domain_typestrStringja
groupOptional[ActionGroup]Option<ActionGroup>
keystrStringja
ActionGroup2 Felder
FeldTypPflichtBeschreibung
keystrStringja
namestrStringja
ActionMetaData4 Felder
FeldTypPflichtBeschreibung
colorstrStringjaA color in ChurchTools
descriptionOptional[str]Option<String>
iconstrStringja
namestrStringja
Address24 Felder
FeldTypPflichtBeschreibung
additionOptional[str]Option<String>
cityOptional[str]Option<String>
colorOptional[Union[str, str]]serde_json::Value
countryOptional[str]Option<String>A country's ISO-code
districtOptional[str]Option<String>
domain_identifierstrStringjaThe identifier of the domain object.
domain_typestrStringjaThe domain type of the address.
iconOptional[str]Option<String>
latitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
longitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
nameOptional[str]Option<String>
streetOptional[str]Option<String>
zipOptional[str]Option<String>
idinti64ja
deprecatedAddressDeprecatedjaLegacy field mappings emitted by the address serializer.
geo_latOptional[Union[float, str]]serde_json::ValueUse latitude instead veraltet
geo_lngOptional[Union[float, str]]serde_json::ValueUse longitude instead veraltet
latitude_looseOptional[Union[float, str]]serde_json::ValueUse latitude instead veraltet
longitude_looseOptional[Union[float, str]]serde_json::ValueUse longitude instead veraltet
marker_colorOptional[Union[str, str]]serde_json::Value veraltet
marker_iconOptional[str]Option<String>Use icon instead veraltet
marker_urlOptional[str]Option<String> veraltet
meeting_atOptional[str]Option<String>Use name instead veraltet
postalcodeOptional[str]Option<String>Use zip instead veraltet
AddressDeprecated7 Felder

Legacy field mappings emitted by the address serializer.

FeldTypPflichtBeschreibung
geo_latstrStringja
geo_lngstrStringja
marker_colorstrStringja
marker_iconstrStringja
marker_urlstrStringja
meeting_atstrStringja
postalcodestrStringja
AddressInterface9 Felder
FeldTypPflichtBeschreibung
additionOptional[str]Option<String>
cityOptional[str]Option<String>
countryOptional[str]Option<String>
districtOptional[str]Option<String>
latitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
longitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
nameOptional[str]Option<String>
streetOptional[str]Option<String>
zipOptional[str]Option<String>
AddressSearchResult2 Felder
FeldTypPflichtBeschreibung
addressAddressInterfaceja
domain_objectUnion[DomainObjectOsmAddress, DomainObjectPerson, AddressSearchResultDomainObjectVariant3]serde_json::Valueja
AddressSearchResultDomainObjectVariant38 Felder

Compact, domain-independent representation for displaying a link to a ChurchTools object.

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_typestrStringja
AgeGroup6 Felder

An age range used to describe the intended ages for a group, for example ages 3 to 5.

FeldTypPflichtBeschreibung
endinti64jaUpper age boundary in years, inclusive.
namestrStringjaStored label configured in this installation.
sort_keyinti64jaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.
startinti64jaLower age boundary in years, inclusive.
idinti64jaID of this master-data record in this ChurchTools installation.
name_translatedstrStringjaLocalized display name, translated from the stored name when a translation exists.
AgeGroupCreate4 Felder
FeldTypPflichtBeschreibung
endinti64jaUpper age boundary in years, inclusive.
namestrStringjaStored label configured in this installation.
sort_keyinti64jaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.
startinti64jaLower age boundary in years, inclusive.
Agenda12 Felder

Ordered running plan for an event, such as a worship service, or a reusable agenda template.

FeldTypPflichtBeschreibung
deprecatedAgendaDeprecatedjaCompatibility mapping included in the response.
calendar_idinti64jaCalendar assigned to the agenda.
event_idsList[int]Vec<i64>Linked event IDs visible to the current user.
event_start_positioninti64jaZero-based index in the complete ordered items array where the event begins.
idinti64jaID of the shared agenda, not the event.
is_finalboolUse isLocked instead. veraltet
is_lockedbooljaShared lock state. Content editing is blocked while true; linking or detaching events is still possible.
itemsList[Union[AgendaItemText, AgendaItemSong, AgendaItemHeader]]Vec<serde_json::Value>jaAll agenda items ordered by sort key, including headers and items hidden for the requested event.
metaMetaDataEntityIdja
nameOptional[str]Option<String>For an event agenda, a display name derived from the requested event's date and appointment title.
seriesOptional[str]Option<String>Optional free-text series name, for example a sermon series.
totalinti64jaNumber of non-header items in the complete shared agenda, including items hidden for the requested event.
AgendaCreate4 Felder

Create an agenda without copying a template or another event.

FeldTypPflichtBeschreibung
calendar_idinti64Calendar assigned to this agenda.
event_start_positioninti64Zero-based index in the complete items array where the event begins, including headers and hidden items.
itemsList[AgendaItemListUpdate]Vec<AgendaItemListUpdate>Complete replacement list in the intended order.
seriesOptional[str]Option<String>Free-text series name.
AgendaDeprecated1 Felder

Compatibility mapping included in the response.

FeldTypPflichtBeschreibung
is_finalstrStringja
AgendaExport2 Felder

Generated presenter archive and information about ambiguous song-file choices.

FeldTypPflichtBeschreibung
songs_with_multiple_filesList[str]Vec<String>jaLabels in the form "song title - arrangement name" for agenda items whose selected arrangement has multiple files matching the target format.
urlstrStringjaRelative URL of the stored export file.
AgendaExportCreate3 Felder

Options for generating a presenter archive.

FeldTypPflichtBeschreibung
append_arrangementbooljaAppend the selected arrangement name to exported song captions and generated fallback file names.
export_songsbooljaInclude available song files for the target software.
with_categorybooljaFor SONG_BEAMER with exportSongs=false, prefix generated song file references with the song category as a directory.
AgendaItemHeader11 Felder

Response fields shared by header, text and song items.

FeldTypPflichtBeschreibung
deprecatedAgendaItemTextDeprecatedjaCompatibility marker included in each serialized agenda item.
durationinti64jaStored duration in seconds.
idinti64ja
is_before_eventbooljaWhether the item precedes eventStartPosition.
metaMetaDataEntityIdja
positioninti64Deprecated zero-based index in the complete shared items array, including headers and hidden items. veraltet
startOptional[datetime]Option<DateTime<Utc>>Calculated position time for the requested event, or the first linked event when no event context is selected.
start_timesStrMap[Optional[datetime]]BTreeMap<String, Option<DateTime<Utc>>>jaCalculated start times keyed by linked event ID, also for agendas with only one event.
titlestrStringja
calculated_durationinti64jaTotal duration in seconds of visible content items up to the next visible header or event start, calculated independently of the stored duration.
type_r#typestrStringja
AgendaItemInputHeader3 Felder
FeldTypPflichtBeschreibung
durationinti64Duration in seconds. For headers, zero selects automatic calculation from the section's visible items; a positive value overrides it.
titleOptional[str]Option<String>Responses represent a missing title as an empty string.
type_r#typestrStringja
AgendaItemInputSong7 Felder
FeldTypPflichtBeschreibung
durationinti64Duration in seconds
titleOptional[str]Option<String>Responses represent a missing title as an empty string.
noteOptional[str]Option<String>Note text.
responsibleOptional[str]Option<String>Free text with optional service placeholders, such as [Worship Leader].
service_group_notesList[AgendaServiceGroupNoteCreate]Vec<AgendaServiceGroupNoteCreate>Notes to associate with service groups.
arrangement_idOptional[int]Option<i64>Existing song arrangement to use.
type_r#typestrStringja
AgendaItemInputText6 Felder
FeldTypPflichtBeschreibung
durationinti64Duration in seconds
titleOptional[str]Option<String>Responses represent a missing title as an empty string.
noteOptional[str]Option<String>Note text.
responsibleOptional[str]Option<String>Free text with optional service placeholders, such as [Worship Leader].
service_group_notesList[AgendaServiceGroupNoteCreate]Vec<AgendaServiceGroupNoteCreate>Notes to associate with service groups.
type_r#typestrStringja
AgendaItemListUpdate1 Felder

One entry in a complete replacement list.

FeldTypPflichtBeschreibung
idOptional[int]Option<i64>Existing item ID in this agenda.
AgendaItemPatch10 Felder

Partial update of an existing item.

FeldTypPflichtBeschreibung
after_idinti64ID of the item to place this item after, in the same agenda.
arrangement_idOptional[int]Option<i64>Selected song arrangement.
before_idinti64ID of the item to place this item before, in the same agenda.
durationinti64Duration in seconds. For headers, zero selects automatic calculation from visible section items; a positive value overrides it.
event_start_positioninti64Number of items before the event begins after this move.
noteOptional[str]Option<String>
responsibleOptional[str]Option<String>Free text with optional service placeholders.
service_group_notesList[AgendaServiceGroupNoteCreate]Vec<AgendaServiceGroupNoteCreate>Replaces all service-group notes for the item.
titleOptional[str]Option<String>
type_r#typestrString
AgendaItemSong14 Felder

Response fields shared by header, text and song items.

FeldTypPflichtBeschreibung
deprecatedAgendaItemTextDeprecatedjaCompatibility marker included in each serialized agenda item.
durationinti64jaStored duration in seconds.
idinti64ja
is_before_eventbooljaWhether the item precedes eventStartPosition.
metaMetaDataEntityIdja
positioninti64Deprecated zero-based index in the complete shared items array, including headers and hidden items. veraltet
startOptional[datetime]Option<DateTime<Utc>>Calculated position time for the requested event, or the first linked event when no event context is selected.
start_timesStrMap[Optional[datetime]]BTreeMap<String, Option<DateTime<Utc>>>jaCalculated start times keyed by linked event ID, also for agendas with only one event.
titlestrStringja
notestrStringja
responsibleAgendaResponsiblejaRaw responsibility text and optional resolved service assignments.
service_group_notesList[AgendaServiceGroupNote]Vec<AgendaServiceGroupNote>jaNotes for service groups.
songOptional[AgendaItemSongArrangement]Option<AgendaItemSongArrangement>The selected song arrangement, or null if no arrangement is assigned.
type_r#typestrStringja
AgendaItemSongArrangement8 Felder

Selected arrangement of a song for this agenda item.

FeldTypPflichtBeschreibung
arrangementstrStringja
arrangement_idinti64ja
bpmOptional[int]Option<i64>Stored tempo in beats per minute, or null.
categorystrStringja
is_defaultboolja
keyOptional[str]Option<String>Stored musical key as free text, or null.
song_idinti64ja
titlestrStringja
AgendaItemText13 Felder

Response fields shared by header, text and song items.

FeldTypPflichtBeschreibung
deprecatedAgendaItemTextDeprecatedjaCompatibility marker included in each serialized agenda item.
durationinti64jaStored duration in seconds.
idinti64ja
is_before_eventbooljaWhether the item precedes eventStartPosition.
metaMetaDataEntityIdja
positioninti64Deprecated zero-based index in the complete shared items array, including headers and hidden items. veraltet
startOptional[datetime]Option<DateTime<Utc>>Calculated position time for the requested event, or the first linked event when no event context is selected.
start_timesStrMap[Optional[datetime]]BTreeMap<String, Option<DateTime<Utc>>>jaCalculated start times keyed by linked event ID, also for agendas with only one event.
titlestrStringja
notestrStringja
responsibleAgendaResponsiblejaRaw responsibility text and optional resolved service assignments.
service_group_notesList[AgendaServiceGroupNote]Vec<AgendaServiceGroupNote>jaNotes for service groups.
type_r#typestrStringja
AgendaItemTextDeprecated1 Felder

Compatibility marker included in each serialized agenda item.

FeldTypPflichtBeschreibung
positionNoneserde_json::Valueja
AgendaMailCreate7 Felder

Legacy agenda-email request.

FeldTypPflichtBeschreibung
bodystrStringjaHTML email body. ChurchTools appends buttons for all supplied events and any requested, available agenda and file links.
event_idsList[int]Vec<i64>jaEvents used to resolve participating recipients and message links.
recipientsList[int]Vec<i64>jaSelected person IDs. Only selected participants in visible service groups of the loaded events, or selected people the sender may otherwise view, receive the message.
send_copy_to_meboolAlso include the currently logged-in person as a recipient, even if their ID is absent from recipients.
subjectstrStringjaEmail subject.
append_agenda_buttonboolAppend links for supplied events that have an agenda and for whose calendar the sender has "view agenda" permission.
filesList[int]Vec<i64>File IDs to list as links in the message body.
AgendaResponsible2 Felder

Raw responsibility text and optional resolved service assignments.

FeldTypPflichtBeschreibung
personsList[AgendaResponsiblePerson]Vec<AgendaResponsiblePerson>jaAssignments resolved from bracketed service names.
textstrStringjaFree text with optional service-name placeholders in square brackets, for example [Leader].
AgendaResponsiblePerson3 Felder
FeldTypPflichtBeschreibung
acceptedbooljaFlag to indicate if the person has accepted the service or is requested.
personOptional[Union[DomainObjectExternalPerson, DomainObjectPerson]]serde_json::Value
servicestrStringjaService placeholder including square brackets, for example [Leader].
AgendaServiceGroupNote2 Felder

Note intended for one service group, such as sound or music.

FeldTypPflichtBeschreibung
notestrStringja
service_group_idinti64ja
AgendaServiceGroupNoteCreate2 Felder
FeldTypPflichtBeschreibung
notestrStringjaThe note text for the service group
service_group_idinti64ja
AgendaServiceGroupNoteUpdate1 Felder

Update or remove the note for the service group in the path.

FeldTypPflichtBeschreibung
noteOptional[str]Option<String>Note text for the service group.
AgendaTemplateCreate5 Felder

Reusable running-plan template.

FeldTypPflichtBeschreibung
calendar_idinti64jaCalendar that determines template visibility and editing permissions.
event_start_positioninti64Zero-based index in the complete item list where the event begins when this template is copied.
itemsList[Union[AgendaItemInputHeader, AgendaItemInputSong, AgendaItemInputText]]Vec<serde_json::Value>Initial template items in their intended order.
namestrStringjaTemplate name.
seriesOptional[str]Option<String>Optional free-text series name.
AgendaTemplateUpdate5 Felder

Update an existing template.

FeldTypPflichtBeschreibung
calendar_idinti64jaCalendar that determines template visibility and editing permissions.
event_start_positioninti64Zero-based index in the complete item list where the event begins when this template is copied.
itemsList[AgendaItemListUpdate]Vec<AgendaItemListUpdate>Complete replacement list in the intended order.
namestrStringjaTemplate name.
seriesOptional[str]Option<String>Optional free-text series name.
AgendaUpdate4 Felder

Fields accepted when updating an existing event agenda or copying an agenda.

FeldTypPflichtBeschreibung
calendar_idinti64Calendar assigned to this agenda.
event_start_positioninti64Zero-based index in the complete items array where the event begins, including headers and hidden items.
itemsList[AgendaItemListUpdate]Vec<AgendaItemListUpdate>Complete replacement list in the intended order.
seriesOptional[str]Option<String>Free-text series name.
AppointmentAdditionalCreate2 Felder

An additional occurrence on a calendar date, using the base appointment’s local start time and duration.

FeldTypPflichtBeschreibung
datedateNaiveDatejaA simple date in ISO format, e.g.
is_repeatedboolja
AppointmentAdditionals4 Felder

Stored additional date for a series.

FeldTypPflichtBeschreibung
datedateNaiveDatejaA simple date in ISO format, e.g.
is_repeatedboolja
idinti64jaID of the stored recurrence entry.
metaMetaDataEntityIdja
AppointmentAddressCreate10 Felder

Location entered with an appointment.

FeldTypPflichtBeschreibung
additionOptional[str]Option<String>
cityOptional[str]Option<String>
countryOptional[str]Option<String>A country's ISO-code
districtOptional[str]Option<String>
latitudeOptional[float]Option<f64>Latitude of the appointment location.
longitudeOptional[float]Option<f64>Longitude of the appointment location.
meeting_atOptional[str]Option<String>Legacy alias for name. veraltet
nameOptional[str]Option<String>
streetOptional[str]Option<String>
zipOptional[str]Option<String>
AppointmentBase26 Felder

Stored calendar appointment defining a single occurrence or a series.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionals]Vec<AppointmentAdditionals>ja
additionsList[AppointmentAdditionals]Vec<AppointmentAdditionals>Use 'additionals' instead veraltet
addressOptional[Address]Option<Address>
all_daybooljaTrue when the appointment is all-day.
calendarAppointmentBaseCalendarjaCalendar containing the appointment.
captionstrStringUse 'title' instead veraltet
descriptionOptional[str]Option<String>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExeptions]Vec<AppointmentExeptions>ja
idinti64jaID of the stored appointment or series.
imageOptional[Image]Option<Image>
informationOptional[str]Option<String>Use 'description' instead veraltet
is_internalboolja
linkOptional[str]Option<String>
metaMetaDataEntityIdja
noteOptional[str]Option<String>Use 'subtitle' instead veraltet
on_behalf_of_pidOptional[int]Option<i64>Person on whose behalf the appointment was entered, or null.
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64jaRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
signupOptional[AppointmentSignup]Option<AppointmentSignup>Registration-group configuration, or null if the appointment has none.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
subtitleOptional[str]Option<String>
titlestrStringja
versioninti64jaRevision counter increased by updates; not an input precondition or a per-occurrence ID.
AppointmentBaseCalendar16 Felder

Calendar containing the appointment.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Campus associated with this calendar, or null for no campus.
colorOptional[str]Option<String>Display color, normally a CSS hex color such as #336699.
ev_termine_event_type_idOptional[int]Option<i64>Event type ID used by the Evangelische Termine integration, or null.
event_template_idOptional[int]Option<i64>Configured service-planning event template ID for this calendar, or null.
i_cal_source_urlOptional[str]Option<String>External iCalendar feed to import.
namestrStringjaCalendar display name.
sort_keyinti64jaDisplay order. The calendar list is sorted by this value in ascending order.
sync_to_ev_terminebooljaWhether the Evangelische Termine integration should synchronize this calendar.
type_r#typestrStringjaCalendar category used by ChurchTools: church for a church calendar, group for a group calendar, personal for a personal calendar.
deprecatedStrMap[str]BTreeMap<String, String>jaLegacy response metadata mapping isPublic and isPrivate to type.
idinti64jaCalendar ID used in /calendars/{calendarId} and appointment URLs.
is_privateboolLegacy category flag: true for personal calendars. veraltet
is_publicboolLegacy category flag: true for church calendars. veraltet
metaMetaDataEntityIdja
name_translatedstrStringjaLocalized display name, falling back to the stored name for ordinary calendar names.
random_urlstrStringjaGenerated token used by calendar subscription/export links.
AppointmentBooking5 Felder
FeldTypPflichtBeschreibung
idinti64
minpoststrString
minprestrString
resource_idstrString
status_idinti64
AppointmentBookingChangeImpact5 Felder

A reported conflict involving a resource reservation.

FeldTypPflichtBeschreibung
baseOptional[AppointmentBookingImpactOccurrence]Option<AppointmentBookingImpactOccurrence>
conflictOptional[AppointmentBookingImpactOccurrence]Option<AppointmentBookingImpactOccurrence>
domain_typestrStringja
resourceResourcejaAn individual bookable resource, such as a room, vehicle or item of equipment.
type_r#typestrStringja
AppointmentBookingCreate5 Felder

Book one resource for the appointment and its recurrence pattern.

FeldTypPflichtBeschreibung
afterward_minutesinti64jaMinutes after the appointment during which the resource is blocked.
lead_time_minutesinti64jaMinutes before the appointment during which the resource is blocked.
quantityinti64
resource_idinti64jaID of the resource to reserve; use each resource only once.
status_idinti64jaResource booking state: 1 = pending, 2 = approved, 3 = rejected.
AppointmentBookingImpactOccurrence3 Felder
FeldTypPflichtBeschreibung
end_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
idinti64jaBooking ID.
start_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
AppointmentCalculated3 Felder

A stored appointment plus all calculated occurrence dates keyed by local YYYY-MM-DD.

FeldTypPflichtBeschreibung
additional_infosUnion[StrMap[Any], List[Any]]serde_json::ValuejaSeries-level enrichments, currently tags when requested.
appointmentAppointmentBasejaStored calendar appointment defining a single occurrence or a series.
calculated_datesUnion[StrMap[AppointmentCalculatedCalculatedDatesVariant1Value], List[Any]]serde_json::ValuejaOccurrences keyed by their local start date.
AppointmentCalculatedCalculatedDatesVariant1Value7 Felder
FeldTypPflichtBeschreibung
bookingsList[BookingCalculated]Vec<BookingCalculated>
end_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
eventDomainObjectEventEvent as Domain Object
groupOptional[DomainObjectGroup]Option<DomainObjectGroup>
i_cal_uidstrStringja
start_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
title_suffixstrString
AppointmentChangeImpactCreate10 Felder

Proposed schedule to inspect without saving the appointment.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
split_dateOptional[date]Option<NaiveDate>Optional local date at which the series would be split.
split_until_endOptional[bool]Option<bool>When splitting, use true for this and future occurrences or false for this occurrence only.
AppointmentCreate21 Felder

Create the base appointment and optional linked resources in the calendar selected by the path.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
addressAppointmentAddressCreateLocation entered with an appointment.
bookingsList[AppointmentBookingCreate]Vec<AppointmentBookingCreate>Resource reservations matched by resourceId.
descriptionOptional[str]Option<String>Description of the appointment.
eventsList[AppointmentEventCreate]Vec<AppointmentEventCreate>Only new service-planning events to create.
inform_ownerboolSend an information email to the person on whose behalf the appointment is managed, or its original creator.
is_internalbooljaSet false for a regular appointment.
linkOptional[str]Option<String>
meetingrequestsList[MeetingRequestCreate]Vec<MeetingRequestCreate>Invitees for the appointment or series.
on_behalf_of_pidOptional[int]Option<i64>Person ID on whose behalf the appointment is created.
signupAppointmentSignupCreateConfigure groups used to collect registrations for individual appointment occurrences.
subtitleOptional[str]Option<String>
tagsList[Union[int, str, MetaDataPersonId]]Vec<serde_json::Value>Appointment tags to add, as IDs, names or objects containing id.
titlestrStringja
AppointmentEvent1 Felder
FeldTypPflichtBeschreibung
event_templatestrString
AppointmentEventChangeImpact3 Felder

An existing service-planning event would no longer match the resulting series.

FeldTypPflichtBeschreibung
domain_typestrStringja
eventAppointmentEventChangeImpactEventja
type_r#typestrStringja
AppointmentEventChangeImpactEvent3 Felder
FeldTypPflichtBeschreibung
guidstrStringja
idinti64ja
start_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
AppointmentEventCreate7 Felder

Create a service-planning event for one occurrence.

FeldTypPflichtBeschreibung
admin_idsList[int]Vec<i64>Person IDs of the event administrators.
descriptionOptional[str]Option<String>
event_template_idinti64Optional service-planning event template to apply.
factsStrMap[Any]BTreeMap<String, serde_json::Value>Event fact values keyed by configured fact ID.
noteOptional[str]Option<String>Use description instead. veraltet
servicesList[AppointmentEventCreateServicesItem]Vec<AppointmentEventCreateServicesItem>
start_datedatetimeDateTime<Utc>jaExact UTC start of an occurrence in the resulting appointment; seconds are discarded.
AppointmentEventCreateServicesItem2 Felder
FeldTypPflichtBeschreibung
countinti64ja
service_idinti64ja
AppointmentEventServiceChangeImpact4 Felder

An accepted service assignment associated with the appointment.

FeldTypPflichtBeschreibung
domain_typestrStringja
event_serviceEventServiceja
start_datedatetimeDateTime<Utc>jaStart of the assignment’s current event.
type_r#typestrStringja
AppointmentExceptionCreate1 Felder

Exclude occurrences starting on this local calendar date, including matches generated from additionals.

FeldTypPflichtBeschreibung
datedateNaiveDatejaA simple date in ISO format, e.g.
AppointmentExeptions3 Felder

Stored exclusion date for a series.

FeldTypPflichtBeschreibung
datedateNaiveDatejaA simple date in ISO format, e.g.
idinti64jaID of the stored recurrence entry.
metaMetaDataEntityIdja
AppointmentOccurrence7 Felder

One calculated occurrence and optional linked resources.

FeldTypPflichtBeschreibung
appointmentAppointmentOccurrenceListAppointmentja
bookingsList[BookingCalculated]Vec<BookingCalculated>Resource-booking occurrences, when requested and visible.
eventOptional[DomainObjectEvent]Option<DomainObjectEvent>Service-planning event for this occurrence, or null.
groupOptional[DomainObjectGroup]Option<DomainObjectGroup>Visible registration group for this occurrence, or null.
meeting_requestsList[MeetingRequest]Vec<MeetingRequest>Requests for the whole appointment or series.
tagsList[Tag]Vec<Tag>Tags assigned to the stored appointment, included with tags.
title_suffixstrStringText derived from configured service assignments, included with titleSuffix.
AppointmentOccurrenceDate3 Felder

Calculated start/end for one occurrence.

FeldTypPflichtBeschreibung
end_dateUnion[datetime, date]DateOrDateTimejaUse a UTC timestamp for a timed appointment or YYYY-MM-DD for an all-day appointment.
i_cal_uidstrStringjaStable iCalendar UID for this occurrence.
start_dateUnion[datetime, date]DateOrDateTimejaUse a UTC timestamp for a timed appointment or YYYY-MM-DD for an all-day appointment.
AppointmentOccurrenceList9 Felder

Calculated occurrence returned by appointment list endpoints.

FeldTypPflichtBeschreibung
appointmentAppointmentOccurrenceListAppointmentja
bookingsList[BookingCalculated]Vec<BookingCalculated>Resource-booking occurrences, when requested and visible.
eventOptional[DomainObjectEvent]Option<DomainObjectEvent>Service-planning event for this occurrence, or null.
groupOptional[DomainObjectGroup]Option<DomainObjectGroup>Visible registration group for this occurrence, or null.
meeting_requestsList[MeetingRequest]Vec<MeetingRequest>Requests for the whole appointment or series.
tagsList[Tag]Vec<Tag>Tags assigned to the stored appointment, included with tags.
title_suffixstrStringText derived from configured service assignments, included with titleSuffix.
baseAppointmentOccurrenceListBaseLegacy alias for appointment.base. veraltet
calculatedAppointmentOccurrenceListCalculatedLegacy alias for appointment.calculated. veraltet
AppointmentOccurrenceListAppointment2 Felder
FeldTypPflichtBeschreibung
baseAppointmentBasejaStored calendar appointment defining a single occurrence or a series.
calculatedAppointmentOccurrenceDatejaCalculated start/end for one occurrence.
AppointmentOccurrenceListBase26 Felder

Legacy alias for appointment.base.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionals]Vec<AppointmentAdditionals>ja
additionsList[AppointmentAdditionals]Vec<AppointmentAdditionals>Use 'additionals' instead veraltet
addressOptional[Address]Option<Address>
all_daybooljaTrue when the appointment is all-day.
calendarAppointmentBaseCalendarjaCalendar containing the appointment.
captionstrStringUse 'title' instead veraltet
descriptionOptional[str]Option<String>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExeptions]Vec<AppointmentExeptions>ja
idinti64jaID of the stored appointment or series.
imageOptional[Image]Option<Image>
informationOptional[str]Option<String>Use 'description' instead veraltet
is_internalboolja
linkOptional[str]Option<String>
metaMetaDataEntityIdja
noteOptional[str]Option<String>Use 'subtitle' instead veraltet
on_behalf_of_pidOptional[int]Option<i64>Person on whose behalf the appointment was entered, or null.
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64jaRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
signupOptional[AppointmentSignup]Option<AppointmentSignup>Registration-group configuration, or null if the appointment has none.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
subtitleOptional[str]Option<String>
titlestrStringja
versioninti64jaRevision counter increased by updates; not an input precondition or a per-occurrence ID.
AppointmentOccurrenceListCalculated3 Felder

Legacy alias for appointment.calculated.

FeldTypPflichtBeschreibung
end_dateUnion[datetime, date]DateOrDateTimejaUse a UTC timestamp for a timed appointment or YYYY-MM-DD for an all-day appointment.
i_cal_uidstrStringjaStable iCalendar UID for this occurrence.
start_dateUnion[datetime, date]DateOrDateTimejaUse a UTC timestamp for a timed appointment or YYYY-MM-DD for an all-day appointment.
AppointmentSignup5 Felder
FeldTypPflichtBeschreibung
signup_days_archive_group_noOptional[int]Option<i64>
signup_days_forward_noOptional[int]Option<i64>
signup_group_type_idOptional[int]Option<i64>
signup_template_group_idOptional[int]Option<i64>
singup_days_forward_noOptional[int]Option<i64>Use 'signupDaysForwardNo' instead. veraltet
AppointmentSignupCreate4 Felder

Configure groups used to collect registrations for individual appointment occurrences.

FeldTypPflichtBeschreibung
signup_days_archive_group_nointi64How many days after the appointment registration groups are archived.
signup_days_forward_nointi64How many days ahead registration groups are created.
signup_group_type_idinti64Group type used for the registration groups.
signup_template_group_idinti64Group used as a template for registration groups.
AppointmentSplitUpdate24 Felder

New appointment data plus the scope removed from the original series.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
addressAppointmentAddressCreateLocation entered with an appointment.
bookingsList[AppointmentBookingCreate]Vec<AppointmentBookingCreate>Resource reservations matched by resourceId.
descriptionOptional[str]Option<String>Description of the appointment.
eventsList[AppointmentEventCreate]Vec<AppointmentEventCreate>Only new service-planning events to create.
inform_ownerboolSend an information email to the person on whose behalf the appointment is managed, or its original creator.
is_internalbooljaSet false for a regular appointment.
linkOptional[str]Option<String>
meetingrequestsList[MeetingRequestCreate]Vec<MeetingRequestCreate>Invitees for the appointment or series.
on_behalf_of_pidOptional[int]Option<i64>Person ID on whose behalf the appointment is created.
signupAppointmentSignupCreateConfigure groups used to collect registrations for individual appointment occurrences.
subtitleOptional[str]Option<String>
tagsList[Union[int, str, MetaDataPersonId]]Vec<serde_json::Value>Appointment tags to add, as IDs, names or objects containing id.
titlestrStringja
bookings_to_deleteList[int]Vec<i64>IDs of existing appointment bookings to delete.
split_datedateNaiveDatejaLocal date identifying the original occurrence or start of the split segment.
split_until_endbooljatrue cuts the original series off on the day before splitDate; false adds an exception for splitDate only.
AppointmentTemplate26 Felder

Saved appointment defaults plus the template ID and metadata.

FeldTypPflichtBeschreibung
addressAppointmentTemplateAddressCreateLocation entered with an appointment template.
all_dayOptional[bool]Option<bool>Whether the template proposes an all-day appointment.
bookingsOptional[List[AppointmentBooking]]Option<Vec<AppointmentBooking>>Stored resource-booking defaults in the legacy template format.
calendar_idinti64jaCalendar for which the template provides defaults.
days_archive_group_noOptional[int]Option<i64>Days after the appointment for archiving registration groups.
days_forward_noOptional[int]Option<i64>Days ahead for creating registration groups.
descriptionOptional[str]Option<String>
durationinti64Difference between end and start in seconds.
eventsOptional[List[AppointmentEvent]]Option<Vec<AppointmentEvent>>Stored service-planning event template selections.
grouptype_idOptional[int]Option<i64>Group type for registration groups created for appointment occurrences.
is_internalOptional[bool]Option<bool>
linkOptional[str]Option<String>
on_behalf_of_pidOptional[int]Option<i64>
repeat_durationOptional[int]Option<i64>Seconds from the chosen appointment start to the series end used when applying this template.
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64jaRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option_idOptional[int]Option<i64>Monthly-by-weekday ordinal, using the template field name repeatOptionId.
start_timestrStringLocal start time used when applying the template, conventionally HH:mm.
subtitleOptional[str]Option<String>
tagsOptional[List[int]]Option<Vec<i64>>Existing appointment-tag IDs saved in the template.
template_group_idOptional[int]Option<i64>Group used as a template for registration groups.
titlestrStringTitle proposed for appointments created from this template.
category_idinti64Use calendarId instead. veraltet
idinti64jaTemplate ID; not an appointment ID.
imageOptional[AppointmentTemplateImage]Option<AppointmentTemplateImage>
metaMetaDataEntityIdja
AppointmentTemplateAddressCreate10 Felder

Location entered with an appointment template.

FeldTypPflichtBeschreibung
additionOptional[str]Option<String>
cityOptional[str]Option<String>
countryOptional[str]Option<String>A country's ISO-code
districtOptional[str]Option<String>
latitudeOptional[str]Option<String>Coordinate stored as text in appointment templates.
longitudeOptional[str]Option<String>Coordinate stored as text in appointment templates.
meeting_atOptional[str]Option<String>Legacy alias for name. veraltet
nameOptional[str]Option<String>
streetOptional[str]Option<String>
zipOptional[str]Option<String>
AppointmentTemplateCreate22 Felder

Save reusable appointment defaults without creating appointments or their linked resources.

FeldTypPflichtBeschreibung
addressAppointmentTemplateAddressCreateLocation entered with an appointment template.
all_dayOptional[bool]Option<bool>Whether the template proposes an all-day appointment.
bookingsOptional[List[AppointmentBooking]]Option<Vec<AppointmentBooking>>Stored resource-booking defaults in the legacy template format.
calendar_idinti64jaCalendar for which the template provides defaults.
days_archive_group_noOptional[int]Option<i64>Days after the appointment for archiving registration groups.
days_forward_noOptional[int]Option<i64>Days ahead for creating registration groups.
descriptionOptional[str]Option<String>
durationinti64jaDifference between end and start in seconds.
eventsOptional[List[AppointmentEvent]]Option<Vec<AppointmentEvent>>Stored service-planning event template selections.
grouptype_idOptional[int]Option<i64>Group type for registration groups created for appointment occurrences.
is_internalOptional[bool]Option<bool>
linkOptional[str]Option<String>
on_behalf_of_pidOptional[int]Option<i64>
repeat_durationOptional[int]Option<i64>Seconds from the chosen appointment start to the series end used when applying this template.
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option_idOptional[int]Option<i64>Monthly-by-weekday ordinal, using the template field name repeatOptionId.
start_timestrStringjaLocal start time used when applying the template, conventionally HH:mm.
subtitleOptional[str]Option<String>
tagsOptional[List[int]]Option<Vec<i64>>Existing appointment-tag IDs saved in the template.
template_group_idOptional[int]Option<i64>Group used as a template for registration groups.
titlestrStringjaTitle proposed for appointments created from this template.
AppointmentTemplateImage6 Felder

Image file associated with an appointment template, managed separately from template create/update.

FeldTypPflichtBeschreibung
domain_idstrStringja
domain_typestrStringja
file_urlstrStringja
idinti64ja
image_urlOptional[str]Option<String>
namestrStringja
AppointmentTemplateUpdate22 Felder

Replace the saved appointment-template defaults.

FeldTypPflichtBeschreibung
addressAppointmentTemplateAddressCreateLocation entered with an appointment template.
all_dayOptional[bool]Option<bool>Whether the template proposes an all-day appointment.
bookingsOptional[List[AppointmentBooking]]Option<Vec<AppointmentBooking>>Stored resource-booking defaults in the legacy template format.
calendar_idinti64jaCalendar for which the template provides defaults.
days_archive_group_noOptional[int]Option<i64>Days after the appointment for archiving registration groups.
days_forward_noOptional[int]Option<i64>Days ahead for creating registration groups.
descriptionOptional[str]Option<String>
durationinti64jaDifference between end and start in seconds.
eventsOptional[List[AppointmentEvent]]Option<Vec<AppointmentEvent>>Stored service-planning event template selections.
grouptype_idOptional[int]Option<i64>Group type for registration groups created for appointment occurrences.
is_internalOptional[bool]Option<bool>
linkOptional[str]Option<String>
on_behalf_of_pidOptional[int]Option<i64>
repeat_durationOptional[int]Option<i64>Seconds from the chosen appointment start to the series end used when applying this template.
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option_idOptional[int]Option<i64>Monthly-by-weekday ordinal, using the template field name repeatOptionId.
start_timestrStringjaLocal start time used when applying the template, conventionally HH:mm.
subtitleOptional[str]Option<String>
tagsOptional[List[int]]Option<Vec<i64>>Existing appointment-tag IDs saved in the template.
template_group_idOptional[int]Option<i64>Group used as a template for registration groups.
titlestrStringjaTitle proposed for appointments created from this template.
AppointmentTemplateWritten26 Felder

Appointment template returned immediately after a write.

FeldTypPflichtBeschreibung
addressAppointmentTemplateAddressCreateLocation entered with an appointment template.
all_dayOptional[bool]Option<bool>Whether the template proposes an all-day appointment.
bookingsOptional[List[AppointmentBooking]]Option<Vec<AppointmentBooking>>Stored resource-booking defaults in the legacy template format.
calendar_idinti64jaCalendar for which the template provides defaults.
days_archive_group_noOptional[int]Option<i64>Days after the appointment for archiving registration groups.
days_forward_noOptional[int]Option<i64>Days ahead for creating registration groups.
descriptionOptional[str]Option<String>
durationinti64jaDifference between end and start in seconds.
eventsOptional[List[AppointmentEvent]]Option<Vec<AppointmentEvent>>Stored service-planning event template selections.
grouptype_idOptional[int]Option<i64>Group type for registration groups created for appointment occurrences.
is_internalOptional[bool]Option<bool>
linkOptional[str]Option<String>
on_behalf_of_pidOptional[int]Option<i64>
repeat_durationOptional[int]Option<i64>Seconds from the chosen appointment start to the series end used when applying this template.
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64jaRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_option_idOptional[int]Option<i64>Monthly-by-weekday ordinal, using the template field name repeatOptionId.
start_timestrStringjaLocal start time used when applying the template, conventionally HH:mm.
subtitleOptional[str]Option<String>
tagsOptional[List[int]]Option<Vec<i64>>Existing appointment-tag IDs saved in the template.
template_group_idOptional[int]Option<i64>Group used as a template for registration groups.
titlestrStringjaTitle proposed for appointments created from this template.
category_idinti64Use calendarId instead. veraltet
idinti64jaTemplate ID; not an appointment ID.
imageOptional[AppointmentTemplateImage]Option<AppointmentTemplateImage>
metaMetaDataEntityIdja
AppointmentUpdate22 Felder

Full update of an appointment or series.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
addressAppointmentAddressCreateLocation entered with an appointment.
bookingsList[AppointmentBookingCreate]Vec<AppointmentBookingCreate>Resource reservations matched by resourceId.
descriptionOptional[str]Option<String>Description of the appointment.
eventsList[AppointmentEventCreate]Vec<AppointmentEventCreate>Only new service-planning events to create.
inform_ownerboolSend an information email to the person on whose behalf the appointment is managed, or its original creator.
is_internalbooljaSet false for a regular appointment.
linkOptional[str]Option<String>
meetingrequestsList[MeetingRequestCreate]Vec<MeetingRequestCreate>Invitees for the appointment or series.
on_behalf_of_pidOptional[int]Option<i64>Person ID on whose behalf the appointment is created.
signupAppointmentSignupCreateConfigure groups used to collect registrations for individual appointment occurrences.
subtitleOptional[str]Option<String>
tagsList[Union[int, str, MetaDataPersonId]]Vec<serde_json::Value>Appointment tags to add, as IDs, names or objects containing id.
titlestrStringja
bookings_to_deleteList[int]Vec<i64>IDs of existing appointment bookings to delete.
Arrangement19 Felder

One musical version of a song.

FeldTypPflichtBeschreibung
beatOptional[str]Option<String>Free-text time signature, such as 4/4 or 6/8.
descriptionOptional[str]Option<String>Notes about performing this arrangement.
durationOptional[int]Option<i64>Expected duration in seconds.
keyOptional[str]Option<String>Musical key using the API spelling.
namestrStringjaName distinguishing this version from other arrangements.
source_idOptional[int]Option<i64>ID of a song source, such as a hymnal or songbook, from GET /song/sources.
source_referenceOptional[str]Option<String>Location within the selected source, such as a song number or page.
tempoOptional[int]Option<i64>Tempo in beats per minute.
deprecatedArrangementDeprecatedja
bpmOptional[str]Option<String>Compatibility alias for tempo, serialized as a string or null. veraltet
filesList[FileOrLink]Vec<FileOrLink>jaList of files uploaded to that arrangement
idinti64ja
is_defaultbooljaWhether this arrangement is marked as a default for its song.
key_of_arrangementOptional[str]Option<String>Use 'key' instead veraltet
linksList[FileOrLink]Vec<FileOrLink>jaList of links "uploaded" to that arrangement
metaMetaDataEntityIdja
notestrStringUse 'description' instead veraltet
sourceOptional[SongSource]Option<SongSource>Source associated with this arrangement, or null when none is assigned.
source_nameOptional[str]Option<String>Source abbreviation if set, otherwise its name, or null when no source is assigned. veraltet
ArrangementCreate10 Felder

A new musical version of a song, optionally assigning existing files.

FeldTypPflichtBeschreibung
beatOptional[str]Option<String>Free-text time signature, such as 4/4 or 6/8.
descriptionOptional[str]Option<String>Notes about performing this arrangement.
durationOptional[int]Option<i64>Expected duration in seconds.
keyOptional[str]Option<String>Musical key using the API spelling.
namestrStringjaName distinguishing this version from other arrangements.
source_idOptional[int]Option<i64>ID of a song source, such as a hymnal or songbook, from GET /song/sources.
source_referenceOptional[str]Option<String>Location within the selected source, such as a song number or page.
tempoOptional[int]Option<i64>Tempo in beats per minute.
file_idsList[int]Vec<i64>IDs of existing files to assign to the arrangement.
is_defaultbooltrue makes this the song's only default arrangement.
ArrangementDeprecated4 Felder
FeldTypPflichtBeschreibung
bpmstrStringja
key_of_arrangementstrStringja
notestrStringja
source_namestrStringja
ArrangementFileTranspose6 Felder

Result of synchronous audio transposition.

FeldTypPflichtBeschreibung
bezeichnungstrStringjaDisplay filename with the signed semitone count inserted before the original extension.
filenamestrStringjaStorage filename of the new file, currently a content hash.
idinti64jaID of the newly created file.
modified_datedatetimeDateTime<Utc>jaModification timestamp of the new file.
successbooljaTrue when conversion and saving the new file succeeded.
urlstrStringjaRelative download URL of the new file, resolved against the ChurchTools installation URL.
ArrangementFileTransposeCreate1 Felder

Creates a transposed audio copy from an existing file.

FeldTypPflichtBeschreibung
transpose_intervalstrStringjaPitch shift in semitones: up1 through up6 raise the pitch by one to six semitones, down1 through down6 lower it.
ArrangementUpdate8 Felder

Musical details of one song version.

FeldTypPflichtBeschreibung
beatOptional[str]Option<String>Free-text time signature, such as 4/4 or 6/8.
descriptionOptional[str]Option<String>Notes about performing this arrangement.
durationOptional[int]Option<i64>Expected duration in seconds.
keyOptional[str]Option<String>Musical key using the API spelling.
namestrStringjaName distinguishing this version from other arrangements.
source_idOptional[int]Option<i64>ID of a song source, such as a hymnal or songbook, from GET /song/sources.
source_referenceOptional[str]Option<String>Location within the selected source, such as a song number or page.
tempoOptional[int]Option<i64>Tempo in beats per minute.
Association5 Felder
FeldTypPflichtBeschreibung
abbreviationstrStringja
countryOptional[str]Option<String>ISO 3166-1 alpha-2 country code of the association.
idinti64ja
keystrStringja
namestrStringja
BalanceReportCreate7 Felder

Balance-sheet selection.

FeldTypPflichtBeschreibung
account_typesOptional[List[int]]Option<Vec<i64>>Account-type IDs. Omission, null or [] selects all types.
accounting_period_idinti64jaAccounting period owning the accounts.
formatstrStringPDF creates a file and returns its URL with HTTP 201.
show_account_groupsboolInclude account-group grouping/columns in the report.
show_empty_accountsboolInclude zero-value accounts according to the selected report’s balance/activity calculation.
end_datedateNaiveDatejaLast document date to include.
start_datedateNaiveDatejaFirst document date to include.
Bill9 Felder

Supporting document (Beleg) attached to a finance booking or booking suggestion.

FeldTypPflichtBeschreibung
accounting_period_idinti64jaAccounting period shared by the linked booking or suggestion.
fileBillFilejaFile attached to a bill.
idinti64ja
metaMetaDataEntityIdja
split_transaction_idOptional[int]Option<i64>Linked split transaction, covering its component transactions.
submitted_datedateNaiveDatejaDate the supporting document was submitted, independently of the booking date.
submitted_pidinti64jaPerson who submitted the document.
transaction_idOptional[int]Option<i64>Linked ordinary transaction.
transaction_suggestion_idOptional[int]Option<i64>Linked booking suggestion from an account statement.
BillCreateWithSplit8 Felder
FeldTypPflichtBeschreibung
accounting_period_idinti64jaAccounting period shared by the linked booking or suggestion.
file_idinti64jaExisting uploaded file.
filenameOptional[str]Option<String>Optional new display name for the attached file.
split_transaction_idinti64ja
submitted_datedateNaiveDatejaDate the supporting document was submitted, independently of the booking date.
submitted_pidinti64jaPerson who submitted the document.
transaction_idNoneserde_json::ValueMust be omitted or null when another booking link is selected.
transaction_suggestion_idNoneserde_json::ValueMust be omitted or null when another booking link is selected.
BillCreateWithSuggestion8 Felder
FeldTypPflichtBeschreibung
accounting_period_idinti64jaAccounting period shared by the linked booking or suggestion.
file_idinti64jaExisting uploaded file.
filenameOptional[str]Option<String>Optional new display name for the attached file.
split_transaction_idNoneserde_json::ValueMust be omitted or null when another booking link is selected.
submitted_datedateNaiveDatejaDate the supporting document was submitted, independently of the booking date.
submitted_pidinti64jaPerson who submitted the document.
transaction_idNoneserde_json::ValueMust be omitted or null when another booking link is selected.
transaction_suggestion_idinti64ja
BillCreateWithTransaction8 Felder
FeldTypPflichtBeschreibung
accounting_period_idinti64jaAccounting period shared by the linked booking or suggestion.
file_idinti64jaExisting uploaded file.
filenameOptional[str]Option<String>Optional new display name for the attached file.
split_transaction_idNoneserde_json::ValueMust be omitted or null when another booking link is selected.
submitted_datedateNaiveDatejaDate the supporting document was submitted, independently of the booking date.
submitted_pidinti64jaPerson who submitted the document.
transaction_idinti64ja
transaction_suggestion_idNoneserde_json::ValueMust be omitted or null when another booking link is selected.
BillFile7 Felder

File attached to a bill.

FeldTypPflichtBeschreibung
domain_idOptional[str]Option<String>Bill ID stored as a file-domain string.
domain_typestrStringja
file_urlstrStringja
filenameOptional[str]Option<String>Stored filename, or null when unavailable.
image_urlOptional[str]Option<String>Image preview URL when available; otherwise null.
metaBillFileMetaDatajaFile modification metadata.
namestrStringja
BillFileMetaData2 Felder

File modification metadata.

FeldTypPflichtBeschreibung
modified_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
modified_personMetaDataPersonIdja
BillUpdate6 Felder

Updates submission details and optionally changes the booking link.

FeldTypPflichtBeschreibung
filenameOptional[str]Option<String>Optional new display name for the attached file.
split_transaction_idOptional[int]Option<i64>Linked split transaction, covering its component transactions.
submitted_datedateNaiveDatejaDate the supporting document was submitted, independently of the booking date.
submitted_pidinti64jaPerson who submitted the document.
transaction_idOptional[int]Option<i64>Linked ordinary transaction.
transaction_suggestion_idOptional[int]Option<i64>Linked booking suggestion from an account statement.
BlogItem7 Felder
FeldTypPflichtBeschreibung
authorstrString
contentstrString
datestrString
descriptionstrString
imagestrString
linkstrString
titlestrString
BookingAdditional4 Felder

Stored additional booking date.

FeldTypPflichtBeschreibung
datedateNaiveDatejaA simple date in ISO format, e.g.
is_repeatedboolja
idinti64ja
metaBookingAdditionalMetaja
BookingAdditionalMeta2 Felder
FeldTypPflichtBeschreibung
modified_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
modified_pidinti64ja
BookingAppointmentUpdate2 Felder

For an appointment-linked booking, only status and description can be changed here.

FeldTypPflichtBeschreibung
descriptionOptional[str]Option<String>Booking notes.
status_idinti64Booking status: 1 = pending approval, 2 = approved, 3 = rejected.
BookingBase30 Felder

Stored resource booking, which may represent a recurring series.

FeldTypPflichtBeschreibung
additionalsList[BookingAdditional]Vec<BookingAdditional>ja
all_dayboolja
answered_dateOptional[datetime]Option<DateTime<Utc>>When the current approval or rejection was recorded; null while unanswered.
answered_pidOptional[int]Option<i64>Person who recorded the answer, including the system user for automatic approval; null while unanswered.
appointmentOptional[SimpleAppointment]Option<SimpleAppointment>Linked calendar appointment, or null for an independent booking.
appointment_idOptional[int]Option<i64>Use appointment instead. veraltet
captionstrStringUse title instead. veraltet
descriptionOptional[str]Option<String>
end_dateUnion[datetime, date]DateOrDateTimeja
exceptionsList[BookingException]Vec<BookingException>ja
idinti64ja
involved_persons_domain_objectsBookingCalculatedWithIncludesBaseInvolvedPersonsDomainObjectsIncluded with include[]=involvedPersonsDomainObjects.
is_anonymizedbooljaTrue when the reader may see availability but booking title, subtitle and description are hidden.
locationOptional[str]Option<String>Use subtitle instead. veraltet
metaMetaDataEntityIdja
noteOptional[str]Option<String>Use description instead. veraltet
on_behalf_of_pidOptional[int]Option<i64>Person for whom the booking is made.
quantityinti64ja
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64jaRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
resourceBookingCalculatedWithIncludesBaseResourceUse resourceId instead. veraltet
resource_idinti64jaResource to reserve, such as a room, vehicle or piece of equipment.
show_in_calbooljaWhether the booking is marked for display in the calendar.
start_dateUnion[datetime, date]DateOrDateTimeja
status_idinti64jaBooking status: 1 = pending approval, 2 = approved, 3 = rejected.
subtitleOptional[str]Option<String>
titlestrStringja
versioninti64jaVersion counter increased by booking updates and status changes.
BookingCalculated2 Felder

One occurrence: base describes the stored series, calculated contains the dates of this occurrence.

FeldTypPflichtBeschreibung
baseBookingBasejaStored resource booking, which may represent a recurring series.
calculatedBookingCalculatedCalculatedja
BookingCalculatedCalculated2 Felder
FeldTypPflichtBeschreibung
end_dateUnion[datetime, date]DateOrDateTimeja
start_dateUnion[datetime, date]DateOrDateTimeja
BookingCalculatedWithIncludes4 Felder
FeldTypPflichtBeschreibung
baseBookingCalculatedWithIncludesBaseUse booking.base. veraltet
bookingBookingCalculatedjaOne occurrence: base describes the stored series, calculated contains the dates of this occurrence.
calculatedBookingCalculatedWithIncludesCalculatedUse booking.calculated. veraltet
conflictsList[BookingConflict]Vec<BookingConflict>Included with include[]=conflicts.
BookingCalculatedWithIncludesBase30 Felder

Use booking.base.

FeldTypPflichtBeschreibung
additionalsList[BookingAdditional]Vec<BookingAdditional>ja
all_dayboolja
answered_dateOptional[datetime]Option<DateTime<Utc>>When the current approval or rejection was recorded; null while unanswered.
answered_pidOptional[int]Option<i64>Person who recorded the answer, including the system user for automatic approval; null while unanswered.
appointmentOptional[SimpleAppointment]Option<SimpleAppointment>Linked calendar appointment, or null for an independent booking.
appointment_idOptional[int]Option<i64>Use appointment instead. veraltet
captionstrStringUse title instead. veraltet
descriptionOptional[str]Option<String>
end_dateUnion[datetime, date]DateOrDateTimeja
exceptionsList[BookingException]Vec<BookingException>ja
idinti64ja
involved_persons_domain_objectsBookingCalculatedWithIncludesBaseInvolvedPersonsDomainObjectsIncluded with include[]=involvedPersonsDomainObjects.
is_anonymizedbooljaTrue when the reader may see availability but booking title, subtitle and description are hidden.
locationOptional[str]Option<String>Use subtitle instead. veraltet
metaMetaDataEntityIdja
noteOptional[str]Option<String>Use description instead. veraltet
on_behalf_of_pidOptional[int]Option<i64>Person for whom the booking is made.
quantityinti64ja
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64jaRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
resourceBookingCalculatedWithIncludesBaseResourceUse resourceId instead. veraltet
resource_idinti64jaResource to reserve, such as a room, vehicle or piece of equipment.
show_in_calbooljaWhether the booking is marked for display in the calendar.
start_dateUnion[datetime, date]DateOrDateTimeja
status_idinti64jaBooking status: 1 = pending approval, 2 = approved, 3 = rejected.
subtitleOptional[str]Option<String>
titlestrStringja
versioninti64jaVersion counter increased by booking updates and status changes.
BookingCalculatedWithIncludesBaseInvolvedPersonsDomainObjects4 Felder

Included with include[]=involvedPersonsDomainObjects.

FeldTypPflichtBeschreibung
answered_byOptional[DomainObjectPerson]Option<DomainObjectPerson>
created_byDomainObjectPersonjaPerson as Domain Object
modified_byDomainObjectPersonjaPerson as Domain Object
on_behalf_ofOptional[DomainObjectPerson]Option<DomainObjectPerson>
BookingCalculatedWithIncludesBaseResource17 Felder

Use resourceId instead.

FeldTypPflichtBeschreibung
admin_idsList[int]Vec<i64>jaPersons responsible for this resource.
descriptionOptional[str]Option<String>Additional information about the resource, such as capacity or available equipment.
i_cal_locationOptional[str]Option<String>Location text used in the resource’s iCalendar export.
is_auto_acceptbooljaAutomatically approves pending bookings when there are no conflicts.
is_virtualbooljaWhether this is a virtual resource.
locationOptional[str]Option<String>Internal location of the resource.
namestrStringjaName of the individual resource, for example a room or vehicle.
quantityinti64jaNumber of units available for simultaneous bookings.
random_stringOptional[str]Option<String>Access token used by the legacy public iCalendar export.
resource_type_idinti64jaResource type used to group this resource, such as rooms or vehicles.
sort_keyinti64jaSort value for displaying resources.
does_require_cal_entryOptional[bool]Option<bool>Use needsAppointment instead. veraltet
idinti64ja
involved_persons_domain_objectsBookingCalculatedWithIncludesBaseResourceInvolvedPersonsDomainObjectsIncluded with include[]=involvedPersonsDomainObjects.
metaMetaDataEntityIdja
name_translatedstrStringjaResource name translated for the current language, falling back to name.
needs_appointmentOptional[bool]Option<bool>Whether bookings must be linked to a calendar appointment.
BookingCalculatedWithIncludesBaseResourceInvolvedPersonsDomainObjects1 Felder

Included with include[]=involvedPersonsDomainObjects.

FeldTypPflichtBeschreibung
adminsList[DomainObjectPerson]Vec<DomainObjectPerson>ja
BookingCalculatedWithIncludesCalculated2 Felder

Use booking.calculated.

FeldTypPflichtBeschreibung
end_dateUnion[datetime, date]DateOrDateTimeja
start_dateUnion[datetime, date]DateOrDateTimeja
BookingConflict6 Felder

An overlapping occurrence of another pending or approved booking for the same resource.

FeldTypPflichtBeschreibung
booking_idinti64ja
end_datedatetimeDateTime<Utc>ja
is_anonymizedbooljaTrue when title is replaced by the translated unknown-appointment label.
start_datedatetimeDateTime<Utc>ja
status_idinti64jaBooking status: 1 = pending approval, 2 = approved, 3 = rejected.
titlestrStringja
BookingConflictRequestBody10 Felder

Preview conflicts for a proposed booking without saving it.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
quantityinti64Number of resource units reserved by each occurrence.
resource_idinti64jaResource to reserve, such as a room, vehicle or piece of equipment.
BookingConflictUpdate9 Felder

Replacement schedule to preview against the stored booking’s resource.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
quantityinti64Number of resource units reserved by each occurrence.
BookingCreate16 Felder

Create an independent resource booking.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
quantityinti64Number of resource units reserved by each occurrence.
descriptionOptional[str]Option<String>Booking notes.
on_behalf_of_pidOptional[int]Option<i64>Person for whom the booking is made.
resource_idinti64jaResource to reserve, such as a room, vehicle or piece of equipment.
show_in_calbooljaWhether the booking is marked for display in the calendar.
status_idinti64jaBooking status: 1 = pending approval, 2 = approved, 3 = rejected.
subtitleOptional[str]Option<String>Optional booking subtitle.
titlestrStringjaBooking title shown in resource planning.
BookingException3 Felder

Stored date excluded from a booking series.

FeldTypPflichtBeschreibung
datedateNaiveDatejaA simple date in ISO format, e.g.
idinti64ja
metaMetaDataEntityIdja
BookingSplitCreate18 Felder

Replacement booking and the scope to remove from the original series.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
quantityinti64Number of resource units reserved by each occurrence.
descriptionOptional[str]Option<String>Booking notes.
on_behalf_of_pidOptional[int]Option<i64>Person for whom the booking is made.
resource_idinti64jaResource to reserve, such as a room, vehicle or piece of equipment.
show_in_calbooljaWhether the booking is marked for display in the calendar.
status_idinti64jaBooking status: 1 = pending approval, 2 = approved, 3 = rejected.
subtitleOptional[str]Option<String>Optional booking subtitle.
titlestrStringjaBooking title shown in resource planning.
split_datedateNaiveDatejaLocal start date of the occurrence to remove or the first date to cut from the series.
split_until_endbooljaFalse excludes splitDate only.
BookingStandaloneUpdate16 Felder

Complete replacement input for a booking without a linked appointment.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
quantityinti64Number of resource units reserved by each occurrence.
descriptionOptional[str]Option<String>Booking notes.
on_behalf_of_pidOptional[int]Option<i64>Person for whom the booking is made.
resource_idinti64jaResource to reserve, such as a room, vehicle or piece of equipment.
show_in_calbooljaWhether the booking is marked for display in the calendar.
status_idinti64jaBooking status: 1 = pending approval, 2 = approved, 3 = rejected.
subtitleOptional[str]Option<String>Optional booking subtitle.
titlestrStringjaBooking title shown in resource planning.
BookingWithIncludes3 Felder
FeldTypPflichtBeschreibung
additional_infosUnion[BookingWithIncludesAdditionalInfosVariant1, List[Any]]serde_json::ValuejaWith include[]=conflicts, contains conflicts across the complete series.
bookingBookingBasejaStored resource booking, which may represent a recurring series.
calculated_datesUnion[StrMap[BookingWithIncludesCalculatedDatesVariant1Value], List[Any]]serde_json::ValuejaOccurrences indexed by their local start date (YYYY-MM-DD).
BookingWithIncludesAdditionalInfosVariant11 Felder
FeldTypPflichtBeschreibung
conflictsList[BookingConflict]Vec<BookingConflict>ja
BookingWithIncludesCalculatedDatesVariant1Value2 Felder
FeldTypPflichtBeschreibung
end_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
start_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
BulkEventDeclineUpdate2 Felder

event/declineEvent: Cancels or deletes service-planning events.

FeldTypPflichtBeschreibung
delete_cal_entrybooljaDelete the event when true; otherwise invalidate it.
inform_delete_eventbooljaNotify assigned persons after processing.
BulkEventServiceAssignmentCreate4 Felder

event/addPersonToService: Assigns a person or free-text name to a service position in each event.

FeldTypPflichtBeschreibung
optionstrStringjanever requires a reusable slot; newIfNeeded creates one if needed; alwaysNew adds a slot unless the same assignee already has a valid assignment.
person_idOptional[int]Option<i64>Registered person ID.
person_nameOptional[str]Option<String>Free-text assignee.
service_idinti64jaService-definition ID.
BulkFollowUpActionCreate11 Felder

For create-follow-up.

FeldTypPflichtBeschreibung
colorOptional[str]Option<String>
continuation_typestrStringja
descriptionOptional[str]Option<String>
due_datedateNaiveDateExactly one of dueDate or duration must be specified.
durationBulkFollowUpActionCreateDurationExactly one of dueDate or duration must be specified.
iconOptional[str]Option<String>
success_group_idOptional[int]Option<i64>
success_group_member_statusOptional[str]Option<String>
success_group_of_group_type_idOptional[int]Option<i64>
success_role_idOptional[int]Option<i64>
titlestrStringja
BulkFollowUpActionCreateDuration3 Felder

Exactly one of dueDate or duration must be specified.

FeldTypPflichtBeschreibung
num_daysinti64
num_monthsinti64
num_yearsinti64
BulkGroupAddParentGroupUpdate1 Felder

group/addParentGroup: Applies the setting to each selected group.

FeldTypPflichtBeschreibung
parent_group_idinti64jaParent group ID to add.
BulkGroupAgeGroupsUpdate2 Felder

group/setAgeGroups: Changes selected age groups.

FeldTypPflichtBeschreibung
age_group_idsList[int]Vec<i64>ja
write_optionstrStringjaReplace the selection, add choices, or remove choices.
BulkGroupDelTagUpdate1 Felder

group/delTag: Applies the setting to each selected group.

FeldTypPflichtBeschreibung
tag_idinti64jaExisting group-tag ID to remove.
BulkGroupMeetingTimeUpdate1 Felder

group/setMeetingTime: Changes the free-text meeting time.

FeldTypPflichtBeschreibung
meeting_timeOptional[str]Option<String>Free-text meeting time, not a structured timestamp.
BulkGroupSetCampusUpdate1 Felder

group/setCampus: Applies the setting to each selected group.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Campus ID.
BulkGroupSetGroupCategoryUpdate1 Felder

group/setGroupCategory: Applies the setting to each selected group.

FeldTypPflichtBeschreibung
group_category_idOptional[int]Option<i64>Group-category ID.
BulkGroupSetInformLeaderUpdate1 Felder

group/setInformLeader: Applies the setting to each selected group.

FeldTypPflichtBeschreibung
inform_leaderbooljaEnable leader notifications.
BulkGroupSetMaxMembersUpdate1 Felder

group/setMaxMembers: Applies the setting to each selected group.

FeldTypPflichtBeschreibung
max_membersOptional[int]Option<i64>Maximum number of members.
BulkGroupSetShowInMemberStatisticUpdate1 Felder

group/setShowInMemberStatistic: Applies the setting to each selected group.

FeldTypPflichtBeschreibung
in_statisticbooljaInclude the group in membership statistics.
BulkGroupSetSignUpOpenUpdate1 Felder

group/setSignUpOpen: Applies the setting to each selected group.

FeldTypPflichtBeschreibung
is_open_for_membersbooljaOpen or close signup now by updating the group’s signup dates; this is not a persistent independent boolean.
BulkGroupSetTargetGroupUpdate1 Felder

group/setTargetGroup: Applies the setting to each selected group.

FeldTypPflichtBeschreibung
target_group_idOptional[int]Option<i64>Target-group masterdata ID.
BulkGroupSetWeeklyMeetingUpdate1 Felder

group/setWeeklyMeeting: Applies the setting to each selected group.

FeldTypPflichtBeschreibung
create_weekly_group_meetingsbooljaEnable weekly meeting generation.
BulkGroupStatusUpdate3 Felder

group/setStatus: Changes group status; identical status leaves the group and side-effect settings unchanged.

FeldTypPflichtBeschreibung
deactivate_chat_on_status_finishedboolDeactivate the chat when finishing the group.
deactivate_routines_on_status_finishedboolDeactivate routines when finishing; execution additionally checks routine-administration permission.
group_status_idinti64jaGroup-status ID.
BulkGroupVisibilityUpdate2 Felder

group/setVisibility: Changes group visibility.

FeldTypPflichtBeschreibung
skip_my_posts_reducing_visibilityboolPasses the visibility-change option for the current user’s posts to the group update.
visibilitystrStringjaThe visibility of a group.
BulkGroupWeekdayUpdate1 Felder

group/setWeekday: Changes the meeting weekday.

FeldTypPflichtBeschreibung
weekdayOptional[int]Option<i64>Weekday numbered 0–6.
BulkInfos1 Felder

Permission-preview result.

FeldTypPflichtBeschreibung
allowed_domain_object_identifiersList[Union[str, int]]Vec<serde_json::Value>jaAllowed IDs in original order, with duplicates retained and native bulk IDs cast to integers.
BulkJobCreate3 Felder

Request body for permission previews and queued bulk operations.

BulkJobCreateActionContext1 Felder

Context for action-based operations.

FeldTypPflichtBeschreibung
group_idinti64Group of the selected memberships for context-dependent membership actions.
BulkJobQueued3 Felder

Queue acknowledgment, not execution results.

FeldTypPflichtBeschreibung
job_groupstrStringjaQueue group formed from the resolved domain, job key and GUID.
job_guidstrStringjaIdentifier shared by all chunks and their job logs.
number_of_queued_jobsinti64jaNumber of queued chunks, not number of affected objects.
BulkMemberEmailActionCreate6 Felder

Payload for send-member-email.

FeldTypPflichtBeschreibung
add_sign_out_urlboolInclude a sign-out URL when available.
attachment_idsList[int]Vec<i64>
bodyOptional[str]Option<String>Email body.
sender_idinti64Optional sender person ID.
subjectstrStringja
template_idinti64Optional global template ID.
BulkMembershipActionCreate9 Felder

For add-person-to-group and add-member-to-group.

FeldTypPflichtBeschreibung
commentOptional[str]Option<String>Membership comment.
fieldsStrMap[Any]BTreeMap<String, serde_json::Value>Member-field values keyed by reference name.
group_idinti64jaTarget group ID; must be a JSON integer before action validation starts.
inform_leaderboolNotify leaders; execution defaults to true.
member_end_datedateNaiveDateA simple date in ISO format, e.g.
member_start_datedateNaiveDateA simple date in ISO format, e.g.
role_idinti64jaTarget group-type role ID.
statusstrStringjaState of a person's membership in a group, independent of their role.
waitinglist_positioninti64Waiting-list position; -1 requests the next available position.
BulkMembershipActionUpdate7 Felder

For edit-group-membership.

FeldTypPflichtBeschreibung
commentOptional[str]Option<String>Membership comment.
fieldsStrMap[Any]BTreeMap<String, serde_json::Value>Member-field values keyed by reference name.
inform_leaderboolNotify leaders; execution defaults to true.
member_end_datedateNaiveDateA simple date in ISO format, e.g.
member_start_datedateNaiveDateA simple date in ISO format, e.g.
role_idinti64Replacement group-type role ID.
waitinglist_positioninti64Waiting-list position; -1 requests the next available position.
BulkPersonAddDepartmentUpdate1 Felder

person/addDepartment: Applies this operation to each selected person.

FeldTypPflichtBeschreibung
departmentinti64jaDepartment ID to add.
BulkPersonAddPersonAuthUpdate1 Felder

person/addPersonAuth: Applies this operation to each selected person.

FeldTypPflichtBeschreibung
auth_idinti64jaAuthorization ID to assign.
BulkPersonChangeCampusUpdate1 Felder

person/changeCampus: Applies this operation to each selected person.

FeldTypPflichtBeschreibung
campus_idinti64jaCampus ID.
BulkPersonChangeFamilyStatusUpdate1 Felder

person/changeFamilyStatus: Applies this operation to each selected person.

FeldTypPflichtBeschreibung
family_status_idOptional[int]Option<i64>Family-status masterdata ID.
BulkPersonChangeNationalityUpdate1 Felder

person/changeNationality: Applies this operation to each selected person.

FeldTypPflichtBeschreibung
nationality_idOptional[int]Option<i64>Nationality masterdata ID.
BulkPersonChangeSexUpdate1 Felder

person/changeSex: Applies this operation to each selected person.

FeldTypPflichtBeschreibung
sex_idOptional[int]Option<i64>Sex masterdata ID.
BulkPersonChangeStatusUpdate1 Felder

person/changeStatus: Applies this operation to each selected person.

FeldTypPflichtBeschreibung
status_idinti64jaPerson-status ID.
BulkPersonDelPersonTagUpdate1 Felder

person/delPersonTag: Applies this operation to each selected person.

FeldTypPflichtBeschreibung
tag_idinti64jaPerson-tag ID to remove.
BulkPersonDeleteDepartmentUpdate1 Felder

person/deleteDepartment: Applies this operation to each selected person.

FeldTypPflichtBeschreibung
department_idinti64jaDepartment ID to remove.
BulkPersonDeleteFromGroupUpdate1 Felder

person/deleteFromGroup: Applies this operation to each selected person.

FeldTypPflichtBeschreibung
group_idinti64jaGroup ID from which to remove the selected persons.
BulkPersonMembershipCreate3 Felder

person/addToGroup: Adds persons to the selected group; existing memberships are unchanged.

FeldTypPflichtBeschreibung
group_idinti64jaTarget group ID.
role_idinti64jaRole ID belonging to the target group type.
statusstrStringjaState of a person's membership in a group, independent of their role.
BulkPersonMembershipFieldUpdate4 Felder

person/changeGroupMemberField: Changes a group-member custom field.

FeldTypPflichtBeschreibung
custom_field_idinti64jaGroup-member field ID belonging to the group.
group_idinti64jaGroup ID.
valueAnyserde_json::ValuejaValue matching the field’s configured type and options.
write_optionOptional[str]Option<String>For multiselect fields, replace, add, or remove values.
BulkPersonMembershipUpdate5 Felder

person/changeGroupRoleAndStatus: Changes only memberships matching oldStatus and, when set, oldRoleId.

FeldTypPflichtBeschreibung
group_idinti64jaGroup ID.
new_role_idinti64Optional replacement role.
new_statusstrStringjaState of a person's membership in a group, independent of their role.
old_role_idinti64Optional old-role filter.
old_statusstrStringjaState of a person's membership in a group, independent of their role.
BulkPersonTagsActionUpdate3 Felder

For edit-tags-for-person and edit-tags-for-member.

FeldTypPflichtBeschreibung
tag_idsList[int]Vec<i64>
tag_namesList[str]Vec<String>
type_r#typestrStringja
BulkTagCreate2 Felder

For group/addTag and person/addPersonTag.

FeldTypPflichtBeschreibung
tag_idOptional[int]Option<i64>Existing tag ID.
tag_nameOptional[str]Option<String>New tag name.
Bulkletter11 Felder

A mail-merge rendering job.

FeldTypPflichtBeschreibung
contentstrStringjaHTML content of the bulkletter, may contain placeholders.
createdOptional[str]Option<String>Legacy database timestamp in Y-m-d H:i:s format, without timezone; nullable in storage.
created_pidstrStringjaID of the person that created the bulkletter (returned as string).
file_idinti64jaGenerated ZIP archive file ID, or 0 before a file has been stored.
group_idinti64jaOptional group the bulkletter is associated with.
html_template_idinti64jaID of the HTML template used to render the bulkletter.
idinti64ja
namestrStringja
statusstrStringjaRendering lifecycle: TODO, IN_PROGRESS, DONE or ERROR.
updatedOptional[str]Option<String>Legacy database timestamp in Y-m-d H:i:s format, without timezone; nullable in storage.
urlOptional[str]Option<String>Relative download URL of the ZIP archive containing individual PDFs.
BulkletterCreate6 Felder

Creates a mail-merge job using an HTML template and selected person IDs.

FeldTypPflichtBeschreibung
contentstrStringjaHTML inserted into the template’s {{content}} slot.
group_by_householdbooljaGroup persons by identical street, address addition, postal code, city and country.
group_idOptional[int]Option<i64>Optional group used as placeholder context, not as a restriction on personIds.
html_template_idinti64jaID of the HTML template used to render the bulkletter.
namestrStringjaJob name. Non-empty; the literal string 0 is rejected by the current validator.
person_idsList[int]Vec<i64>jaPerson IDs to render.
BulkletterCreated1 Felder

Acknowledges the newly scheduled job.

FeldTypPflichtBeschreibung
idinti64ja
BulkletterReceiver7 Felder

Legacy address fields for a scheduled recipient.

FeldTypPflichtBeschreibung
idstrStringjaPerson ID (returned as string).
nameOptional[str]Option<String>Last name of the person.
ortOptional[str]Option<String>City of the person.
plzOptional[str]Option<String>Postal code of the person.
strasseOptional[str]Option<String>Street address of the person.
vornameOptional[str]Option<String>First name of the person.
zusatzOptional[str]Option<String>Additional address line of the person.
CCLIContentAvailability2 Felder
FeldTypPflichtBeschreibung
existsboolja
is_authorizedbooljaWhether the connected account may access this content.
CCLISong7 Felder

Normalized SongSelect song metadata and content availability.

FeldTypPflichtBeschreibung
authorsList[str]Vec<String>ja
contentCCLISongContentja
copyrightsList[str]Vec<String>ja
keysList[str]Vec<String>ja
song_numberstrStringja
tempoOptional[Union[str, float]]serde_json::ValueTempo supplied by SongSelect, or null when unavailable.
titlestrStringja
CCLISongContent3 Felder
FeldTypPflichtBeschreibung
chord_proCCLIContentAvailabilityja
chord_sheetCCLIContentAvailabilityja
lyricsCCLIContentAvailabilityja
Calendar16 Felder

Calendar containing appointments and their series.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Campus associated with this calendar, or null for no campus.
colorOptional[str]Option<String>Display color, normally a CSS hex color such as #336699.
ev_termine_event_type_idOptional[int]Option<i64>Event type ID used by the Evangelische Termine integration, or null.
event_template_idOptional[int]Option<i64>Configured service-planning event template ID for this calendar, or null.
i_cal_source_urlOptional[str]Option<String>External iCalendar feed to import.
namestrStringjaCalendar display name.
sort_keyinti64jaDisplay order. The calendar list is sorted by this value in ascending order.
sync_to_ev_terminebooljaWhether the Evangelische Termine integration should synchronize this calendar.
type_r#typestrStringjaCalendar category used by ChurchTools: church for a church calendar, group for a group calendar, personal for a personal calendar.
deprecatedStrMap[str]BTreeMap<String, String>jaLegacy response metadata mapping isPublic and isPrivate to type.
idinti64jaCalendar ID used in /calendars/{calendarId} and appointment URLs.
is_privateboolLegacy category flag: true for personal calendars. veraltet
is_publicboolLegacy category flag: true for church calendars. veraltet
metaMetaDataEntityIdja
name_translatedstrStringjaLocalized display name, falling back to the stored name for ordinary calendar names.
random_urlstrStringjaGenerated token used by calendar subscription/export links.
CalendarCreate9 Felder

Create a calendar with its category and settings.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Campus associated with this calendar, or null for no campus.
colorOptional[str]Option<String>Display color, normally a CSS hex color such as #336699.
ev_termine_event_type_idOptional[int]Option<i64>Event type ID used by the Evangelische Termine integration, or null.
event_template_idOptional[int]Option<i64>Configured service-planning event template ID for this calendar, or null.
i_cal_source_urlOptional[str]Option<String>External iCalendar feed to import.
namestrStringjaCalendar display name.
sort_keyinti64jaDisplay order. The calendar list is sorted by this value in ascending order.
sync_to_ev_termineboolWhether the Evangelische Termine integration should synchronize this calendar.
type_r#typestrStringjaCalendar category used by ChurchTools: church for a church calendar, group for a group calendar, personal for a personal calendar.
CalendarUpdate8 Felder

Editable calendar settings.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Campus associated with this calendar, or null for no campus.
colorOptional[str]Option<String>Display color, normally a CSS hex color such as #336699.
ev_termine_event_type_idOptional[int]Option<i64>Event type ID used by the Evangelische Termine integration, or null.
event_template_idOptional[int]Option<i64>Configured service-planning event template ID for this calendar, or null.
i_cal_source_urlOptional[str]Option<String>External iCalendar feed to import.
namestrStringjaCalendar display name.
sort_keyinti64jaDisplay order. The calendar list is sorted by this value in ascending order.
sync_to_ev_termineboolWhether the Evangelische Termine integration should synchronize this calendar.
Campus9 Felder

A campus represents one location or congregation within a ChurchTools installation.

FeldTypPflichtBeschreibung
addressOptional[CampusAddress]Option<CampusAddress>Address associated with the campus profile, or null when none is assigned.
guidstrStringjaPersistent profile GUID generated by ChurchTools.
idinti64jaNumeric campus ID used by campusId fields in other API resources.
metaMetaDataEntityIdja
namestrStringjaStored campus name.
name_translatedstrStringjaLocalized display name, translated from the stored name when a translation exists.
short_nameOptional[str]Option<String>Optional short profile name.
shortyOptional[str]Option<String>Campus abbreviation, or null for records without one.
sort_keyinti64jaDisplay-order value. GET /campuses does not guarantee this order; sort by this field in the client when needed.
CampusAddress24 Felder

Stored address associated with a campus profile.

FeldTypPflichtBeschreibung
additionOptional[str]Option<String>
cityOptional[str]Option<String>
colorOptional[Union[str, str]]serde_json::Value
countryOptional[str]Option<String>A country's ISO-code
districtOptional[str]Option<String>
domain_identifierstrStringjaThe identifier of the domain object.
domain_typestrStringjaThe domain type of the address.
iconOptional[str]Option<String>
latitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
longitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
nameOptional[str]Option<String>
streetOptional[str]Option<String>
zipOptional[str]Option<String>
idinti64ja
deprecatedStoredAddressDeprecatedja
geo_latOptional[Union[float, str]]serde_json::ValueUse latitude instead veraltet
geo_lngOptional[Union[float, str]]serde_json::ValueUse longitude instead veraltet
latitude_looseOptional[Union[float, str]]serde_json::ValueUse latitude instead veraltet
longitude_looseOptional[Union[float, str]]serde_json::ValueUse longitude instead veraltet
marker_colorOptional[Union[str, str]]serde_json::Value veraltet
marker_iconOptional[str]Option<String>Use icon instead veraltet
marker_urlOptional[str]Option<String> veraltet
meeting_atOptional[str]Option<String>Use name instead veraltet
postalcodeOptional[str]Option<String>Use zip instead veraltet
CampusCreate3 Felder

Creates a campus (a location or congregation within the same ChurchTools installation).

FeldTypPflichtBeschreibung
namestrStringjaCampus name. Whitespace is trimmed; at least one character must remain.
shortystrStringjaAbbreviation used in compact displays.
sort_keyinti64Display-order value for clients that sort campuses.
CampusUpdate3 Felder

Partial campus update despite the PUT method.

FeldTypPflichtBeschreibung
nameOptional[str]Option<String>New name. Omitted or null retains the current value.
shortyOptional[str]Option<String>New abbreviation. Omitted or null retains the current value.
sort_keyOptional[int]Option<i64>New display-order value.
CashDiscount5 Felder

A cash discount defines a percentage for early-payment discounts and the ledger account to which the discount is posted.

FeldTypPflichtBeschreibung
account_idinti64jaID of the existing ledger account receiving this amount.
idinti64ja
metaMetaDataEntityIdja
notestrStringjaTrimmed description. Supply a nonblank value because the stored model requires a string.
ratefloatf64jaPercentage points: 2 means 2%.
CashDiscountCreate3 Felder

A cash discount defines a percentage for early-payment discounts and the ledger account to which the discount is posted.

FeldTypPflichtBeschreibung
account_idinti64jaID of the existing ledger account receiving this amount.
notestrStringjaTrimmed description. Supply a nonblank value because the stored model requires a string.
rateinti64jaWhole percentage points: 2 means 2%.
CashDiscountUpdate3 Felder

Replacement values for this cash discount.

FeldTypPflichtBeschreibung
account_idinti64jaID of the existing ledger account receiving this amount.
notestrStringjaTrimmed description. Supply a nonblank value because the stored model requires a string.
rateinti64jaWhole percentage points: 2 means 2%.
Chat6 Felder

Group or event chat room synchronized with Matrix.

FeldTypPflichtBeschreibung
creatorOptional[int]Option<i64>Person ID recorded as the room creator.
domain_idinti64jaID of the group (ctg) or service-planning event (cte) associated with the room.
guidstrStringjaStable ChurchTools chat identifier, not a Matrix room ID.
prefixstrStringjactg identifies a group and cte identifies a service-planning event.
roomnameOptional[str]Option<String>Display name of the room.
statusstrStringjaRoom lifecycle status.
ChatCreate4 Felder
FeldTypPflichtBeschreibung
domain_idinti64jaID of the group (ctg) or service-planning event (cte) associated with the room.
guidstrStringjaStable ChurchTools chat identifier, not a Matrix room ID.
prefixstrStringjactg identifies a group and cte identifies a service-planning event.
roomnamestrStringjaDisplay name of the room.
ChatUpdate6 Felder

Fields used to update chat metadata or change its lifecycle status.

FeldTypPflichtBeschreibung
creatorinti64Person ID recorded as the room creator.
domain_idinti64ID of the group (ctg) or service-planning event (cte) associated with the room.
noncestrStringSynchronization token for central chat service callbacks.
prefixstrStringctg identifies a group and cte identifies a service-planning event.
roomnamestrStringDisplay name of the room.
statusstrStringRequested lifecycle status.
Checkin4 Felder

Attendance confirmation for an existing person.

FeldTypPflichtBeschreibung
groupDomainObjectGroupja
group_meetingGroupMeetingjaOne dated occurrence of a group meeting, used to record attendance, guest counts and feedback.
personDomainObjectPersonjaPerson as Domain Object
total_checked_ininti64jaNumber of participants currently checked in at this meeting.
CheckinCreate4 Felder

Records attendance for one existing person at one group meeting.

FeldTypPflichtBeschreibung
dateOptional[datetime]Option<DateTime<Utc>>Exact start timestamp of a meeting in this group.
group_meeting_idOptional[int]Option<i64>ID of an existing meeting belonging to the path group.
printer_idinti64optional printer ID, if a name tag should be printed out
tokenstrStringOptional ticket token for this person and group.
CheckinMembershipCreate4 Felder

Membership to create before a separate attendance check-in.

FeldTypPflichtBeschreibung
fieldsStrMap[Any]BTreeMap<String, serde_json::Value>Group-member custom field values keyed by field ID.
idinti64jaTarget group ID. Supply an integer even though the enclosing validator does not validate this nested key explicitly.
ignore_group_sizeboolAllows admission even when the group is full; no additional override permission is checked here.
person_fieldsStrMap[Any]BTreeMap<String, serde_json::Value>jaPerson fields to update after membership creation, keyed by API field name.
CheckinPerson10 Felder

Legacy person-model response used only by check-in admission.

FeldTypPflichtBeschreibung
department_idsList[int]Vec<i64>ja
emailsStrMap[Any]BTreeMap<String, serde_json::Value>jaThe internal email collection currently serializes as an object rather than the normal Person email array.
first_nameOptional[str]Option<String>
guidOptional[str]Option<String>
idinti64ja
last_namestrStringja
latitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
latitude_looseOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
longitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
longitude_looseOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
CheckinPersonCreate3 Felder

Creates a new person, adds a check-in creation note, optionally tags the person and creates a group membership.

FeldTypPflichtBeschreibung
groupCheckinMembershipCreatejaMembership to create before a separate attendance check-in.
personCheckinPersonDataCreatejaPerson fields for creation during check-in admission.
tag_idOptional[int]Option<i64>Optional person-tag ID.
CheckinPersonDataCreate46 Felder

Person fields for creation during check-in admission.

FeldTypPflichtBeschreibung
address_additionOptional[str]Option<String>
baptised_byOptional[str]Option<String>
birth_nameOptional[str]Option<String>
birthdayOptional[date]Option<NaiveDate>
birthplaceOptional[str]Option<String>
campus_idinti64jaID of a campus returned by GET /person/masterdata.
cityOptional[str]Option<String>
cms_user_idstrString
countryOptional[str]Option<String>
date_of_baptismOptional[date]Option<NaiveDate>
date_of_belongingOptional[date]Option<NaiveDate>
date_of_deathOptional[date]Option<NaiveDate>
date_of_entryOptional[datetime]Option<DateTime<Utc>>
date_of_resignOptional[datetime]Option<DateTime<Utc>>
department_idsList[int]Vec<i64>jaDepartment IDs returned by GET /person/masterdata.
emailstrString
emailsList[PersonEmail]Vec<PersonEmail>Save many eMail addresses for person.
family_status_idOptional[int]Option<i64>
faxOptional[str]Option<String>
first_contactOptional[datetime]Option<DateTime<Utc>>
first_nameOptional[str]Option<String>Required field; surrounding whitespace is removed, blank text becomes null.
grow_path_idinti64
guidstrStringOptional unique person GUID.
jobOptional[str]Option<String>
last_namestrStringjaRequired nonblank surname, trimmed before use.
latitudeOptional[Union[float, str]]serde_json::Value
longitudeOptional[Union[float, str]]serde_json::Value
mobileOptional[str]Option<String>
nationality_idOptional[int]Option<i64>
nicknameOptional[str]Option<String>
optigem_idOptional[str]Option<String>
phone_privateOptional[str]Option<String>
phone_workOptional[str]Option<String>
place_of_baptismOptional[str]Option<String>
privacy_policy_agreementCheckinPersonDataCreatePrivacyPolicyAgreementLegacy representation of the privacy agreement. veraltet
privacy_policy_agreement_datedateNaiveDateDate of the privacy policy agreement.
privacy_policy_agreement_type_idinti64ID of the configured agreement type describing how the agreement was obtained.
privacy_policy_agreement_who_idinti64ID of the configured agreement source describing who gave the agreement.
referred_byOptional[str]Option<String>
referred_toOptional[str]Option<String>
sex_idOptional[int]Option<i64>
status_idinti64jaID of a person status returned by GET /person/masterdata.
streetOptional[str]Option<String>
titleOptional[str]Option<String>
wedding_dateOptional[date]Option<NaiveDate>
zipOptional[str]Option<String>
CheckinPersonDataCreatePrivacyPolicyAgreement3 Felder

Legacy representation of the privacy agreement.

FeldTypPflichtBeschreibung
dateOptional[date]Option<NaiveDate>
type_idOptional[int]Option<i64>How the agreement was obtained: 1 group registration, 2 self-confirmation, 3 outside ChurchTools, 4 check-in.
who_idOptional[int]Option<i64>Who gave the agreement: 1 the person themself, 2 a parent, 10000 the person responsible for a group signup.
CheckinPersonUpdate3 Felder

Admits an existing person to a group and updates the group’s configured person fields.

FeldTypPflichtBeschreibung
groupCheckinMembershipCreatejaMembership to create before a separate attendance check-in.
person_idinti64jaExisting person to admit to the group.
tag_idOptional[int]Option<i64>Optional person-tag ID.
Client15 Felder

A finance client is the organizational entity whose books are kept separately, for example a congregation or a charitable organization.

FeldTypPflichtBeschreibung
cityOptional[str]Option<String>Optional contact information.
datev_client_numberOptional[str]Option<String>Stored DATEV identifier as a string or null.
datev_consultant_numberOptional[str]Option<String>Stored DATEV identifier as a string or null.
emailOptional[str]Option<String>Optional valid email address.
eubp_business_nameOptional[str]Option<String>Employer name used for electronically supported employer audits (euBP).
eubp_business_numberOptional[str]Option<String>German employer business number for euBP: eight digits with a valid checksum.
idinti64ja
metaMetaDataEntityIdja
namestrStringjaTrimmed client name, unique across finance clients.
phoneOptional[str]Option<String>Optional contact information.
postal_codeOptional[str]Option<String>Optional contact information.
sort_keyinti64jaAscending display order.
streetOptional[str]Option<String>Optional contact information.
treasurerOptional[DomainObjectPerson]Option<DomainObjectPerson>Treasurer person as a domain object, or null when none is assigned.
treasurer_idOptional[int]Option<i64>Optional person ID of the treasurer.
ClientCreate12 Felder

A finance client is the organizational entity whose books are kept separately, for example a congregation or a charitable organization.

FeldTypPflichtBeschreibung
cityOptional[str]Option<String>Optional contact information.
datev_client_numberOptional[Union[str, float]]serde_json::ValueOptional numeric DATEV client identifier.
datev_consultant_numberOptional[Union[str, float]]serde_json::ValueOptional numeric DATEV consultant identifier.
emailOptional[str]Option<String>Optional valid email address.
eubp_business_nameOptional[str]Option<String>Employer name used for electronically supported employer audits (euBP).
eubp_business_numberOptional[str]Option<String>German employer business number for euBP: eight digits with a valid checksum.
namestrStringjaTrimmed client name, unique across finance clients.
phoneOptional[str]Option<String>Optional contact information.
postal_codeOptional[str]Option<String>Optional contact information.
sort_keyinti64jaAscending display order.
streetOptional[str]Option<String>Optional contact information.
treasurer_idOptional[int]Option<i64>Optional person ID of the treasurer.
ClientUpdate12 Felder

Replacement finance-client data.

FeldTypPflichtBeschreibung
cityOptional[str]Option<String>Optional contact information.
datev_client_numberOptional[Union[str, float]]serde_json::ValueOptional numeric DATEV client identifier.
datev_consultant_numberOptional[Union[str, float]]serde_json::ValueOptional numeric DATEV consultant identifier.
emailOptional[str]Option<String>Optional valid email address.
eubp_business_nameOptional[str]Option<String>Employer name used for electronically supported employer audits (euBP).
eubp_business_numberOptional[str]Option<String>German employer business number for euBP: eight digits with a valid checksum.
namestrStringjaTrimmed client name, unique across finance clients.
phoneOptional[str]Option<String>Optional contact information.
postal_codeOptional[str]Option<String>Optional contact information.
sort_keyinti64jaAscending display order.
streetOptional[str]Option<String>Optional contact information.
treasurer_idOptional[int]Option<i64>Optional person ID of the treasurer.
Color2 Felder

Value for Tailwind color

FeldTypPflichtBeschreibung
keystrStringjaA color in ChurchTools
shadeOptional[int]Option<i64>
CombinedDonationReceipts2 Felder
FeldTypPflichtBeschreibung
attachmentsOptional[str]Option<String>Separate attachment PDF in twofiles mode.
cover_lettersOptional[str]Option<String>Combined cover-letter PDF, or the complete combined PDF in onefile mode.
CommentViewer4 Felder

Visibility category for person comments and person-linked notes.

FeldTypPflichtBeschreibung
idinti64jaCategory ID used as commentViewerId and as a selection of churchdb view comments.
namestrStringjaStored category name or translation key.
name_translatedstrStringjaName translated for the current language, falling back to the stored name.
sort_keyinti64jaDisplay sort key. Lists are sorted by sortKey, then stored name, both ascending.
CommentViewerCreate2 Felder

Create a visibility category for person comments/notes.

FeldTypPflichtBeschreibung
namestrStringjaTrimmed display name or translation key, 1–50 characters.
sort_keyinti64Nonnegative display sort key; defaults to 0.
CommentViewerUpdate2 Felder

Updates a visibility category.

FeldTypPflichtBeschreibung
namestrStringjaTrimmed display name or translation key, 1–50 characters.
sort_keyinti64Optional nonnegative sort key.
Config322 Felder
FeldTypPflichtBeschreibung
current_config_filestrString
accept_datasecuritybool
access_control_allow_credentialsbool
access_control_allow_originsstrString
admin_idsList[str]Vec<String>
admin_mailstrString
admin_messagestrString
ai_assistant_availablebool
ai_description_available_generation_countfloatf64
ai_description_available_generation_testsfloatf64
ai_description_generation_countfloatf64
ai_description_generation_enabledbool
ai_description_total_generation_countfloatf64
allowaiassistantbool
allowcheckinstrStringThis is a string that can only be true or false.
allowedcalsstrString
allowedclientsstrString
allowedcwbusersstrString
allowedresourcesstrString
allowedservicesstrString
allowedstationsstrString
allowedsyncconnectionsstrString
allowedsyncjobsstrString
allowedtextgenerationsstrString
alloweduserstrString
allowfinancestrStringThis is a string that can only be true or false.
allowldapstrStringThis is a string that can only be true or false.
allowoptigemsyncstrStringThis is a string that can only be true or false.
allowsyncstrStringThis is a string that can only be true or false.
app_security_requestbool
auth_cache_timeUnion[int, str]serde_json::Value
authorized_personsstrString
brandstrStringja
buildstrString
ccli_access_tokenstrString
ccli_auto_reporting_enabledbool
ccli_enabledbool
ccli_last_token_refreshstrString
ccli_refresh_tokenstrString
chat_serverstrStringja
chrome_activestrStringThis is a string that can only be true or false.
chrome_binarystrString
churchcal_activebool
churchcal_cssstrString
churchcal_entries_last_daysinti64
churchcal_firstdayinweekinti64
churchcal_maincalnamestrString
churchcal_namestrString
churchcal_name_defaultstrString
churchcal_sortcodeinti64
churchchat_allow_event_chatbool
churchchat_allow_group_chatbool
churchchat_allow_person_chatbool
churchchat_delete_event_chat_after_x_daysinti64
churchchat_invite_ct_event_chatbool
churchchat_invite_ct_group_chatbool
churchchat_namestrString
churchchat_name_defaultstrString
churchchat_sortcodeinti64
churchchat_start_event_chat_before_x_daysinti64
churchchat_start_event_chat_for_calendarsstrStringA stringified array of calendar ids
churchchat_sync_user_idinti64
churchcheckin_activebool
churchcheckin_label_childstrString
churchcheckin_label_parentstrString
churchcheckin_label_standardstrString
churchcheckin_namestrString
churchcheckin_name_defaultstrString
churchcheckin_sortcodeinti64
churchcheckin_tagsstrString
churchcustommodule_activestrStringThis is a string that can only be true or false.
churchcustommodule_namestrString
churchcustommodule_name_defaultstrString
churchdb_activebool
churchdb_archivedeletehistorybool
churchdb_birthdaylist_stationstrString
churchdb_birthdaylist_statusstrString
churchdb_cleverreach_access_tokenstrString
churchdb_cleverreach_client_idstrString
churchdb_cleverreach_client_secretstrString
churchdb_cleverreach_connectedstrString
churchdb_cleverreach_refresh_tokenstrString
churchdb_cleverreach_scopesstrString
churchdb_cleverreach_token_expirystrString
churchdb_emailseparatorstrString
churchdb_home_latstrString
churchdb_home_lngstrString
churchdb_mailchimp_apikeystrString
churchdb_mailchimp_connectedbool
churchdb_mailjet_apikeystrString
churchdb_mailjet_apisecretstrString
churchdb_mailjet_connectedbool
churchdb_memberlist_stationstrString
churchdb_memberlist_statusstrString
churchdb_namestrString
churchdb_name_defaultstrString
churchdb_sendgroupmailsbool
churchdb_smscmtelecom_apikeystrString
churchdb_smspromote_apikeystrString
churchdb_sortcodeinti64
churchfinance_activebool
churchfinance_namestrString
churchfinance_name_defaultstrString
churchfinance_sortcodeinti64
churchgroup_activebool
churchgroup_inmenubool
churchgroup_namestrString
churchgroup_name_defaultstrString
churchgroup_sortcodeinti64
churchreport_activebool
churchreport_namestrString
churchreport_name_defaultstrString
churchreport_sortcodeinti64
churchresource_activebool
churchresource_anonymize_for_public_userbool
churchresource_entries_last_daysinti64
churchresource_namestrString
churchresource_name_defaultstrString
churchresource_send_emailsbool
churchresource_sortcodeinti64
churchservice_activebool
churchservice_agendashowenumerationbool
churchservice_ccli_tokenstrString
churchservice_ccli_token_secretstrString
churchservice_entries_last_daysinti64
churchservice_invite_personsbool
churchservice_namestrString
churchservice_name_defaultstrString
churchservice_openservice_rememberdaysinti64
churchservice_reminderhoursinti64
churchservice_songwithcategoryasdirbool
churchservice_sortcodeinti64
churchsync_activebool
churchsync_inmenubool
churchsync_namestrString
churchsync_name_defaultstrString
churchsync_sortcodeinti64
churchwiki_activebool
churchwiki_namestrString
churchwiki_name_defaultstrString
churchwiki_sortcodeinti64
cron_dailydatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
cron_hour_8datetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
cron_last_executionstrString
cronjob_dbdumpstrStringThis is a string that can only be true or false.
cronjob_delayinti64
currently_mail_sendingstrStringThis is a string that can only be true or false.
datasecurity_privacy_declaration_wiki_linkstrString
datasecurity_banner_enabledbool
datasecurity_privacy_agreement_hintstrStringOnly in extended config
datasecurity_privacy_agreement_textstrStringOnly in extended config
datasecurity_privacy_agreement_text_for_childrenstrStringOnly in extended config
db_namestrString
db_passwordstrString
db_serverstrString
db_userstrString
deactivate_default_loginbool
default_phone_area_codestrString
deprecation_usage_mail_last_executionstrString
email_serverstrString
encryptionkeystrString
envstrString
evangelische_termine_api_keystrString
evangelische_termine_enabledbool
evangelische_termine_namestrString
evangelische_termine_urlstrString
evangelische_termine_vidstrString
feature_advent_searchboolEnables the Advent sheep search for the German interface.
feature_appointment_searchbool
feature_automationstrStringThis is a string that can only be true or false.
feature_custommodulestrStringThis is a string that can only be true or false.
feature_darkmodestrStringThis is a string that can only be true or false.
feature_dynamic_groupsstrStringThis is a string that can only be true or false.
feature_eubpbool
feature_event_fact_widgetbool
feature_finance_donators_datatablebool
feature_flags_uibool
feature_groupstrStringThis is a string that can only be true or false.
feature_markdown_groupboolDeprecated compatibility flag that is always true. veraltet
feature_mobile_groupsstrStringThis is a string that can only be true or false.
feature_newsfeed_comment_reactionsboolDeprecated compatibility flag that is always true. veraltet
feature_newsfeed_seenboolEnables unseen-post badges and excludes seen posts from summary emails.
feature_org_chart_groupsstrString
feature_permission_newbool
feature_person_probe_filterbool
feature_postsstrStringThis is a string that can only be true or false.
feature_resource_quantitybool
feature_resource_settingsbool
feature_resources_appstrStringThis is a string that can only be true or false.
feature_sessionless_loginbool
feature_syncstrStringThis is a string that can only be true or false.
feature_usechurchquerystrString
file_meta_cron_last_file_size_idstrString
file_meta_cron_last_image_metadata_idstrString
finance_activebool
finance_inmenustrStringThis is a string that can only be true or false.
finance_namestrString
finance_name_defaultstrString
finance_sortcodestrString
finder_urlstrStringja
first_sync_jobdatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
first_transactiondatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
hide_beta_statesbool
hide_all_hintsbool
hostingservicestrStringThis is a string that can only be true or false.
https_onlystrString
ical_invitation_hmac_secretstrString
image_extensionstrString
impressum_externalstrString
impressum_external_linkstrString
impressum_internalstrStringThis is a string that can only be true or false.
imprint_wiki_linkstrString
installation_verification_codestrString
invite_email_textstrString
is_current_user_authorized_personbooljaWhether the current user is configured as an authorized person.
is_posts_activeboolja
is_saml_activebool
is_churchtools_blog_widget_activebool
is_churchtools_onboarding_widget_activebool
is_pr_widget_activebool
is_rss_widget_activebool
languagestrStringThe language code is a two-letter code that represents the language.
last_cronstrString
last_cron_finishedstrString
last_db_dumpstrString
last_import_clearstrString
last_translation_updatestrString
ldap_otp_enabledbool
license_settingsGetConfigResponseLicenseSettings
log_debugstrStringThis is a string that can only be true or false.
login_messagestrString
mail_enabledbool
mail_sending_in_backgroundstrStringThis is a string that can only be true or false.
mail_sending_starttimestrString
mail_smtp_args_hoststrString
mail_smtp_args_passwordstrString
mail_smtp_args_portstrString
mail_smtp_args_smtpsecurestrString
mail_smtp_args_usernamestrString
matomo_uristrString
max_uploadfile_size_kbinti64
memberlist_birthday_fullstrStringThis is a string that can only be true or false.
memberlist_emailstrStringThis is a string that can only be true or false.
memberlist_faxstrStringThis is a string that can only be true or false.
memberlist_group_couplesstrStringThis is a string that can only be true or false.
memberlist_picturestrStringThis is a string that can only be true or false.
memberlist_salutationstrStringThis is a string that can only be true or false.
memberlist_telefongeschaeftlichstrStringThis is a string that can only be true or false.
memberlist_telefonhandystrStringThis is a string that can only be true or false.
memberlist_telefonprivatstrStringThis is a string that can only be true or false.
onboarding_startdatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
openai_api_keystrString
openstreetmaps_enabledbool
orderstatusstrString
orderstatus_since_datedatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
packagestrString
post_activebool
post_edit_time_limitedbool
post_email_summary_default_enabledbool
post_email_summary_default_filterstrString
post_email_summary_default_weekdaysstrString
post_featured_groupsstrString
post_inmenubool
post_namestrString
post_sortcodeinti64
post_wizard_completedbool
post_wizard_groupsstrString
prevent_change_security_settingsstrString
prevent_exportbool
prevent_manual_finance_account_creationbool
privacy_policy_externalbool
privacy_policy_external_linkstrString
privacy_policy_fields_mandatorybool
privacy_policy_fields_mandatory_apibool
privacy_policy_internalbool
privacy_policy_relationshipsstrString
profilestrString
public_channel_registrystrString
public_channel_registry_urlstrString
rabbitmq_config_hoststrString
rabbitmq_config_passwordstrString
rabbitmq_config_portstrString
rabbitmq_config_userstrString
redis_serverstrString
rss_widget_linkstrString
safe_mode_enable_authorized_personsstrString
safe_mode_enable_chat_syncstrString
safe_mode_enable_consolidationstrString
safe_mode_enable_guid_syncstrString
safe_mode_enable_job_queueingstrStringThis is a string that can only be true or false.
safe_mode_enable_mailstrString
safe_mode_enable_newsletterstrString
safe_mode_enable_notificationstrString
send_data_security_mailsbool
session_handlerstrString
short_namestrString
show_ai_assistantbool
show_remember_mebool
site_languagestrString
site_licensekeystrString
site_logostrString
site_mailstrString
site_namestrString
site_offlinebool
site_regionstrString
site_startpagestrString
site_urlstrString
support_user_active_sincedatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
testboolWhether this installation is configured as a test system.
timezonestrString
url_metadata_urlstrString
verification_statusstrStringja
versionstrString
webchat_linkstrStringja
website_order_statusstrString
website_sync_user_idstrString
website_testphase_datestrString
website_trial_user_idinti64
website_urlstrString
welcomestrString
welcome_subtextstrString
wget_pathstrString
ContactLabel5 Felder

Shared label for person email addresses.

FeldTypPflichtBeschreibung
is_defaultbooljaWhether this label is preferred for new email addresses.
namestrStringjaUnique contact-label name.
sort_keyinti64jaDisplay-order value.
idinti64jaContact-label ID referenced by a person’s email address.
name_translatedstrStringjaTranslated Name of Label
ContactLabelCreate3 Felder

Label used to distinguish a person’s email addresses, for example private and work.

FeldTypPflichtBeschreibung
is_defaultbooljaWhether this label is preferred for new email addresses.
namestrStringjaUnique contact-label name.
sort_keyinti64jaDisplay-order value.
ContactLabelUpdate3 Felder

Replacement values for an existing contact label.

FeldTypPflichtBeschreibung
is_defaultbooljaWhether this label is preferred for new email addresses.
namestrStringjaUnique contact-label name.
sort_keyinti64jaDisplay-order value.
CostCenter12 Felder

A cost center assigns income and expenses to a purpose, project or group within one accounting period.

FeldTypPflichtBeschreibung
accounting_period_idinti64ja
annotationOptional[str]Option<String>
budgetOptional[int]Option<i64>Budget is in cent.
budget_balanceOptional[int]Option<i64>Budget plus cash-account income minus cash-account expenses, in minor currency units.
budget_balance_last_periodOptional[int]Option<i64>Remaining budget of the matching cost center in the previous period, in minor currency units.
budget_last_periodOptional[int]Option<i64>Budget of the cost center with the same number in the previous period of this client, in minor currency units.
budget_spentOptional[int]Option<i64>Cash-account expenses minus cash-account income, in minor currency units.
idinti64ja
metaMetaDataEntityIdja
nameOptional[str]Option<String>
numberstrStringja
groupOptional[DomainObjectGroup]Option<DomainObjectGroup>Linked group as a domain object, or null.
CostCenterBulkCreate1 Felder

Cost centers to create.

FeldTypPflichtBeschreibung
cost_centersList[CostCenterCreate]Vec<CostCenterCreate>ja
CostCenterCreate6 Felder

A cost center assigns income and expenses to a purpose, project or group within one accounting period.

FeldTypPflichtBeschreibung
accounting_period_idinti64jaExisting, open accounting period owning this cost center.
annotationOptional[str]Option<String>Optional trimmed note.
budgetOptional[int]Option<i64>Optional budget in minor currency units, for example 3200 for EUR 32.00.
group_idOptional[int]Option<i64>Optional linked group.
namestrStringjaTrimmed name, unique within the accounting period.
numberstrStringjaTrimmed identifier, unique within the accounting period.
CostCenterStatementReportCreate5 Felder

Optional account-report options.

FeldTypPflichtBeschreibung
end_dateOptional[date]Option<NaiveDate>Last document date to include.
formatstrStringPDF creates a file and returns its URL with HTTP 201.
start_dateOptional[date]Option<NaiveDate>First document date to include.
include_rebookingsboolInclude transactions classified as internal rebookings in the cost-center report.
type_r#typestrStringLegacy alias for format. veraltet
CostCenterStored11 Felder

A cost center assigns income and expenses to a purpose, project or group within one accounting period.

FeldTypPflichtBeschreibung
accounting_period_idinti64ja
annotationOptional[str]Option<String>
budgetOptional[int]Option<i64>Budget is in cent.
budget_balanceOptional[int]Option<i64>Budget plus cash-account income minus cash-account expenses, in minor currency units.
budget_balance_last_periodOptional[int]Option<i64>Remaining budget of the matching cost center in the previous period, in minor currency units.
budget_last_periodOptional[int]Option<i64>Budget of the cost center with the same number in the previous period of this client, in minor currency units.
budget_spentOptional[int]Option<i64>Cash-account expenses minus cash-account income, in minor currency units.
idinti64ja
metaMetaDataEntityIdja
nameOptional[str]Option<String>
numberstrStringja
CostCenterUpdate6 Felder

Replacement values for a cost center.

FeldTypPflichtBeschreibung
accounting_period_idinti64jaExisting, open accounting period owning this cost center.
annotationOptional[str]Option<String>Optional trimmed note.
budgetOptional[int]Option<i64>Optional budget in minor currency units, for example 3200 for EUR 32.00.
group_idOptional[int]Option<i64>Optional linked group.
nameOptional[str]Option<String>Trimmed name. Unlike creation, updating accepts omitted, null or blank names and stores null.
numberstrStringjaTrimmed identifier, unique within the accounting period.
CtFile20 Felder

Metadata for a stored file or URL attachment.

FeldTypPflichtBeschreibung
ai_generatedbooljaWhether the image was generated with AI.
annotationOptional[str]Option<String>Image credit or attribution.
annotation_linkOptional[str]Option<String>Attribution link.
descriptionOptional[str]Option<String>Alternative text describing the image for screen readers.
additional_infosStrMap[Any]BTreeMap<String, serde_json::Value>Domain-specific extra data.
domain_idstrStringjaAttachment-context identifier; its meaning depends on domainType.
domain_typestrStringjaStored attachment category.
file_urlstrStringjaAbsolute download URL or external link URL.
filenamestrStringjaStorage filename/hash for a binary file, or the target URL for a link.
image_metadataOptional[CtFileImageMetadata]Option<CtFileImageMetadata>Image dimensions calculated from the file.
image_optionOptional[CtFileImageOption]Option<CtFileImageOption>
image_urlOptional[str]Option<String>
metaFileMetaDataja
namestrStringja
relative_urlstrStringjaLegacy relative download URL, or an absolute external URL for a link.
security_level_idOptional[int]Option<i64>
show_only_when_editablebooljaWhether domain lists show the file only to users who may edit its owning object.
sizeOptional[int]Option<i64>The file size in byte
type_r#typestrStringjafile for a stored file, link for a filename beginning with http.
idinti64jaPersisted file record ID.
CtFileImageMetadata3 Felder

Image dimensions calculated from the file.

FeldTypPflichtBeschreibung
aspect_ratiofloatf64
heightinti64
widthinti64
CtFileImageOption2 Felder
FeldTypPflichtBeschreibung
cropCtFileImageOptionCropja
focusCtFileImageOptionFocusja
CtFileImageOptionCrop4 Felder
FeldTypPflichtBeschreibung
bottomfloatf64ja
leftfloatf64ja
rightfloatf64ja
topfloatf64ja
CtFileImageOptionFocus2 Felder
FeldTypPflichtBeschreibung
xfloatf64ja
yfloatf64ja
DbField26 Felder

Database-field definition.

FeldTypPflichtBeschreibung
delete_on_archivebooljaWhether a person field’s value is cleared on archiving.
is_activebooljaWhether the field is enabled for normal use.
is_available_in_routinesbooljaWhether routines may use this field.
is_new_person_fieldbooljaWhether the field is available on new-person forms; primarily relevant to person categories.
lengthOptional[int]Option<i64>Configured field length.
line_endingOptional[str]Option<String>Legacy display-layout setting, retained for compatibility. veraltet
namestrStringjaStored display name or translation key.
security_levelinti64jaSecurity-level ID governing access to this field, resolved from installation masterdata.
shortyOptional[str]Option<String>Abbreviated label.
sort_keyinti64jaDisplay-order value within its category.
use_as_placeholderbooljaWhether the field may be used as a placeholder.
deprecatedDbFieldDeprecatedjaCompatibility mappings emitted by the backend.
columnstrStringUnderlying database column; prefer key for API requests. veraltet
created_by_churchbooljaTrue for a custom field created by this ChurchTools installation.
field_categoryDbFieldCategoryjaStored field category and its underlying entity table.
field_typeDbFieldTypejaDatabase-field type definition.
hide_in_frontendbooljaStored flag controlling frontend visibility; current updates reset it to false.
idinti64jaField-definition ID used in /dbfields paths.
is_basic_infobooljaWhether the field is marked as basic information; current updates reset it to false.
is_not_configurablebooljaWhether the field is marked as non-configurable; current updates reset it to false.
is_nullablebooljaWhether stored field values may be null.
keystrStringjaAPI property name. Built-in columns are mapped to API names; custom fields normally retain their generated column name.
name_translatedstrStringjaLocalized display name for the current language.
not_configurableboolDeprecated alias of isNotConfigurable. veraltet
nullableboolDeprecated alias of isNullable. veraltet
optionsList[DbFieldOption]Vec<DbFieldOption>Optional choices, included by an unfiltered list with include[]=options.
DbFieldCategory4 Felder

Stored field category and its underlying entity table.

FeldTypPflichtBeschreibung
idinti64ja
intern_codestrStringjaField category: f_address (person address/contact), f_church (person church information), f_category (person categories), f_group (group data), f_dep (departments), f_growpath (person growth-path data), or f_datasecurity (person privacy information).
namestrStringja
tablestrStringja
DbFieldCreate12 Felder

Creates a custom database column and field definition, plus an option table for selection types.

FeldTypPflichtBeschreibung
delete_on_archivebooljaWhether a person field’s value is cleared on archiving.
is_activebooljaWhether the field is enabled for normal use.
is_available_in_routinesboolWhether routines may use this field.
is_new_person_fieldbooljaWhether the field is available on new-person forms; primarily relevant to person categories.
lengthinti64Configured maximum length for text and textarea fields.
line_endingOptional[str]Option<String>Legacy display-layout setting retained for compatibility. veraltet
namestrStringjaStored display name or translation key.
security_levelinti64jaSecurity-level ID governing access to this field, resolved from installation masterdata.
shortyOptional[str]Option<String>Abbreviated display label.
sort_keyinti64jaDisplay-order value within its category.
use_as_placeholderbooljaWhether the field may be used as a placeholder.
field_category_intern_codestrStringjaField category: f_address (person address/contact), f_church (person church information), f_category (person categories), f_group (group data), f_dep (departments), f_growpath (person growth-path data), or f_datasecurity (person privacy information).
DbFieldDeprecated2 Felder

Compatibility mappings emitted by the backend.

FeldTypPflichtBeschreibung
not_configurablestrStringja
nullablestrStringja
DbFieldOption3 Felder

Option row. Keys and value types depend on the selected masterdata table.

FeldTypPflichtBeschreibung
idUnion[int, str]serde_json::ValuejaOption identifier; group-visibility expansions use string IDs.
nameOptional[str]Option<String>
sort_keyinti64
DbFieldOptionColumn6 Felder

One writable option-table column.

FeldTypPflichtBeschreibung
is_auto_incrementbooljaGenerated by the database; omit this column from create/update payloads.
is_nullablebooljaWhether the underlying database column permits SQL NULL.
lengthOptional[int]Option<i64>Parsed SQL width. For int(11), 11 is a display width rather than a numerical bound.
namestrStringjaAPI property name to use in option payloads.
name_translatedstrStringjaLocalized label for the API property name.
type_r#typestrStringjaSQL type reported by table introspection, such as int, varchar or tinyint.
DbFieldOptionCreate2 Felder

Option row for the selected field’s underlying masterdata table.

FeldTypPflichtBeschreibung
namestrStringCommon option label. Custom selection-table labels contain 1–30 characters.
sort_keyinti64Display order, required for custom selection tables and any metadata exposing a non-auto-increment sortKey column.
DbFieldOptionUpdate2 Felder

Full option-row update based on the selected field’s metadata.

FeldTypPflichtBeschreibung
namestrStringCommon option label. Custom selection-table labels contain 1–30 characters.
sort_keyinti64Display order, required for custom selection tables and any metadata exposing a non-auto-increment sortKey column.
DbFieldType4 Felder

Database-field type definition.

FeldTypPflichtBeschreibung
idinti64ja
intern_codestrStringjaInput/storage type. select and radioselect use one option, multiselect uses multiple options.
namestrStringja
sort_keyinti64jaDisplay-order value.
DbFieldUpdate12 Felder

Updates an existing field.

FeldTypPflichtBeschreibung
delete_on_archivebooljaWhether a person field’s value is cleared on archiving.
is_activeboolWhether the field is enabled for normal use.
is_available_in_routinesboolWhether routines may use this field.
is_new_person_fieldbooljaWhether the field is available on new-person forms; primarily relevant to person categories.
lengthinti64Configured maximum length for text and textarea fields.
line_endingOptional[str]Option<String>Legacy display-layout setting retained for compatibility. veraltet
namestrStringStored display name or translation key.
security_levelinti64jaSecurity-level ID governing access to this field, resolved from installation masterdata.
shortyOptional[str]Option<String>Abbreviated display label.
sort_keyinti64jaDisplay-order value within its category.
use_as_placeholderbooljaWhether the field may be used as a placeholder.
field_category_intern_codestrStringInstallation-created person fields can move between f_address, f_church, f_category and f_datasecurity.
DeleteGroupsGroupIdMeetingsMeetingIdMembersMemberIdBody1 Felder
FeldTypPflichtBeschreibung
statusstrStringAttendance state after revoking the check-in.
DeleteSimulateData1 Felder
FeldTypPflichtBeschreibung
redirectstrStringja
Denomination3 Felder

Denomination of a church

FeldTypPflichtBeschreibung
keystrStringjaTechnical enum case name used by ChurchTools.
namestrStringjaTranslation key of the denomination.
name_translatedstrStringjaLocalized denomination name.
Department7 Felder

Person-related department used to organize the directory and its access rules.

FeldTypPflichtBeschreibung
deprecatedDepartmentDeprecatedja
idinti64ja
namestrStringja
name_translatedstrStringja
shortstrStringUse shorty instead veraltet
shortystrStringja
sort_keyinti64ja
DepartmentDeprecated1 Felder
FeldTypPflichtBeschreibung
shortstrStringja
Deprecated3 Felder

Compatibility metadata describing legacy date fields.

FeldTypPflichtBeschreibung
date_fromstrStringja
date_tostrStringja
end_datestrStringja
Device13 Felder

One app-device registration belonging to a person.

FeldTypPflichtBeschreibung
deprecatedDeviceDeprecatedjaCompatibility mapping for legacy fields; id actually contains pushId.
app_versionOptional[str]Option<String>Used App Version
created_atdatetimeDateTime<Utc>Use meta.createdDate instead veraltet
device_idstrStringjaClient-generated registration identifier, scoped to the person.
expiration_datedatetimeDateTime<Utc>jaRegistration expiry, refreshed by PUT to three months from now, or one day during simulation.
idOptional[str]Option<String>Legacy value equal to pushId, despite the compatibility marker naming deviceId as its replacement. veraltet
metaMetaDataEntityIdja
person_idinti64ja
push_idOptional[str]Option<String>Push-provider token, or null.
ttldatetimeDateTime<Utc>Use expirationDate instead veraltet
type_r#typestrStringjaPush platform: APN for Apple Push Notification service; FCM for Firebase Cloud Messaging.
updated_atdatetimeDateTime<Utc>Use meta.modifiedDate instead veraltet
versionOptional[str]Option<String>Legacy alias of appVersion. veraltet
DeviceDeprecated5 Felder

Compatibility mapping for legacy fields; id actually contains pushId.

FeldTypPflichtBeschreibung
created_atstrStringja
idstrStringja
ttlstrStringja
updated_atstrStringja
versionstrStringja
DeviceUpdate4 Felder

Creates or refreshes a device registration.

FeldTypPflichtBeschreibung
app_versionOptional[str]Option<String>App version accepted by the version validator, such as 1.2.3.
push_idOptional[str]Option<String>Trimmed push token. Omission replaces the token with deviceId; null clears it; an empty or whitespace-only string preserves the previous token (null on a new device).
type_r#typestrStringjaPush platform: APN for Apple Push Notification service; FCM for Firebase Cloud Messaging.
versionOptional[str]Option<String>Legacy alias of appVersion; use appVersion. veraltet
DomainObjectAction11 Felder

Action as Domain Object

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectActionDomainAttributesja
domain_typestrStringja
frontend_urlNoneserde_json::Valueja
iconstrStringja
DomainObjectActionDomainAttributes1 Felder
FeldTypPflichtBeschreibung
create_domain_typestrString
DomainObjectAppointment11 Felder

Appointment as Domain Object

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesStrMap[Any]BTreeMap<String, serde_json::Value>ja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
DomainObjectAppointmentOccurrence11 Felder

One dated occurrence of an appointment series, identified by appointment ID and occurrence date.

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectAppointmentOccurrenceDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
DomainObjectAppointmentOccurrenceDomainAttributes1 Felder
FeldTypPflichtBeschreibung
start_datedateNaiveDatejaOccurrence date used in the compound identifier.
DomainObjectCalendar11 Felder

Calendar as Domain Object

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectCalendarDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
DomainObjectCalendarDomainAttributes1 Felder
FeldTypPflichtBeschreibung
campus_nameOptional[str]Option<String>
DomainObjectEvent11 Felder

Event as Domain Object

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectEventDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
DomainObjectEventDomainAttributes1 Felder
FeldTypPflichtBeschreibung
start_datedatetimeDateTime<Utc>jaStart of this service-planning event.
DomainObjectExternalPerson11 Felder

External person as Domain Object

FeldTypPflichtBeschreibung
api_urlNoneserde_json::Valueja
colorNoneserde_json::Valueja
domain_attributesDomainObjectExternalPersonDomainAttributesja
domain_identifierNoneserde_json::Valueja
domain_typestrStringja
frontend_urlNoneserde_json::Valueja
iconstrStringja
image_urlNoneserde_json::Valueja
infosList[str]Vec<String>ja
initialsOptional[str]Option<String>
titlestrStringja
DomainObjectExternalPersonDomainAttributes1 Felder
FeldTypPflichtBeschreibung
emailstrString
DomainObjectFile11 Felder

Compact, domain-independent representation for displaying a link to a ChurchTools object.

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesStrMap[Any]BTreeMap<String, serde_json::Value>ja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
DomainObjectGroup11 Felder

Compact, domain-independent representation for displaying a link to a ChurchTools object.

FeldTypPflichtBeschreibung
api_urlstrStringja
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectGroupDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
DomainObjectGroupDomainAttributes6 Felder
FeldTypPflichtBeschreibung
campus_idOptional[float]Option<f64>
group_status_idfloatf64ja
group_type_idfloatf64ja
guidstrStringja
notestrStringja
visibilitystrStringjaThe visibility of a group.
DomainObjectGroupMembership11 Felder

A person’s membership in a group.

FeldTypPflichtBeschreibung
api_urlstrStringja
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>ja
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectGroupMembershipDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
DomainObjectGroupMembershipDomainAttributes8 Felder
FeldTypPflichtBeschreibung
date_of_deathOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
first_namestrStringja
group_idinti64ja
guidOptional[str]Option<String>Globally Unique Identifier
is_archivedboolja
last_namestrStringja
person_idinti64ja
role_idinti64ja
DomainObjectGrouphomepage11 Felder

Public directory entry for an enabled group homepage.

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectGrouphomepageDomainAttributesja
domain_typestrStringja
frontend_urlOptional[str]Option<String>
iconstrStringja
DomainObjectGrouphomepageDomainAttributes2 Felder
FeldTypPflichtBeschreibung
child_group_idsList[int]Vec<i64>jaAll reachable active, non-hidden descendants, across every hierarchy depth.
parent_group_idinti64jaID of the group that owns this homepage; that group itself is not part of the descendant list.
DomainObjectOsmAddress11 Felder

OSM Address as Domain Object

FeldTypPflichtBeschreibung
api_urlNoneserde_json::Value
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>ja
initialsOptional[str]Option<String>
titlestrStringjaDisplay title of the referenced object.
domain_attributesStrMap[Any]BTreeMap<String, serde_json::Value>ja
domain_typestrStringja
frontend_urlNoneserde_json::Value
iconstrStringja
DomainObjectPayload2 Felder

Pairs domain types and identifiers by array index.

FeldTypPflichtBeschreibung
domain_identifiersList[str]Vec<String>jaFor person, group, song, event, group_membership, and appointment, use a numeric database ID encoded as a string.
domain_typesList[str]Vec<String>jaObject types corresponding to the identifiers at the same indexes.
DomainObjectPerson11 Felder

Person as Domain Object

FeldTypPflichtBeschreibung
api_urlstrStringja
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>ja
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectPersonDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringjauser for an ordinary person; user-shield for a censored person placeholder.
DomainObjectPersonDomainAttributes5 Felder
FeldTypPflichtBeschreibung
date_of_deathOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
first_namestrStringja
guidOptional[str]Option<String>Globally Unique Identifier
is_archivedboolja
last_namestrStringja
DomainObjectPost11 Felder

Compact, domain-independent representation for displaying a link to a ChurchTools object.

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>ja
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesStrMap[Any]BTreeMap<String, serde_json::Value>ja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
DomainObjectRole11 Felder

Compact display reference returned for responseFormat=domainObject.

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>jaAdditional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesStrMap[Any]BTreeMap<String, serde_json::Value>jaEmpty object; roles do not expose additional domain attributes.
domain_typestrStringja
frontend_urlstrStringjaAbsolute link to this role in the group-type settings.
iconstrStringjaIcon identifying a leader or participant role.
DomainObjectSong11 Felder

Compact, domain-independent representation for displaying a link to a ChurchTools object.

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesStrMap[Any]BTreeMap<String, serde_json::Value>ja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
DomainObjectWikiPage11 Felder

Compact, domain-independent representation for displaying a link to a ChurchTools object.

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectWikiPageDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
DomainObjectWikiPageDomainAttributes1 Felder
FeldTypPflichtBeschreibung
wiki_category_idinti64ja
DonationReceipt6 Felder

Download URLs for an individual donation receipt: cover letter and attachment.

FeldTypPflichtBeschreibung
accounting_period_idinti64ja
attachmentstrStringjaDownload URL of the attachment PDF, possibly a temporary watermarked copy.
cover_letterstrStringjaDownload URL of the cover letter PDF, possibly a temporary watermarked copy.
donator_idinti64ja
donator_spouse_idOptional[int]Option<i64>
type_r#typestrStringjaStored or newly generated receipt type.
DonationReceiptCreate2 Felder
FeldTypPflichtBeschreibung
accounting_period_idinti64jaAccounting period for the requested donor or pair.
type_r#typestrStringDRAFT creates temporary PDFs, ORIGINAL creates persistent files, and DUPLICATE marks a copy.
DonationReceiptJobResult3 Felder

Background generation job information.

FeldTypPflichtBeschreibung
job_groupOptional[str]Option<String>
status_urlOptional[str]Option<String>URL for polling generation progress, or null when no jobs were created.
totalinti64jaNumber of donor households queued for receipt generation.
DonationReceiptsCreate3 Felder
FeldTypPflichtBeschreibung
accounting_period_idinti64ja
donation_receipt_attachment_template_idstrStringjaIdentifier of an existing attachment template.
donation_receipt_letter_template_idstrStringjaIdentifier of an existing cover-letter template.
Donator14 Felder

Donation summary for one person or one donor/spouse pair in an accounting period.

FeldTypPflichtBeschreibung
deprecatedDonatorDeprecatedjaSerialized migration hint for the deprecated field.
countinti64jaTotal number of donations in the specified accounting period.
donation_receipt_created_dateOptional[datetime]Option<DateTime<Utc>>Creation timestamp of the selected stored receipt, or null if no receipt exists.
has_all_donator_databooljaIndicator if all necessary data for a donation receipt is available.
has_donation_receiptbooljaIndicator if a donation receipt is available.
has_donator_dataDonatorHasDonatorDatajaPresence of first name, last name, street, postcode and city for the single donor or, for a pair, the person with the smaller ID.
is_donation_receipt_outdatedbooljaTrue if the stored receipt predates the tracked last modification or has a different net sum.
last_donation_amountinti64jaAmount for the selected latest donation in minor currency units; a payback fallback is negative.
last_donation_datedatetimeDateTime<Utc>jaLatest donation document date, falling back to the latest payback date if no donation exists.
last_modifieddatetimeDateTime<Utc>Deprecated alias of lastModifiedDate. veraltet
last_modified_datedatetimeDateTime<Utc>jaLatest modification timestamp considered for the household’s donation records and cancellation tracking.
payback_countinti64jaTotal number of donation paybacks in the specified accounting period.
personsList[DomainObjectPerson]Vec<DomainObjectPerson>jaResolved persons for the donor or donor/spouse pair.
suminti64jaNet donation amount after paybacks, in minor currency units.
DonatorDeprecated1 Felder

Serialized migration hint for the deprecated field.

FeldTypPflichtBeschreibung
last_modifiedstrStringja
DonatorHasDonatorData5 Felder

Presence of first name, last name, street, postcode and city for the single donor or, for a pair, the person with the smaller ID.

FeldTypPflichtBeschreibung
cityboolja
first_nameboolja
last_nameboolja
streetboolja
zipboolja
DynamicGroupProcess1 Felder

Action definition for a source membership state.

FeldTypPflichtBeschreibung
handle_membershipDynamicGroupProcessHandleMembershipLeaving out a value or setting it to null is handled identically: When creating a membership the default value is used, when updating a membership the value is left unchanged.
DynamicGroupProcessHandleMembership6 Felder

Leaving out a value or setting it to null is handled identically: When creating a membership the default value is used, when updating a membership the value is left unchanged.

FeldTypPflichtBeschreibung
commentOptional[Union[DynamicGroupValueUnchanged, DynamicGroupValueDefault, str, DynamicGroupProcessHandleMembershipCommentVariant5]]serde_json::ValueOmit or use null for context-dependent fallback (default on creation, unchanged on update).
group_member_fieldsStrMap[Any]BTreeMap<String, serde_json::Value>Membership-field values keyed by numeric field ID or reference name.
group_member_statusOptional[Union[DynamicGroupValueUnchanged, DynamicGroupValueDefault, str, DynamicGroupProcessHandleMembershipGroupMemberStatusVariant5]]serde_json::Value
group_type_role_idOptional[Union[DynamicGroupValueUnchanged, DynamicGroupValueDefault, int, DynamicGroupProcessHandleMembershipGroupTypeRoleIdVariant5]]serde_json::ValueGroup-type role ID, or a value-control object.
member_end_dateOptional[Union[DynamicGroupValueUnchanged, DynamicGroupValueDefault, str, DynamicGroupProcessHandleMembershipCommentVariant5]]serde_json::ValueOmit or use null for context-dependent fallback (default on creation, unchanged on update).
member_start_dateOptional[Union[DynamicGroupValueUnchanged, DynamicGroupValueDefault, str, DynamicGroupProcessHandleMembershipMemberStartDateVariant5]]serde_json::ValueOmit or use null for context-dependent fallback (default on creation, unchanged on update).
DynamicGroupProcessHandleMembershipCommentVariant51 Felder
FeldTypPflichtBeschreibung
valueOptional[str]Option<String>
DynamicGroupProcessHandleMembershipGroupMemberStatusVariant51 Felder
FeldTypPflichtBeschreibung
valuestrString
DynamicGroupProcessHandleMembershipGroupTypeRoleIdVariant51 Felder
FeldTypPflichtBeschreibung
valueinti64
DynamicGroupProcessHandleMembershipMemberStartDateVariant51 Felder
FeldTypPflichtBeschreibung
valuestrString
DynamicGroupProcessSets3 Felder

Defines how a person is placed in the dynamic group.

FeldTypPflichtBeschreibung
group_and_query_resultDynamicGroupProcessSetsGroupAndQueryResultjaPeople who are both current members and part of this rule’s result.
group_onlyDynamicGroupProcessSetsGroupOnlyjaPeople who already belong to the group but are absent from this rule’s result.
query_result_onlyDynamicGroupProcessSetsQueryResultOnlyjaPeople in the query result who are not current members; only the none source-state key is valid.
DynamicGroupProcessSetsGroupAndQueryResult5 Felder

People who are both current members and part of this rule’s result.

FeldTypPflichtBeschreibung
activeDynamicGroupProcessAction definition for a source membership state.
noneDynamicGroupProcessAction definition for a source membership state.
requestedDynamicGroupProcessAction definition for a source membership state.
to_deleteDynamicGroupProcessAction definition for a source membership state.
waitingDynamicGroupProcessAction definition for a source membership state.
DynamicGroupProcessSetsGroupOnly5 Felder

People who already belong to the group but are absent from this rule’s result.

FeldTypPflichtBeschreibung
activeDynamicGroupProcessAction definition for a source membership state.
noneDynamicGroupProcessAction definition for a source membership state.
requestedDynamicGroupProcessAction definition for a source membership state.
to_deleteDynamicGroupProcessAction definition for a source membership state.
waitingDynamicGroupProcessAction definition for a source membership state.
DynamicGroupProcessSetsQueryResultOnly1 Felder

People in the query result who are not current members; only the none source-state key is valid.

FeldTypPflichtBeschreibung
noneDynamicGroupProcessAction definition for a source membership state.
DynamicGroupQuery3 Felder

ChurchQuery definition evaluated by the dynamic-group engine.

FeldTypPflichtBeschreibung
descriptionstrString
methodstrStringja
paramsDynamicGroupQueryParamsja
DynamicGroupQueryParams10 Felder
FeldTypPflichtBeschreibung
computed_fieldsList[DynamicGroupQueryParamsComputedFieldsItem]Vec<DynamicGroupQueryParamsComputedFieldsItem>
descriptionstrString
filterAnyserde_json::ValuejaJSON expression evaluated as the query filter.
group_byList[str]Vec<String>
order_byList[str]Vec<String>
outfile_name_partstrString
primary_entity_aliasstrStringja
response_fieldsList[str]Vec<String>ja
testDynamicGroupQueryParamsTestOnly if the query is used in a unit test
titlestrString
DynamicGroupQueryParamsComputedFieldsItem2 Felder
FeldTypPflichtBeschreibung
namestrStringja
valueAnyserde_json::Valueja
DynamicGroupQueryParamsTest1 Felder

Only if the query is used in a unit test

FeldTypPflichtBeschreibung
countinti64ja
DynamicGroupRefreshError2 Felder

Failure entry returned by refresh-all.

FeldTypPflichtBeschreibung
countinti64jaLegacy failure marker; not the number of changes rolled back.
errorstrStringjaLocalized error message with group context and underlying exception message.
DynamicGroupRefreshResult6 Felder

Statistics for one synchronous group refresh.

FeldTypPflichtBeschreibung
createdinti64jaMemberships created in this run.
deletedinti64jaMemberships removed in this run.
group_idinti64jaGroup whose rules were evaluated.
runs_neededinti64jaEstimated additional runs based on the remaining-action counter; not an automatically queued job count.
unprocessedinti64jaReported remaining actions at the change limit.
updatedinti64jaExisting memberships changed in this run.
DynamicGroupRule6 Felder

One automatic-membership rule.

FeldTypPflichtBeschreibung
descriptionstrStringjaHuman-readable explanation of what this rule does.
importanceinti64jaDetermines the order of the rule sets.
person_id_field_namestrStringjaThe name of the field that contains the person id.
processDynamicGroupProcessSetsjaDefines how a person is placed in the dynamic group.
queryDynamicGroupQueryjaChurchQuery definition evaluated by the dynamic-group engine.
shortystrStringjaShort rule identifier used in diagnostics.
DynamicGroupRuleSetUpdate1 Felder

Replaces all stored rules.

FeldTypPflichtBeschreibung
dynamic_group_rule_setList[DynamicGroupRule]Vec<DynamicGroupRule>ja
DynamicGroupStatusUpdate1 Felder

Set the refresh mode independently of the stored rule set.

FeldTypPflichtBeschreibung
dynamic_group_statusstrStringjaControls automatic membership refresh: active participates in scheduled and manual refreshes; manual allows explicit refresh only; inactive blocks both; none disables dynamic-group behavior without deleting stored rules or existing memberships.
DynamicGroupValueDefault1 Felder
FeldTypPflichtBeschreibung
defaultboolja
DynamicGroupValueUnchanged1 Felder
FeldTypPflichtBeschreibung
unchangedboolja
EmailPlaceholderStatistics3 Felder

Placeholder lookups made while rendering one visible person’s content.

FeldTypPflichtBeschreibung
orderList[str]Vec<String>jaUnique evaluated placeholder names in first-lookup order, excluding internal .all/.person names.
person_idinti64jaRecipient represented by this entry.
statsUnion[StrMap[int], List[int]]serde_json::ValuejaMap of evaluated placeholder names to availability codes.
EmailPlaceholderStatisticsCreate5 Felder

Read-only request for per-person placeholder availability.

FeldTypPflichtBeschreibung
contentList[str]Vec<String>jaHTML/text fragments concatenated in order without inserting whitespace.
email_template_idinti64Optional HTML template.
group_idinti64Optional visible group providing group and membership placeholders.
automatic_email_idinti64Accepted legacy parameter.
person_idsList[int]Vec<i64>jaIDs of the persons for which statistics are calculated
EmailPreview2 Felder

Flat rendering result; no data wrapper.

FeldTypPflichtBeschreibung
htmlstrStringjaRendered email preview HTML
subjectstrStringRendered subject, only present when a subject was provided
EmailPreviewCreate6 Felder

Render one visible person’s email content for preview.

FeldTypPflichtBeschreibung
contentList[str]Vec<String>jaHTML/text fragments concatenated in order without inserting whitespace.
email_template_idinti64Optional HTML template.
group_idinti64Optional visible group providing group and membership placeholders.
person_idinti64jaID of the person used to render person placeholders
subjectstrStringOptional email subject to render with placeholders
user_idinti64Optional acting-user context used by placeholder decorators; omit to use the current context.
EubpHealthInfo3 Felder

euBP service health information

FeldTypPflichtBeschreibung
environmentstrStringjaConfigured service environment, normally test, production or mock.
extra_service_availablebooljaWhether the eXTra service is available
extra_service_urlstrStringjaConfigured eXTra integration-service URL.
EubpPeriodAccountsUpdate1 Felder
FeldTypPflichtBeschreibung
account_idsList[int]Vec<i64>jaComplete additional-account selection for this submission-period row.
EubpSubmission22 Felder

Submission of finance data for an electronically supported audit (euBP), transmitted through the eXTra service to Deutsche Rentenversicherung (DRV).

FeldTypPflichtBeschreibung
client_idinti64jaID of the finance client
client_request_idOptional[str]Option<String>Client request ID from eXTra service
company_nameOptional[str]Option<String>Company name snapshot used for transmission
company_numberOptional[str]Option<String>Company number snapshot used for transmission
delivery_dateOptional[datetime]Option<DateTime<Utc>>Delivery deadline for the audit data Serialized as an ISO timestamp including timezone, even though creation accepts a calendar date.
download_urlOptional[str]Option<String>URL to download the generated export ZIP file
drv_status_codeOptional[str]Option<String>Status code from DRV
drv_status_messageOptional[str]Option<String>Status message from DRV
extra_status_codeOptional[str]Option<String>Most recent eXTra transport/status code.
extra_status_messageOptional[str]Option<String>Most recent eXTra status message.
file_idOptional[int]Option<i64>ID of the generated export file in cc_file
idinti64jaSubmission ID
metaMetaDataEntityIdja
periodsList[EubpSubmissionPeriod]Vec<EubpSubmissionPeriod>jaOne row per affected client and requested year, including rows without a matching accounting period.
reference_dateOptional[datetime]Option<DateTime<Utc>>Reference date for the audit (Stichtag der Prüfung) Serialized as an ISO timestamp including timezone, even though creation accepts a calendar date.
sent_dateOptional[datetime]Option<DateTime<Utc>>Timestamp when submission was sent
server_message_idOptional[str]Option<String>Server message ID from eXTra service
statusstrStringjaLocal workflow state.
titleOptional[str]Option<String>Title of the submission
transmission_reasoninti64jaReason for transmission (1=audit, 2=software change, 3=provider change)
year_frominti64jaStart year of the delivery period
year_tointi64jaEnd year of the delivery period
EubpSubmissionAccount5 Felder

An additional account linked to a submission period

FeldTypPflichtBeschreibung
account_idinti64jaID of the account
account_namestrStringjaName of the account
account_numberstrStringjaAccount number
idinti64jaSubmission account ID
submission_period_idinti64jaID of the parent submission period
EubpSubmissionAccountsUpdate2 Felder
FeldTypPflichtBeschreibung
account_keysList[str]Vec<String>jaComplete selection by exact keys from the unified account list.
client_idOptional[int]Option<i64>Restrict the update to one affected client; omitted/null applies to all clients.
EubpSubmissionCreate9 Felder

Creates a draft audit submission.

FeldTypPflichtBeschreibung
additional_accounts_per_yearOptional[StrMap[List[int]]]Option<BTreeMap<String, Vec<i64>>>Year-to-account-ID mapping for the main client only.
affected_client_idsOptional[List[int]]Option<Vec<i64>>IDs of finance clients that belong to the audited company and should get their own submission periods.
client_idinti64jaID of the finance client
delivery_dateOptional[date]Option<NaiveDate>Delivery deadline for the audit data Only retained for transmissionReason=1; cleared for software/provider changes.
reference_dateOptional[date]Option<NaiveDate>Reference date for the audit (Stichtag der Prüfung) Only retained for transmissionReason=1; cleared for software/provider changes.
titleOptional[str]Option<String>Title of the submission
transmission_reasoninti64jaReason for transmission (1=audit, 2=software change, 3=provider change)
year_frominti64jaStart year of the delivery period
year_tointi64jaEnd year of the delivery period
EubpSubmissionPeriod10 Felder

A period (year) within an euBP submission

FeldTypPflichtBeschreibung
accounting_period_idOptional[int]Option<i64>ID of the linked accounting period
additional_accountsList[EubpSubmissionAccount]Vec<EubpSubmissionAccount>jaAdditional accounts for this period
client_idinti64jaID of the finance client this period belongs to
file_numberOptional[str]Option<String>File number assigned during export
has_databooljaTrue when an accounting period is linked; this does not imply that any transactions exist.
idinti64jaSubmission-period row ID; distinct from accountingPeriodId.
is_lastbooljaMarks the final client/year row of the submission, including when that row has no accounting data.
submission_idinti64jaID of the parent submission
transmitted_account_idsOptional[List[int]]Option<Vec<i64>>Account IDs that were transmitted during submission (mandatory + additional accounts)
yearinti64jaYear of this period
EubpSubmissionPreview2 Felder

Structural client/year preview and missing-period warnings.

FeldTypPflichtBeschreibung
periodsList[EubpSubmissionPreviewPeriodsItem]Vec<EubpSubmissionPreviewPeriodsItem>jaPreview data per period
warningsList[EubpSubmissionPreviewWarningsItem]Vec<EubpSubmissionPreviewWarningsItem>jaValidation warnings
EubpSubmissionPreviewPeriodsItem4 Felder
FeldTypPflichtBeschreibung
date_rangeEubpSubmissionPreviewPeriodsItemDateRangeja
has_databooljaWhether an accounting period is linked.
is_lastboolja
yearinti64ja
EubpSubmissionPreviewPeriodsItemDateRange2 Felder
FeldTypPflichtBeschreibung
from_fromdateNaiveDateja
todateNaiveDateja
EubpSubmissionPreviewWarningsItem4 Felder
FeldTypPflichtBeschreibung
messagestrStringjaLocalized warning text.
severitystrStringja
type_r#typestrStringja
yearsList[int]Vec<i64>jaYears without a linked accounting period.
EubpUnifiedAccount9 Felder

Accounts merged across selected client/year rows by exact number|name.

FeldTypPflichtBeschreibung
account_group_namestrStringjaAccount-group name of the first encountered merged account; other years/clients can have different groups.
is_donation_accountbooljaWhether this is a donation account True when true for at least one merged account.
keystrStringjaOpaque selection key composed of account number, a vertical bar and account name.
mandatorybooljaWhether this account is mandatory for euBP True when true for at least one merged account.
namestrStringjaAccount name
numberstrStringjaAccount number
selectedbooljaTrue if at least one merged account is mandatory, already transmitted or additionally selected.
transmittedbooljaWhether this account was already transmitted True when true for at least one merged account.
yearsList[int]Vec<i64>jaYears in which this account has bookings
EvangelischeTermineEventType2 Felder

Event classification returned by the configured Evangelische Termine server.

FeldTypPflichtBeschreibung
keystrStringjaExternal event-type identifier to use in integration settings.
valuestrStringjaDisplay label supplied by Evangelische Termine.
EvangelischeTermineSettingsValidateCreate3 Felder

Connection settings to test against Evangelische Termine.

FeldTypPflichtBeschreibung
api_keystrStringjaSOAP API key for the organizer.
urlstrStringjaBase URL of the Evangelische Termine installation, without /soap or /soap?WSDL.
vidstrStringjaExternal organizer identifier (Veranstalter-ID).
Event18 Felder

An occurrence in service planning linked to a calendar appointment.

FeldTypPflichtBeschreibung
deprecatedstrStringja
admin_idsList[int]Vec<i64>ja
appointment_idinti64ja
calendarDomainObjectCalendarjaCalendar as Domain Object
chat_statusstrStringjaRoom lifecycle status.
descriptionOptional[str]Option<String>
end_datedatetimeDateTime<Utc>jaEnd derived by adding the underlying appointment duration to this event occurrence’s start.
event_admin_idsList[int]Vec<i64> veraltet
event_filesList[DomainObjectFile]Vec<DomainObjectFile>ja
event_services_2List[ServiceRequest]Vec<ServiceRequest>Assignments included by include=eventServices (legacy spelling).
event_servicesList[ServiceRequest]Vec<ServiceRequest>Assignments included by include=event_services.
guidOptional[str]Option<String>
idinti64ja
is_canceledboolja
namestrStringja
noteOptional[str]Option<String>Deprecated alias for description. veraltet
permissionsEventPermissionsjaComputed UI permissions.
start_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
EventChatUpdate2 Felder

Change chat activation for an event, optionally sending invitation emails.

FeldTypPflichtBeschreibung
enabledbooljatrue starts or reactivates the event chat; false stops an existing chat.
trigger_chat_invite_mailboolSend invitations to eligible event participants who cannot chat yet.
EventDetailsPatch5 Felder

Update only supplied event properties.

FeldTypPflichtBeschreibung
admin_idsOptional[List[int]]Option<Vec<i64>>Replace the administrator list.
descriptionOptional[str]Option<String>Event description.
event_admin_idsList[int]Vec<i64>Legacy input alias for adminIds. veraltet
is_canceledboolSet to false to reopen an event.
noteOptional[str]Option<String>Deprecated alias for description. veraltet
EventDetailsUpdate5 Felder

Update the event description, administrators and cancellation state.

FeldTypPflichtBeschreibung
admin_idsOptional[List[int]]Option<Vec<i64>>Replace the administrator list.
descriptionOptional[str]Option<String>Event description.
event_admin_idsList[int]Vec<i64>Legacy input alias for adminIds. veraltet
is_canceledboolWhether the service-planning event is cancelled.
noteOptional[str]Option<String>Deprecated alias for description. veraltet
EventDetailsUpdateResult7 Felder

Result of updating event details.

FeldTypPflichtBeschreibung
admin_idsOptional[List[Union[int, str]]]Option<Vec<serde_json::Value>>Stored administrator IDs.
appointmentEventDetailsUpdateResultAppointmentjaStored calendar appointment, including its recurrence definition.
descriptionOptional[str]Option<String>
guidOptional[str]Option<String>Event GUID, or null for a legacy record without one.
idinti64ja
is_canceledboolja
noteOptional[str]Option<String>Deprecated alias for description. veraltet
EventDetailsUpdateResultAppointment26 Felder

Stored calendar appointment, including its recurrence definition.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionals]Vec<AppointmentAdditionals>ja
additionsList[AppointmentAdditionals]Vec<AppointmentAdditionals>Use 'additionals' instead veraltet
addressOptional[Address]Option<Address>
all_daybooljaTrue when the appointment is all-day.
calendarAppointmentBaseCalendarjaCalendar containing the appointment.
captionstrStringUse 'title' instead veraltet
descriptionOptional[str]Option<String>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExeptions]Vec<AppointmentExeptions>ja
idinti64jaID of the stored appointment or series.
imageOptional[Image]Option<Image>
informationOptional[str]Option<String>Use 'description' instead veraltet
is_internalboolja
linkOptional[str]Option<String>
metaMetaDataEntityIdja
noteOptional[str]Option<String>Use 'subtitle' instead veraltet
on_behalf_of_pidOptional[int]Option<i64>Person on whose behalf the appointment was entered, or null.
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64jaRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
signupOptional[AppointmentSignup]Option<AppointmentSignup>Registration-group configuration, or null if the appointment has none.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
subtitleOptional[str]Option<String>
titlestrStringja
versioninti64jaRevision counter increased by updates; not an input precondition or a per-occurrence ID.
EventFact7 Felder

A fact definition describes a metric or selection (for example attendance or service type).

FeldTypPflichtBeschreibung
deprecatedstrStringjaLegacy response marker identifying the metadata replacements.
event_idinti64jaService-planning event ID.
fact_idinti64jaID of the fact definition from /facts; the same factId can have different values on different events.
metaMetaDataEntityIdja
modified_datedatetimeDateTime<Utc>Last modification timestamp. veraltet
modified_pidinti64ID of the person who last modified the value. veraltet
valueOptional[Union[float, str]]serde_json::ValueNumeric facts are serialized as JSON numbers, select facts as their stored option text.
EventFactExportCreate3 Felder

Calendar selection and optional event-start date range for a facts export.

FeldTypPflichtBeschreibung
calendar_idsList[int]Vec<i64>jaCalendars containing the appointments linked to the service-planning events.
from_fromdateNaiveDateInclusive lower bound for the event start date in the installation’s timezone.
todateNaiveDateExclusive upper bound for the event start date in the installation’s timezone.
EventFactUpdate1 Felder

Replaces the value of an event fact, or creates it if none is stored yet.

FeldTypPflichtBeschreibung
valueUnion[float, str]serde_json::ValuejaFor numeric facts, prefer a JSON number.
EventMailCreate7 Felder

Message and selected recipients for an event email.

FeldTypPflichtBeschreibung
bodystrStringjaHTML email body. ChurchTools appends buttons for all supplied events and any requested, available agenda and file links.
event_idsList[int]Vec<i64>jaEvents used to resolve participating recipients and message links.
recipientsList[int]Vec<i64>jaSelected person IDs. Only selected participants in visible service groups of the loaded events, or selected people the sender may otherwise view, receive the message.
send_copy_to_meboolAlso include the currently logged-in person as a recipient, even if their ID is absent from recipients.
subjectstrStringjaEmail subject.
append_agenda_buttonbooljaAppend links for supplied events that have an agenda and for whose calendar the sender has "view agenda" permission.
filesList[int]Vec<i64>jaFile IDs to list as links in the message body.
EventMailSendResult4 Felder

Effective scope of an event email queue operation.

FeldTypPflichtBeschreibung
agenda_event_idsList[int]Vec<i64>jaSupplied event IDs for which an agenda button was included.
included_file_idsList[int]Vec<i64>jaRequested file IDs included as links in the message.
rejected_recipient_idsList[int]Vec<i64>jaRequested person IDs rejected by visibility rules.
sent_recipient_idsList[int]Vec<i64>jaPerson IDs whose messages were accepted by the mail queue, including the sender when sendCopyToMe added them.
EventMasterData6 Felder

Reference records used by the Event module.

FeldTypPflichtBeschreibung
absence_reasonsList[AbsenceReason]Vec<AbsenceReason>jaConfigured reasons for absences, such as holidays or illness.
factsList[Union[FactNumber, FactSelect]]Vec<serde_json::Value>jaDefinitions of event facts, such as attendance or collection totals.
service_groupsList[ServiceGroup]Vec<ServiceGroup>jaService groups organize related roles, such as music or technical teams.
servicesList[Service]Vec<Service>jaService-role definitions, such as worship leader or sound operator.
song_categoriesList[SongCategory]Vec<SongCategory>jaCategories used to organize songs.
song_sourcesList[SongSource]Vec<SongSource>jaSources used by song arrangements, such as hymnals or song collections.
EventPermissions2 Felder

Computed UI permissions.

FeldTypPflichtBeschreibung
start_chatboolja
use_chatboolja
EventReadWithServices18 Felder

Enriched event with the eventServices include always present, possibly as an empty list.

FeldTypPflichtBeschreibung
deprecatedstrStringja
admin_idsList[int]Vec<i64>ja
appointment_idinti64ja
calendarDomainObjectCalendarjaCalendar as Domain Object
chat_statusstrStringjaRoom lifecycle status.
descriptionOptional[str]Option<String>
end_datedatetimeDateTime<Utc>jaEnd derived by adding the underlying appointment duration to this event occurrence’s start.
event_admin_idsList[int]Vec<i64> veraltet
event_filesList[DomainObjectFile]Vec<DomainObjectFile>ja
event_services_2List[ServiceRequest]Vec<ServiceRequest>Assignments included by include=eventServices (legacy spelling).
event_servicesList[ServiceRequest]Vec<ServiceRequest>Assignments included by include=event_services.
guidOptional[str]Option<String>
idinti64ja
is_canceledboolja
namestrStringja
noteOptional[str]Option<String>Deprecated alias for description. veraltet
permissionsEventPermissionsjaComputed UI permissions.
start_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
EventService20 Felder
FeldTypPflichtBeschreibung
deprecatedStrMap[str]BTreeMap<String, String>
agreedboolUse isAccepted instead veraltet
allow_chatbool
commentOptional[str]Option<String>
counterinti64Use index instead veraltet
eventOptional[Union[DomainObjectEvent, EventServiceEventVariant2]]serde_json::Value
idinti64
indexOptional[int]Option<i64>
is_acceptedbool
is_validbool
metaMetaDataEntityId
nameOptional[str]Option<String>
permissionsOptional[EventServicePermissions]Option<EventServicePermissions>
personOptional[DomainObjectPerson]Option<DomainObjectPerson>
person_idOptional[int]Option<i64> veraltet
requested_datedatetimeDateTime<Utc>Deprecated alias for meta.modifiedDate. veraltet
requester_personOptional[DomainObjectPerson]Option<DomainObjectPerson>
requester_person_idinti64 veraltet
service_idinti64
service_namestrString
EventServiceCountUpdate2 Felder
FeldTypPflichtBeschreibung
countinti64jaDesired total number of active slots for this service, including occupied slots.
service_idinti64jaID of the reusable service role from /services.
EventServiceEventVariant23 Felder
FeldTypPflichtBeschreibung
idinti64ja
namestrStringja
start_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
EventServicePermissions1 Felder
FeldTypPflichtBeschreibung
enter_self_if_freebool
EventServicesUpdate1 Felder

Change the number of service slots in one event.

FeldTypPflichtBeschreibung
servicesList[EventServiceCountUpdate]Vec<EventServiceCountUpdate>jaDesired counts for the listed services only.
EventTemplate13 Felder

This is separate from a calendar appointment template.

FeldTypPflichtBeschreibung
admin_idsOptional[List[Union[int, str]]]Option<Vec<serde_json::Value>>Database storage can return numeric IDs as strings.
calendar_idOptional[int]Option<i64>Default calendar ID; null when no default is stored.
descriptionOptional[str]Option<String>Empty text is converted to null when the event is created from this template.
duration_in_secondsinti64jaDefault duration in seconds, not minutes.
event_nameOptional[str]Option<String>Proposed event name; null when no default is stored.
factsOptional[Union[StrMap[str], List[str]]]serde_json::ValueDefault recorded values keyed by fact definition ID from /facts.
hourOptional[int]Option<i64>Default local start hour; null when no default is stored.
idinti64jaID to use as eventTemplateId when creating an event for a calendar appointment.
minuteOptional[int]Option<i64>Default local start minute; null when no default is stored.
noteOptional[str]Option<String>Deprecated alias for description. veraltet
servicesList[EventTemplateService]Vec<EventTemplateService>jaService roles and their requested slot counts; an empty list is allowed.
sort_keyinti64jaTemplate display order.
template_namestrStringjaName of the reusable template, distinct from the proposed event name.
EventTemplateService2 Felder
FeldTypPflichtBeschreibung
countinti64jaNumber of unassigned slots to create for this service role when applying the template.
service_idinti64jaID of the reusable service role from /services.
ExternalLogin15 Felder

Sanitized provider configuration returned to settings administrators.

FeldTypPflichtBeschreibung
configUnion[ExternalLoginOAuthConfig, ExternalLoginOidcConfig, ExternalLoginSamlConfig]serde_json::Valueja
create_new_personbooljaWhether the login flow may create a ChurchTools person when no local identity mapping exists.
has_registrationbooljaWhether the external provider offers a registration flow; support depends on the protocol handler.
is_visiblebooljaWhether this provider is listed among available SSO login choices.
matching_modestrStringjaDetermines how an authenticated external identity without an existing person mapping is handled.
namestrStringjaDisplay name shown for this provider.
new_person_campus_idOptional[int]Option<i64>Default campus ID for newly created people.
new_person_department_idOptional[int]Option<i64>Default department ID for newly created people.
new_person_status_idOptional[int]Option<i64>Default person status ID for newly created people.
primary_loginbooljaMarks the preferred external login.
subtitleOptional[str]Option<String>Secondary text on the login choice.
type_r#typestrStringjaConfigured login protocol.
update_data_on_loginbooljaWhether existing person data is updated from provider data after successful matching.
idinti64jaProvider configuration ID used in management and protocol URLs.
logo_urlOptional[str]Option<String>Resolved provider logo URL, or null if unavailable.
ExternalLoginAuthorizationStart3 Felder

Browser-session-bound authorization request.

FeldTypPflichtBeschreibung
expires_atinti64jaPending authorization expiry as Unix epoch seconds; normally 600 seconds after creation.
statestrStringjaOpaque, single-use authorization state.
urlstrStringjaProvider authorization URL including state, nonce and the PKCE challenge.
ExternalLoginCreate13 Felder

Creates an external login provider.

FeldTypPflichtBeschreibung
configUnion[ExternalLoginOAuthConfig, ExternalLoginOidcConfig, ExternalLoginSamlConfig]serde_json::Valueja
create_new_personbooljaWhether the login flow may create a ChurchTools person when no local identity mapping exists.
has_registrationbooljaWhether the external provider offers a registration flow; support depends on the protocol handler.
is_visiblebool
matching_modestrStringDetermines how an authenticated external identity without an existing person mapping is handled.
namestrStringjaDisplay name shown for this provider.
new_person_campus_idOptional[int]Option<i64>Default campus ID for newly created people.
new_person_department_idOptional[int]Option<i64>Default department ID for newly created people.
new_person_status_idOptional[int]Option<i64>Default person status ID for newly created people.
primary_loginbool
subtitleOptional[str]Option<String>Secondary text on the login choice.
type_r#typestrStringjaConfigured login protocol.
update_data_on_loginbooljaWhether existing person data is updated from provider data after successful matching.
ExternalLoginLinkCreate3 Felder

Credentials used to prove ownership of a local account for a pending external identity.

FeldTypPflichtBeschreibung
link_tokenstrStringjaOpaque, session-bound linking token from the account-linking redirect.
passwordstrStringjaPassword for that account; does not replace the second-factor step.
usernamestrStringjaUsername or email address verified by the configured ChurchTools credential authentication, including legacy LDAP when configured.
ExternalLoginLinkResult1 Felder
FeldTypPflichtBeschreibung
locationstrStringjaAbsolute ChurchTools URL to navigate to.
ExternalLoginOAuthConfig7 Felder

OAuth provider configuration.

FeldTypPflichtBeschreibung
access_token_urlstrStringja
authorize_urlstrStringja
callback_url_versioninti64Version 2 uses the stable /oauthclients/login/callback URL.
client_idstrStringja
client_secretOptional[str]Option<String>OAuth client secret.
scopeOptional[str]Option<String>
url_resource_owner_detailsstrStringja
ExternalLoginOidcConfig8 Felder

OpenID Connect provider configuration.

FeldTypPflichtBeschreibung
allowed_connectionsList[str]Vec<String>Optional allowlist for the ct_connection claim.
callback_url_versioninti64Retained for stored-data and API compatibility. veraltet
client_idstrStringja
client_secretOptional[str]Option<String>OpenID Connect client secret.
installation_idOptional[str]Option<String>Optional installation identifier that must be present in the ct_entitlements claim.
issuerstrStringjaExact HTTPS issuer used for discovery and token validation.
min_acrOptional[str]Option<String>Optional minimum acr.
scopeOptional[str]Option<String>Space-separated scopes.
ExternalLoginOidcTestError3 Felder

An OIDC authorization test could not be started or completed.

FeldTypPflichtBeschreibung
claim_namesList[str]Vec<String>Sorted unique claim names from the validated ID token on success.
error_codestrStringSanitized, actionable failure category without provider response details.
statusstrStringja
ExternalLoginOidcTestResult3 Felder

Session-bound OIDC test status.

FeldTypPflichtBeschreibung
claim_namesList[str]Vec<String>Sorted unique claim names from the validated ID token on success.
error_codestrStringSanitized, actionable failure category without provider response details.
statusstrStringja
ExternalLoginOidcTestStart3 Felder

OIDC test authorization.

FeldTypPflichtBeschreibung
expires_atinti64jaPending authorization expiry as Unix epoch seconds; normally 600 seconds after creation.
statestrStringjaOpaque, single-use authorization state.
urlstrStringjaProvider authorization URL including state, nonce and the PKCE challenge.
ExternalLoginPersonCreate1 Felder

Request to create a ChurchTools person from the identity already verified by the external provider and stored in this browser session.

FeldTypPflichtBeschreibung
link_tokenstrStringjaOpaque, session-bound linking token from the account-linking redirect.
ExternalLoginPersonMapping3 Felder

Public summary of one external identity-provider link for a person.

FeldTypPflichtBeschreibung
external_login_idinti64jaID of the linked external-login provider; used to unlink this mapping.
external_login_namestrStringjaConfigured provider display name.
external_login_typestrStringjaAuthentication protocol used by the provider.
ExternalLoginSamlCertificateMetadata5 Felder
FeldTypPflichtBeschreibung
fingerprint_sha256strStringja
statusstrStringja
user#usestrStringja
valid_fromdatetimeDateTime<Utc>ja
valid_todatetimeDateTime<Utc>ja
ExternalLoginSamlConfig21 Felder

SAML identity-provider settings.

FeldTypPflichtBeschreibung
callback_url_versioninti64Retained for stored-data and API compatibility. veraltet
email_attributestrString
first_name_attributestrString
id_attributestrString
idp_cert_fingerprintstrStringLegacy signing certificate fingerprint.
idp_certificate_metadataList[ExternalLoginSamlCertificateMetadata]Vec<ExternalLoginSamlCertificateMetadata>
idp_entity_idstrStringSAML IdP entity identifier.
idp_single_logout_servicestrString
idp_single_logout_service_bindingstrString
idp_single_sign_on_servicestrStringIdP SSO URL. Required when the provider will be visible.
idp_single_sign_on_service_bindingstrString
idp_x509certstrStringLegacy field for a single IdP signing certificate in PEM format.
idp_x509cert_multiExternalLoginSamlConfigIdpX509certMulti
last_name_attributestrString
migrated_legacy_saml_providerboolIdentifies providers imported from the legacy SAML configuration.
sign_requestsbool
signature_algorithmstrStringSignature algorithm URI.
signature_requirementstrStringRequired signatures on inbound SAML authentication responses.
site_namestrString
sp_x509certstrString
username_attributestrString
ExternalLoginSamlConfigIdpX509certMulti1 Felder
FeldTypPflichtBeschreibung
signingList[str]Vec<String>jaOne or more IdP signing certificates in PEM format.
ExternalLoginSamlTestMapping3 Felder
FeldTypPflichtBeschreibung
claim_namestrStringjaConfigured attribute name, or the SAML default for this ChurchTools field.
fieldstrStringjaChurchTools identity field whose provider attribute mapping is inspected.
presentbooljaWhether the attribute name exists in the response.
ExternalLoginSamlTestResult3 Felder

SAML protocol-test diagnostics.

FeldTypPflichtBeschreibung
claim_namesList[str]Vec<String>Sorted unique SAML attribute names on success; attribute values and the SAML assertion are not returned.
mappingsList[ExternalLoginSamlTestMapping]Vec<ExternalLoginSamlTestMapping>Five configured/default mappings in order: id, email, username, firstName, lastName.
statusstrStringja
ExternalLoginSamlTestStart3 Felder

A SAML test bound to the current browser session, administrator and provider.

FeldTypPflichtBeschreibung
expires_atinti64jaUnix timestamp in seconds, 600 seconds after creation; applies to pending and completed results.
statestrStringjaOpaque RelayState used to correlate the callback and poll this test.
urlstrStringjaIdentity-provider SSO URL containing the SAML request and RelayState.
ExternalLoginUpdate13 Felder

Updates provider settings.

FeldTypPflichtBeschreibung
configUnion[ExternalLoginOAuthConfig, ExternalLoginOidcConfig, ExternalLoginSamlConfig]serde_json::Valueja
create_new_personbooljaWhether the login flow may create a ChurchTools person when no local identity mapping exists.
has_registrationbooljaWhether the external provider offers a registration flow; support depends on the protocol handler.
is_visibleboolWhether this provider is listed among available SSO login choices.
matching_modestrStringDetermines how an authenticated external identity without an existing person mapping is handled.
namestrStringjaDisplay name shown for this provider.
new_person_campus_idOptional[int]Option<i64>Default campus ID for newly created people.
new_person_department_idOptional[int]Option<i64>Default department ID for newly created people.
new_person_status_idOptional[int]Option<i64>Default person status ID for newly created people.
primary_loginboolMarks the preferred external login.
subtitleOptional[str]Option<String>Secondary text on the login choice.
type_r#typestrStringjaConfigured login protocol.
update_data_on_loginbooljaWhether existing person data is updated from provider data after successful matching.
ExternalSystem5 Felder

Configured external connection with masked access credentials.

FeldTypPflichtBeschreibung
access_header_valuesUnion[StrMap[Any], List[Any]]serde_json::ValuejaAdapter-specific HTTP header values used to access the external system.
adapterstrStringjaName of a registered adapter from /sync/adapters.
namestrStringjaDisplay name of the external connection.
idinti64jaExternal system ID
job_configs_countinti64jaNumber of configured sync jobs.
ExternalSystemCreate3 Felder

Connection to a specific external system through a registered adapter.

FeldTypPflichtBeschreibung
access_header_valuesUnion[StrMap[Any], List[Any]]serde_json::ValuejaAdapter-specific HTTP header values used to access the external system.
adapterstrStringjaName of a registered adapter from /sync/adapters.
namestrStringjaDisplay name of the external connection.
ExternalSystemUpdate4 Felder

Updates the external connection.

FeldTypPflichtBeschreibung
access_header_valuesUnion[StrMap[Any], List[Any]]serde_json::ValuejaAdapter-specific HTTP header values used to access the external system.
adapterstrStringjaName of a registered adapter from /sync/adapters.
namestrStringjaDisplay name of the external connection.
idinti64jaExisting external system ID.
FactNumber8 Felder

Stored numeric metric definition.

FeldTypPflichtBeschreibung
deprecatedstrStringjaDeprecated response field that points clients from fieldType to type.
field_typestrStringLegacy alias for type. veraltet
idinti64jaID of the fact master data entry.
namestrStringjaStored label of the metric or selection.
name_translatedstrStringjaLabel translated for the current language, falling back to name.
sort_keyinti64jaSort key for ordering facts.
type_r#typestrStringja
unitOptional[str]Option<String>Unit for numeric values.
FactNumberCreate4 Felder

Definition of a numeric metric, such as attendance.

FeldTypPflichtBeschreibung
namestrStringjaLabel of the metric or selection, trimmed before storage.
sort_keyinti64Display order.
type_r#typestrStringja
unitstrStringjaUnit displayed with numeric values.
FactSelect8 Felder

Stored selection definition.

FeldTypPflichtBeschreibung
deprecatedstrStringjaDeprecated response field that points clients from fieldType to type.
field_typestrStringLegacy alias for type. veraltet
idinti64jaID of the fact master data entry.
namestrStringjaStored label of the metric or selection.
name_translatedstrStringjaLabel translated for the current language, falling back to name.
sort_keyinti64jaSort key for ordering facts.
optionsList[str]Vec<String>jaAllowed values for select facts.
type_r#typestrStringja
FactSelectCreate4 Felder

Definition of a selection field, such as service type.

FeldTypPflichtBeschreibung
namestrStringjaLabel of the metric or selection, trimmed before storage.
sort_keyinti64Display order.
optionsList[str]Vec<String>jaComplete list of allowed option labels.
type_r#typestrStringja
FeatureUsage3 Felder
FeldTypPflichtBeschreibung
deltafloatf64Value to decrement the metric by
namestrStringjaFeature, tour or event name.
type_r#typestrStringja
FieldMapping4 Felder

Field mapping for an external connection and domain.

FeldTypPflichtBeschreibung
domain_typestrStringjaChurchTools domain types accepted by entity and field mapping validation.
entriesSyncFieldMappingEntriesja
external_systemExternalSystemjaConfigured external connection with masked access credentials.
idOptional[int]Option<i64>
FieldMappingEntry7 Felder

Stored directional field mapping.

FeldTypPflichtBeschreibung
from_fromstrStringjaSource field name supported by the adapter.
from_filterstrStringjaAdapter-specific source-field qualifier.
othersOptional[Union[StrMap[Any], List[Any]]]serde_json::Value
systemstrStringjaSide of synchronization: master is ChurchTools and es is the configured external system.
tostrStringjaTarget field name supported by the adapter.
to_filterstrStringjaAdapter-specific target-field qualifier.
value_mappingOptional[Union[StrMap[Any], List[Any]]]serde_json::Value
FileDomainUpdate2 Felder

Display-metadata update for every attachment of a domain object.

FeldTypPflichtBeschreibung
nameOptional[str]Option<String>Display name assigned to every matching file.
sort_keyOptional[int]Option<i64>Sort key assigned to every matching file.
FileLinkCreate3 Felder

Stores a URL as an attachment without downloading its target.

FeldTypPflichtBeschreibung
nameOptional[str]Option<String>Display name. The URL is used when no name is supplied.
security_level_idOptional[int]Option<i64>Attachment security level.
urlstrStringjaAbsolute URL to store.
FileMetaData4 Felder
FeldTypPflichtBeschreibung
created_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
created_personUnion[MetaDataPersonId, DomainObjectPerson]serde_json::Valueja
modified_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
modified_personUnion[MetaDataPersonId, DomainObjectPerson]serde_json::Valueja
FileUpdate3 Felder

Updates one file and optionally copies it to another attachment context.

FeldTypPflichtBeschreibung
nameOptional[str]Option<String>Display name assigned to every matching file.
sort_keyOptional[int]Option<i64>Sort key assigned to every matching file.
copy_toFileUpdateCopyToTarget attachment context to which the file is copied.
FileUpdateCopyTo2 Felder

Target attachment context to which the file is copied.

FeldTypPflichtBeschreibung
domain_idstrStringjaTarget identifier.
domain_typestrStringjaTarget attachment category.
FileUploadResult20 Felder

Metadata returned after upload.

FeldTypPflichtBeschreibung
ai_generatedbooljaWhether the image was generated with AI.
annotationOptional[str]Option<String>Image credit or attribution.
annotation_linkOptional[str]Option<String>Attribution link.
descriptionOptional[str]Option<String>Alternative text describing the image for screen readers.
additional_infosStrMap[Any]BTreeMap<String, serde_json::Value>jaDomain-specific extra data.
domain_idstrStringjaAttachment-context identifier; its meaning depends on domainType.
domain_typestrStringjaStored attachment category.
file_urlstrStringjaAbsolute download URL or external link URL.
filenamestrStringjaStorage filename/hash for a binary file, or the target URL for a link.
image_metadataOptional[CtFileImageMetadata]Option<CtFileImageMetadata>Image dimensions calculated from the file.
image_optionOptional[CtFileImageOption]Option<CtFileImageOption>
image_urlOptional[str]Option<String>
metaFileMetaDataja
namestrStringja
relative_urlstrStringjaLegacy relative download URL, or an absolute external URL for a link.
security_level_idOptional[int]Option<i64>
show_only_when_editablebooljaWhether domain lists show the file only to users who may edit its owning object.
sizeOptional[int]Option<i64>The file size in byte
type_r#typestrStringjafile for a stored file, link for a filename beginning with http.
idOptional[int]Option<i64>Persisted file ID, or null for the special attachments category.
FinanceMasterData11 Felder

Finance definitions needed for one accounting period.

FeldTypPflichtBeschreibung
account_classesList[AccountClass]Vec<AccountClass>ja
account_groupsList[AccountGroup]Vec<AccountGroup>ja
account_typesList[AccountType]Vec<AccountType>ja
accounting_periodsList[AccountingPeriod]Vec<AccountingPeriod>ja
accountsList[Account]Vec<Account>jaEntries for the selected period filtered by the caller’s finance permissions.
cash_discountsList[CashDiscount]Vec<CashDiscount>jaEntries linked to accounts of the selected period; this collection has no per-account visibility filter.
clientsList[Client]Vec<Client>ja
cost_centersList[CostCenter]Vec<CostCenter>jaEntries for the selected period filtered by the caller’s finance permissions.
tax_ratesList[TaxRate]Vec<TaxRate>jaEntries linked to accounts of the selected period; this collection has no per-account visibility filter.
tax_typesList[TaxType]Vec<TaxType>ja
transaction_purposesList[TransactionPurpose]Vec<TransactionPurpose>jaEntries for the selected period filtered by the caller’s finance permissions.
FinanceTemplate10 Felder

Stored finance-template JSON file, with counts of the definitions it contains.

FeldTypPflichtBeschreibung
countsFinanceTemplateCountsja
domain_identifierOptional[str]Option<String>File-domain identifier, if assigned.
domain_typestrStringja
filenamestrStringja
idinti64ja
namestrStringja
relative_urlstrStringja
security_level_idOptional[int]Option<i64>Stored file security level, if assigned.
sizeOptional[int]Option<i64>File size in bytes, or null when unavailable.
urlstrStringja
FinanceTemplateAccount8 Felder

Portable account definition in an exported finance template.

FeldTypPflichtBeschreibung
account_groupstrStringjaParent account-group name.
budgetOptional[int]Option<i64>Budget in minor currency units.
is_donation_accountboolja
is_mandatory_eubpboolja
is_opening_balance_accountboolja
namestrStringja
numberstrStringja
tax_rateOptional[str]Option<String>Tax-type name and percentage separated by a slash, or null.
FinanceTemplateAccountClass4 Felder

Portable account class definition in an exported finance template.

FeldTypPflichtBeschreibung
account_typestrStringjaParent account-type name instead of an installation-specific ID.
include_profit_lossboolja
namestrStringja
sort_keyinti64ja
FinanceTemplateAccountGroup4 Felder

Portable account group definition in an exported finance template.

FeldTypPflichtBeschreibung
account_classstrStringjaParent account-class name.
is_cash_asset_accountboolja
namestrStringja
sort_keyinti64ja
FinanceTemplateAccountType3 Felder

Portable account type definition in an exported finance template.

FeldTypPflichtBeschreibung
balance_typeOptional[str]Option<String>
namestrStringja
sort_keyinti64ja
FinanceTemplateCashDiscount3 Felder

Portable cash discount definition in an exported finance template.

FeldTypPflichtBeschreibung
accountstrStringjaReceiving account name.
notestrStringja
ratefloatf64ja
FinanceTemplateCostCenter3 Felder

Portable cost center definition in an exported finance template.

FeldTypPflichtBeschreibung
budgetOptional[int]Option<i64>Budget in minor currency units.
nameOptional[str]Option<String>
numberstrStringja
FinanceTemplateCounts7 Felder
FeldTypPflichtBeschreibung
account_classesinti64ja
account_groupsinti64ja
account_typesinti64ja
accountsinti64ja
cost_centersinti64ja
tax_ratesinti64ja
tax_typesinti64ja
FinanceTemplateExport8 Felder

Portable chart-of-accounts definitions.

FinanceTemplateTaxRate4 Felder

Portable tax rate definition in an exported finance template.

FeldTypPflichtBeschreibung
accountstrStringjaReceiving account name.
noteOptional[str]Option<String>
rateOptional[float]Option<f64>
tax_typeOptional[str]Option<String>
FinanceTemplateTaxType2 Felder

Portable tax type definition in an exported finance template.

FeldTypPflichtBeschreibung
nameOptional[str]Option<String>
sort_keyinti64ja
FinanceYearValueComparison2 Felder

Amounts in integer minor currency units for the selected date interval and its previous-year counterpart.

FeldTypPflichtBeschreibung
last_yearOptional[int]Option<i64>
this_yearOptional[int]Option<i64>
FollowUp218 Felder

A planned follow-up for a person, optionally associated with a group membership.

FeldTypPflichtBeschreibung
colorstrStringjaA color in ChurchTools
descriptionOptional[str]Option<String>Trimmed description; missing, null or blank becomes null.
due_dateOptional[date]Option<NaiveDate>Original planned date.
effective_due_dateOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
iconstrStringjaConfigured icon, or handshake when none is configured.
owner_idOptional[int]Option<i64>Person responsible for the follow-up, or null when it is handled by eligible group staff.
success_group_idOptional[int]Option<i64>Optional fixed destination group for completion.
success_group_member_statusOptional[str]Option<String>Membership status assigned in the selected success group; null uses the default active status.
success_group_of_group_type_idOptional[int]Option<i64>Optional group-type restriction for selecting a destination group on completion.
success_role_idOptional[int]Option<i64>Role assigned in the selected success group; null uses the membership service default.
titlestrStringja
done_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
group_idOptional[int]Option<i64>Group context for a membership follow-up; null for a personal follow-up.
idinti64ja
membership_idOptional[int]Option<i64>Group-membership row ID, distinct from personId; null for personal follow-ups.
metaMetaDataEntityIdja
originstrStringja
person_idinti64jaPerson the follow-up concerns.
FollowUpCompletionCreate1 Felder

Completion action payload.

FeldTypPflichtBeschreibung
success_group_idOptional[int]Option<i64>Selected destination group.
FollowUpCreate11 Felder

Input for a follow-up concerning a person, optionally within an existing group membership.

FeldTypPflichtBeschreibung
colorOptional[str]Option<String>Optional color. Missing/null uses the yellow display fallback.
descriptionOptional[str]Option<String>Trimmed description; missing, null or blank becomes null.
due_dateOptional[date]Option<NaiveDate>Original planned date.
effective_due_dateOptional[date]Option<NaiveDate>Current working due date.
iconOptional[str]Option<String>Optional icon name. Missing/null/blank is stored as null; responses display the handshake fallback.
owner_idOptional[int]Option<i64>Responsible person ID.
success_group_idOptional[int]Option<i64>Optional fixed destination group for completion.
success_group_member_statusOptional[str]Option<String>Membership status assigned in the selected success group; null uses the default active status.
success_group_of_group_type_idOptional[int]Option<i64>Optional group-type restriction for selecting a destination group on completion.
success_role_idOptional[int]Option<i64>Role assigned in the selected success group; null uses the membership service default.
titlestrStringja
FollowUpNoteCreate2 Felder
FeldTypPflichtBeschreibung
commentstrStringjaNote text.
comment_viewer_idOptional[int]Option<i64>Visibility category applied only to an additional person link when also_apply_to_person=true.
FollowUpPostponeCreate1 Felder
FeldTypPflichtBeschreibung
due_datedateNaiveDatejaNew effective date, strictly after today in server date handling.
FollowUpResetCreate1 Felder
FeldTypPflichtBeschreibung
due_dateOptional[date]Option<NaiveDate>A future date overrides effectiveDueDate; otherwise it is restored from the original dueDate, which may be past or null.
FollowUpSharedUpdate3 Felder

Mutable fields of a follow-up backed by a shared specification.

FeldTypPflichtBeschreibung
due_dateOptional[date]Option<NaiveDate>Original planned date.
effective_due_dateOptional[date]Option<NaiveDate>Current working due date.
owner_idOptional[int]Option<i64>Responsible person ID.
FollowUpStatistics5 Felder

Counts within the current user’s follow-up scope, excluding archived subject persons.

FeldTypPflichtBeschreibung
count_doneinti64jaNumber of completed or dismissed follow-ups (doneDate is set).
count_due_after_todayinti64jaNumber of pending follow-ups due after today
count_due_before_todayinti64jaNumber of pending follow-ups due before today (aka 'overdue')
count_due_todayinti64jaNumber of pending follow-ups due today
count_due_unspecifiedinti64jaNumber of pending follow-ups without due date
FollowUpUpdate11 Felder

Update of a follow-up backed by an unshared specification.

FeldTypPflichtBeschreibung
colorOptional[str]Option<String>Optional color. Missing/null uses the yellow display fallback.
descriptionOptional[str]Option<String>Trimmed description; missing, null or blank becomes null.
due_dateOptional[date]Option<NaiveDate>Original planned date.
effective_due_dateOptional[date]Option<NaiveDate>Current working due date.
iconOptional[str]Option<String>Optional icon name. Missing/null/blank is stored as null; responses display the handshake fallback.
owner_idOptional[int]Option<i64>Responsible person ID.
success_group_idOptional[int]Option<i64>Optional fixed destination group for completion.
success_group_member_statusOptional[str]Option<String>Membership status assigned in the selected success group; null uses the default active status.
success_group_of_group_type_idOptional[int]Option<i64>Optional group-type restriction for selecting a destination group on completion.
success_role_idOptional[int]Option<i64>Role assigned in the selected success group; null uses the membership service default.
titlestrStringja
FurtherLinkCreate5 Felder
FeldTypPflichtBeschreibung
descriptionOptional[str]Option<String>
image_urlOptional[str]Option<String>
namestrStringja
sort_keyfloatf64ja
urlstrStringja
GetCaptchaResponse2 Felder
FeldTypPflichtBeschreibung
parametersGetCaptchaResponseParametersja
signaturestrStringja
GetCaptchaResponseParameters8 Felder
FeldTypPflichtBeschreibung
algorithmstrStringja
costinti64ja
expires_atinti64
key_lengthinti64ja
key_prefixstrStringja
key_signaturestrString
noncestrStringja
saltstrStringja
GetConfigResponse322 Felder
FeldTypPflichtBeschreibung
current_config_filestrString
accept_datasecuritybool
access_control_allow_credentialsbool
access_control_allow_originsstrString
admin_idsList[str]Vec<String>
admin_mailstrString
admin_messagestrString
ai_assistant_availablebool
ai_description_available_generation_countfloatf64
ai_description_available_generation_testsfloatf64
ai_description_generation_countfloatf64
ai_description_generation_enabledbool
ai_description_total_generation_countfloatf64
allowaiassistantbool
allowcheckinstrStringThis is a string that can only be true or false.
allowedcalsstrString
allowedclientsstrString
allowedcwbusersstrString
allowedresourcesstrString
allowedservicesstrString
allowedstationsstrString
allowedsyncconnectionsstrString
allowedsyncjobsstrString
allowedtextgenerationsstrString
alloweduserstrString
allowfinancestrStringThis is a string that can only be true or false.
allowldapstrStringThis is a string that can only be true or false.
allowoptigemsyncstrStringThis is a string that can only be true or false.
allowsyncstrStringThis is a string that can only be true or false.
app_security_requestbool
auth_cache_timeUnion[int, str]serde_json::Value
authorized_personsstrString
brandstrStringja
buildstrString
ccli_access_tokenstrString
ccli_auto_reporting_enabledbool
ccli_enabledbool
ccli_last_token_refreshstrString
ccli_refresh_tokenstrString
chat_serverstrStringja
chrome_activestrStringThis is a string that can only be true or false.
chrome_binarystrString
churchcal_activebool
churchcal_cssstrString
churchcal_entries_last_daysinti64
churchcal_firstdayinweekinti64
churchcal_maincalnamestrString
churchcal_namestrString
churchcal_name_defaultstrString
churchcal_sortcodeinti64
churchchat_allow_event_chatbool
churchchat_allow_group_chatbool
churchchat_allow_person_chatbool
churchchat_delete_event_chat_after_x_daysinti64
churchchat_invite_ct_event_chatbool
churchchat_invite_ct_group_chatbool
churchchat_namestrString
churchchat_name_defaultstrString
churchchat_sortcodeinti64
churchchat_start_event_chat_before_x_daysinti64
churchchat_start_event_chat_for_calendarsstrStringA stringified array of calendar ids
churchchat_sync_user_idinti64
churchcheckin_activebool
churchcheckin_label_childstrString
churchcheckin_label_parentstrString
churchcheckin_label_standardstrString
churchcheckin_namestrString
churchcheckin_name_defaultstrString
churchcheckin_sortcodeinti64
churchcheckin_tagsstrString
churchcustommodule_activestrStringThis is a string that can only be true or false.
churchcustommodule_namestrString
churchcustommodule_name_defaultstrString
churchdb_activebool
churchdb_archivedeletehistorybool
churchdb_birthdaylist_stationstrString
churchdb_birthdaylist_statusstrString
churchdb_cleverreach_access_tokenstrString
churchdb_cleverreach_client_idstrString
churchdb_cleverreach_client_secretstrString
churchdb_cleverreach_connectedstrString
churchdb_cleverreach_refresh_tokenstrString
churchdb_cleverreach_scopesstrString
churchdb_cleverreach_token_expirystrString
churchdb_emailseparatorstrString
churchdb_home_latstrString
churchdb_home_lngstrString
churchdb_mailchimp_apikeystrString
churchdb_mailchimp_connectedbool
churchdb_mailjet_apikeystrString
churchdb_mailjet_apisecretstrString
churchdb_mailjet_connectedbool
churchdb_memberlist_stationstrString
churchdb_memberlist_statusstrString
churchdb_namestrString
churchdb_name_defaultstrString
churchdb_sendgroupmailsbool
churchdb_smscmtelecom_apikeystrString
churchdb_smspromote_apikeystrString
churchdb_sortcodeinti64
churchfinance_activebool
churchfinance_namestrString
churchfinance_name_defaultstrString
churchfinance_sortcodeinti64
churchgroup_activebool
churchgroup_inmenubool
churchgroup_namestrString
churchgroup_name_defaultstrString
churchgroup_sortcodeinti64
churchreport_activebool
churchreport_namestrString
churchreport_name_defaultstrString
churchreport_sortcodeinti64
churchresource_activebool
churchresource_anonymize_for_public_userbool
churchresource_entries_last_daysinti64
churchresource_namestrString
churchresource_name_defaultstrString
churchresource_send_emailsbool
churchresource_sortcodeinti64
churchservice_activebool
churchservice_agendashowenumerationbool
churchservice_ccli_tokenstrString
churchservice_ccli_token_secretstrString
churchservice_entries_last_daysinti64
churchservice_invite_personsbool
churchservice_namestrString
churchservice_name_defaultstrString
churchservice_openservice_rememberdaysinti64
churchservice_reminderhoursinti64
churchservice_songwithcategoryasdirbool
churchservice_sortcodeinti64
churchsync_activebool
churchsync_inmenubool
churchsync_namestrString
churchsync_name_defaultstrString
churchsync_sortcodeinti64
churchwiki_activebool
churchwiki_namestrString
churchwiki_name_defaultstrString
churchwiki_sortcodeinti64
cron_dailydatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
cron_hour_8datetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
cron_last_executionstrString
cronjob_dbdumpstrStringThis is a string that can only be true or false.
cronjob_delayinti64
currently_mail_sendingstrStringThis is a string that can only be true or false.
datasecurity_privacy_declaration_wiki_linkstrString
datasecurity_banner_enabledbool
datasecurity_privacy_agreement_hintstrStringOnly in extended config
datasecurity_privacy_agreement_textstrStringOnly in extended config
datasecurity_privacy_agreement_text_for_childrenstrStringOnly in extended config
db_namestrString
db_passwordstrString
db_serverstrString
db_userstrString
deactivate_default_loginbool
default_phone_area_codestrString
deprecation_usage_mail_last_executionstrString
email_serverstrString
encryptionkeystrString
envstrString
evangelische_termine_api_keystrString
evangelische_termine_enabledbool
evangelische_termine_namestrString
evangelische_termine_urlstrString
evangelische_termine_vidstrString
feature_advent_searchboolEnables the Advent sheep search for the German interface.
feature_appointment_searchbool
feature_automationstrStringThis is a string that can only be true or false.
feature_custommodulestrStringThis is a string that can only be true or false.
feature_darkmodestrStringThis is a string that can only be true or false.
feature_dynamic_groupsstrStringThis is a string that can only be true or false.
feature_eubpbool
feature_event_fact_widgetbool
feature_finance_donators_datatablebool
feature_flags_uibool
feature_groupstrStringThis is a string that can only be true or false.
feature_markdown_groupboolDeprecated compatibility flag that is always true. veraltet
feature_mobile_groupsstrStringThis is a string that can only be true or false.
feature_newsfeed_comment_reactionsboolDeprecated compatibility flag that is always true. veraltet
feature_newsfeed_seenboolEnables unseen-post badges and excludes seen posts from summary emails.
feature_org_chart_groupsstrString
feature_permission_newbool
feature_person_probe_filterbool
feature_postsstrStringThis is a string that can only be true or false.
feature_resource_quantitybool
feature_resource_settingsbool
feature_resources_appstrStringThis is a string that can only be true or false.
feature_sessionless_loginbool
feature_syncstrStringThis is a string that can only be true or false.
feature_usechurchquerystrString
file_meta_cron_last_file_size_idstrString
file_meta_cron_last_image_metadata_idstrString
finance_activebool
finance_inmenustrStringThis is a string that can only be true or false.
finance_namestrString
finance_name_defaultstrString
finance_sortcodestrString
finder_urlstrStringja
first_sync_jobdatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
first_transactiondatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
hide_beta_statesbool
hide_all_hintsbool
hostingservicestrStringThis is a string that can only be true or false.
https_onlystrString
ical_invitation_hmac_secretstrString
image_extensionstrString
impressum_externalstrString
impressum_external_linkstrString
impressum_internalstrStringThis is a string that can only be true or false.
imprint_wiki_linkstrString
installation_verification_codestrString
invite_email_textstrString
is_current_user_authorized_personbooljaWhether the current user is configured as an authorized person.
is_posts_activeboolja
is_saml_activebool
is_churchtools_blog_widget_activebool
is_churchtools_onboarding_widget_activebool
is_pr_widget_activebool
is_rss_widget_activebool
languagestrStringThe language code is a two-letter code that represents the language.
last_cronstrString
last_cron_finishedstrString
last_db_dumpstrString
last_import_clearstrString
last_translation_updatestrString
ldap_otp_enabledbool
license_settingsGetConfigResponseLicenseSettings
log_debugstrStringThis is a string that can only be true or false.
login_messagestrString
mail_enabledbool
mail_sending_in_backgroundstrStringThis is a string that can only be true or false.
mail_sending_starttimestrString
mail_smtp_args_hoststrString
mail_smtp_args_passwordstrString
mail_smtp_args_portstrString
mail_smtp_args_smtpsecurestrString
mail_smtp_args_usernamestrString
matomo_uristrString
max_uploadfile_size_kbinti64
memberlist_birthday_fullstrStringThis is a string that can only be true or false.
memberlist_emailstrStringThis is a string that can only be true or false.
memberlist_faxstrStringThis is a string that can only be true or false.
memberlist_group_couplesstrStringThis is a string that can only be true or false.
memberlist_picturestrStringThis is a string that can only be true or false.
memberlist_salutationstrStringThis is a string that can only be true or false.
memberlist_telefongeschaeftlichstrStringThis is a string that can only be true or false.
memberlist_telefonhandystrStringThis is a string that can only be true or false.
memberlist_telefonprivatstrStringThis is a string that can only be true or false.
onboarding_startdatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
openai_api_keystrString
openstreetmaps_enabledbool
orderstatusstrString
orderstatus_since_datedatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
packagestrString
post_activebool
post_edit_time_limitedbool
post_email_summary_default_enabledbool
post_email_summary_default_filterstrString
post_email_summary_default_weekdaysstrString
post_featured_groupsstrString
post_inmenubool
post_namestrString
post_sortcodeinti64
post_wizard_completedbool
post_wizard_groupsstrString
prevent_change_security_settingsstrString
prevent_exportbool
prevent_manual_finance_account_creationbool
privacy_policy_externalbool
privacy_policy_external_linkstrString
privacy_policy_fields_mandatorybool
privacy_policy_fields_mandatory_apibool
privacy_policy_internalbool
privacy_policy_relationshipsstrString
profilestrString
public_channel_registrystrString
public_channel_registry_urlstrString
rabbitmq_config_hoststrString
rabbitmq_config_passwordstrString
rabbitmq_config_portstrString
rabbitmq_config_userstrString
redis_serverstrString
rss_widget_linkstrString
safe_mode_enable_authorized_personsstrString
safe_mode_enable_chat_syncstrString
safe_mode_enable_consolidationstrString
safe_mode_enable_guid_syncstrString
safe_mode_enable_job_queueingstrStringThis is a string that can only be true or false.
safe_mode_enable_mailstrString
safe_mode_enable_newsletterstrString
safe_mode_enable_notificationstrString
send_data_security_mailsbool
session_handlerstrString
short_namestrString
show_ai_assistantbool
show_remember_mebool
site_languagestrString
site_licensekeystrString
site_logostrString
site_mailstrString
site_namestrString
site_offlinebool
site_regionstrString
site_startpagestrString
site_urlstrString
support_user_active_sincedatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
testboolja
timezonestrString
url_metadata_urlstrString
verification_statusstrStringja
versionstrString
webchat_linkstrStringja
website_order_statusstrString
website_sync_user_idstrString
website_testphase_datestrString
website_trial_user_idinti64
website_urlstrString
welcomestrString
welcome_subtextstrString
wget_pathstrString
GetConfigResponseLicenseSettings1 Felder
FeldTypPflichtBeschreibung
hide_licensetabstrString
GetGroupMemberstatusResponseItem2 Felder
FeldTypPflichtBeschreibung
idstrStringjaState of a person's membership in a group, independent of their role.
namestrStringjaTranslated name of the member status.
GetGroupsGroupIdMemberfieldsDataItemVariant12 Felder
FeldTypPflichtBeschreibung
fieldGroupMemberFieldPersonjaA global person field configured for this group’s membership/signup UI.
type_r#typestrStringja
GetGroupsGroupIdMemberfieldsDataItemVariant22 Felder
FeldTypPflichtBeschreibung
fieldGroupMemberFieldGroupjaA group-specific membership field definition.
type_r#typestrStringja
GetGroupsIdQrcodecheckinPersonIdPdfData1 Felder
FeldTypPflichtBeschreibung
urlstrStringjaAbsolute URL of the generated PDF; contains the ticket credential in its filename.
GetInfoResponse5 Felder
FeldTypPflichtBeschreibung
addressAddress
buildstrStringDatabase Build Version
short_nameOptional[str]Option<String>
site_namestrString
versionstrStringChurchTools Version
GetLogsStatisticsLoginDataItem3 Felder
FeldTypPflichtBeschreibung
last_logindatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
personDomainObjectPersonjaPerson as Domain Object
total_loginsinti64jaCount of how many times a user has loged in.
GetMenuResponse12 Felder
FeldTypPflichtBeschreibung
adminGetMenuResponseAdmin
current_stationOptional[str]Option<String>
familyList[GetMenuResponseFamilyItem]Vec<GetMenuResponseFamilyItem>
helpGetMenuResponseHelp
logostrString
modulesList[GetMenuResponseModulesItem]Vec<GetMenuResponseModulesItem>
personalGetMenuResponsePersonal
simulatebool
site_namestrString
stationsList[GetMenuResponseStationsItem]Vec<GetMenuResponseStationsItem>
stations_countstrString
userGetMenuResponseUser
GetMenuResponseAdmin3 Felder
GetMenuResponseAdminActionsItem4 Felder
FeldTypPflichtBeschreibung
hrefstrString
iconstrString
keystrString
labelstrString
GetMenuResponseAdminPrimaryItem3 Felder
FeldTypPflichtBeschreibung
hrefstrString
iconstrString
labelstrString
GetMenuResponseFamilyItem3 Felder
FeldTypPflichtBeschreibung
hrefstrStringja
iconstrStringja
labelstrStringja
GetMenuResponseHelp4 Felder
GetMenuResponseHelpActionsItem3 Felder
FeldTypPflichtBeschreibung
iconstrString
keystrString
labelstrString
GetMenuResponseHelpPrimaryItem5 Felder
FeldTypPflichtBeschreibung
externalbool
hrefstrString
iconstrString
keystrString
labelstrString
GetMenuResponseHelpSecondaryItem4 Felder
FeldTypPflichtBeschreibung
externalbool
hrefstrString
iconstrString
labelstrString
GetMenuResponseModulesItem2 Felder
FeldTypPflichtBeschreibung
hrefstrString
labelstrString
GetMenuResponsePersonal3 Felder
GetMenuResponseStationsItem25 Felder
FeldTypPflichtBeschreibung
address_idOptional[str]Option<String>
association_idstrString
bezeichnungstrString
created_datestrString
created_pidstrString
denominationstrString
descriptionOptional[str]Option<String>
emailOptional[str]Option<String>
guidstrString
idstrString
is_publishedstrString
kuerzelstrString
modified_datestrString
modified_pidstrString
phoneOptional[str]Option<String>
profile_typestrString
short_nameOptional[str]Option<String>
sign_up_group_idOptional[float]Option<f64>
slugOptional[str]Option<String>
social_mediaOptional[str]Option<String>
sortkeystrString
tagsOptional[str]Option<String>
team_titleOptional[str]Option<String>
visitorsstrString
websiteOptional[str]Option<String>
GetMenuResponseUser8 Felder
FeldTypPflichtBeschreibung
firstnamestrString
has_admin_rightsbool
idstrString
imagestrString
image_idOptional[Union[str, int]]serde_json::Value
image_urlstrString
lastnamestrString
logged_inbool
GetPermissionsDefinitionsData1 Felder
FeldTypPflichtBeschreibung
modulesList[PermissionDefinitionModule]Vec<PermissionDefinitionModule>ja
GetPermissionsGlobalPersonSummaryData1 Felder
FeldTypPflichtBeschreibung
permissionsList[PermissionPersonSummaryEntry]Vec<PermissionPersonSummaryEntry>ja
GetPermissionsOriginsGlobalDomainTypeDomainIdData3 Felder
FeldTypPflichtBeschreibung
domain_idinti64ja
domain_typestrStringja
permissionsList[PermissionWithOrigins]Vec<PermissionWithOrigins>ja
GetPermissionsOriginsGlobalGroupRolesGroupRoleIdData2 Felder
FeldTypPflichtBeschreibung
group_role_idinti64ja
permissionsList[PermissionWithOrigins]Vec<PermissionWithOrigins>ja
GetPermissionsOriginsGlobalPersonsPersonIdData2 Felder
FeldTypPflichtBeschreibung
permissionsList[PermissionWithOrigins]Vec<PermissionWithOrigins>ja
person_idinti64ja
GetPermissionsOriginsInternalPersonsPersonIdData2 Felder
GetPermissionsOriginsInternalPersonsPersonIdDataGroupsItem2 Felder
FeldTypPflichtBeschreibung
group_idinti64jaID of the target group the permissions apply to
permissionsList[PermissionWithOrigins]Vec<PermissionWithOrigins>ja
GetPermissionsOverviewData2 Felder
FeldTypPflichtBeschreibung
categoriesList[GetPermissionsOverviewDataCategoriesItem]Vec<GetPermissionsOverviewDataCategoriesItem>ja
public_permission_countinti64ja
GetPermissionsOverviewDataCategoriesItem3 Felder
FeldTypPflichtBeschreibung
domain_typestrStringjaAssignment owner: person status, role template of a group type, role in a concrete group, or direct person assignment.
targetsList[GetPermissionsOverviewDataCategoriesItemTargetsItem]Vec<GetPermissionsOverviewDataCategoriesItemTargetsItem>ja
totalinti64ja
GetPermissionsOverviewDataCategoriesItemTargetsItem3 Felder
FeldTypPflichtBeschreibung
domain_idinti64ja
group_idinti64Present for concrete group roles
permission_countinti64ja
GetPersonsBirthdaysDataItem7 Felder
FeldTypPflichtBeschreibung
deprecatedstrString
ageinti64jaCalculated age. (see note to that endpoint)
anniversarydateNaiveDateA simple date in ISO format, e.g.
anniversary_initial_datedateNaiveDateA simple date in ISO format, e.g.
datestrStringActually birthday veraltet
personDomainObjectPersonPerson as Domain Object
type_r#typestrStringjaType of Date
GetPersonsDuplicatesDataItem2 Felder
FeldTypPflichtBeschreibung
relationship_type_idOptional[int]Option<i64>
relationshipsList[PersonDuplicate]Vec<PersonDuplicate>ja
GetPersonsIdLoginstringResponse2 Felder
FeldTypPflichtBeschreibung
login_stringstrStringjaSecret one-time credential; consume through a login link.
person_idinti64ja
GetPersonsPersonIdConsentstatusData5 Felder
FeldTypPflichtBeschreibung
birthday_requiredbooljaA birthday must be supplied when accepting privacy consent.
can_accept_privacy_policybooljaWhether the stored birthday meets the configured minimum age.
confidentiality_agreement_acceptedboolja
minimum_ageinti64jaConfigured minimum age, also when self-registration is disabled.
privacy_policy_acceptedboolja
GetPersonsRelationshipsDataItem10 Felder
FeldTypPflichtBeschreibung
deprecatedStrMap[str]BTreeMap<String, String>
degree_of_relationshipUnion[int, str]serde_json::Value veraltet
idinti64
person_a_idinti64
person_b_idinti64
person_idinti64 veraltet
relationship_namestrString veraltet
relationship_typeStrMap[Any]BTreeMap<String, serde_json::Value>
relationship_type_idinti64 veraltet
relative_idinti64 veraltet
GetSearchDataItem1 Felder
FeldTypPflichtBeschreibung
type_r#typestrStringja
GetSecuritylevelsIdResponse5 Felder
FeldTypPflichtBeschreibung
idinti64ja
namestrStringja
sort_keyinti64ja
sortkeyinti64 veraltet
dataSecurityLevelja
GetSyncExternalsystemsIdFieldmappingsDomaintypeNosuggestionsDataVariant12 Felder
FeldTypPflichtBeschreibung
esStrMap[bool]BTreeMap<String, bool>
masterStrMap[bool]BTreeMap<String, bool>
GetWidgetsBlogData5 Felder
FeldTypPflichtBeschreibung
descriptionstrString
itemsList[BlogItem]Vec<BlogItem>
linkstrString
titlestrString
total_countinti64
GlobalPermissions12 Felder

Current user’s global permission values, keyed by active module and registered permission key.

GlobalPermissionsChurchcal11 Felder
FeldTypPflichtBeschreibung
admin_appointment_tagsbool
admin_church_categoryboolja
admin_group_categoryboolja
admin_personal_categoryboolja
assistance_modeboolja
create_group_categoryboolja
create_personal_categoryboolja
edit_calendar_entry_templateList[int]Vec<i64>ja
edit_categoryList[int]Vec<i64>ja
viewboolja
view_categoryList[int]Vec<i64>ja
GlobalPermissionsChurchcheckin3 Felder
FeldTypPflichtBeschreibung
create_personboolja
edit_masterdataboolja
viewboolja
GlobalPermissionsChurchcore17 Felder
FeldTypPflichtBeschreibung
administer_church_html_templatesboolja
administer_custom_modulesbool
administer_personsboolja
administer_settingsboolja
edit_languagesList[int]Vec<i64>ja
edit_public_profilesboolja
edit_translations_masterdataboolja
edit_website_releasesboolja
edit_website_staffboolja
invite_personsboolja
login_to_external_systemList[int]Vec<i64>ja
simulate_personsboolja
use_church_html_templatesList[int]Vec<i64>ja
use_churchquerybool
view_linksList[int]Vec<i64>
view_logfileboolja
view_websiteboolja
GlobalPermissionsChurchdb42 Felder
FeldTypPflichtBeschreibung
administer_global_filtersboolja
administer_groupsOptional[bool]Option<bool>Compatibility alias of churchgroup administer groups. veraltet
complex_filterboolja
create_groups_of_grouptypeOptional[List[int]]Option<Vec<i64>>Compatibility alias of churchgroup create groups of grouptype. veraltet
create_personboolja
create_print_labelsboolja
delete_groupOptional[List[int]]Option<Vec<i64>>Compatibility alias of churchgroup delete group. veraltet
delete_groups_of_grouptypeOptional[List[int]]Option<Vec<i64>>Compatibility alias of churchgroup delete groups of grouptype. veraltet
delete_personsboolja
edit_bulkletterboolja
edit_groupOptional[List[int]]Option<Vec<i64>>Compatibility alias of churchgroup edit group. veraltet
edit_group_membershipsboolja
edit_group_memberships_of_groupOptional[List[int]]Option<Vec<i64>>Compatibility alias of churchgroup edit group memberships of group. veraltet
edit_group_memberships_of_grouptypeOptional[List[int]]Option<Vec<i64>>Compatibility alias of churchgroup edit group memberships of grouptype. veraltet
edit_groups_of_grouptypeOptional[List[int]]Option<Vec<i64>>Compatibility alias of churchgroup edit groups of grouptype. veraltet
edit_masterdataboolja
edit_person_visibilityboolja
edit_relationsboolja
export_databoolOmitted when export prevention is configured; otherwise a grant flag.
push_pull_archiveboolja
security_level_edit_own_dataList[int]Vec<i64>ja
security_level_groupOptional[List[int]]Option<Vec<i64>>Compatibility alias of churchgroup security level group. veraltet
security_level_personList[int]Vec<i64>ja
security_level_view_own_dataList[int]Vec<i64>ja
send_smsboolja
viewboolja
view_alldataList[int]Vec<i64>ja
view_archiveboolja
view_birthdaylistbool
view_commentsList[int]Vec<i64>ja
view_groupOptional[List[int]]Option<Vec<i64>>Compatibility alias of churchgroup view group. veraltet
view_groups_of_grouptypeOptional[List[int]]Option<Vec<i64>>Compatibility alias of churchgroup view groups of grouptype. veraltet
view_hidden_personsboolja
view_historybool
view_memberlisteboolja
view_person_historyboolja
view_person_tagsboolja
view_persons_from_campusList[int]Vec<i64>jaCampus IDs whose persons are globally visible through this permission.
view_stationList[int]Vec<i64>ja
view_statisticsboolja
view_tagsbool veraltet
write_accessboolja
GlobalPermissionsChurchgroup16 Felder
FeldTypPflichtBeschreibung
administer_global_viewsboolja
administer_groupsboolja
create_groups_of_grouptypeList[int]Vec<i64>ja
delete_groupList[int]Vec<i64>ja
delete_groups_of_grouptypeList[int]Vec<i64>ja
edit_groupList[int]Vec<i64>ja
edit_group_memberships_of_groupList[int]Vec<i64>ja
edit_group_memberships_of_grouptypeList[int]Vec<i64>ja
edit_groups_of_grouptypeList[int]Vec<i64>ja
edit_masterdataboolja
security_level_groupList[int]Vec<i64>ja
viewboolja
view_groupList[int]Vec<i64>ja
view_group_historyboolja
view_group_tagsboolja
view_groups_of_grouptypeList[int]Vec<i64>ja
GlobalPermissionsChurchreport2 Felder
FeldTypPflichtBeschreibung
viewboolja
view_queryList[int]Vec<i64>ja
GlobalPermissionsChurchresource7 Felder
FeldTypPflichtBeschreibung
administer_bookingsList[int]Vec<i64>ja
assistance_modeboolja
create_bookingsList[int]Vec<i64>ja
create_virtual_bookingsboolja
edit_masterdataboolja
viewboolja
view_resourceList[int]Vec<i64>ja
GlobalPermissionsChurchservice19 Felder
FeldTypPflichtBeschreibung
edit_agendaList[int]Vec<i64>ja
edit_agenda_templatesList[int]Vec<i64>ja
edit_eventsList[int]Vec<i64>ja
edit_factList[int]Vec<i64>ja
edit_masterdataboolja
edit_servicegroupList[int]Vec<i64>ja
edit_songcategoryList[int]Vec<i64>ja
edit_templateboolja
export_factsboolja
manage_absentboolja
use_ccliboolja
viewboolja
view_agendaList[int]Vec<i64>ja
view_eventsList[int]Vec<i64>ja
view_factList[int]Vec<i64>ja
view_historyboolja
view_servicegroupList[int]Vec<i64>ja
view_song_statisticsboolja
view_songcategoryList[int]Vec<i64>ja
GlobalPermissionsChurchsync1 Felder
FeldTypPflichtBeschreibung
viewboolja
GlobalPermissionsChurchwiki4 Felder
FeldTypPflichtBeschreibung
edit_categoryList[int]Vec<i64>ja
edit_masterdataboolja
viewboolja
view_categoryList[int]Vec<i64>ja
GlobalPermissionsFinance4 Felder
FeldTypPflichtBeschreibung
edit_accounting_periodList[int]Vec<i64>ja
edit_masterdataboolja
viewboolja
view_accounting_periodList[int]Vec<i64>ja
GlobalPermissionsPost1 Felder
FeldTypPflichtBeschreibung
moderate_postsboolja
Group20 Felder

The group model structures all information in different objects: information, settings, followUp, and roles.

FeldTypPflichtBeschreibung
deprecatedStrMap[str]BTreeMap<String, String>
average_member_ageOptional[float]Option<f64>
follow_upGroupFollowUp
guidstrStringja
has_permissionsbool
idinti64ja
informationGroupInformationja
member_statisticsGroupMemberStatistics
metaMetaDataEntityIdja
modified_datestrString veraltet
modified_personGroupModifiedPerson veraltet
namestrStringja
permissionsGroupPermissionsja
placesList[Address]Vec<Address>
public_posts_statisticGroupPublicPostsStatistic
rolesList[GroupRole]Vec<GroupRole>
security_level_for_groupinti64jaYou can see group fields up to this security level.
settingsGroupSettingsja
signup_conditionsGroupSignupConditions
tagsList[Tag]Vec<Tag>
GroupAddressCreate11 Felder

Address attached to a group, used as a meeting place.

FeldTypPflichtBeschreibung
additionOptional[str]Option<String>Address addition. Whitespace is trimmed; omitted, null or blank clears the value.
cityOptional[str]Option<String>Address city. Whitespace is trimmed; omitted, null or blank clears the value.
colorOptional[Union[str, str]]serde_json::ValueOptional ChurchTools color.
countryOptional[str]Option<String>Country code, at most two characters.
districtOptional[str]Option<String>Address district. Whitespace is trimmed; omitted, null or blank clears the value.
iconOptional[str]Option<String>Address icon. Whitespace is trimmed; omitted, null or blank clears the value.
latitudeOptional[Union[float, str]]serde_json::ValueCoordinate as a number or decimal string.
longitudeOptional[Union[float, str]]serde_json::ValueCoordinate as a number or decimal string.
nameOptional[str]Option<String>Address name. Whitespace is trimmed; omitted, null or blank clears the value.
streetOptional[str]Option<String>Address street. Whitespace is trimmed; omitted, null or blank clears the value.
zipOptional[str]Option<String>Address zip. Whitespace is trimmed; omitted, null or blank clears the value.
GroupAddressUpdate11 Felder

Replacement address details.

FeldTypPflichtBeschreibung
additionOptional[str]Option<String>Address addition. Whitespace is trimmed; omitted, null or blank clears the value.
cityOptional[str]Option<String>Address city. Whitespace is trimmed; omitted, null or blank clears the value.
colorOptional[Union[str, str]]serde_json::ValueOptional ChurchTools color.
countryOptional[str]Option<String>Country code, at most two characters.
districtOptional[str]Option<String>Address district. Whitespace is trimmed; omitted, null or blank clears the value.
iconOptional[str]Option<String>Address icon. Whitespace is trimmed; omitted, null or blank clears the value.
latitudeOptional[Union[float, str]]serde_json::ValueCoordinate as a number or decimal string.
longitudeOptional[Union[float, str]]serde_json::ValueCoordinate as a number or decimal string.
nameOptional[str]Option<String>Address name. Whitespace is trimmed; omitted, null or blank clears the value.
streetOptional[str]Option<String>Address street. Whitespace is trimmed; omitted, null or blank clears the value.
zipOptional[str]Option<String>Address zip. Whitespace is trimmed; omitted, null or blank clears the value.
GroupCategory7 Felder

A thematic classification for groups, such as worship services or community activities.

FeldTypPflichtBeschreibung
colorstrStringjaChurchTools color token used to display the category, such as blue.
descriptionOptional[str]Option<String>Optional explanation of the category.
namestrStringjaStored label configured in this installation.
sort_keyinti64jaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.
idinti64jaID of this master-data record in this ChurchTools installation.
metaGroupCategoryMetajaCreation and modification timestamps and person IDs for this category.
name_translatedstrStringjaLocalized display name, translated from the stored name when a translation exists.
GroupCategoryCreate4 Felder
FeldTypPflichtBeschreibung
colorstrStringjaChurchTools color token used to display the category, such as blue.
descriptionOptional[str]Option<String>Optional explanation of the category.
namestrStringjaStored label configured in this installation.
sort_keyinti64jaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.
GroupCategoryMeta4 Felder

Creation and modification timestamps and person IDs for this category.

FeldTypPflichtBeschreibung
created_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
created_personMetaDataPersonIdja
modified_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
modified_personMetaDataPersonIdja
GroupDuplicateCreate4 Felder

Options for copying a group.

FeldTypPflichtBeschreibung
copy_membersboolCopy memberships, including statuses, roles, comments and member field values.
copy_permissionsboolCopy group-role permissions and permission inheritance settings.
copy_routinesboolCopy membership routines and prepare their potential runs for the new group.
new_namestrStringName of the copy, trimmed before validation.
GroupExportCreate1 Felder

Selection for a group spreadsheet export.

FeldTypPflichtBeschreibung
idsList[int]Vec<i64>jaGroup IDs to export. Unknown or invisible IDs are silently omitted; duplicates do not produce duplicate rows.
GroupFollowUp2 Felder
FeldTypPflichtBeschreibung
reminderbool
type_idinti64
GroupHierarchy4 Felder

The hierarchy of one group

FeldTypPflichtBeschreibung
childrenList[int]Vec<i64>ja
groupOptional[DomainObjectGroup]Option<DomainObjectGroup>
group_idinti64ja
parentsList[int]Vec<i64>ja
GroupHomepage27 Felder

Public group homepage settings, filter definitions, and all public groups displayed on the page.

FeldTypPflichtBeschreibung
deprecatedStrMap[str]BTreeMap<String, String>jaMaps deprecated response field names to their replacements.
custom_descriptionOptional[str]Option<String>Stored custom description for the group homepage header.
custom_titleOptional[str]Option<String>Stored custom title for the group homepage header.
default_viewstrStringjaType how groups are listed on the page.
depthinti64jaStored hierarchy depth.
descriptionstrStringjaDescription of the group that owns the group homepage.
description_modestrStringjaHeader rendering choice: none hides the description, group uses description, custom uses customDescription.
filterList[GroupHomepageFilter]Vec<GroupHomepageFilter>Deprecated alias of filters. veraltet
filtersList[GroupHomepageFilter]Vec<GroupHomepageFilter>jaSpecifies all filters that can be applied for this group homepage.
groupsList[PublicGroup]Vec<PublicGroup>jaEligible descendant groups after hierarchy loading and the current session’s public-group feature check.
idinti64jaGroup Homepage ID
is_collapsedbooljaIf true, nested groups are collapsed by default.
is_enabledbooljaWhether the group homepage is enabled.
metaMetaDataEntityIdja
namestrStringjaName of the group homepage's parent group.
order_bystrStringjaGroup field to sort groups by.
order_directionstrStringjaDirection if groups are sorted ascending or descending.
parent_groupinti64jaID of the parent group of all groups that should be displayed in the group homepage
random_urlstrStringjaThe group homepage identifier (same as provided as hash request parameter).
show_filterboolDeprecated alias of showFilters. veraltet
show_filtersbooljaIf true, selected filters are displayed.
show_group_imagesbooljaIf true, the group homepage is set to display group images.
show_leaderboolDeprecated alias of showLeaders. veraltet
show_leadersbooljaIf true, the group homepage is set to display the leaders of each group.
show_mapbooljaEffective map-display setting: true only when both the homepage setting and the installation openstreetmaps_enabled flag are true.
sort_bystrStringUse 'orderBy' instead. veraltet
title_modestrStringjaHeader rendering choice: none hides the heading, group uses name, custom uses customTitle.
GroupHomepageFilter3 Felder

Filter definition for the homepage UI.

FeldTypPflichtBeschreibung
showbooljaIf true, this filter is enabled on the group homepage.
type_r#typestrStringjaCatalog used by this filter.
optionsList[Union[Weekday, TargetGroup, AgeGroup, GroupCategory, Campus]]Vec<serde_json::Value>Available options for this filter type.
GroupHomepageFilterCreate2 Felder

Display setting for one of the five supported homepage filters.

FeldTypPflichtBeschreibung
showbooljaIf true, this filter is enabled on the group homepage.
type_r#typestrStringjaCatalog used by this filter.
GroupHomepageUpdate15 Felder

Upsert settings. Omitted header modes/custom text are preserved, but omitted layout/order/collapse/depth fields reset to their defaults and omitted filters disables all filters.

FeldTypPflichtBeschreibung
custom_descriptionOptional[str]Option<String>Custom description. Trimmed; null or blank clears the value.
custom_titleOptional[str]Option<String>Custom heading. Trimmed; null or blank clears the value.
default_viewstrStringInitial group display layout.
depthinti64Maximum child hierarchy depth; 1 includes direct children.
description_modestrStringHeader content source.
filtersList[GroupHomepageFilterCreate]Vec<GroupHomepageFilterCreate>Replaces the enabled filters in the supplied order.
is_collapsedboolWhether the group list starts collapsed.
is_enabledbooljaWhether the public hash URL may be opened.
order_bystrStringGroup field used to sort the page.
order_directionstrStringAscending or descending sort order.
show_filtersbooljaDisplay the filter controls.
show_group_imagesbooljaInclude group images in public group details.
show_leadersbooljaInclude leaders in public group details.
show_mapbooljaEnable the map when the global OpenStreetMap setting also permits it.
title_modestrStringHeader content source.
GroupInformation21 Felder
FeldTypPflichtBeschreibung
age_group_idsList[int]Vec<i64>ja
campus_idOptional[int]Option<i64>
chat_statusstrStringjaRoom lifecycle status.
colorstrStringjaA color in ChurchTools
date_of_foundationOptional[date]Option<NaiveDate>
end_dateOptional[date]Option<NaiveDate>
group_category_idOptional[int]Option<i64>
group_homepage_urlOptional[str]Option<String>
group_status_idinti64ja
group_type_idinti64ja
image_ai_generatedOptional[bool]Option<bool>
image_annotationOptional[str]Option<String>
image_annotation_linkOptional[str]Option<String>
image_descriptionOptional[str]Option<String>
image_urlOptional[str]Option<String>
max_membersOptional[int]Option<i64>Allowed maximal members veraltet
meeting_timeOptional[str]Option<String>
noteOptional[str]Option<String>
sign_up_override_role_idOptional[int]Option<i64>
target_group_idOptional[int]Option<i64>
weekdayOptional[int]Option<i64>The number of the weekday.
GroupMeeting16 Felder

One dated occurrence of a group meeting, used to record attendance, guest counts and feedback.

FeldTypPflichtBeschreibung
deprecatedDeprecatedCompatibility metadata describing legacy date fields.
attendancesStrMap[str]BTreeMap<String, String>Optional map from person IDs to attendance states, returned with include=attendances.
commentOptional[str]Option<String>Meeting notes; null when no text is stored.
date_fromdatetimeDateTime<Utc>Deprecated compatibility value equal to startDate. veraltet
date_todatetimeDateTime<Utc>Deprecated compatibility value equal to startDate. veraltet
end_datedatetimeDateTime<Utc>Legacy compatibility value equal to startDate; this is not an actual end time. veraltet
group_idinti64jaID of the group this meeting belongs to.
has_editing_startedbooljaWhether attendance editing has started.
idinti64jaID of this meeting; distinct from the group ID.
is_canceledbooljaWhether the meeting was canceled.
is_completedbooljaWhether attendance and feedback have been marked as completed.
metaMetaDataEntityIdja
num_guestsOptional[int]Option<i64>Additional guest headcount entered for the meeting, or null when unspecified.
poll_resultOptional[List[MeetingTemplateField]]Option<Vec<MeetingTemplateField>>Recorded feedback fields and answers for this meeting.
start_datedatetimeDateTime<Utc>jaStart of the group meeting
statisticsGroupMeetingStatisticsjaCounts by attendance status.
GroupMeetingForMember15 Felder

Group meeting as returned by the member history endpoint.

FeldTypPflichtBeschreibung
deprecatedDeprecatedjaCompatibility metadata describing legacy date fields.
commentOptional[str]Option<String>Meeting notes; null when no text is stored.
date_fromdatetimeDateTime<Utc>Deprecated compatibility value equal to startDate. veraltet
date_todatetimeDateTime<Utc>Deprecated compatibility value equal to startDate. veraltet
end_datedatetimeDateTime<Utc>Legacy compatibility value equal to startDate; this is not an actual end time. veraltet
group_idinti64jaID of the group this meeting belongs to.
has_editing_startedbooljaWhether attendance editing has started.
idinti64jaID of this meeting; distinct from the group ID.
is_canceledbooljaWhether the meeting was canceled.
is_completedbooljaWhether attendance and feedback have been marked as completed.
metaMetaDataEntityIdja
num_guestsOptional[int]Option<i64>Additional guest headcount entered for the meeting, or null when unspecified.
poll_resultOptional[List[MeetingTemplateField]]Option<Vec<MeetingTemplateField>>Recorded feedback fields and answers for this meeting.
start_datedatetimeDateTime<Utc>jaStart of the group meeting
statisticsList[Any]Vec<serde_json::Value>jaAlways an empty array on this endpoint; attendance counts are not loaded.
GroupMeetingMember4 Felder

One person in the meeting attendance view.

FeldTypPflichtBeschreibung
is_checked_inbooljaTrue exactly when status is present.
memberOptional[GroupMember]Option<GroupMember>Current visible active membership, or null if none is available.
person_idinti64jaPerson ID. Use this value as memberId when changing this person's meeting attendance.
statusstrStringjaAttendance at one meeting, independent of membership status: present means recorded as attending; absent means recorded as not attending; unsure means attendance has not been decided.
GroupMeetingStatistics4 Felder

Counts by attendance status.

FeldTypPflichtBeschreibung
absentinti64
not_in_groupinti64
presentinti64
unsureinti64
GroupMember18 Felder

A person’s membership in one group.

FeldTypPflichtBeschreibung
deprecatedGroupMemberDeprecatedjaLegacy response-field mapping emitted by the membership transformer.
commentOptional[str]Option<String>Comment about this membership.
fieldsList[GroupMemberFieldsItem]Vec<GroupMemberFieldsItem>Visible additional fields stored on this membership.
groupGroupMemberGroupjaGroup to which this membership belongs.
group_member_statusstrStringjaState of a person's membership in a group, independent of their role.
group_type_role_idinti64jaID of the role definition for the group type, matching Role.id from GET /roles.
idinti64jaID of the membership record linking the person and group.
member_end_dateOptional[date]Option<NaiveDate>Membership end date, or null if none is set.
member_start_dateOptional[date]Option<NaiveDate>Date on which the membership began (YYYY-MM-DD), or null if no start date is set.
newsletterGroupMemberNewsletterNewsletter subscription information, included when the member list is requested with include=newsletter.
personGroupMemberPersonjaPerson who belongs to the group.
person_fieldsUnion[StrMap[Any], List[Any]]serde_json::ValueRequested additional person fields, keyed by field name.
person_idinti64use person.domainIdentifier (type: string) instead. veraltet
registered_byOptional[int]Option<i64>Person ID recorded as having registered this member, or null if none is recorded.
role_changed_datedatetimeDateTime<Utc>jaTimestamp of the most recent role change.
status_changed_datedatetimeDateTime<Utc>jaTimestamp of the most recent membership status change.
tagsList[Tag]Vec<Tag>Person tags, included when the member list is requested with include=tags.
waitinglist_positionOptional[int]Option<i64>Position on the group’s waiting list, or null when no position is assigned.
GroupMemberCounts5 Felder

Group-wide capacity counters, independent of the caller’s individual member visibility.

FeldTypPflichtBeschreibung
all_placesinti64jaNon-archived memberships in non-hidden roles of this group type, excluding to_delete; includes requested/waiting memberships.
free_placesOptional[int]Option<i64>maxMembers minus takenPlaces, clamped to zero.
requested_placesinti64jaNon-archived requested/waiting memberships in seat-counting roles of this group type.
taken_placesinti64jaActive, non-archived memberships in active, non-hidden group roles configured to count toward seats.
waitinglist_placesinti64jaSubset of requestedPlaces with a non-null waiting-list position, or zero if the group’s waiting list is disabled.
GroupMemberDeprecated1 Felder

Legacy response-field mapping emitted by the membership transformer.

FeldTypPflichtBeschreibung
person_idstrStringja
GroupMemberExportColumn1 Felder

One requested export column.

FeldTypPflichtBeschreibung
keystrStringjaColumn reference. Use person., groupMemberField., relation.
GroupMemberExportConfig3 Felder

Version 10 column selection.

FeldTypPflichtBeschreibung
pinnedList[GroupMemberExportColumn]Vec<GroupMemberExportColumn>jaLeading columns, frozen horizontally in XLSX.
unpinnedList[GroupMemberExportColumn]Vec<GroupMemberExportColumn>jaColumns following the pinned columns.
versioninti64jaCurrent configuration version.
GroupMemberExportCreate1 Felder

Optional custom column selection.

FeldTypPflichtBeschreibung
configOptional[Union[GroupMemberExportConfig, GroupMemberExportTemplate, StrMap[Any]]]serde_json::Value
GroupMemberExportTemplate1 Felder

Built-in full export preset.

FeldTypPflichtBeschreibung
templatestrStringjaSelect every discoverable person, relationship, group-type, special and accessible membership field.
GroupMemberFieldGroup18 Felder

A group-specific membership field definition.

FeldTypPflichtBeschreibung
deprecatedGroupMemberFieldGroupDeprecatedjaCompatibility mapping returned by the serializer.
default_valueOptional[Union[str, List[str]]]serde_json::ValueNormalized default: string for scalar field types, an array of option-ID strings for multiselect, or null when unset.
field_namestrStringUse name instead. veraltet
field_type_codestrStringjaInput/storage type. select and radioselect use one option, multiselect uses multiple options.
field_type_idinti64jaNumeric id of the field type.
group_idinti64jaID of the group this member field belongs to.
idinti64jaID of the group member field.
max_lengthinti64jaMaximum stored value length for member field data.
namestrStringjaInternal field name shown to administrators.
name_in_signup_formOptional[str]Option<String>Optional field name shown in the signup form.
noteOptional[str]Option<String>Internal field description.
note_in_signup_formOptional[str]Option<String>Optional field description shown in the signup form.
optionsList[GroupMemberFieldGroupOption]Vec<GroupMemberFieldGroupOption>jaBackend-assigned options for select-like fields.
reference_namestrStringjaStable machine-readable key for this field.
required_in_registration_formbooljaWhether this field is mandatory in the signup form.
security_levelinti64jaSecurity level required to see and edit this field.
sort_keyinti64jaSort order among group member fields.
use_in_registration_formbooljaWhether this field is shown in the signup form.
GroupMemberFieldGroupCreate12 Felder

Creates a field on memberships of the path group.

FeldTypPflichtBeschreibung
default_valueOptional[Union[str, List[Union[str, int]], float, bool]]serde_json::ValueDefault value, validated according to fieldTypeCode.
field_type_codestrStringjaOne of the ten supported field types.
namestrStringjaInternal field name shown to administrators.
name_in_signup_formOptional[str]Option<String>Optional field name shown in the signup form.
noteOptional[str]Option<String>Internal field description.
note_in_signup_formOptional[str]Option<String>Optional field description shown in the signup form.
optionsOptional[List[GroupMemberFieldGroupOptionCreate]]Option<Vec<GroupMemberFieldGroupOptionCreate>>Choices for select, radioselect or multiselect, in display order.
reference_namestrStringOptional stable machine-readable key.
required_in_registration_formbooljaWhether this field is mandatory in the signup form.
security_levelinti64jaSecurity level required to see and edit this field.
sort_keyinti64Sort order among group member fields.
use_in_registration_formbooljaWhether this field is shown in the signup form.
GroupMemberFieldGroupDeprecated1 Felder

Compatibility mapping returned by the serializer.

FeldTypPflichtBeschreibung
field_namestrStringja
GroupMemberFieldGroupOption2 Felder
FeldTypPflichtBeschreibung
idstrStringjaBackend-assigned option ID serialized as a string.
namestrStringjaDisplay value of the option.
GroupMemberFieldGroupOptionCreate1 Felder

A newly created choice.

FeldTypPflichtBeschreibung
namestrStringjaOption display value, trimmed before storage.
GroupMemberFieldGroupOptionPatch2 Felder

Choice in a replacement option list.

FeldTypPflichtBeschreibung
idOptional[int]Option<i64>Existing option ID belonging to this field, or null for a new option.
namestrStringjaDisplay label, trimmed before storage.
GroupMemberFieldGroupPatch11 Felder

Partial membership field update.

FeldTypPflichtBeschreibung
default_valueOptional[Union[str, List[Union[str, int]], float, bool]]serde_json::ValueDefault value, validated according to fieldTypeCode.
namestrStringInternal field name shown to administrators.
name_in_signup_formOptional[str]Option<String>Optional field name shown in the signup form.
noteOptional[str]Option<String>Internal field description.
note_in_signup_formOptional[str]Option<String>Optional field description shown in the signup form.
optionsOptional[List[GroupMemberFieldGroupOptionPatch]]Option<Vec<GroupMemberFieldGroupOptionPatch>>Full replacement list.
reference_namestrStringMachine-readable key, unique within this group.
required_in_registration_formboolWhether this field is mandatory in the signup form.
security_levelinti64Security level required to see and edit this field.
sort_keyinti64Sort order among group member fields.
use_in_registration_formboolWhether this field is shown in the signup form.
GroupMemberFieldGroupUpdate11 Felder

Full update of a membership field.

FeldTypPflichtBeschreibung
default_valueOptional[Union[str, List[Union[str, int]], float, bool]]serde_json::ValueDefault value, validated according to fieldTypeCode.
namestrStringjaInternal field name shown to administrators.
name_in_signup_formOptional[str]Option<String>Optional field name shown in the signup form.
noteOptional[str]Option<String>Internal field description.
note_in_signup_formOptional[str]Option<String>Optional field description shown in the signup form.
optionsOptional[List[GroupMemberFieldGroupOptionPatch]]Option<Vec<GroupMemberFieldGroupOptionPatch>>Full replacement list; include IDs of choices to retain.
reference_namestrStringjaMachine-readable key, unique within this group.
required_in_registration_formbooljaWhether this field is mandatory in the signup form.
security_levelinti64jaSecurity level required to see and edit this field.
sort_keyinti64Sort order; omission resets it to zero.
use_in_registration_formbooljaWhether this field is shown in the signup form.
GroupMemberFieldPerson5 Felder

A global person field configured for this group’s membership/signup UI.

FeldTypPflichtBeschreibung
required_in_registration_formbooljaWhether the person field is required in this group’s signup form.
sort_keyinti64jaDisplay order among this group’s person and membership fields.
db_fieldGroupMemberFieldPersonDbFieldjaUnderlying global field definition.
group_idinti64jaGroup using the person field.
idinti64jaID of the group/person-field configuration row.
GroupMemberFieldPersonDbField26 Felder

Underlying global field definition.

FeldTypPflichtBeschreibung
delete_on_archivebooljaWhether a person field’s value is cleared on archiving.
is_activebooljaWhether the field is enabled for normal use.
is_available_in_routinesbooljaWhether routines may use this field.
is_new_person_fieldbooljaWhether the field is available on new-person forms; primarily relevant to person categories.
lengthOptional[int]Option<i64>Configured field length.
line_endingOptional[str]Option<String>Legacy display-layout setting, retained for compatibility. veraltet
namestrStringjaStored display name or translation key.
security_levelinti64jaSecurity-level ID governing access to this field, resolved from installation masterdata.
shortyOptional[str]Option<String>Abbreviated label.
sort_keyinti64jaDisplay-order value within its category.
use_as_placeholderbooljaWhether the field may be used as a placeholder.
deprecatedDbFieldDeprecatedjaCompatibility mappings emitted by the backend.
columnstrStringUnderlying database column; prefer key for API requests. veraltet
created_by_churchbooljaTrue for a custom field created by this ChurchTools installation.
field_categoryDbFieldCategoryjaStored field category and its underlying entity table.
field_typeDbFieldTypejaDatabase-field type definition.
hide_in_frontendbooljaStored flag controlling frontend visibility; current updates reset it to false.
idinti64jaField-definition ID used in /dbfields paths.
is_basic_infobooljaWhether the field is marked as basic information; current updates reset it to false.
is_not_configurablebooljaWhether the field is marked as non-configurable; current updates reset it to false.
is_nullablebooljaWhether stored field values may be null.
keystrStringjaAPI property name. Built-in columns are mapped to API names; custom fields normally retain their generated column name.
name_translatedstrStringjaLocalized display name for the current language.
not_configurableboolDeprecated alias of isNotConfigurable. veraltet
nullableboolDeprecated alias of isNullable. veraltet
optionsList[DbFieldOption]Vec<DbFieldOption>Optional choices, included by an unfiltered list with include[]=options.
GroupMemberFieldPersonUpdate2 Felder

Upsert settings for the person-field link.

FeldTypPflichtBeschreibung
required_in_registration_formbooljaWhether the person field is required in this group’s signup form.
sort_keyinti64jaDisplay order among this group’s person and membership fields.
GroupMemberFieldsItem4 Felder
FeldTypPflichtBeschreibung
idinti64jaID of the group member field definition.
namestrStringjaDisplay name of the field.
sort_keyinti64jaField display order.
valueOptional[Union[str, List[str]]]serde_json::ValueValue formatted according to the field type.
GroupMemberGroup11 Felder

Group to which this membership belongs.

FeldTypPflichtBeschreibung
api_urlstrStringja
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectGroupDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
GroupMemberHistoryEntry7 Felder

Legacy membership history with snapshots immediately after and before an event.

FeldTypPflichtBeschreibung
currentGroupMemberHistoryEntryCurrentjaState after this change.
group_idinti64jaGroup whose membership changed.
idinti64jaHistory entry ID. Use the last returned ID as offset_id to fetch older entries.
member_idinti64jaPerson ID, not the membership row ID.
metaMetaDataCreatedIdja
originOptional[str]Option<String>Recorded source of the change; older entries can have no source.
previousGroupMemberHistoryEntryPreviousjaState from the linked previous history entry, independently of filters and pagination.
GroupMemberHistoryEntryCurrent6 Felder

State after this change.

FeldTypPflichtBeschreibung
commentOptional[str]Option<String>Membership comment at this point; empty strings and the string 0 serialize as null.
end_dateOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
fieldsOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueHistorical field values by display name.
member_role_idOptional[int]Option<i64>Group-type role ID at this point, or null when there is no membership.
membership_statusOptional[str]Option<String>Membership workflow state at this point, or null after removal/before creation.
start_dateOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
GroupMemberHistoryEntryPrevious6 Felder

State from the linked previous history entry, independently of filters and pagination.

FeldTypPflichtBeschreibung
commentOptional[str]Option<String>Membership comment at this point; empty strings and the string 0 serialize as null.
end_dateOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
fieldsOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueHistorical field values by display name.
member_role_idOptional[int]Option<i64>Group-type role ID at this point, or null when there is no membership.
membership_statusOptional[str]Option<String>Membership workflow state at this point, or null after removal/before creation.
start_dateOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
GroupMemberMeeting2 Felder

One group meeting paired with the requested person’s recorded attendance, if any.

FeldTypPflichtBeschreibung
group_meetingGroupMeetingForMemberjaGroup meeting as returned by the member history endpoint.
statusOptional[str]Option<String>Stored attendance status, or null when no attendance record exists.
GroupMemberNewsletter2 Felder

Newsletter subscription information, included when the member list is requested with include=newsletter.

FeldTypPflichtBeschreibung
idinti64ja
newsletterStrMap[GroupMemberNewsletterPersonStatus]BTreeMap<String, GroupMemberNewsletterPersonStatus>ja
GroupMemberNewsletterPersonStatus4 Felder
FeldTypPflichtBeschreibung
doi_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
is_syncedboolja
is_unsubscribedboolja
sync_errorOptional[str]Option<String>
GroupMemberPerson11 Felder

Person who belongs to the group.

FeldTypPflichtBeschreibung
api_urlstrStringja
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>ja
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectPersonDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringjauser for an ordinary person; user-shield for a censored person placeholder.
GroupMemberShort6 Felder
FeldTypPflichtBeschreibung
deletedbooljaWhether this row represents a deleted historical membership
group_idinti64ja
group_member_statusOptional[str]Option<String>
group_type_role_idinti64ja
last_changeOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
person_idinti64ja
GroupMemberStatistic6 Felder

Statistics for one authorized requested field.

FeldTypPflichtBeschreibung
dataList[Union[GroupMemberStatisticBucket, GroupMemberStatisticDateExtreme]]Vec<serde_json::Value>jaPerson date fields return earliest/latest records.
field_typestrStringjaIdentifies the namespace of key.
field_type_codestrStringjaInput/storage type. select and radioselect use one option, multiselect uses multiple options.
keyUnion[int, str]serde_json::ValuejaInteger membership-field ID for groupMemberField; database field key for personField.
missinginti64jaMissing values. Membership-field defaults may supply absent values; treatment differs between select-like and other field types.
totalinti64jaFor membership fields and person date fields: matching non-archived memberships.
GroupMemberStatisticBucket2 Felder

Frequency of a stored value or option label.

FeldTypPflichtBeschreibung
countinti64jaNumber of occurrences of this value.
keystrStringjaStored value; select-like membership fields resolve option IDs to labels.
GroupMemberStatisticDateExtreme4 Felder

Earliest or latest non-null value of a person date field.

FeldTypPflichtBeschreibung
domain_objectDomainObjectPersonjaPerson as Domain Object
idinti64jaPerson ID for this extreme; ties are not ordered by person ID.
titlestrStringjaTranslated earliest/latest label in the request language.
valuedatetimeDateTime<Utc>jaDate field value converted to a UTC timestamp.
GroupMemberStatistics7 Felder
FeldTypPflichtBeschreibung
activefloatf64ja
leadersfloatf64ja
participantsfloatf64ja
requestedfloatf64ja
seats_takenfloatf64jaMembers in counted roles with a status selected in settings.statusesCountedTowardsSeats.
to_deletefloatf64ja
waitingfloatf64ja
GroupMembershipRoutine5 Felder

Binds a routine to one group, group-type role and membership status.

FeldTypPflichtBeschreibung
group_idinti64jaGroup using this routine.
group_member_statusstrStringjaState of a person's membership in a group, independent of their role.
group_type_role_idinti64jaGroup-type role ID for which this binding applies.
idinti64jaID of this role/status binding, distinct from routine.id.
routineRoutinejaAutomation definition, including enabled and disabled steps as a nested tree.
GroupMembershipRoutineUpdate1 Felder

Create-if-missing binding request.

FeldTypPflichtBeschreibung
routine_idinti64ID of an existing routine with no steps.
GroupModifiedPerson1 Felder
FeldTypPflichtBeschreibung
idinti64ja
GroupPermissions2 Felder
FeldTypPflichtBeschreibung
start_chatbooljaCurrent user can start chat.
use_chatbooljaCurrent user can use the chat.
GroupPostStatistics2 Felder

Counts currently published, unexpired, non-banned posts by their configured group visibility.

FeldTypPflichtBeschreibung
group_interninti64jaPosts restricted to group members.
group_visibleinti64jaPosts visible to people who can see the group.
GroupPublicPostsStatistic2 Felder
FeldTypPflichtBeschreibung
countfloatf64ja
last_post_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
GroupQRCodeCheckin9 Felder

Stored check-in ticket for one person and group.

FeldTypPflichtBeschreibung
domain_idinti64jaChurchTools group ID.
domain_typestrStringjaTicket domain for these routes.
downloaded_dateOptional[datetime]Option<DateTime<Utc>>Most recent PDF-link generation recorded as downloaded; this does not prove the PDF was retrieved.
expiry_dateOptional[datetime]Option<DateTime<Utc>>Optional ticket expiry.
is_queuedbooljaWhether an email job is currently queued; this does not confirm delivery.
person_idinti64jaPerson for whom the ticket was issued.
sent_dateOptional[datetime]Option<DateTime<Utc>>Most recent recorded email-send time; null until marked sent.
tokenstrStringjaOpaque ticket credential encoded with the person/group IDs in the QR code.
used_dateOptional[datetime]Option<DateTime<Utc>>Most recent recorded ticket use; this field alone does not prove attendance was successfully saved.
GroupRole19 Felder

A shared group-type role combined with its settings for one concrete group.

FeldTypPflichtBeschreibung
group_type_idinti64jaID of the group type this role belongs to.
grow_path_idOptional[int]Option<i64>Growth-path association for this role in this group, or null when none is set.
is_defaultbooljaWhether this is the default role for its group type.
is_hiddenbooljaWhether this role is marked as hidden for displays that exclude hidden roles, such as leader listings.
is_leaderboolLegacy response field indicating whether type is leader. veraltet
namestrStringjaStored name of the role.
shortystrStringjaAbbreviated label for the role, used in compact displays.
sort_keyinti64jaDisplay order among roles.
type_r#typestrStringjaFunctional classification of the role.
idinti64jaID of the role settings record for this group.
name_translatedstrStringjaLocalized display name, translated from the stored name when a translation exists.
can_read_chatbooljaWhether members in this role are allowed to read the group chat.
can_write_chatbooljaWhether members in this role are allowed to write in the group chat.
counts_towards_seatsbooljaWhether memberships in this role count towards the group's participant capacity.
force_two_factor_authbooljaWhether members in this role are required to use two-factor authentication.
group_type_role_idinti64jaID of the shared role definition from GET /group/roles.
html_template_idsOptional[List[int]]Option<Vec<i64>>IDs of HTML templates available for membership documents in this role; null when no template list is stored.
is_activebooljaWhether this role is enabled for use in this group.
receive_qr_codebooljaWhether members in this role receive a QR code for group check-in.
GroupRoleUpdate8 Felder

Change only the supplied settings for a role in one group; omitted fields retain their current values.

FeldTypPflichtBeschreibung
can_read_chatboolAllow members in this role to read the group chat.
can_write_chatboolAllow members in this role to write in the group chat.
counts_towards_seatsboolCount memberships in this role towards the group's participant capacity.
force_two_factor_authboolRequire members in this role to use two-factor authentication.
grow_path_idOptional[int]Option<i64>Set the growth-path association for this role in this group.
html_template_idsList[int]Vec<i64>Replace the list of HTML templates available for membership documents in this role.
is_activeboolEnable or disable this role in the group.
receive_qr_codeboolEnable check-in QR codes for members in this role.
GroupSettings42 Felder
FeldTypPflichtBeschreibung
allow_child_registrationbooljaOwn children are listed as option during group sign up.
allow_other_registrationbooljaIt is allowed to sign up other people uring group sign up.
allow_same_email_registrationbooljaPeople with same eMail address are listed as option during group sign up.
allow_spouse_registrationbooljaSpouse is listed as option during group sign up.
allow_waitinglistbooljaWaiting list is in-/active for this group.
appointment_idOptional[int]Option<i64>If set (together with appointmentStartDate), the group is a signup group for the specified appointment
appointment_start_dateOptional[datetime]Option<DateTime<Utc>>If set (together with appointmentId), the group is a signup group for the specified appointment
auto_acceptbooljaIndicator if applications are accepted automatically.
automatic_move_upbooljaIn combination with waiting list: People automatically move up in waiting list.
chat_history_visiblebooljaIndicator whether the chat history should be visible for new chat group members.
default_post_comments_activebooljaDefault value for whether posts can be commented on.
default_post_notification_scopeOptional[str]Option<String>Default value for post notification scope.
default_post_placeholder_textOptional[str]Option<String>Default placeholder text for entering post content.
default_post_visibilitystrStringja
dynamic_group_rule_setOptional[List[DynamicGroupRule]]Option<Vec<DynamicGroupRule>>Rule set for dynamic group update.
dynamic_group_statusOptional[str]Option<String>Controls automatic membership refresh: active participates in scheduled and manual refreshes; manual allows explicit refresh only; inactive blocks both; none disables dynamic-group behavior without deleting stored rules or existing memberships.
dynamic_group_update_finishedOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
dynamic_group_update_startedOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
email_verification_modestrStringjaControls email verification for anonymous group signups.
external_post_subscriptions_enabledbooljaIndicator if posts of this groups are featured to subscribe
group_meetingGroupSettingsGroupMeetingja
in_statisticboolja
inform_leaderbooljaInform leader via e-mail about changes.
is_hiddenboolja
is_open_for_membersbooljaIndicator if people can sign up for group membership.
is_publicboolja
max_membersOptional[int]Option<i64>The maximum number of group members in counted roles and statuses.
new_memberGroupSettingsNewMemberjaCampus, status, and department for newly created persons.
posts_enabledboolja
qr_code_checkinbooljaQR Codes are sent to participants, which can be used during check-in
qr_code_checkin_automatic_emailbooljaQR Codes are not automatically sent via email
send_default_sign_up_mailbooljaSend default sign up email to new members.
show_streetboolja
sign_up_closing_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
sign_up_email_required_for_allboolEmail is required for all participants during group sign up (spouse, children, others).
sign_up_headlineOptional[str]Option<String>Headline for group sign up.
sign_up_notification_sent_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
sign_up_opening_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
sign_up_override_role_idOptional[int]Option<i64>
statuses_counted_towards_seatsList[str]Vec<String>jaMembership statuses that occupy seats when their role counts towards seats.
visibilitystrStringjaThe visibility of a group.
waitinglist_max_personsOptional[int]Option<i64>Maximum number of persons on waiting list.
GroupSettingsGroupMeeting2 Felder
FeldTypPflichtBeschreibung
auto_createbooljaAutomatically create group meetings.
template_idOptional[int]Option<i64>Template for group meetings.
GroupSettingsNewMember3 Felder

Campus, status, and department for newly created persons.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>
department_idOptional[int]Option<i64>
status_idOptional[int]Option<i64>
GroupSignUpConditions21 Felder

Specifies conditions required to sign up in this group.

FeldTypPflichtBeschreibung
deprecatedStrMap[str]BTreeMap<String, String>ja
at_least_one_leader_can_create_new_personboolja
can_contact_leaderbooljaIf false, none of the group's leaders have an email address set.
can_sign_upboolja
can_sign_up_as_new_personboolja
default_role_set_in_groupbool veraltet
end_date_not_passedbooljaIf false, the group's end date has passed and nobody can sign up.
group_allows_waitinglistboolja
group_has_leaderbooljaIf false, no leader is set for the group and nobody can sign up.
group_has_space_for_requestsboolja
group_has_space_on_waitinglistboolja
group_is_activebooljaIf false, the group is not in active state and nobody can sign up.
group_is_not_fullbooljaIf false, the group's max number of members is reached and nobody can sign up.
group_is_not_hiddenbooljaIf false, the group is set to hidden and nobody can sign up.
group_is_open_for_membersbooljaIf false, the group is not set to be open for members and nobody can sign up.
group_is_publicbooljaIf false, the group is not public and only users already signed in are allowed to sign up.
group_visibilitystrStringjaThe visibility of a group.
new_person_department_is_setbooljaIf false, the default department for new users is not set.
new_person_station_is_setbooljaIf false, the default station for new users is not set.
new_person_status_is_setbooljaIf false, the default status for new users is not set.
sign_up_role_set_in_groupbooljaIf false, the sign-up role is not set for the group and nobody can sign up when that role is required.
GroupSignUpNotificationRequest1 Felder

Options for sending or previewing the group sign-up notification.

FeldTypPflichtBeschreibung
dry_runboolPreview recipient selection without sending or marking the group as notified.
GroupSignUpNotificationResult1 Felder

Recipient selection count for a group sign-up push notification.

FeldTypPflichtBeschreibung
sent_to_countinti64jaNumber of selected recipient rows, also in dry runs.
GroupSignupConditions19 Felder
FeldTypPflichtBeschreibung
can_contact_leaderboolja
can_sign_upboolja
can_sign_up_as_new_personboolja
default_role_set_in_groupboolja
end_date_not_passedboolja
group_allows_waitinglistboolja
group_has_leaderboolja
group_has_space_for_requestsboolja
group_has_space_on_waitinglistboolja
group_is_activeboolja
group_is_not_fullboolja
group_is_not_hiddenboolja
group_is_open_for_membersboolja
group_is_publicboolja
group_visibilitystrStringjaThe visibility of a group.
new_person_department_is_setboolja
new_person_station_is_setboolja
new_person_status_is_setboolja
sign_up_role_set_in_groupboolja
GroupStatistics2 Felder

Per-role/status counts restricted to visible members, alongside capacity counters for the full group.

FeldTypPflichtBeschreibung
membersUnion[StrMap[GroupStatisticsMembersVariant1Value], List[Any]]serde_json::ValuejaHistogram keyed by group-type-role ID and membership status, for example 8:active.
unfilteredGroupMemberCountsjaGroup-wide capacity counters, independent of the caller’s individual member visibility.
GroupStatisticsMembersVariant1Value2 Felder
FeldTypPflichtBeschreibung
countinti64jaNumber of visible memberships in this role/status.
keystrStringjaRepeats the map key: role definition ID followed by workflow status.
GroupStatus4 Felder
FeldTypPflichtBeschreibung
idinti64ja
namestrStringja
name_translatedstrStringja
sort_keyinti64ja
GroupType14 Felder

A configurable type shared by groups, such as small groups or ministry teams.

FeldTypPflichtBeschreibung
available_for_new_personbooljaWhether eligible groups of this type are offered for membership selection when creating a person in the ChurchTools UI.
colorstrStringjaChurchTools color token used to display this group type; not a hexadecimal color code.
descriptionOptional[str]Option<String>Optional explanatory text for this group type.
is_leader_necessarybooljaWhether groups of this type are expected to retain a leader.
namestrStringjaStored singular name of the group type.
name_pluralstrStringjaStored plural name of the group type.
permission_depthinti64jaNumber of child-group levels to which permissions configured for this group type are inherited.
posts_enabledbooljaWhether posts are enabled for groups of this type.
shortystrStringjaShort label used to identify this group type in compact displays.
sort_keyinti64jaDisplay order of the group type.
idinti64jaID of the group type in this ChurchTools installation.
metaGroupTypeMetajaCreation and last modification timestamps and person IDs for this group type.
name_plural_translatedstrStringjaPlural display name translated into the current language, if a translation exists.
name_translatedstrStringjaSingular display name translated into the current language, if a translation exists.
GroupTypeChangeUpdate2 Felder

Changes the group type and migrates type-specific role references.

FeldTypPflichtBeschreibung
group_type_idinti64jaID of the target group type.
role_mappingStrMap[int]BTreeMap<String, i64>jaMap each old group-type role ID (JSON key) to its target role ID in the new type.
GroupTypeCreate10 Felder
FeldTypPflichtBeschreibung
available_for_new_personbooljaWhether eligible groups of this type are offered for membership selection when creating a person in the ChurchTools UI.
colorstrStringjaChurchTools color token used to display this group type; not a hexadecimal color code.
descriptionOptional[str]Option<String>Optional explanatory text for this group type.
is_leader_necessarybooljaWhether groups of this type are expected to retain a leader.
namestrStringjaStored singular name of the group type.
name_pluralstrStringjaStored plural name of the group type.
permission_depthinti64jaNumber of child-group levels to which permissions configured for this group type are inherited.
posts_enabledbooljaWhether posts are enabled for groups of this type.
shortystrStringjaShort label used to identify this group type in compact displays.
sort_keyinti64jaDisplay order of the group type.
GroupTypeMeta4 Felder

Creation and last modification timestamps and person IDs for this group type.

FeldTypPflichtBeschreibung
created_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
created_personMetaDataPersonIdja
modified_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
modified_personMetaDataPersonIdja
GroupWikiCategoryPagesItem3 Felder

One wiki category made available through the current user’s role in this group, with a limited list of latest page versions.

FeldTypPflichtBeschreibung
categoryGroupWikiCategoryPagesItemCategoryjaCategory metadata with edit/delete permissions for the current user.
pagesList[SimpleWikiPage]Vec<SimpleWikiPage>jaLatest page versions ordered by most recent modification then title; contains no text or previews.
totalinti64jaTotal eligible latest-version pages in this category, before the per-category limit.
GroupWikiCategoryPagesItemCategory8 Felder

Category metadata with edit/delete permissions for the current user.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Campus association, or null when no campus is assigned.
file_access_without_permissionbooljaWhether files in this wiki category can be read without category-view permission.
in_menubooljaWhether the category should appear in navigation menus; it is still returned by the category catalog when false.
namestrStringjaCategory name; unlike page titles it is not trimmed.
sort_keyinti64jaSort order; negative values are accepted.
idinti64jaWiki category ID used in category/page endpoint URLs.
name_translatedstrStringjaDisplay name translated for the current request language.
permissionsGroupWikiCategoryPagesItemCategoryPermissionsjaPage-operation hints based on category edit rights.
GroupWikiCategoryPagesItemCategoryPermissions2 Felder

Page-operation hints based on category edit rights.

FeldTypPflichtBeschreibung
can_deletebool
can_editbool
GroupedGroups2 Felder
FeldTypPflichtBeschreibung
grouped_bystrStringja
grouped_groupsStrMap[GroupedGroupsGroupedGroupsValue]BTreeMap<String, GroupedGroupsGroupedGroupsValue>ja
GroupedGroupsGroupedGroupsValue3 Felder
FeldTypPflichtBeschreibung
allinti64ja
group_previewsList[DomainObjectGroup]Vec<DomainObjectGroup>ja
keystrStringja
GrowPath6 Felder

A growth-path stage used to classify a person’s progress through group participation.

FeldTypPflichtBeschreibung
colorstrStringjaStored display color key.
idinti64jaStage ID referenced by roles and the calculated person growPathId.
metaMetaDataEntityIdja
namestrStringjaStored stage name or translation key.
name_translatedstrStringjaDisplay name translated for the current language.
sort_keyinti64jaDisplay order and priority for person-stage calculation.
GrowPathCreate3 Felder

Create a stage used by role-based person growth-path calculation.

FeldTypPflichtBeschreibung
colorUnion[str, str]serde_json::ValuejaColor key accepted by the growth-path validator.
namestrStringjaTrimmed stage name or translation key, 1–100 characters.
sort_keyinti64Nonnegative display order and calculation priority; defaults to 0.
GrowPathUpdate3 Felder

Replacement stage fields.

FeldTypPflichtBeschreibung
colorUnion[str, str]serde_json::ValuejaColor key accepted by the growth-path validator.
namestrStringjaTrimmed stage name or translation key, 1–100 characters.
sort_keyinti64Nonnegative display order and calculation priority; defaults to 0.
HistoryBeforeAfterValue8 Felder
FeldTypPflichtBeschreibung
after_valueOptional[str]Option<String>
after_value_translatedOptional[str]Option<String>
before_valueOptional[str]Option<String>
before_value_translatedOptional[str]Option<String>
idinti64ja
keystrStringja
key_translatedstrStringja
type_r#typestrStringjaType and serialization format of the historical value
HistoryEntry9 Felder
FeldTypPflichtBeschreibung
actionstrStringja
before_after_valuesList[HistoryBeforeAfterValue]Vec<HistoryBeforeAfterValue>ja
idinti64ja
linksList[HistoryLink]Vec<HistoryLink>ja
metaMetaDataEntityIdja
originOptional[str]Option<String>
translated_titlestrStringja
translation_argsStrMap[str]BTreeMap<String, String>ja
translation_keystrStringja
HtmlTemplate8 Felder

Stored template metadata.

FeldTypPflichtBeschreibung
domain_typestrStringjaTemplate purpose: email for group-member emails, bulkletter for mail-merged letters, groupmember-document for membership documents, and donation-receipt-letter/attachment for donation receipt output.
is_globalbooljaWhether the template is shared for its domain.
namestrStringjaDisplay name of the HTML template.
html_file_idOptional[int]Option<i64>ID of the stored HTML content file, or null if no HTML content is stored.
idinti64jaID of the HTML template.
metaMetaDataEntityIdja
mjml_file_idOptional[int]Option<i64>ID of the stored MJML content file, or null if no MJML content is stored.
ownerOptional[DomainObjectPerson]Option<DomainObjectPerson>Creator/owner of the template, including global templates; null is possible for imported or legacy ownerless records.
HtmlTemplateAssetUpload3 Felder

Editor asset descriptor for one stored image upload; does not include a file ID or general file metadata.

FeldTypPflichtBeschreibung
namestrStringjaOriginal uploaded file name.
srcstrStringjaAbsolute image URL with crop=original, suitable for embedding in the template.
type_r#typestrStringjaUploaded asset type used by the editor.
HtmlTemplateCreate6 Felder

Creates template metadata owned by the current user, with independently optional HTML and MJML source files.

FeldTypPflichtBeschreibung
domain_typestrStringjaTemplate purpose: email for group-member emails, bulkletter for mail-merged letters, groupmember-document for membership documents, and donation-receipt-letter/attachment for donation receipt output.
is_globalboolWhether the template is shared for its domain.
namestrStringjaDisplay name of the HTML template.
copy_assets_from_idOptional[int]Option<i64>Copy image asset files from this template ID after creating the new template.
htmlOptional[str]Option<String>HTML source; omitted/null stores no HTML file.
mjmlOptional[str]Option<String>MJML editor source; omitted/null stores no MJML file.
HtmlTemplateInfo2 Felder

Identifier and display name of an HTML document template.

FeldTypPflichtBeschreibung
idinti64jaTemplate ID used when requesting the generated membership document.
namestrStringja
HtmlTemplateUpdate5 Felder

Partial metadata/content update.

FeldTypPflichtBeschreibung
htmlOptional[str]Option<String>Replace HTML source when nonempty and truthy; null/omission and the string 0 preserve existing content.
html_file_idOptional[int]Option<i64>Attach a file in the html_template domain, either already belonging to this template or an unbound upload (domainId=-1) created by the current user.
is_globalOptional[bool]Option<bool>Change shared availability; null/omission preserves it.
mjmlOptional[str]Option<String>Replace MJML source independently; null/omission and the string 0 preserve it.
nameOptional[str]Option<String>New trimmed display name; null/omission preserves it.
Image19 Felder

Public image attribution, AI disclosure and alternative text.

FeldTypPflichtBeschreibung
ai_generatedbooljaWhether the image was generated with AI.
annotationOptional[str]Option<String>Image credit or attribution.
annotation_linkOptional[str]Option<String>Attribution link.
descriptionOptional[str]Option<String>Alternative text describing the image for screen readers.
additional_infosList[str]Vec<String>ja
domain_idstrStringja
domain_typestrStringja
file_urlstrStringja
filenamestrStringja
idinti64ja
image_optionImageImageOptionja
image_urlstrStringja
metaMetaDataEntityIdja
namestrStringja
relative_urlstrStringja
security_level_idOptional[int]Option<i64>
show_only_when_editableboolja
sizeOptional[int]Option<i64>
type_r#typestrStringja
ImageImageOption2 Felder
FeldTypPflichtBeschreibung
cropImageImageOptionCrop
focusImageImageOptionFocus
ImageImageOptionCrop4 Felder
FeldTypPflichtBeschreibung
bottomstrString
leftstrString
rightstrString
topstrString
ImageImageOptionFocus2 Felder
FeldTypPflichtBeschreibung
xstrString
ystrString
ImageMetadataUpdateResult12 Felder

Image metadata returned after an update.

FeldTypPflichtBeschreibung
ai_generatedbooljaWhether the image was generated with AI.
annotationOptional[str]Option<String>Image credit or attribution.
annotation_linkOptional[str]Option<String>Attribution link.
descriptionOptional[str]Option<String>Alternative text describing the image for screen readers.
domain_identifierOptional[str]Option<String>Identifier of the object owning the image.
domain_typestrStringjaFile domain selecting the owning resource and update policy.
filenamestrStringjaStorage filename; different from the public URL hash.
idinti64jaStored file ID.
namestrStringjaOriginal display filename, including extension.
security_level_idOptional[int]Option<i64>File security level.
sizeOptional[int]Option<i64>File size in bytes.
urlstrStringjaAbsolute public image URL.
ImageUpdate6 Felder

Image metadata update used by both image update routes.

FeldTypPflichtBeschreibung
ai_generatedboolWhether the image was generated with AI.
annotationOptional[str]Option<String>Image credit or attribution.
annotation_linkOptional[str]Option<String>Attribution link.
descriptionOptional[str]Option<String>Alternative text describing the image for screen readers.
image_optionsOptional[str]Option<String>Legacy alias for options. veraltet
optionsOptional[str]Option<String>JSON-encoded image options.
InternalEventPermissions3 Felder

Internal permissions derived from the current user's groups linked to service roles.

FeldTypPflichtBeschreibung
internal_permsUnion[InternalEventRights, List[Any]]serde_json::ValuejaEvent-level rights from connected groups with valid service assignments in this event.
service_groupsUnion[StrMap[InternalEventServiceGroupRights], List[Any]]serde_json::ValuejaService-group IDs mapped to granted rights.
servicesUnion[StrMap[InternalEventServiceRights], List[Any]]serde_json::ValuejaService-role IDs mapped to granted rights.
InternalEventRights4 Felder

Sparse map of granted internal group permissions.

FeldTypPflichtBeschreibung
attach_filebool
edit_agendabool
edit_eventbool
edit_infobool
InternalEventServiceGroupRights2 Felder

Sparse map of granted internal group permissions.

FeldTypPflichtBeschreibung
view_absencebool
view_servicebool
InternalEventServiceRights8 Felder

Sparse map of granted internal group permissions.

FeldTypPflichtBeschreibung
admin_servicebool
edit_servicebool
entry_allbool
entry_freebool
see_historybool
see_reasonbool
see_workloadbool
start_event_chatbool
InternalGroupPermissions3 Felder

Current user’s group-internal values for a target group, grouped by active module.

FeldTypPflichtBeschreibung
churchdbInternalGroupPermissionsChurchdbjaGroup-internal permission values from the churchdb module.
churchserviceInternalGroupPermissionsChurchserviceGroup-internal permission values from the churchservice module.
financeInternalGroupPermissionsFinanceGroup-internal permission values from the finance module.
InternalGroupPermissionsChurchdb43 Felder

Group-internal permission values from the churchdb module.

FeldTypPflichtBeschreibung
add_personbool
admin_automatic_emailsbool
admin_followupbool
admin_group_chatbool
admin_group_fieldsboolUse "+admin group member fields" instead. veraltet
admin_group_member_fieldsbool
admin_meetingsbool
admin_postsbool
admin_routinesbool
create_groupUnion[int, List[int]]serde_json::Value
create_notesbool
create_post_group_internbool
create_post_group_visiblebool
create_postsboolLegacy derived flag, returned by the single-group endpoint as the conjunction of +create post group intern and +create post group visible.
do_followupbool
do_group_meetingbool
edit_basic_group_membershipsbool
edit_group_basic_settingsbool
edit_group_fieldsinti64Use "edit group member fields" instead. veraltet
edit_group_hierarchybool
edit_group_infosbool
edit_group_member_fieldsinti64
edit_group_membershipsboolCompatibility flag derived from +edit basic group memberships OR +edit group member fields. veraltet
edit_groupmemberstatusbool
edit_own_group_member_fieldsinti64
edit_own_groupmemberfieldsinti64Use "+edit own group member fields" instead. veraltet
edit_person_fields_of_group_membersinti64
edit_personsboolUse "+edit person fields of group members" instead. veraltet
exit_groupbool
export_group_membersbool
get_emailsbool
invite_personbool
mail_group_membersbool
remove_from_groupbool
see_groupinti64
see_group_member_fieldsinti64
see_group_tagsbool
see_groupmemberfieldsinti64Use "+see group member fields" instead. veraltet
see_hidden_groupbool
see_own_group_member_fieldsinti64
see_personsinti64
see_tagsbool
view_historybool
InternalGroupPermissionsChurchservice14 Felder

Group-internal permission values from the churchservice module.

FeldTypPflichtBeschreibung
admin_servicebool
attach_filebool
edit_agendabool
edit_eventbool
edit_infobool
edit_servicebool
entry_allbool
entry_freebool
see_historybool
see_reasonbool
see_workloadbool
start_event_chatbool
view_absencebool
view_servicebool
InternalGroupPermissionsFinance4 Felder

Group-internal permission values from the finance module.

FeldTypPflichtBeschreibung
allow_postingbool
see_cost_center_budgetsbool
see_cost_centersbool
see_donators_in_cost_centersbool
InternalPersonPermissions2 Felder

Current user’s internal permission values toward a target person.

FeldTypPflichtBeschreibung
churchdbInternalPersonPermissionsChurchdbja
churchserviceInternalPersonPermissionsChurchserviceOnly present when the service module and its person-related definitions are active.
InternalPersonPermissionsChurchdb6 Felder
FeldTypPflichtBeschreibung
do_followupbool
edit_person_fields_of_group_membersinti64
edit_personsboolCompatibility flag derived from +edit person fields of group members > 0. veraltet
invite_personbool
see_personsinti64
see_tagsbool
InternalPersonPermissionsChurchservice1 Felder

Only present when the service module and its person-related definitions are active.

FeldTypPflichtBeschreibung
see_workloadbool
Job8 Felder

Persisted background-job summary.

FeldTypPflichtBeschreibung
created_dateOptional[datetime]Option<DateTime<Utc>>Scheduling timestamp.
domain_idOptional[int]Option<i64>ID of the associated business object.
domain_typeOptional[str]Option<String>Kind of business object associated with the job.
identifierstrStringjaOpaque identifier returned when the job was scheduled.
is_dry_runbooljaWhether the job was scheduled as a dry run.
modified_dateOptional[datetime]Option<DateTime<Utc>>Last status-update timestamp.
namestrStringjaRegistered worker job name; an extensible key, not localized display text.
statusstrStringjaStored background-job status.
JobConfigurationReturn15 Felder

Stored sync job configuration.

FeldTypPflichtBeschreibung
auto_schedule_enabledbooljaWhether the periodic scheduler can start this job.
create_behavior_esstrStringjaWhether records may be created or updated.
create_behavior_masterstrStringjaWhether records may be created or updated.
create_defaults_esOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueAdapter-specific defaults for newly created records on this side.
create_defaults_masterOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueAdapter-specific defaults for newly created records on this side.
delete_behavior_esstrStringjaHow deletions are handled on the specified side: retain, archive or delete.
delete_behavior_masterstrStringjaHow deletions are handled on the specified side: retain, archive or delete.
domain_typestrStringjaDomain supported by the adapter, such as person.
link_behaviorstrStringjaWhether matching records are linked: never, use an existing record, or merge when linking.
link_datastrStringjaWhich side supplies data: the most recently updated record, ChurchTools, or the external system.
namestrStringjaJob display name.
update_behaviorstrStringjaWhether records may be created or updated.
update_datastrStringjaWhich side supplies data: the most recently updated record, ChurchTools, or the external system.
external_systemExternalSystemjaConfigured external connection with masked access credentials.
idinti64jaJob configuration ID
JobGroupStatus3 Felder
FeldTypPflichtBeschreibung
jobsJobGroupStatusJobsja
namestrStringjaName of Job Group. __single__ is For Jobs Which don't Belong to a Group
totalinti64jaTotal Jobs in Queue of This Job Group
JobGroupStatusJobs4 Felder
FeldTypPflichtBeschreibung
buriedinti64jaNumber of Buried Jobs
deletedinti64jaNumber of Deleted Jobs (but still in Queue listed)
pendinginti64jaNumber of Pending Jobs
runninginti64jaNumber of Running Jobs
JobLogCreate1 Felder

Message appended to the application log for an existing background job.

FeldTypPflichtBeschreibung
log_messagestrStringjaLog message.
JobLogEntry5 Felder

One diagnostic entry produced by a background or bulk job.

FeldTypPflichtBeschreibung
element_idinti64jaIdentifier of the processed element.
element_namestrStringjaDisplay name recorded for the processed element.
fileOptional[str]Option<String>Source filename recorded with the diagnostic.
lineOptional[int]Option<i64>Source line recorded with the diagnostic.
messagestrStringjaDiagnostic text produced by the job; may be localized.
JobStatusUpdate2 Felder

Assigns a stored job status and emits the status-change event.

FeldTypPflichtBeschreibung
manualboolMarks the status change as manual.
statusstrStringjaStored background-job status.
LabelCreate4 Felder

Creates an address-label PDF for the selected visible persons.

FeldTypPflichtBeschreibung
combine_spousesboolCombine selected visible spouses linked by relationship type 2 into one label.
person_idsUnion[List[int], str, int]serde_json::ValuejaSelected person IDs. Prefer an array of integers; legacy comma-separated strings and a single integer are also accepted.
sortpolicystrStringname sorts by surname/given name; postal by country/postal code/street/name; birthday by month/day/year/name.
type_r#typestrStringjaA4 sheet layout: Avery3475 has 24 labels (70×36 mm), Herma4425 has 10 (105×57 mm), Herma4677 has 21 (63.5×38.1 mm).
LabelTotals2 Felder
FeldTypPflichtBeschreibung
ignore_addressLabelTotalsIgnoreAddressjaCounts regardless of missing address fields; PDF generation uses this population.
only_complete_addressLabelTotalsOnlyCompleteAddressjaCounts requiring nonempty street, postal code and city after optional spouse grouping.
LabelTotalsIgnoreAddress2 Felder

Counts regardless of missing address fields; PDF generation uses this population.

FeldTypPflichtBeschreibung
combined_labelsinti64jaCount after combining selected visible spouses.
total_labelsinti64jaCount with one label per visible selected person.
LabelTotalsOnlyCompleteAddress2 Felder

Counts requiring nonempty street, postal code and city after optional spouse grouping.

FeldTypPflichtBeschreibung
combined_labelsinti64jaCount after combining selected visible spouses.
total_labelsinti64jaCount with one label per visible selected person.
LabelTotalsRequest1 Felder

Read-only count request for address labels.

FeldTypPflichtBeschreibung
person_idsUnion[List[int], str, int]serde_json::ValuejaSelected person IDs. Prefer an array of integers; legacy comma-separated strings and a single integer are also accepted.
Language5 Felder
FeldTypPflichtBeschreibung
codestrStringjaThe language code is a two-letter code that represents the language.
idinti64ja
is_activeboolja
namestrStringja
sort_keyinti64ja
LegacyFileMetadata22 Felder

Deprecated raw cc_file database row with an added download URL.

FeldTypPflichtBeschreibung
ai_generated_ynstrStringjaRaw database boolean flag (0 or 1 as string).
annotationOptional[str]Option<String>
annotation_linkOptional[str]Option<String>
bezeichnungstrStringja
created_datestrStringjaRaw SQL datetime string without a timezone suffix; not the normalized ZuluDate representation.
created_pidstrStringjaRaw database numeric value returned as a string by the legacy connection.
descriptionOptional[str]Option<String>
domain_idstrStringja
domain_id_intOptional[str]Option<String>Raw database numeric value returned as a string by the legacy connection.
domain_typestrStringja
expiration_dateOptional[str]Option<String>Raw SQL datetime string without a timezone suffix; not the normalized ZuluDate representation.
file_size_bytesOptional[str]Option<String>Raw database numeric value returned as a string by the legacy connection.
filenameOptional[str]Option<String>Raw storage filename/hash or URL.
idstrStringjaRaw database numeric value returned as a string by the legacy connection.
image_metadataOptional[str]Option<String>JSON text stored in the database, not an expanded JSON object.
image_optionsOptional[str]Option<String>JSON text stored in the database, not an expanded JSON object.
modified_datestrStringjaRaw SQL datetime string without a timezone suffix; not the normalized ZuluDate representation.
modified_pidstrStringjaRaw database numeric value returned as a string by the legacy connection.
securitylevel_idOptional[str]Option<String>Raw database numeric value returned as a string by the legacy connection.
showonlywheneditable_ynstrStringjaRaw database boolean flag (0 or 1 as string).
sortkeystrStringjaRaw database numeric value returned as a string by the legacy connection.
urlstrStringjaLegacy download query built from filename without the file ID.
LinkingOpenGraph4 Felder
FeldTypPflichtBeschreibung
fetch_statusstrStringja
urlstrStringja
dataOptional[LinkingOpenGraphData]Option<LinkingOpenGraphData>
linking_typestrStringja
LinkingOpenGraphData15 Felder
FeldTypPflichtBeschreibung
articleOpenGraphArticle
audiosList[OpenGraphAudio]Vec<OpenGraphAudio>
bookOpenGraphBook
descriptionstrStringA brief description of the OpenGraph content.
determinerstrStringThe determiner for the noun in the content.
imagesList[OpenGraphImage]Vec<OpenGraphImage>
localestrStringThe locale of the OpenGraph object.
locales_alternateList[str]Vec<String>Alternate locales available.
musicOpenGraphMusic
profileOpenGraphProfile
site_namestrStringThe site name of the OpenGraph object.
titlestrStringThe title of the OpenGraph object.
type_r#typestrStringThe type of OpenGraph object.
urlstrStringThe URL of the OpenGraph object.
videosList[OpenGraphVideo]Vec<OpenGraphVideo>
LockedPermission2 Felder

A global restriction on changing one permission selection, across assignment domains.

FeldTypPflichtBeschreibung
auth_idinti64jaNumeric permission definition ID; locks may include group-internal (+) permissions as well as global permissions.
data_idOptional[int]Option<i64>Concrete data selection, -1 to lock all selections, or null for a boolean permission.
LockedPermissionChange2 Felder

Permission selection to lock or unlock.

FeldTypPflichtBeschreibung
auth_idinti64jaNumeric permission definition ID; locks may include group-internal (+) permissions as well as global permissions.
data_idOptional[int]Option<i64>Omit or use null for a boolean permission.
LockedPermissionState2 Felder
FeldTypPflichtBeschreibung
is_current_user_authorized_personbooljaWhether the current person belongs to the installation’s authorized contact-person list.
permissionsList[LockedPermission]Vec<LockedPermission>jaAll stored locks ordered by authId and dataId, including any locks for inactive or obsolete definitions.
LockedPermissionUpdate2 Felder

Atomic additions/removals, not replacement of the full lock list.

FeldTypPflichtBeschreibung
addList[LockedPermissionChange]Vec<LockedPermissionChange>jaLocks to add. Duplicates are collapsed and existing rows are retained.
removeList[LockedPermissionChange]Vec<LockedPermissionChange>jaExact locks to remove.
Log11 Felder

ChurchTools writes log messages for many events and changes.

FeldTypPflichtBeschreibung
datedatetimeDateTime<Utc>jaTimestamp of log
domain_idinti64jaAnalog to the domain type, the ID is the explicit resource.
domain_typestrStringjaThe domain type tells us, where in ChurchTools the action was performed.
idinti64ja
levelinti64jaThe log level indicates the importance.
messagestrStringja
personOptional[DomainObjectPerson]Option<DomainObjectPerson>
person_idinti64jaIf the person ID is -1, that means, no person but the system itself has logged that message.
person_namestrStringjaThe name of the person, who caused the log message.
simulate_personOptional[DomainObjectPerson]Option<DomainObjectPerson>
simulate_person_idOptional[int]Option<i64>If a person is simulated by an administrator, we log the personId as well.
LoginCreate3 Felder

Password credentials.

FeldTypPflichtBeschreibung
passwordstrStringjaAccount password; preserve spaces exactly.
usernamestrStringjaLogin name or email address.
remember_meOptional[bool]Option<bool>Request persistent browser login.
LoginCredentials2 Felder

Password credentials.

FeldTypPflichtBeschreibung
passwordstrStringjaAccount password; preserve spaces exactly.
usernamestrStringjaLogin name or email address.
LoginResult4 Felder

Result of the password step.

FeldTypPflichtBeschreibung
locationOptional[str]Option<String>Suggested navigation location.
messagestrStringjaHuman-readable status text; success is localized, while pending two-factor messages are currently fixed English text.
person_idinti64jaAuthenticated person ID, also returned before two-factor verification.
statusstrStringjasuccess: session login completed; totp: submit /login/totp; twoFactorSetup: initialize and activate /login/twofactor/setup.
LoginTokenResult2 Felder

Persistent person login token.

FeldTypPflichtBeschreibung
person_idinti64jaPerson authenticated by the supplied credentials.
tokenstrStringjaSensitive, persistent credential.
LoginTotpVerify2 Felder
FeldTypPflichtBeschreibung
codestrStringjaSix-digit current authenticator code.
person_idinti64jaPerson ID from the password step; must match the pending two-factor session.
MarkdownRequest2 Felder

Schema for validating markdown conversion requests

FeldTypPflichtBeschreibung
optionsMarkdownRequestOptionsGlobal options for all sources
sourcesList[MarkdownRequestSourcesItem]Vec<MarkdownRequestSourcesItem>ja
MarkdownRequestOptions2 Felder

Global options for all sources

FeldTypPflichtBeschreibung
common_languagestrString
default_output_scopestrString
MarkdownRequestSourcesItem6 Felder
FeldTypPflichtBeschreibung
input_scopestrStringjaThe scope of the input content
markdownstrStringjaThe markdown content to be processed
optionsMarkdownRequestSourcesItemOptionsAdditional processing options
output_formatsList[str]Vec<String>jaList of output formats for the processed markdown content
output_scopesList[str]Vec<String>jaList of scopes for the output content
short_namestrStringjaA short identifier for the source
MarkdownRequestSourcesItemOptions3 Felder

Additional processing options

FeldTypPflichtBeschreibung
allow_htmlbool
languagestrString
max_lengthinti64
MeetingRequest14 Felder

Invitation of one person to the stored calendar appointment/series.

FeldTypPflichtBeschreibung
acceptedOptional[bool]Option<bool>Use state instead veraltet
appointmentAppointmentBasejaStored calendar appointment defining a single occurrence or a series.
appointment_idinti64Use appointment instead veraltet
event_datedatetimeDateTime<Utc>Start of the stored appointment or series, not necessarily its next occurrence. veraltet
idinti64jaID of this meeting request.
inviteeMeetingRequestInviteejaPerson invited to the appointment.
inviterMeetingRequestInviterjaPerson issuing the invitation, derived from onBehalfOfPid when set or the user creating the request.
mail_send_dateOptional[datetime]Option<DateTime<Utc>>When the invitation mail was sent, or null.
metaMetaDataEntityIdja
next_end_dateOptional[datetime]Option<DateTime<Utc>>Next end date when populated by the calling workflow; may be null.
next_start_dateOptional[datetime]Option<DateTime<Utc>>Next start date when populated by the calling workflow; may be null.
personMeetingRequestPersonUse invitee instead veraltet
response_dateOptional[datetime]Option<DateTime<Utc>>When the invitee last responded, or null.
statestrStringjaResponse state: pending awaits an answer, accepted confirms attendance, declined refuses, tentative is undecided.
MeetingRequestCandidate6 Felder

One visible candidate for an appointment invitation.

FeldTypPflichtBeschreibung
group_nameOptional[str]Option<String>Source group name for groupMember candidates; null for other sources.
group_type_nameOptional[str]Option<String>Source group type name for groupTypeMember candidates; null for other sources.
has_emailbooljaWhether an email address is recorded; this does not confirm email delivery.
personDomainObjectPersonjaPerson as Domain Object
person_status_nameOptional[str]Option<String>Source person status name for personStatus candidates; null for other sources.
type_r#typestrStringjaCandidate source: direct calendar permission, person status, group membership, group type membership, or an existing invitation.
MeetingRequestCreate1 Felder

Invite one person to a calendar appointment or series.

FeldTypPflichtBeschreibung
invitee_idinti64jaID of the person to invite.
MeetingRequestIcsReply3 Felder

Reply forwarded by the external calendar-mail processor.

FeldTypPflichtBeschreibung
ics_contentstrStringjaRaw ICS reply used to compare appointment scope.
partstatstrStringjaParticipation status supplied by the calendar-mail processor.
tokenstrStringjaReply token embedded in the invitation.
MeetingRequestInvitee11 Felder

Person invited to the appointment.

FeldTypPflichtBeschreibung
api_urlstrStringja
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>ja
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectPersonDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringjauser for an ordinary person; user-shield for a censored person placeholder.
MeetingRequestInviter11 Felder

Person issuing the invitation, derived from onBehalfOfPid when set or the user creating the request.

FeldTypPflichtBeschreibung
api_urlstrStringja
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>ja
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectPersonDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringjauser for an ordinary person; user-shield for a censored person placeholder.
MeetingRequestPerson11 Felder

Use invitee instead

FeldTypPflichtBeschreibung
api_urlstrStringja
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>ja
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectPersonDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringjauser for an ordinary person; user-shield for a censored person placeholder.
MeetingRequestUpdate1 Felder

Answer a meeting request as its invitee.

FeldTypPflichtBeschreibung
answerstrStringjaAnswer accepted by meeting-request response endpoints.
MeetingTemplate4 Felder

Reusable feedback form for group meetings.

FeldTypPflichtBeschreibung
namestrStringjaName used to select this feedback template in group settings.
templateList[MeetingTemplateField]Vec<MeetingTemplateField>jaOrdered feedback fields and section headings.
idinti64jaID referenced by settings.groupMeeting.templateId on a group.
metaMeetingTemplateMetajaCreation and modification timestamps and person IDs for the template.
MeetingTemplateCreate2 Felder
FeldTypPflichtBeschreibung
namestrStringjaName used to select this feedback template in group settings.
templateList[MeetingTemplateField]Vec<MeetingTemplateField>jaOrdered feedback fields and section headings.
MeetingTemplateField4 Felder
FeldTypPflichtBeschreibung
labelstrStringjaVisible field label, or section heading for caption fields.
optionsOptional[Union[str, List[str]]]serde_json::ValueOnly applicable to select fields, where it is required and non-empty.
type_r#typestrStringjaForm control: input for a single line, textarea for multiple lines, checkbox for a check box, select for an option list, color for a color selection, or caption for a section heading without an answer field.
valueOptional[str]Option<String>Initial field value in a template, or the recorded answer in a meeting's pollResult.
MeetingTemplateMeta4 Felder

Creation and modification timestamps and person IDs for the template.

FeldTypPflichtBeschreibung
created_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
created_personMetaDataPersonIdja
modified_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
modified_personMetaDataPersonIdja
MemberPreview2 Felder

A role definition and a limited preview of its active, visible group members.

FeldTypPflichtBeschreibung
membersList[GroupMember]Vec<GroupMember>jaMembers selected for this role, limited by members_per_role.
roleMemberPreviewRolejaRole definition for the group type.
MemberPreviewRole11 Felder

Role definition for the group type.

FeldTypPflichtBeschreibung
group_type_idinti64jaID of the group type this role belongs to.
grow_path_idOptional[int]Option<i64>ID of the growth path associated with this role, or null for no association.
is_defaultbooljaWhether this is the default role for its group type.
is_hiddenbooljaWhether this role is marked as hidden for displays that exclude hidden roles, such as leader listings.
is_leaderboolLegacy response field indicating whether type is leader. veraltet
namestrStringjaStored name of the role.
shortystrStringjaAbbreviated label for the role, used in compact displays.
sort_keyinti64jaDisplay order among roles.
type_r#typestrStringjaFunctional classification of the role.
idinti64jaID of this role record.
name_translatedstrStringjaLocalized display name, translated from the stored name when a translation exists.
MembershipCreate11 Felder

Creates a membership linking the group and person from the path.

FeldTypPflichtBeschreibung
commentOptional[str]Option<String>Membership comment; surrounding whitespace is trimmed.
fieldsOptional[StrMap[Optional[Union[str, float, bool, List[Union[str, int]]]]]]Option<BTreeMap<String, serde_json::Value>>Values keyed by numeric membership-field definition ID.
group_member_statusOptional[str]Option<String>New memberships default to active for omitted/null status.
group_type_role_idinti64Role ID for this group type; 0 or omission selects its default role for creation.
ignore_group_fullboolSkip the group-capacity check when creating the membership.
ignore_waiting_list_fullboolAllow the update even when it would exceed waiting-list capacity.
inform_leaderboolWhether membership-change processing should inform group leaders.
member_end_dateOptional[date]Option<NaiveDate>End date or null; omission clears an existing end date in the legacy update path.
member_start_dateOptional[Union[date, datetime]]Option<DateOrDateTime>Date or UTC timestamp not in the future.
only_addboolReject with 403 if the person already belongs to the group.
waitinglist_positionOptional[int]Option<i64>0 selects the next free waiting-list position; a positive value selects that position.
MembershipUpdate9 Felder

Partial update of an existing membership.

FeldTypPflichtBeschreibung
commentOptional[str]Option<String>Membership comment; surrounding whitespace is trimmed.
fieldsOptional[StrMap[Optional[Union[str, float, bool, List[Union[str, int]]]]]]Option<BTreeMap<String, serde_json::Value>>Values keyed by numeric membership-field definition ID.
group_member_statusstrStringTarget membership workflow status; omitted preserves the existing status.
group_type_role_idOptional[int]Option<i64>Role definition ID belonging to the group type.
ignore_waiting_list_fullboolAllow the update even when it would exceed waiting-list capacity.
inform_leaderboolWhether membership-change processing should inform group leaders.
member_end_dateOptional[date]Option<NaiveDate>End date or null to clear.
member_start_dateOptional[Union[date, datetime]]Option<DateOrDateTime>Start date or UTC timestamp, not in the future.
waitinglist_positionOptional[int]Option<i64>Waiting-list position; 0 selects the next free position, null removes it.
MetaDataCreatedId2 Felder
FeldTypPflichtBeschreibung
created_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
created_personMetaDataPersonIdja
MetaDataEntityId4 Felder
FeldTypPflichtBeschreibung
created_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
created_personOptional[MetaDataPersonId]Option<MetaDataPersonId>
modified_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
modified_personOptional[MetaDataPersonId]Option<MetaDataPersonId>
MetaDataEntityPerson4 Felder
FeldTypPflichtBeschreibung
created_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
created_personOptional[DomainObjectPerson]Option<DomainObjectPerson>
modified_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
modified_personOptional[DomainObjectPerson]Option<DomainObjectPerson>
MetaDataPersonId1 Felder
FeldTypPflichtBeschreibung
idinti64ja
MovementSuggestion8 Felder

Proposed booking field.

FeldTypPflichtBeschreibung
billsList[Bill]Vec<Bill>Included only with include[]=bills.
confidenceinti64jaGenerator confidence used to choose between suggestions.
idinti64ja
namestrStringjaBooking field name, such as accountId, contraAccountId, amount, documentDate, documentNumber, costCenterId or bills.
reasonstrStringjaGenerator origin, such as import, user, transaction_details or user_rule-.
split_keyOptional[int]Option<i64>Groups fields belonging to one split child.
user_overwritebooljaWhether the value was manually created or changed.
valuestrStringjaString representation of the suggested value.
MovementSuggestionUpdate3 Felder
FeldTypPflichtBeschreibung
namestrStringjaField to add or modify.
split_keyOptional[int]Option<i64>Split-child key, or null/omitted for a global suggestion.
valuestrStringjaString value; an empty string removes a matching suggestion.
MovementSuggestionsUpdate1 Felder
FeldTypPflichtBeschreibung
suggestionsList[MovementSuggestionUpdate]Vec<MovementSuggestionUpdate>jaIncremental changes. Omitted suggestions are retained; an empty array changes nothing.
NewsletterIntegrationGroupMapping6 Felder

Stored link between one ChurchTools group and one external newsletter list.

FeldTypPflichtBeschreibung
group_idinti64jaChurchTools group whose members are synchronized.
idinti64jaID of the ChurchTools mapping record; endpoint URLs identify it by group/provider/list instead.
list_idstrStringjaProvider-specific list identifier.
list_nameOptional[str]Option<String>List display name cached when the mapping was created; may be null for legacy records and is not refreshed by this GET.
opt_in_requiredbooljaWhether subscriptions require consent; the provider or ChurchTools handles double opt-in depending on provider capability.
providerstrStringjaStored provider name.
NewsletterIntegrationGroupMappingCreate5 Felder

Connects one existing or newly created external list to the path group and immediately synchronizes eligible existing members.

FeldTypPflichtBeschreibung
create_list_nameOptional[str]Option<String>Create an external list with this name; only use if the provider advertises canCreateLists=true.
existing_members_handlingstrStringControls the initial synchronization only.
list_idOptional[str]Option<String>Existing provider list ID.
opt_in_requiredbooljaRequire double opt-in for subscriptions.
providerstrStringjaCanonical newsletter provider name.
NewsletterIntegrationListOption4 Felder
FeldTypPflichtBeschreibung
assigned_group_namestrStringName of the group associated with this list.
idstrStringjaProvider-specific remote list ID, normalized to string.
is_assignedbooljaWhether any stored ChurchTools group mapping uses this provider/list pair, regardless of visibility or current activity of the mapped group.
namestrStringjaCurrent remote display name.
NewsletterIntegrationOptions4 Felder

An active configured newsletter provider and the remote lists available for group mappings.

FeldTypPflichtBeschreibung
can_create_listsbooljaWhether this provider implementation supports creating a remote list from the group-mapping API.
does_double_opt_inbooljaWhether the provider integration itself uses double opt-in, distinct from the mapping’s ChurchTools optInRequired flag.
listsList[NewsletterIntegrationListOption]Vec<NewsletterIntegrationListOption>jaRemote lists in provider-returned order.
providerstrStringjaCanonical newsletter provider name.
NewsletterOptInData2 Felder

Stored subscription/consent state for a group.

FeldTypPflichtBeschreibung
newsletterUnion[StrMap[NewsletterOptInList], List[Any]]serde_json::ValuejaMappings for currently active providers, keyed by provider:listId.
personsUnion[StrMap[NewsletterOptInPerson], List[Any]]serde_json::ValuejaNewsletter-person records keyed by person ID.
NewsletterOptInList6 Felder

One active provider/list mapping represented in the consent overview.

FeldTypPflichtBeschreibung
ct_does_double_opt_inbooljaTrue when consent is required and the provider does not handle double opt-in itself.
idstrStringjaComposite provider:listId key.
list_idstrStringjaExternal provider list ID.
list_nameOptional[str]Option<String>Cached list name, potentially absent for legacy mappings.
opt_in_requiredbooljaWhether this mapping requires consent.
providerstrStringjaStored provider name.
NewsletterOptInPerson2 Felder

Person with one or more stored newsletter-person records.

FeldTypPflichtBeschreibung
idinti64jaChurchTools person ID, not newsletter-person record ID.
newsletterUnion[StrMap[NewsletterOptInStatus], List[Any]]serde_json::ValuejaStatus keyed by provider:listId for active providers.
NewsletterOptInStatus4 Felder

Local synchronization and consent state, which can lag behind external changes.

FeldTypPflichtBeschreibung
doi_dateOptional[datetime]Option<DateTime<Utc>>Date the ChurchTools double opt-in was confirmed; null when not recorded.
is_syncedbooljaWhether the stored record has been marked successfully synchronized.
is_unsubscribedbooljaWhether a local unsubscribe timestamp has been recorded.
sync_errorOptional[str]Option<String>Most recently recorded synchronization error, or null.
Note8 Felder

A note can be linked to multiple business objects.

FeldTypPflichtBeschreibung
comment_viewer_idOptional[int]Option<i64>Person-comment visibility category.
domain_idinti64jaID of the linked business object.
domain_typestrStringjaKinds of objects with attached notes.
security_level_idOptional[int]Option<i64>Visibility threshold used for group notes.
idinti64ja
linksNoteLinksjaAll linked domains, including links not independently authorized by the requested route.
metaNoteMetadataja
textstrStringjaShared note content as stored; historical notes may not match current create/update input constraints.
NoteCreate3 Felder

Content and link visibility for a new note.

FeldTypPflichtBeschreibung
comment_viewer_idOptional[int]Option<i64>Visibility category for person notes.
security_level_idOptional[int]Option<i64>Group-note security threshold; ignored for list filtering in the other domains.
textstrStringjaNote content shared by all links.
NoteMetadata4 Felder
FeldTypPflichtBeschreibung
created_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
created_personUnion[DomainObjectPerson, NoteMetadataCreatedPersonVariant2]serde_json::ValuejaResolved author/editor domain object, or an ID-only fallback when the person cannot be loaded.
modified_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
modified_personUnion[DomainObjectPerson, NoteMetadataCreatedPersonVariant2]serde_json::ValuejaResolved author/editor domain object, or an ID-only fallback when the person cannot be loaded.
NoteMetadataCreatedPersonVariant21 Felder
FeldTypPflichtBeschreibung
idinti64ja
NoteUpdate3 Felder

Replaces note text and visibility values for the first link matching the path domainType.

FeldTypPflichtBeschreibung
comment_viewer_idOptional[int]Option<i64>Person-comment visibility category.
security_level_idOptional[int]Option<i64>Group-note security level.
textstrStringjaNote content shared by all links.
OAuthClient6 Felder

An application registered to use ChurchTools as an OAuth authorization server.

FeldTypPflichtBeschreibung
idinti64ja
identifierstrStringjaOAuth client_id. Newly registered clients receive 64 lowercase hexadecimal characters.
is_confidentialbooljaWhether token requests authenticate with a client secret.
logo_urlOptional[str]Option<String>Logo resolved from the redirect URI origin, or null when no logo can be found.
namestrStringja
redirect_uriList[str]Vec<String>jaRegistered redirect URIs.
OAuthClientCreate3 Felder

Registers a client application.

FeldTypPflichtBeschreibung
is_confidentialbooltrue generates a secret for a server application able to keep it private; false creates a public client without a secret.
namestrStringjaDisplay name, unique across visible and hidden OAuth clients.
redirect_uristrStringjaSingle callback URI stored as the registered redirect entry.
OAuthClientCreated7 Felder

Registered OAuth client.

FeldTypPflichtBeschreibung
idinti64ja
identifierstrStringjaOAuth client_id. Newly registered clients receive 64 lowercase hexadecimal characters.
is_confidentialbooljaWhether token requests authenticate with a client secret.
logo_urlOptional[str]Option<String>Logo resolved from the redirect URI origin, or null when no logo can be found.
namestrStringja
redirect_uriList[str]Vec<String>jaRegistered redirect URIs.
client_secretstrStringGenerated 64-character hexadecimal secret, present only for confidential clients in their creation response.
OAuthClientUpdate3 Felder

Replacement name and single redirect URI for a visible OAuth client.

FeldTypPflichtBeschreibung
is_confidentialboolLegacy compatibility field. veraltet
namestrStringjaDisplay name, unique across visible and hidden OAuth clients.
redirect_uristrStringjaSingle callback URI stored as the registered redirect entry.
OpenGraphActor2 Felder
FeldTypPflichtBeschreibung
profilestrStringThe URL or an identifier for the actor's profile.
rolestrStringThe role played by the actor.
OpenGraphAlbum2 Felder
FeldTypPflichtBeschreibung
discinti64
urlstrStringThe URL of the album.
OpenGraphArticle6 Felder
FeldTypPflichtBeschreibung
authorsList[str]Vec<String>The authors of the article.
expiration_timedatetimeDateTime<Utc>The expiration time of the article.
modified_timedatetimeDateTime<Utc>The last modified time of the article.
published_timedatetimeDateTime<Utc>The publication time of the article.
sectionstrStringThe section of the website where the article is located.
tagsList[str]Vec<String>Tags associated with the article.
OpenGraphAudio3 Felder
FeldTypPflichtBeschreibung
secure_urlstrStringThe secure URL of the audio.
type_r#typestrStringThe MIME type of the audio.
urlstrStringThe URL of the audio.
OpenGraphBook4 Felder
FeldTypPflichtBeschreibung
authorsList[str]Vec<String>The authors of the book.
isbnstrStringThe International Standard Book Number of the book.
release_datedatetimeDateTime<Utc>The release date of the book.
tagsList[str]Vec<String>Tags associated with the book.
OpenGraphImage5 Felder
FeldTypPflichtBeschreibung
heightinti64The height of the image in pixels.
secure_urlstrStringThe secure URL of the image.
type_r#typestrStringThe MIME type of the image.
urlstrStringThe URL of the image.
widthinti64The width of the image in pixels.
OpenGraphMusic6 Felder
FeldTypPflichtBeschreibung
albumOpenGraphAlbum
creatorsList[str]Vec<String>The creators of the music.
durationinti64The duration of the music in seconds.
musiciansList[str]Vec<String>The musicians involved in the music.
release_datedatetimeDateTime<Utc>The release date of the music.
songsList[OpenGraphSong]Vec<OpenGraphSong>
OpenGraphProfile4 Felder
FeldTypPflichtBeschreibung
first_namestrStringThe first name of the individual.
genderstrStringThe gender of the individual.
last_namestrStringThe last name of the individual.
usernamestrStringThe username of the individual on the platform.
OpenGraphSong3 Felder

A model representing a song in the OpenGraph data structure.

FeldTypPflichtBeschreibung
discinti64The disc number on which the song appears, applicable for albums with multiple discs.
trackinti64The track number of the song on its disc.
urlstrStringThe URL where the song can be accessed.
OpenGraphVideo11 Felder
FeldTypPflichtBeschreibung
actorsList[OpenGraphActor]Vec<OpenGraphActor>
directorsList[str]Vec<String>
durationinti64The duration of the video in seconds.
heightinti64The height of the video in pixels.
release_datedatetimeDateTime<Utc>The release date of the video.
secure_urlstrStringThe secure URL of the video.
tagsList[str]Vec<String>Tags associated with the video.
type_r#typestrStringThe MIME type of the video.
urlstrStringThe URL of the video.
widthinti64The width of the video in pixels.
writersList[str]Vec<String>
OpenMeetingRequest14 Felder

Unanswered invitation with a remaining occurrence.

FeldTypPflichtBeschreibung
acceptedOptional[bool]Option<bool>Use state instead veraltet
appointmentAppointmentBasejaStored calendar appointment defining a single occurrence or a series.
appointment_idinti64Use appointment instead veraltet
event_datedatetimeDateTime<Utc>Start of the stored appointment or series, not necessarily its next occurrence. veraltet
idinti64jaID of this meeting request.
inviteeMeetingRequestInviteejaPerson invited to the appointment.
inviterMeetingRequestInviterjaPerson issuing the invitation, derived from onBehalfOfPid when set or the user creating the request.
mail_send_dateOptional[datetime]Option<DateTime<Utc>>When the invitation mail was sent, or null.
metaMetaDataEntityIdja
next_end_datedatetimeDateTime<Utc>jaNext start plus the stored appointment duration, truncated to whole minutes.
next_start_datedatetimeDateTime<Utc>jaStart of the next occurrence found by recurrence calculation.
personMeetingRequestPersonUse invitee instead veraltet
response_dateNoneserde_json::ValuejaNo answer has been recorded.
statestrStringjaResponse state: pending awaits an answer, accepted confirms attendance, declined refuses, tentative is undecided.
PasswordResetCreate1 Felder
FeldTypPflichtBeschreibung
email_or_usernamestrStringjaStored email address or login name.
PasswordResetSessionCreate1 Felder
FeldTypPflichtBeschreibung
tokenstrStringjaToken from the password-reset link.
PatchGroupsIdBody4 Felder
FeldTypPflichtBeschreibung
appointment_idOptional[int]Option<i64>ID of the appointment this group is linked to.
group_type_idinti64
start_dateOptional[datetime]Option<DateTime<Utc>>Actual start of the appointment occurrence as a UTC timestamp, including the time.
statuses_counted_towards_seatsList[str]Vec<String>Membership statuses that occupy seats when their role counts towards seats.
PatchPersonsIdBody44 Felder
FeldTypPflichtBeschreibung
address_additionOptional[str]Option<String>
ageinti64
baptised_byOptional[str]Option<String>
birth_nameOptional[str]Option<String>
birthdayOptional[date]Option<NaiveDate>
birthplaceOptional[str]Option<String>
campus_idinti64
cityOptional[str]Option<String>
cms_user_idstrString
countryOptional[str]Option<String>
date_of_baptismOptional[date]Option<NaiveDate>
date_of_belongingOptional[date]Option<NaiveDate>
date_of_deathOptional[date]Option<NaiveDate>
date_of_entryOptional[datetime]Option<DateTime<Utc>>
date_of_resignOptional[datetime]Option<DateTime<Utc>>
department_idsList[int]Vec<i64>Department IDs. At least one department MUST be set for a person.
emailstrString
emailsList[PersonEmail]Vec<PersonEmail>Save many eMail addresses for person.
family_status_idOptional[int]Option<i64>
faxOptional[str]Option<String>
first_contactOptional[datetime]Option<DateTime<Utc>>
first_namestrString
grow_path_idinti64
jobOptional[str]Option<String>
last_namestrString
latitudeOptional[Union[float, str]]serde_json::Value
longitudeOptional[Union[float, str]]serde_json::Value
mobileOptional[str]Option<String>
nationality_idOptional[int]Option<i64>
nicknameOptional[str]Option<String>
optigem_idOptional[str]Option<String>
phone_privateOptional[str]Option<String>
phone_workOptional[str]Option<String>
place_of_baptismOptional[str]Option<String>
privacy_policy_agreementPatchPersonsIdBodyPrivacyPolicyAgreementThis object can be optional or required.
referred_byOptional[str]Option<String>
referred_toOptional[str]Option<String>
sex_idOptional[int]Option<i64>
status_idinti64
streetOptional[str]Option<String>
titleOptional[str]Option<String>
visibilitystrStringVisibility accepted when creating or updating a person.
wedding_dateOptional[date]Option<NaiveDate>
zipOptional[str]Option<String>
PatchPersonsIdBodyPrivacyPolicyAgreement3 Felder

This object can be optional or required.

FeldTypPflichtBeschreibung
dateOptional[date]Option<NaiveDate>
type_idOptional[int]Option<i64>
who_idOptional[int]Option<i64>
PatchPersonsPersonidMergeDuplicateidData2 Felder
FeldTypPflichtBeschreibung
bodystrStringja
uridatastrStringja
PatchSecuritylevelsIdBody4 Felder
FeldTypPflichtBeschreibung
expected_namestrStringOriginal name from the loaded level; a mismatch rejects the request with 409.
forcereorderboolIgnored; changes to the hierarchy are always rejected. veraltet
namestrString
newidinti64A free ID between 1 and 99997 that preserves the hierarchy.
Permission8 Felder

One raw stored grant or revocation.

FeldTypPflichtBeschreibung
auth_idinti64jaNumeric permission key from the internal authorization table
data_idOptional[int]Option<i64>Concrete selection ID, -1 for unrestricted access including future selections, or null for a permission without a data selection.
domain_idinti64jaID of the object the permission belongs to
domain_typestrStringjaAssignment owner: person status, role template of a group type, role in a concrete group, or direct person assignment.
is_inheritedbooljaWhether this source applies through inheritance into subordinate groups; not a statement that the current response row was inherited.
metaPermissionModificationja
reasonOptional[str]Option<String>Optional reason why this permission was assigned
type_r#typestrStringjaWhether the permission grants or revokes access
PermissionAssignmentGroup3 Felder
FeldTypPflichtBeschreibung
group_idinti64jaGroup whose role grants the permission
group_role_idsList[int]Vec<i64>jaGroup role IDs contributing to this assignment
person_countinti64jaNumber of distinct non-archived persons reached by this assignment
PermissionAssignmentGroupType3 Felder
FeldTypPflichtBeschreibung
group_type_idinti64jaGroup type whose roles grant the permission
group_type_role_idsList[int]Vec<i64>jaGroup type role IDs contributing to this assignment
person_countinti64jaNumber of distinct non-archived persons reached by this assignment
PermissionAssignmentHigherTarget4 Felder

Higher assignment target with indexes of its matching input sources

FeldTypPflichtBeschreibung
domain_idinti64jaStatus, role template, or concrete group role ID
domain_typestrStringja
labelstrStringjaDisplay label localized in the current request language
source_indexesList[int]Vec<i64>jaZero-based indexes of all input sources for which this is a higher target.
PermissionAssignmentPerson1 Felder
FeldTypPflichtBeschreibung
person_idinti64jaPerson with a direct permission assignment
PermissionAssignmentStatus2 Felder
FeldTypPflichtBeschreibung
person_countinti64jaNumber of distinct non-archived persons reached by this assignment
status_idinti64jaPerson status granting the permission
PermissionAssignmentSummary4 Felder

Assignment breakdown for one global permission selection.

FeldTypPflichtBeschreibung
assignmentsPermissionAssignmentSummaryAssignmentsjaNonempty assignment sources only.
auth_idinti64jaNumeric permission key
data_idOptional[int]Option<i64>Selected permission value, or null for boolean permissions
effective_person_countinti64jaTotal number of distinct non-archived persons with the effective permission
PermissionAssignmentSummaryAssignments4 Felder

Nonempty assignment sources only.

PermissionAssignmentTarget4 Felder

Selectable assignment owner, including owners without existing permission assignments.

FeldTypPflichtBeschreibung
domain_idinti64jaStatus, role template, concrete group role, or person ID.
labelstrStringjaDisplay label localized in the current request language
domain_typestrStringja
statisticsPermissionAssignmentTargetStatisticsDistinct active global permission IDs.
PermissionAssignmentTargetReference2 Felder
FeldTypPflichtBeschreibung
domain_idinti64jaAssignment owner ID. For group_role, this is the concrete group role ID, not the group ID or group-type role template ID.
domain_typestrStringjaAssignment owner: person status, role template of a group type, role in a concrete group, or direct person assignment.
PermissionAssignmentTargetStatistics5 Felder

Distinct active global permission IDs.

FeldTypPflichtBeschreibung
allinti64jaNumber of active global permission definitions
authorizedinti64ja
cleanupinti64ja
directinti64ja
indirectinti64ja
PermissionBulkChange2 Felder
FeldTypPflichtBeschreibung
domain_idinti64ja
domain_typestrStringja
PermissionDefinition8 Felder

Definition of one assignable permission, not an effective grant.

FeldTypPflichtBeschreibung
assignment_domainsList[str]Vec<String>jaCurrently always lists status, group_type_role, group_role and person.
auth_idinti64jaNumeric permission key
descriptionstrStringjaCurrently the same translated text as name; no separate explanatory description is supplied.
is_publicly_assignablebooljaWhether this permission can be assigned to everyone (person -1), including signed-in and anonymous users.
keystrStringjaPermission key within its module
namestrStringjaTranslated display name
selectionsList[PermissionDefinitionSelection]Vec<PermissionDefinitionSelection>jaSelectable data IDs, beginning with the all entry (-1).
value_typestrStringjaboolean combines grants as a flag; multiple combines selected IDs; maximum selects the highest level.
PermissionDefinitionModule3 Felder

Module containing at least one definition matching the requested scope.

FeldTypPflichtBeschreibung
keystrStringjaTechnical module key
namestrStringjaTranslated module name
permissionsList[PermissionDefinition]Vec<PermissionDefinition>ja
PermissionDefinitionSelection3 Felder
FeldTypPflichtBeschreibung
data_idinti64jaSelection ID; -1 represents unrestricted access to all current and future values
kindstrStringja
namestrStringjaTranslated selection name
PermissionDelete3 Felder

Select raw assignments to delete.

FeldTypPflichtBeschreibung
auth_idinti64jaPermission ID. status and person require values below 10000.
data_idOptional[List[int]]Option<Vec<i64>>Concrete selections to delete.
is_inheritedboolSelect inherited-source rows when true, otherwise direct rows.
PermissionModification5 Felder
FeldTypPflichtBeschreibung
created_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
created_personMetaDataPersonIdja
modified_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
modified_personMetaDataPersonIdja
modified_pidinti64Use modifiedPerson.id instead. veraltet
PermissionPersonSelection3 Felder
FeldTypPflichtBeschreibung
data_idOptional[int]Option<i64>Permission selection value, or null for permissions without selection values
person_idsList[int]Vec<i64>jaMatching non-archived person IDs in ascending numeric order.
personsList[PermissionPersonWithOrigins]Vec<PermissionPersonWithOrigins>Present when include=origins is requested
PermissionPersonSummaryEntry2 Felder

One registered global permission in definition order.

FeldTypPflichtBeschreibung
auth_idinti64jaNumeric permission key from the internal authorization table
selectionsList[PermissionPersonSummarySelection]Vec<PermissionPersonSummarySelection>ja
PermissionPersonSummarySelection3 Felder
FeldTypPflichtBeschreibung
data_idOptional[int]Option<i64>Configured selection ID, -1 for unrestricted access including future values, or null for a boolean permission.
person_countinti64jaDistinct matching non-archived persons.
preview_person_idsList[int]Vec<i64>jaUp to three sorted person IDs for an overview preview
PermissionPersonWithOrigins2 Felder
PermissionPersonWithOriginsOriginsItemVariant15 Felder
FeldTypPflichtBeschreibung
contributes_unrestrictedboolThis source contributes unrestricted indirect coverage after revocations.
revoked_by_group_role_idOptional[int]Option<i64>If set, this group type role permission is revoked by the group role with this ID and does not contribute to the effective value
unrestrictedboolThis source has an explicit unrestricted (-1) assignment.
valueUnion[bool, int, List[int]]serde_json::ValuejaValue this source contributes: true for simple permissions, a number for level permissions (e.g.
type_r#typestrStringja
PermissionPersonWithOriginsOriginsItemVariant25 Felder
FeldTypPflichtBeschreibung
contributes_unrestrictedboolThis source contributes unrestricted indirect coverage after revocations.
revoked_by_group_role_idOptional[int]Option<i64>If set, this group type role permission is revoked by the group role with this ID and does not contribute to the effective value
unrestrictedboolThis source has an explicit unrestricted (-1) assignment.
valueUnion[bool, int, List[int]]serde_json::ValuejaValue this source contributes: true for simple permissions, a number for level permissions (e.g.
type_r#typestrStringja
PermissionPersonWithOriginsOriginsItemVariant35 Felder
FeldTypPflichtBeschreibung
contributes_unrestrictedboolThis source contributes unrestricted indirect coverage after revocations.
revoked_by_group_role_idOptional[int]Option<i64>If set, this group type role permission is revoked by the group role with this ID and does not contribute to the effective value
unrestrictedboolThis source has an explicit unrestricted (-1) assignment.
valueUnion[bool, int, List[int]]serde_json::ValuejaValue this source contributes: true for simple permissions, a number for level permissions (e.g.
type_r#typestrStringja
PermissionPersonWithOriginsOriginsItemVariant46 Felder
FeldTypPflichtBeschreibung
contributes_unrestrictedboolThis source contributes unrestricted indirect coverage after revocations.
revoked_by_group_role_idOptional[int]Option<i64>If set, this group type role permission is revoked by the group role with this ID and does not contribute to the effective value
unrestrictedboolThis source has an explicit unrestricted (-1) assignment.
valueUnion[bool, int, List[int]]serde_json::ValuejaValue this source contributes: true for simple permissions, a number for level permissions (e.g.
person_idinti64jaID of the person the permission is set on directly
type_r#typestrStringja
PermissionPersonWithOriginsOriginsItemVariant56 Felder
FeldTypPflichtBeschreibung
contributes_unrestrictedboolThis source contributes unrestricted indirect coverage after revocations.
revoked_by_group_role_idOptional[int]Option<i64>If set, this group type role permission is revoked by the group role with this ID and does not contribute to the effective value
unrestrictedboolThis source has an explicit unrestricted (-1) assignment.
valueUnion[bool, int, List[int]]serde_json::ValuejaValue this source contributes: true for simple permissions, a number for level permissions (e.g.
status_idinti64jaID of the person status that grants the permission
type_r#typestrStringja
PermissionPersonWithOriginsOriginsItemVariant69 Felder
FeldTypPflichtBeschreibung
contributes_unrestrictedboolThis source contributes unrestricted indirect coverage after revocations.
revoked_by_group_role_idOptional[int]Option<i64>If set, this group type role permission is revoked by the group role with this ID and does not contribute to the effective value
unrestrictedboolThis source has an explicit unrestricted (-1) assignment.
valueUnion[bool, int, List[int]]serde_json::ValuejaValue this source contributes: true for simple permissions, a number for level permissions (e.g.
group_idinti64jaGroup of the membership that grants the permission.
group_role_idinti64jaID of the group role (cdb_group_role) that grants the permission
group_type_role_idinti64jaID of the group type role of the membership
inheritedbooljaWhether the permission reaches the target group through inheritance from a superior group
type_r#typestrStringja
PermissionPersonWithOriginsOriginsItemVariant79 Felder
FeldTypPflichtBeschreibung
contributes_unrestrictedboolThis source contributes unrestricted indirect coverage after revocations.
revoked_by_group_role_idOptional[int]Option<i64>If set, this group type role permission is revoked by the group role with this ID and does not contribute to the effective value
unrestrictedboolThis source has an explicit unrestricted (-1) assignment.
valueUnion[bool, int, List[int]]serde_json::ValuejaValue this source contributes: true for simple permissions, a number for level permissions (e.g.
group_idinti64Group of the membership that grants the permission.
group_type_idinti64jaID of the group type whose role grants the permission
group_type_role_idinti64jaID of the group type role of the membership
inheritedbooljaWhether the permission reaches the target group through inheritance from a superior group
type_r#typestrStringja
PermissionPersons3 Felder

Persons for one permission, grouped by selection.

FeldTypPflichtBeschreibung
auth_idinti64jaNumeric permission key from the internal authorization table
metaPermissionPersonsMetaPresent when page, limit or include=origins enables pagination.
selectionsList[PermissionPersonSelection]Vec<PermissionPersonSelection>jaEffective persons grouped by the requested permission selection values
PermissionPersonsMeta3 Felder

Present when page, limit or include=origins enables pagination.

FeldTypPflichtBeschreibung
limitinti64ja
pageinti64ja
totalinti64ja
PermissionReplace5 Felder

Atomically replace all stored selection rows for one permission, inheritance mode and source owner.

FeldTypPflichtBeschreibung
auth_idinti64jaPermission ID. status and person require values below 10000.
data_idList[int]Vec<i64>jaComplete replacement selection.
is_inheritedboolSelect inherited-source rows when true, otherwise direct rows.
reasonOptional[str]Option<String>Optional explanation for the replacement assignment.
type_r#typestrStringGrant a permission, or revoke a contribution for a concrete group_role.
PermissionUpdate5 Felder

Add or update stored assignment rows.

FeldTypPflichtBeschreibung
auth_idinti64jaPermission ID. status and person require values below 10000.
data_idOptional[List[int]]Option<Vec<i64>>Selections to add/update.
is_inheritedboolSelect inherited-source rows when true, otherwise direct rows.
reasonOptional[str]Option<String>Trimmed optional explanation.
type_r#typestrStringGrant a permission, or revoke a contribution for a concrete group_role.
PermissionWithOrigins8 Felder

Permission with recorded origins and its effective value.

FeldTypPflichtBeschreibung
authstrStringjaPermission key within the module.
auth_idinti64jaNumeric permission key from the internal authorization table
direct_valueUnion[bool, int, List[int]]serde_json::ValueStored direct configuration, independent of effectiveness.
effective_valueUnion[bool, int, List[int]]serde_json::ValuejaCombined effective value: flag, maximum level (99999 for unrestricted), or selected IDs.
indirect_valueUnion[bool, int, List[int]]serde_json::ValueCombined non-revoked upstream contributions, excluding this owner.
modulestrStringjaModule the permission belongs to
originsList[Union[PermissionPersonWithOriginsOriginsItemVariant1, PermissionPersonWithOriginsOriginsItemVariant2, PermissionPersonWithOriginsOriginsItemVariant3, PermissionPersonWithOriginsOriginsItemVariant4, PermissionPersonWithOriginsOriginsItemVariant5, PermissionPersonWithOriginsOriginsItemVariant6, PermissionPersonWithOriginsOriginsItemVariant7]]Vec<serde_json::Value>ja
redundant_data_idsList[Optional[int]]Vec<Option<i64>>Safely removable redundant direct selections.
Person65 Felder

A person object includes all fields the logged in user may see depending on the security level.

FeldTypPflichtBeschreibung
acceptedsecurityOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
address_additionOptional[str]Option<String>
ageOptional[int]Option<i64>This computed field contains the age of this person if the date of birth is visible.
baptised_byOptional[str]Option<String>
birth_nameOptional[str]Option<String>
birthdayOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
birthplaceOptional[str]Option<String>
campus_idinti64
can_chatbool
chat_activebool
cityOptional[str]Option<String>
cms_user_idstrString
countryOptional[str]Option<String>
date_of_baptismOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
date_of_belongingOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
date_of_deathOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
date_of_entryOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
date_of_resignOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
department_idsList[int]Vec<i64>List of department IDs
edit_security_level_for_personinti64jaEdit security level of the current person.
emailstrStringPrimary email address of the person.
emailsList[PersonEmailsItem]Vec<PersonEmailsItem>
family_image_urlOptional[str]Option<String>
family_status_idOptional[int]Option<i64>
faxOptional[str]Option<String>
first_contactOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
first_namestrString
grow_path_idOptional[int]Option<i64>
guidstrStringja
idinti64ja
image_urlOptional[str]Option<String>
invitation_statusOptional[str]Option<String>
is_archivedbool
is_deadboolThis computed field is true iff a date of death is set for this person.
jobOptional[str]Option<String>
last_edited_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
last_loginOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
last_namestrString
latitudeOptional[float]Option<f64>
latitude_looseOptional[float]Option<f64>
longitudeOptional[float]Option<f64>
longitude_looseOptional[float]Option<f64>
metaMetaDataEntityId
mobileOptional[str]Option<String>
nationality_idOptional[int]Option<i64>
nicknameOptional[str]Option<String>
optigem_idOptional[str]Option<String>Optigem ID of the person.
phone_privateOptional[str]Option<String>
phone_workOptional[str]Option<String>
place_of_baptismOptional[str]Option<String>
privacy_policy_agreementPersonPrivacyPolicyAgreement veraltet
privacy_policy_agreement_dateOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
privacy_policy_agreement_type_idOptional[int]Option<i64>
privacy_policy_agreement_who_idOptional[int]Option<i64>
referred_byOptional[str]Option<String>
referred_toOptional[str]Option<String>
security_level_for_personinti64jaSecurity level of the current person.
sex_idOptional[int]Option<i64>
status_idinti64
streetOptional[str]Option<String>
tagsList[Tag]Vec<Tag>
titleOptional[str]Option<String>
visibilitystrStringExtensible visibility of a person.
wedding_dateOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
zipOptional[str]Option<String>
PersonDuplicate4 Felder
FeldTypPflichtBeschreibung
keystrStringja
p1MetaDataPersonIdja
p2MetaDataPersonIdja
relationship_idinti64
PersonEmail3 Felder
FeldTypPflichtBeschreibung
contact_label_idinti64
emailstrString
is_defaultboolMarks the default eMail address.
PersonEmailsItem3 Felder
FeldTypPflichtBeschreibung
contact_label_idinti64ja
emailstrStringja
is_defaultboolja
PersonInformationExport1 Felder

Download information for a newly generated personal data sheet.

FeldTypPflichtBeschreibung
pdf_linkstrStringjaAbsolute download URL of the generated PDF.
PersonMasterData15 Felder

Reference catalogs for People & Groups.

FeldTypPflichtBeschreibung
age_groupsList[AgeGroup]Vec<AgeGroup>jaAge-range classifications for groups.
campusesList[Campus]Vec<Campus>jaProfiles of type campus only, ordered by sortKey; church profiles are excluded.
comment_viewersList[CommentViewer]Vec<CommentViewer>jaVisibility categories for person comments.
contact_labelsList[ContactLabel]Vec<ContactLabel>jaLabels for contact information.
departmentsList[Department]Vec<Department>jaDepartment definitions used in person/group organization.
group_categoriesList[GroupCategory]Vec<GroupCategory>jaCategories used to organize groups.
group_meeting_templatesList[MeetingTemplate]Vec<MeetingTemplate>jaReusable meeting feedback form definitions, not meeting dates.
group_statusesList[GroupStatus]Vec<GroupStatus>jaLifecycle status definitions for groups.
group_typesList[GroupType]Vec<GroupType>jaGroup-type definitions controlling available group features.
grow_pathsList[GrowPath]Vec<GrowPath>jaGrowth-path definitions associated with membership roles.
relationship_typesList[RelationshipType]Vec<RelationshipType>jaPerson relationship definitions, including directional labels.
rolesList[Role]Vec<Role>jaMembership role definitions across group types, ordered by role type and sortKey.
sexesList[Sex]Vec<Sex>jaSex/gender master-data choices.
statusesList[Status]Vec<Status>jaPerson status definitions; distinct from group status and membership workflow state.
target_groupsList[TargetGroup]Vec<TargetGroup>jaAudience classifications for groups.
PersonMergeGroupDiff6 Felder
FeldTypPflichtBeschreibung
group_member_statusstrStringjaState of a person's membership in a group, independent of their role.
idinti64jaID of the group
rolestrStringjaName of the member role
role_idinti64jaID of the member role
titlestrStringjaName of the group
type_r#typestrStringjaName of the group type
PersonMergeGroupsDiff3 Felder
FeldTypPflichtBeschreibung
bothList[int]Vec<i64>jaIDs of groups in which both persons are members
newList[PersonMergeGroupDiff]Vec<PersonMergeGroupDiff>jaGroups in which the duplicate person is involved
oldList[PersonMergeGroupDiff]Vec<PersonMergeGroupDiff>jaGroups in which the original person is involved
PersonMergeInfo3 Felder
FeldTypPflichtBeschreibung
groups_diffPersonMergeGroupsDiffja
person_diffList[PersonMergePersonDiff]Vec<PersonMergePersonDiff>ja
sync_conflict_source_idsList[int]Vec<i64>jaExternal connection IDs for which both persons are linked to different external records.
PersonMergePersonDiff5 Felder
FeldTypPflichtBeschreibung
keystrStringjaTranslation key of the person field
namestrStringjaName of the person field
newAnyserde_json::ValuejaValue from the duplicate person
oldAnyserde_json::ValuejaValue from the original person
print_diffbooljaWhether the difference should be included in change logs
PersonPasswordUpdate3 Felder

Password inputs are not trimmed.

FeldTypPflichtBeschreibung
new_passwordstrStringjaNew password satisfying the installation’s length and strength rules.
new_password_confirmstrStringjaMust exactly match newPassword.
old_passwordstrStringRequired when changing your own password: current password, or an empty string for a password-reset session or initial setup without a password.
PersonPostStatistics6 Felder
FeldTypPflichtBeschreibung
count_bannedfloatf64ja
count_expiration_futurefloatf64ja
count_expiration_pastfloatf64ja
count_publication_futurefloatf64ja
count_publishedfloatf64ja
totalfloatf64 veraltet
PersonPrivacyPolicy8 Felder

Privacy-consent view for the selected person and their child relationships (relationship type 1).

FeldTypPflichtBeschreibung
minimum_ageinti64jaMinimum age for independent consent and self-registration, even when registration is disabled.
ownerPersonPrivacyPolicyOwnerja
relationshipsList[PersonPrivacyPolicyRelationshipsItem]Vec<PersonPrivacyPolicyRelationshipsItem>ja
show_bannerbooljaWhether the configured banner should be shown for outstanding own or child consent.
textstrStringjaConfigured own-consent confirmation text.
text_relationsstrStringjaConfigured child-consent confirmation text.
type_idinti64jaSuggested consent type: self-confirmation.
who_idinti64jaSuggested consent-giver category: the person themselves.
PersonPrivacyPolicyAgreement3 Felder
FeldTypPflichtBeschreibung
dateOptional[date]Option<NaiveDate>A simple date in ISO format, e.g.
type_idOptional[int]Option<i64>
who_idOptional[int]Option<i64>
PersonPrivacyPolicyChildResult3 Felder

Outcome for one child marked accepted in the request.

FeldTypPflichtBeschreibung
errorstrStringjaLocalized error text for error outcomes; empty string otherwise.
idinti64ja
type_r#typestrStringjaPer-child outcome.
PersonPrivacyPolicyChildUpdate4 Felder

Child-consent selection consumed by the service.

FeldTypPflichtBeschreibung
acceptedbooljaWhether to request consent for this child.
birthdaystrStringjaBirthday as YYYY-MM-DD when adding one, otherwise an empty string.
edit_birthdaybooljaWhether the submitted birthday should be written.
idinti64jaPerson ID of the child.
PersonPrivacyPolicyOwner11 Felder
FeldTypPflichtBeschreibung
acceptedboolja
accepted_dateOptional[str]Option<String>Stored consent timestamp, or null.
accepted_typeOptional[Union[str, int]]serde_json::ValueStored label of the consent type, not its ID or a translated label; null without a type.
accepted_whoOptional[int]Option<i64>Consent-giver category ID, or null.
ageinti64jaAge in years, or 0 when the birthday is unknown.
allowed_to_acceptbooljaUI flag based on enabled consent banner and the configured minimumAge; not a complete authorization decision.
edit_birthdaybooljaTrue when no birthday is stored, independently of consent status.
first_namestrStringja
idinti64ja
imagestrStringjaImage URL of the person.
last_namestrStringja
PersonPrivacyPolicyRelationshipsItem16 Felder

Child-side person of a parent/child relationship, with consent flags.

FeldTypPflichtBeschreibung
acceptedboolja
accepted_dateOptional[str]Option<String>Stored consent timestamp, or null.
accepted_typestrStringjaStored consent-type label, or an empty string if none is found.
accepted_whoOptional[int]Option<i64>Consent-giver category ID, or null.
ageinti64ja
allowed_to_acceptboolja
allowed_to_declineboolja
date_of_deathOptional[str]Option<String>Stored date of death, if any.
edit_birthdayboolja
first_namestrStringja
guidstrStringja
idinti64ja
imageOptional[str]Option<String>
is_archivedbooljaArchive status of the related person.
last_namestrStringja
relationship_typePersonPrivacyPolicyRelationshipsItemRelationshipTypeja
PersonPrivacyPolicyRelationshipsItemRelationshipType4 Felder
FeldTypPflichtBeschreibung
degree_of_relationshipstrStringja
idinti64jaID of this relationship instance, not the relationship type.
relationship_namestrStringja
relationship_type_idinti64ja
PersonPrivacyPolicyUpdate6 Felder

Record own consent and/or consent for child relationships.

FeldTypPflichtBeschreibung
birthdayOptional[str]Option<String>Birthday for the URL person if no birthday is stored.
children_acceptedbooljaWhether to process the persons array.
own_acceptedbooljaWhether to process consent for the URL person.
personsList[PersonPrivacyPolicyChildUpdate]Vec<PersonPrivacyPolicyChildUpdate>jaChild selections; use an empty array when not processing children.
type_idinti64jaConsent-type catalog ID used for own consent; typically the typeId from GET.
who_idinti64jaConsent-giver catalog ID used for own consent; typically the whoId from GET.
PersonProperties7 Felder
FeldTypPflichtBeschreibung
can_chatboolja
has_emailboolja
image_urlOptional[str]Option<String>
invitation_statusstrStringja
is_archivedboolja
is_deadboolja
visibilitystrStringjaExtensible visibility of a person.
PersonRelationship5 Felder

Relationship information of a person.

FeldTypPflichtBeschreibung
degree_of_relationshipstrStringjaName of type, what this relative is for the user.
idinti64jaID of the relationship
relationship_namestrStringjaName of Relationship
relationship_type_idinti64jaID of relationship type
relativeDomainObjectPersonjaPerson as Domain Object
PersonServiceRequestUpdate4 Felder

Update the assignment using personId from the path.

FeldTypPflichtBeschreibung
agreedboolLegacy alias for isAccepted. veraltet
commentOptional[str]Option<String>Accepted for compatibility but ignored by this update operation; the replacement record starts without a comment.
inform_personboolAccepted for compatibility; this flag does not control notifications in the current implementation.
is_acceptedbooltrue creates a confirmed assignment; false creates an assignment awaiting confirmation.
PersonSetting3 Felder

One stored person preference, identified by module namespace and attribute key.

FeldTypPflichtBeschreibung
attributestrStringjaSetting key within the module namespace.
modulestrStringjaStored namespace. Read results are not restricted to the modules writable through this API.
valueOptional[Union[str, float, List[Any], StrMap[Any], bool]]serde_json::ValueDecoded stored value.
PersonSettingUpdate1 Felder

Value for one allowed person setting.

FeldTypPflichtBeschreibung
valueUnion[str, float, bool, List[Any], StrMap[Any]]serde_json::ValuejaValue of the selected setting, using its required type.
PersonTwoFactorEnabled3 Felder

One stored person preference, identified by module namespace and attribute key.

FeldTypPflichtBeschreibung
attributestrStringja
modulestrStringja
valuebooljaWhether the person has enabled TOTP authentication.
PersonTwoFactorForce3 Felder

One stored person preference, identified by module namespace and attribute key.

FeldTypPflichtBeschreibung
attributestrStringja
modulestrStringja
valuebooljaExplicit person-level requirement.
PersonTwoFactorForceUpdate1 Felder
FeldTypPflichtBeschreibung
valuebooljaWhether the person must configure two-factor authentication.
PersonTwoFactorVerify2 Felder
FeldTypPflichtBeschreibung
codestrStringjaSix-digit current authenticator code.
person_idinti64jaID of the current person whose initialized secret is checked.
PersonUpdateable44 Felder

Fields applicable to upate a person

FeldTypPflichtBeschreibung
address_additionOptional[str]Option<String>
ageinti64
baptised_byOptional[str]Option<String>
birth_nameOptional[str]Option<String>
birthdayOptional[date]Option<NaiveDate>
birthplaceOptional[str]Option<String>
campus_idinti64
cityOptional[str]Option<String>
cms_user_idstrString
countryOptional[str]Option<String>
date_of_baptismOptional[date]Option<NaiveDate>
date_of_belongingOptional[date]Option<NaiveDate>
date_of_deathOptional[date]Option<NaiveDate>
date_of_entryOptional[datetime]Option<DateTime<Utc>>
date_of_resignOptional[datetime]Option<DateTime<Utc>>
department_idsList[int]Vec<i64>Department IDs. At least one department MUST be set for a person.
emailstrString
emailsList[PersonEmail]Vec<PersonEmail>Save many eMail addresses for person.
family_status_idOptional[int]Option<i64>
faxOptional[str]Option<String>
first_contactOptional[datetime]Option<DateTime<Utc>>
first_namestrString
grow_path_idinti64
jobOptional[str]Option<String>
last_namestrString
latitudeOptional[Union[float, str]]serde_json::Value
longitudeOptional[Union[float, str]]serde_json::Value
mobileOptional[str]Option<String>
nationality_idOptional[int]Option<i64>
nicknameOptional[str]Option<String>
optigem_idOptional[str]Option<String>
phone_privateOptional[str]Option<String>
phone_workOptional[str]Option<String>
place_of_baptismOptional[str]Option<String>
privacy_policy_agreementPatchPersonsIdBodyPrivacyPolicyAgreementThis object can be optional or required.
referred_byOptional[str]Option<String>
referred_toOptional[str]Option<String>
sex_idOptional[int]Option<i64>
status_idinti64
streetOptional[str]Option<String>
titleOptional[str]Option<String>
visibilitystrStringVisibility accepted when creating or updating a person.
wedding_dateOptional[date]Option<NaiveDate>
zipOptional[str]Option<String>
PlaceholderItem5 Felder

Entry in a recursive placeholder menu.

FeldTypPflichtBeschreibung
itemsList[PlaceholderItemItemsItem]Vec<PlaceholderItemItemsItem>Nested placeholder menu entries.
labelstrStringTranslated label shown for a selectable placeholder
menu_labelstrStringOptional shorter label shown in nested placeholder menus
namestrStringTranslated name of a placeholder menu group
placeholderstrStringPlaceholder expression to insert into a template
PlaceholderItemItemsItem5 Felder
FeldTypPflichtBeschreibung
itemsList[StrMap[Any]]Vec<BTreeMap<String, serde_json::Value>>Further nested placeholder menu entries.
labelstrStringTranslated label shown for a selectable placeholder
menu_labelstrStringOptional shorter label shown in nested placeholder menus
namestrStringTranslated name of a placeholder menu group
placeholderstrStringPlaceholder expression to insert into a template
PlaceholderMenuGroup2 Felder
FeldTypPflichtBeschreibung
itemsList[PlaceholderItem]Vec<PlaceholderItem>jaSelectable placeholders and further menu groups.
namestrStringjaTranslated menu-section label.
PollForNewsResult3 Felder
FeldTypPflichtBeschreibung
domain_idinti64ja
domain_typestrStringja
person_idinti64jaThe person id of the person that changed the object
PossibleEventPerson13 Felder

One visible candidate for assigning a service role at an event.

FeldTypPflichtBeschreibung
absencesList[Absence]Vec<Absence>jaAbsences overlapping the event interval.
connected_groupsList[DomainObjectGroup]Vec<DomainObjectGroup>jaConnected groups through whose active, visible-role memberships this person was found.
last_serviceOptional[ServiceCandidateAssignment]Option<ServiceCandidateAssignment>Latest valid assignment in the same service group starting strictly before this event, within the loaded history window.
monthly_utilizationStrMap[int]BTreeMap<String, i64>jaCounts of valid assignments in the same service group, including outstanding and confirmed assignments.
next_serviceOptional[ServiceCandidateAssignment]Option<ServiceCandidateAssignment>Next valid assignment in the same service group starting strictly after this event, within the loaded history window.
partner_servicesbooljaWhether a person linked as a partner (relationship type 2) has an assignment in this event.
personDomainObjectPersonjaPerson as Domain Object
scoreinti64jaAdvisory suitability score.
score_hintsList[ServiceCandidateScoreHint]Vec<ServiceCandidateScoreHint>jaReasons contributing to the score.
service_group_preferencesOptional[ServiceGroupPersonPreference]Option<ServiceGroupPersonPreference>
service_on_same_daybooljaWhether servicesOnSameDay is nonempty.
services_on_same_dayList[ServiceCandidateAssignment]Vec<ServiceCandidateAssignment>jaSelected valid assignment on the same day for another service role.
services_previously_declinedList[ServiceCandidateAssignment]Vec<ServiceCandidateAssignment>jaDeclined records for this event and service, plus the selected invalid assignment for another service on the same day, if any.
PossiblePostGroup5 Felder
FeldTypPflichtBeschreibung
favorite_groupboolja
featured_groupboolja
groupDomainObjectGroupja
role_nameOptional[str]Option<String>
type_r#typestrStringja
Post24 Felder
FeldTypPflichtBeschreibung
contentOptional[str]Option<String>
expiration_dateOptional[datetime]Option<DateTime<Utc>>
publication_dateOptional[datetime]Option<DateTime<Utc>>
titlestrStringja
visibilitystrStringja
actorDomainObjectPersonjaPerson as Domain Object
commentsList[PostComment]Vec<PostComment>
comments_activeboolja
expiration_personOptional[DomainObjectPerson]Option<DomainObjectPerson>Person identified by expirationPid.
expiration_pidOptional[int]Option<i64>ID of the person who last set or changed the expiration date.
groupDomainObjectGroupja
group_visibilitystrStringjaThe visibility of a group.
guidstrStringja
has_seenOptional[bool]Option<bool>Whether the current person has seen this local post.
idinti64ja
imagesList[str]Vec<String>ja
images_metaList[PostImageMeta]Vec<PostImageMeta>ja
instancePostInstance
is_bannedboolja
last_edited_dateOptional[datetime]Option<DateTime<Utc>>Last edit timestamp only when later than publicationDate; otherwise null.
linkingsList[LinkingOpenGraph]Vec<LinkingOpenGraph>
metaMetaDataEntityIdja
published_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
reactionsList[PostReaction]Vec<PostReaction>
PostActionsBody2 Felder
FeldTypPflichtBeschreibung
domain_typeList[str]Vec<String>jaOne or more domain types to filter actions by.
filterStrMap[Any]BTreeMap<String, serde_json::Value>Optional filter criteria to further narrow the returned actions.
PostCaptchaBody1 Felder
FeldTypPflichtBeschreibung
solutionstrStringja
PostCaptchaResponse1 Felder
FeldTypPflichtBeschreibung
is_validboolja
PostCcliAuthorizationData1 Felder
FeldTypPflichtBeschreibung
urlstrStringja
PostComment7 Felder
FeldTypPflichtBeschreibung
contentstrStringja
idinti64ja
metaMetaDataEntityIdja
parent_comment_idOptional[int]Option<i64>
personDomainObjectPersonjaPerson as Domain Object
post_idinti64ja
reactionsList[PostCommentReaction]Vec<PostCommentReaction>ja
PostCommentCreate3 Felder
FeldTypPflichtBeschreibung
contentstrStringja
parent_comment_idOptional[int]Option<i64>
post_idinti64ja
PostCommentReaction4 Felder
FeldTypPflichtBeschreibung
comment_idinti64ja
emojistrStringja
metaMetaDataEntityIdja
personOptional[DomainObjectPerson]Option<DomainObjectPerson>
PostCommentReactionCreate1 Felder
FeldTypPflichtBeschreibung
emojistrStringja
PostCreate8 Felder
FeldTypPflichtBeschreibung
contentOptional[str]Option<String>
expiration_dateOptional[datetime]Option<DateTime<Utc>>
publication_dateOptional[datetime]Option<DateTime<Utc>>
titlestrStringja
visibilitystrStringja
comments_activebool
group_idinti64ja
image_idsList[int]Vec<i64>
PostEventsIdAgendaPrintBody10 Felder
FeldTypPflichtBeschreibung
font_sizestrStringBase font size used for the PDF
orientationstrStringPage orientation used for the PDF
service_group_columnsList[int]Vec<i64>IDs of service groups whose item notes are printed as columns
service_group_headerList[int]Vec<i64>IDs of service groups whose assignments are printed above the agenda
show_all_event_start_timesboolWhether an integrated agenda includes start-time columns for every linked event and items visible in any linked event
show_durationboolWhether to print the duration of each agenda item
show_enumerationboolWhether to number non-header agenda items
show_event_descriptionboolWhether to print the event description above the agenda
show_event_filesboolWhether to print permitted files linked to the event
show_responsibleboolWhether to print the responsible-person column
PostEventsIdAgendaPrintData1 Felder
FeldTypPflichtBeschreibung
urlstrStringjaRelative URL of the protected generated PDF
PostEventsIdCancelBody1 Felder
FeldTypPflichtBeschreibung
send_mailboolNotify assigned people about the cancellation.
PostExternalloginsSamlMetadataParseData1 Felder
FeldTypPflichtBeschreibung
descriptorsList[SamlIdpMetadataDescriptor]Vec<SamlIdpMetadataDescriptor>ja
PostFeatureusageBody1 Felder
FeldTypPflichtBeschreibung
dataList[FeatureUsage]Vec<FeatureUsage>
PostFinanceEubpSubmissionsIdGenerateData1 Felder
FeldTypPflichtBeschreibung
download_urlstrStringjaURL to download the generated ZIP file
PostGroupsBody9 Felder
FeldTypPflichtBeschreibung
campus_idinti64Campus Id if group is connected to a campus
forceboolNeed to be true, if another group with that name already exists
group_category_idinti64ID of group category
group_status_idinti64jaID of the group status.
group_type_idinti64jaId of group type
namestrStringjaGroup name
parent_group_idinti64Group ID of parent group
role_idinti64put yourself in this role
visibilitystrStringThe visibility of a group.
PostGroupsGroupIdMeetingsMeetingIdMembersMissingBody1 Felder
FeldTypPflichtBeschreibung
statusstrStringjaAttendance state to assign to currently unsure records.
PostGroupsIdMeetingsBody1 Felder
FeldTypPflichtBeschreibung
start_datedatetimeDateTime<Utc>jaStart of the meeting in UTC.
PostImageMeta6 Felder

Public image metadata included with the post, also for anonymous readers who may view it.

FeldTypPflichtBeschreibung
ai_generatedbooljaWhether the image was generated with AI.
annotationOptional[str]Option<String>Image credit or attribution.
annotation_linkOptional[str]Option<String>Attribution link.
descriptionOptional[str]Option<String>Alternative text describing the image for screen readers.
aspect_ratioOptional[float]Option<f64>Image width divided by height, if known.
image_urlstrStringja
PostInstallationSyncOidcBody1 Felder
FeldTypPflichtBeschreibung
configuration_tokenstrStringjaCompact RS256 JWS containing the configuration.
PostInstallationSyncOidcData3 Felder
FeldTypPflichtBeschreibung
external_login_idOptional[int]Option<i64>
installation_idstrStringja
revisioninti64ja
PostInstance3 Felder
FeldTypPflichtBeschreibung
guidstrStringja
site_namestrStringja
site_urlstrStringja
PostLabelsData1 Felder
FeldTypPflichtBeschreibung
pdfstrStringjaAbsolute URL of the generated file, scheduled to expire after one day.
PostLoginTwofactorSetupActivateData2 Felder

Two-factor completion result.

FeldTypPflichtBeschreibung
redirect_tostrStringja
statusstrStringja
PostMarkdownCheckBody2 Felder
FeldTypPflichtBeschreibung
input_scopestrStringjaValidates the provided Markdown content against the specified scope's rules and restrictions.
markdownstrStringjaThe Markdown text to be processed
PostMarkdownCheckData2 Felder
FeldTypPflichtBeschreibung
is_validbooljaIndicates if the provided Markdown content adheres to the specified scope's rules.
reasonList[PostMarkdownCheckDataReasonItem]Vec<PostMarkdownCheckDataReasonItem>jaArray of validation error messages
PostMarkdownCheckDataReasonItem3 Felder
FeldTypPflichtBeschreibung
messagestrStringThe details of the validation error
source_line_contentstrStringThe invalid line from the Markdown source
source_line_numberinti64The invalid line number in the Markdown source
PostNpsBody1 Felder
FeldTypPflichtBeschreibung
scoreinti64ja
PostNpsResponse2 Felder
FeldTypPflichtBeschreibung
datedatetimeDateTime<Utc>
scoreinti64
PostPermissionsAssignmentTargetsHigherLevelsQueryBody1 Felder
FeldTypPflichtBeschreibung
sourcesList[PermissionAssignmentTargetReference]Vec<PermissionAssignmentTargetReference>jaInput order and duplicate references are preserved
PostPermissionsAssignmentTargetsPersonSummaryQueryBody1 Felder
FeldTypPflichtBeschreibung
targetsList[PermissionAssignmentTargetReference]Vec<PermissionAssignmentTargetReference>jaInput order and duplicate references are preserved
PostPermissionsAssignmentTargetsPersonSummaryQueryData2 Felder
FeldTypPflichtBeschreibung
targetsList[PostPermissionsAssignmentTargetsPersonSummaryQueryDataTargetsItem]Vec<PostPermissionsAssignmentTargetsPersonSummaryQueryDataTargetsItem>ja
unique_person_countinti64jaDistinct persons in the union of all input targets
PostPermissionsAssignmentTargetsPersonSummaryQueryDataTargetsItem3 Felder
FeldTypPflichtBeschreibung
domain_idinti64jaAssignment owner ID. For group_role, this is the concrete group role ID, not the group ID or group-type role template ID.
domain_typestrStringjaAssignment owner: person status, role template of a group type, role in a concrete group, or direct person assignment.
person_countinti64ja
PostPermissionsBulkBody1 Felder
FeldTypPflichtBeschreibung
changesList[PermissionBulkChange]Vec<PermissionBulkChange>ja
PostPermissionsPromoteBody5 Felder
FeldTypPflichtBeschreibung
auth_idinti64jaGlobal permission definition ID
data_idinti64Single selected permission value.
reasonstrStringReason for changing the permission assignment
sourcesList[PermissionAssignmentTargetReference]Vec<PermissionAssignmentTargetReference>jaInput order and duplicate references are preserved
targetPermissionAssignmentTargetReferenceja
PostPersonsBody46 Felder

Required IDs must be resolved from this installation's masterdata; optional fields may be omitted.

FeldTypPflichtBeschreibung
address_additionOptional[str]Option<String>
baptised_byOptional[str]Option<String>
birth_nameOptional[str]Option<String>
birthdayOptional[date]Option<NaiveDate>
birthplaceOptional[str]Option<String>
campus_idinti64ID of a campus returned by GET /person/masterdata.
cityOptional[str]Option<String>
cms_user_idstrString
countryOptional[str]Option<String>
date_of_baptismOptional[date]Option<NaiveDate>
date_of_belongingOptional[date]Option<NaiveDate>
date_of_deathOptional[date]Option<NaiveDate>
date_of_entryOptional[datetime]Option<DateTime<Utc>>
date_of_resignOptional[datetime]Option<DateTime<Utc>>
department_idsList[int]Vec<i64>jaDepartment IDs returned by GET /person/masterdata.
emailstrString
emailsList[PersonEmail]Vec<PersonEmail>Save many eMail addresses for person.
family_status_idOptional[int]Option<i64>
faxOptional[str]Option<String>
first_contactOptional[datetime]Option<DateTime<Utc>>
first_namestrString
grow_path_idinti64
jobOptional[str]Option<String>
last_namestrString
latitudeOptional[Union[float, str]]serde_json::Value
longitudeOptional[Union[float, str]]serde_json::Value
mobileOptional[str]Option<String>
nationality_idOptional[int]Option<i64>
nicknameOptional[str]Option<String>
optigem_idOptional[str]Option<String>
phone_privateOptional[str]Option<String>
phone_workOptional[str]Option<String>
place_of_baptismOptional[str]Option<String>
privacy_policy_agreementCheckinPersonDataCreatePrivacyPolicyAgreementLegacy representation of the privacy agreement. veraltet
privacy_policy_agreement_datedateNaiveDateDate of the privacy policy agreement.
privacy_policy_agreement_type_idinti64ID of the configured agreement type describing how the agreement was obtained.
privacy_policy_agreement_who_idinti64ID of the configured agreement source describing who gave the agreement.
referred_byOptional[str]Option<String>
referred_toOptional[str]Option<String>
sex_idOptional[int]Option<i64>
status_idinti64ID of a person status returned by GET /person/masterdata.
streetOptional[str]Option<String>
titleOptional[str]Option<String>
visibilitystrStringVisibility accepted when creating or updating a person.
wedding_dateOptional[date]Option<NaiveDate>
zipOptional[str]Option<String>
PostPersonsPersonIdArchiveBody1 Felder
FeldTypPflichtBeschreibung
archivedbool
PostPersonsPersonIdRelationshipsBody2 Felder
FeldTypPflichtBeschreibung
other_person_idinti64ja
relationship_type_idinti64ja
PostPersonsPropertiesBody1 Felder
FeldTypPflichtBeschreibung
idsList[int]Vec<i64>Person IDs for which properties should be returned
PostProbesBody2 Felder
FeldTypPflichtBeschreibung
domain_typeList[str]Vec<String>jaOne or more domain types to filter probes by.
filterStrMap[Any]BTreeMap<String, serde_json::Value>Optional domain-specific filter criteria.
PostPublicgroupsGroupIdMailToLeadersData1 Felder
FeldTypPflichtBeschreibung
successstrStringja
PostPublicgroupsGroupIdSignupResponse2 Felder
FeldTypPflichtBeschreibung
group_homepage_hashOptional[str]Option<String>The hash of the group homepage.
verification_noticebooljaNeutral notice that the anonymous requester should check their email.
PostPublicgroupsGroupIdTokenDataVariant21 Felder
FeldTypPflichtBeschreibung
successstrStringja
PostPublicgroupsSignupConfirmConfirmationTokenData5 Felder
FeldTypPflichtBeschreibung
group_homepage_hashOptional[str]Option<String>
group_idOptional[int]Option<i64>
group_nameOptional[str]Option<String>
membership_statusOptional[str]Option<String>
statestrStringja
PostQueuesQueueData2 Felder
FeldTypPflichtBeschreibung
messagesList[str]Vec<String>Messages from Worker
queuestrStringName of Queue
PostReaction4 Felder
FeldTypPflichtBeschreibung
emojistrStringja
metaMetaDataEntityId
personDomainObjectPersonjaPerson as Domain Object
post_idinti64ja
PostResetPasswordData1 Felder
FeldTypPflichtBeschreibung
infosList[str]Vec<String>jaTranslated confirmation messages intended for display; wording depends on the user language.
PostSecuritylevelsIdBody1 Felder
FeldTypPflichtBeschreibung
namestrString
PostSimulateBody1 Felder
FeldTypPflichtBeschreibung
person_idinti64ja
PostSongsSongIdArrangementsArrangementIdFilesCcliBodyVariant11 Felder
FeldTypPflichtBeschreibung
type_r#typestrStringja
PostSongsSongIdArrangementsArrangementIdFilesCcliBodyVariant24 Felder
FeldTypPflichtBeschreibung
columnsinti64
keystrStringjaSupported musical keys.
stylestrString
type_r#typestrStringja
PostSongsSongIdArrangementsArrangementIdFilesCcliBodyVariant32 Felder
FeldTypPflichtBeschreibung
keystrStringjaSupported musical keys.
type_r#typestrStringja
PostSummarySubscriptionOptions2 Felder
FeldTypPflichtBeschreibung
filterstrStringjaWhich posts to include in the email summary.
weekdaysList[int]Vec<i64>jaDelivery weekdays, Sunday=0 through Saturday=6.
PostTriggersBody1 Felder
FeldTypPflichtBeschreibung
domain_typeList[str]Vec<String>jaOne or more routine domain types to filter triggers by.
PostTwofactorTotpData1 Felder
FeldTypPflichtBeschreibung
statusstrStringja
PostUpdate7 Felder
FeldTypPflichtBeschreibung
comments_activebool
contentOptional[str]Option<String>
expiration_dateOptional[datetime]Option<DateTime<Utc>>
image_idsList[int]Vec<i64>
publication_dateOptional[datetime]Option<DateTime<Utc>>
titlestrString
visibilitystrString
Printer5 Felder

A printer designated to print check-in codes

FeldTypPflichtBeschreibung
activebooljaWhether this printer is active and available for check-in printing.
idinti64ja
locationstrStringjaHuman-readable location of the printer.
metaMetaDataEntityIdja
titlestrStringjaHuman-readable printer name.
Probe5 Felder

An operation that can evaluate domain objects as a predicate.

FeldTypPflichtBeschreibung
action_meta_dataActionMetaDataja
domain_typestrStringja
domain_typesList[str]Vec<String>jaDomain types for which this probe can evaluate entities.
groupOptional[ActionGroup]Option<ActionGroup>
keystrStringja
ProbeInvocation2 Felder
FeldTypPflichtBeschreibung
dataStrMap[Any]BTreeMap<String, serde_json::Value>jaProbe-specific configuration.
probestrStringja
ProbeLogicalExpression2 Felder

A logical probe expression.

FeldTypPflichtBeschreibung
childrenList[StrMap[Any]]Vec<BTreeMap<String, serde_json::Value>>jaNested expressions. The not operator requires exactly one child; all other operators accept between one and 20 children.
operatorstrStringja
ProbeMembershipTraversalExpression4 Felder

Matches persons with a visible membership in the selected group or group type.

FeldTypPflichtBeschreibung
dataProbeMembershipTraversalExpressionDataja
quantifierstrStringja
traversalstrStringja
wherer#whereStrMap[Any]BTreeMap<String, serde_json::Value>Optional ProbeExpression evaluated against each membership.
ProbeMembershipTraversalExpressionData4 Felder
FeldTypPflichtBeschreibung
group_idinti64
group_member_statusstrString
group_type_idinti64
group_type_role_idinti64
ProbeRelationshipTraversalExpression4 Felder

Matches each source person with any visible related target person.

FeldTypPflichtBeschreibung
dataProbeRelationshipTraversalExpressionDataja
quantifierstrStringja
traversalstrStringja
wherer#whereStrMap[Any]BTreeMap<String, serde_json::Value>Optional nested expression that must match a related person.
ProbeRelationshipTraversalExpressionData2 Felder
FeldTypPflichtBeschreibung
directionstrStringja
relationship_type_idinti64ja
Profile34 Felder

Profiles are representing campuses and the church itself.

FeldTypPflichtBeschreibung
deprecatedStrMap[str]BTreeMap<String, String>
addressOptional[Address]Option<Address>
associationOptional[Association]Option<Association>Will be the same for all profiles.
bannerOptional[DomainObjectFile]Option<DomainObjectFile>
denominationOptional[Denomination]Option<Denomination>
descriptionOptional[str]Option<String>
emailOptional[str]Option<String>
finder_urlOptional[str]Option<String>
galleryList[DomainObjectFile]Vec<DomainObjectFile>ja
groupsList[ProfileGroupsItem]Vec<ProfileGroupsItem>ja
guidstrStringja
idinti64ja
is_publishedboolja
is_registration_openboolIndicates whether registration is currently available for this profile.
logoOptional[DomainObjectFile]Option<DomainObjectFile>
metaMetaDataEntityIdja
namestrStringja
name_translatedstrStringja
phoneOptional[str]Option<String>
profile_typestrStringjachurch: Church profile for this installation; campus: one specific campus profile
service_bannerOptional[str]Option<String>Use serviceBanner_new instead. veraltet
service_banner_newOptional[DomainObjectFile]Option<DomainObjectFile>
servicesOptional[List[ProfileServicesItem]]Option<Vec<ProfileServicesItem>>
short_nameOptional[str]Option<String>
shortystrStringja
sign_up_groupOptional[ProfileSignUpGroupVariant1]Option<ProfileSignUpGroupVariant1>
slugOptional[str]Option<String>
social_mediaStrMap[str]BTreeMap<String, String>ja
sort_keyinti64ja
tagsList[ProfileTagsItem]Vec<ProfileTagsItem>ja
teamList[ProfileTeamItem]Vec<ProfileTeamItem>ja
team_titleOptional[str]Option<String>
visitorsinti64ja
websiteOptional[str]Option<String>
ProfileAddressUpdate10 Felder
FeldTypPflichtBeschreibung
additionOptional[str]Option<String>
cityOptional[str]Option<String>
countryOptional[str]Option<String>
districtOptional[str]Option<String>
latitudeOptional[Union[float, str]]serde_json::Value
longitudeOptional[Union[float, str]]serde_json::Value
meeting_atOptional[str]Option<String>Alias for name in the API request.
nameOptional[str]Option<String>
streetOptional[str]Option<String>
zipOptional[str]Option<String>
ProfileGroupsItem4 Felder
FeldTypPflichtBeschreibung
groupDomainObjectGroupja
group_homepage_apiOptional[str]Option<String>
group_homepage_urlOptional[str]Option<String>
sort_keyinti64ja
ProfileServicesItem4 Felder
FeldTypPflichtBeschreibung
dayinti64ja
noteOptional[str]Option<String>
repetitionstrStringja
timestrStringja
ProfileSignUpGroupVariant13 Felder
FeldTypPflichtBeschreibung
groupDomainObjectGroupja
group_homepage_apiOptional[str]Option<String>
group_homepage_urlOptional[str]Option<String>
ProfileTagsItem3 Felder
FeldTypPflichtBeschreibung
keystrStringja
namestrStringja
name_translatedstrStringja
ProfileTeamItem3 Felder
FeldTypPflichtBeschreibung
notestrStringja
personDomainObjectPersonjaPerson as Domain Object
sort_keyinti64ja
ProfileUpdate22 Felder
FeldTypPflichtBeschreibung
addressOptional[ProfileAddressUpdate]Option<ProfileAddressUpdate>
association_idOptional[int]Option<i64>
denominationUnion[str, ProfileUpdateDenominationVariant2]serde_json::ValueEither exact denomination key or denomination object with name property.
descriptionOptional[str]Option<String>
emailOptional[str]Option<String>
groupsList[int]Vec<i64>List of group IDs shown on the profile.
is_publishedbool
namestrStringja
phoneOptional[str]Option<String>
servicesList[ProfileUpdateServicesItem]Vec<ProfileUpdateServicesItem>
short_nameOptional[str]Option<String>
shortystrString
sign_up_group_idOptional[int]Option<i64>Group ID used for profile sign-up or null to disable sign-up.
slugOptional[str]Option<String>
social_mediaStrMap[str]BTreeMap<String, String>Key-Value Pair, where key is the name of the network and value is the absolute link
sort_keyinti64
tagsList[str]Vec<String>List of tags.
teamList[ProfileUpdateTeamItem]Vec<ProfileUpdateTeamItem>
team_titleOptional[str]Option<String>
visitorsinti64Single integer, which represents a range.
websiteOptional[str]Option<String>
idinti64Campus profile ID. For /profiles/church, this is ignored.
ProfileUpdateDenominationVariant21 Felder
FeldTypPflichtBeschreibung
namestrStringja
ProfileUpdateServicesItem4 Felder
FeldTypPflichtBeschreibung
dayinti64ja
noteOptional[str]Option<String>
repetitionstrStringja
timestrStringja
ProfileUpdateTeamItem4 Felder
FeldTypPflichtBeschreibung
notestrString
personProfileUpdateTeamItemPersonDomainObject
person_idinti64ja
sort_keyinti64
ProfileUpdateTeamItemPerson1 Felder

DomainObject

FeldTypPflichtBeschreibung
domain_identifierinti64ja
PublicGroup21 Felder

Information about a public group, e.g.

FeldTypPflichtBeschreibung
deprecatedPublicGroupDeprecatedjaCompatibility aliases emitted by the transformer.
allow_waitinglistbooljaIf true, group sign is allowed even if group is full.
auto_acceptbooljaIf true, group sign up requests will be accepted automatically.
can_sign_upbooljaIndicates if the current user (either logged in or not) can sign up.
childrenList[int]Vec<i64>Direct active, non-hidden hierarchy child IDs.
current_member_countinti64jaOccupied seats, accounting for membership status and role seat-counting rules; not necessarily the number of membership rows.
idinti64jaThe public group ID.
informationPublicGroupInformationjaGeneral information about the group.
max_member_countOptional[int]Option<i64>Maximum number of members until the group is considered as full.
namestrStringjaName of the group, e.g.
requested_places_countinti64Use requestedSeatsCount instead. veraltet
requested_seats_countinti64jaNumber of requested seats
requested_waitinglist_places_countinti64Use requestedWaitinglistSeatsCount instead. veraltet
requested_waitinglist_seats_countinti64jaNumber of requested seats with waiting list position
settingsPublicGroupSettingsja
show_public_cannot_view_groupboolja
sign_up_conditionsGroupSignUpConditionsjaSpecifies conditions required to sign up in this group.
sign_up_counts_towards_seatsbooljaWhether a normal signup occupies a seat, based on its assigned role and membership status.
sign_up_headlinestrStringjaText which can be displayed as a headline for the sign up section
sign_up_personsList[PublicGroupSignUpPersonsItem]Vec<PublicGroupSignUpPersonsItem>Only returned by the single-public-group detail endpoint, not by a homepage list.
waitinglist_max_personsOptional[int]Option<i64>Maximum number of persons on the waiting list.
PublicGroupAddress24 Felder

Public group meeting place.

FeldTypPflichtBeschreibung
deprecatedStoredAddressDeprecatedja
additionOptional[str]Option<String>
cityOptional[str]Option<String>
colorOptional[Union[str, str]]serde_json::Value
countryOptional[str]Option<String>A country's ISO-code
districtOptional[str]Option<String>
domain_identifierstrStringjaThe identifier of the domain object.
domain_typestrStringjaThe domain type of the address.
geo_latOptional[Union[float, str]]serde_json::ValueUse latitude instead veraltet
geo_lngOptional[Union[float, str]]serde_json::ValueUse longitude instead veraltet
iconOptional[str]Option<String>
idinti64ja
latitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
latitude_looseOptional[Union[float, str]]serde_json::ValueUse latitude instead veraltet
longitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
longitude_looseOptional[Union[float, str]]serde_json::ValueUse longitude instead veraltet
marker_colorOptional[Union[str, str]]serde_json::Value veraltet
marker_iconOptional[str]Option<String>Use icon instead veraltet
marker_urlOptional[str]Option<String> veraltet
meeting_atOptional[str]Option<String>Use name instead veraltet
nameOptional[str]Option<String>
postalcodeOptional[str]Option<String>Use zip instead veraltet
streetOptional[str]Option<String>
zipOptional[str]Option<String>
PublicGroupDeprecated2 Felder

Compatibility aliases emitted by the transformer.

FeldTypPflichtBeschreibung
requested_places_countstrStringja
requested_waitinglist_places_countstrStringja
PublicGroupDetail21 Felder

Single public-group response, including eligible signup persons.

FeldTypPflichtBeschreibung
deprecatedPublicGroupDeprecatedjaCompatibility aliases emitted by the transformer.
allow_waitinglistbooljaIf true, group sign is allowed even if group is full.
auto_acceptbooljaIf true, group sign up requests will be accepted automatically.
can_sign_upbooljaIndicates if the current user (either logged in or not) can sign up.
childrenList[int]Vec<i64>Direct active, non-hidden hierarchy child IDs.
current_member_countinti64jaOccupied seats, accounting for membership status and role seat-counting rules; not necessarily the number of membership rows.
idinti64jaThe public group ID.
informationPublicGroupInformationjaGeneral information about the group.
max_member_countOptional[int]Option<i64>Maximum number of members until the group is considered as full.
namestrStringjaName of the group, e.g.
requested_places_countinti64Use requestedSeatsCount instead. veraltet
requested_seats_countinti64jaNumber of requested seats
requested_waitinglist_places_countinti64Use requestedWaitinglistSeatsCount instead. veraltet
requested_waitinglist_seats_countinti64jaNumber of requested seats with waiting list position
settingsPublicGroupSettingsja
show_public_cannot_view_groupboolja
sign_up_conditionsGroupSignUpConditionsjaSpecifies conditions required to sign up in this group.
sign_up_counts_towards_seatsbooljaWhether a normal signup occupies a seat, based on its assigned role and membership status.
sign_up_headlinestrStringjaText which can be displayed as a headline for the sign up section
sign_up_personsList[PublicGroupSignUpPersonsItem]Vec<PublicGroupSignUpPersonsItem>jaOnly returned by the single-public-group detail endpoint, not by a homepage list.
waitinglist_max_personsOptional[int]Option<i64>Maximum number of persons on the waiting list.
PublicGroupFormField12 Felder
FeldTypPflichtBeschreibung
defaultOptional[Union[str, bool]]serde_json::ValueConfigured default, including checkbox booleans; not necessarily a string.
field_type_codeOptional[Union[str, str]]serde_json::Value
idinti64jaID of the form field.
labelOptional[str]Option<String>A human readable label for the form field.
lengthOptional[int]Option<i64>Maximum length when available.
mandatorybooljaIf this is true, the field is required.
namestrStringjaThe field's internal name.
noteOptional[str]Option<String>A note for the user filling out the form, e.g.
optionsOptional[List[PublicGroupFormFieldOptionsItem]]Option<Vec<PublicGroupFormFieldOptionsItem>>Provides the set of allowed options for select fields.
readonlyboolPerson field is locked, for example an email captured by the token.
sort_keyinti64jaForm fields should be sorted by this key ascending.
type_r#typestrStringjaField domain; combine with id to identify a submitted field.
PublicGroupFormFieldOptionsItem2 Felder
FeldTypPflichtBeschreibung
idUnion[str, int]serde_json::Valueja
namestrStringja
PublicGroupFormResult12 Felder
FeldTypPflichtBeschreibung
accept_privacy_for_child_formList[PublicGroupFormField]Vec<PublicGroupFormField>ja
accept_privacy_for_other_formList[PublicGroupFormField]Vec<PublicGroupFormField>ja
accept_privacy_for_self_formList[PublicGroupFormField]Vec<PublicGroupFormField>ja
add_child_formOptional[List[PublicGroupFormField]]Option<Vec<PublicGroupFormField>>
add_other_formOptional[List[PublicGroupFormField]]Option<Vec<PublicGroupFormField>>
add_spouse_formOptional[List[PublicGroupFormField]]Option<Vec<PublicGroupFormField>>
emailOptional[str]Option<String>If the user is not yet signed in, this specifies the email address the user has provided.
formList[PublicGroupFormField]Vec<PublicGroupFormField>jaList of form fields.
groupPublicGroupjaInformation about a public group, e.g.
requester_idOptional[int]Option<i64>If the user is signed in, this specifies the user ID of the requester.
sign_up_personsList[PublicGroupFormResultSignUpPersonsItem]Vec<PublicGroupFormResultSignUpPersonsItem>jaLists all persons the current user is allowed to sign up.
tokenstrStringjaThe sign up token.
PublicGroupFormResultSignUpPersonsItem5 Felder
FeldTypPflichtBeschreibung
form_dataList[PublicGroupFormResultSignUpPersonsItemFormDataItem]Vec<PublicGroupFormResultSignUpPersonsItemFormDataItem>jaList of form field values
has_accepted_privacyboolja
personDomainObjectPersonjaPerson as Domain Object
relation_typeOptional[str]Option<String>Relation of this sign-up person to the requester.
statusstrStringjaSpecifies whether this person is already in the group (IN_GROUP), in pending state for the group (REQUESTED), or selected by the user to be added into the group (CLICKED).
PublicGroupFormResultSignUpPersonsItemFormDataItem2 Felder
FeldTypPflichtBeschreibung
namestrStringja
valueAnyserde_json::ValuejaStored person-field value; may be null or a scalar/list/object depending on the field.
PublicGroupInformation17 Felder

General information about the group.

FeldTypPflichtBeschreibung
age_groupsList[AgeGroup]Vec<AgeGroup>jaList of target age groups for this group.
campusOptional[Campus]Option<Campus>
colorOptional[str]Option<String>Color key used for displaying the group.
date_of_foundationOptional[datetime]Option<DateTime<Utc>>
group_categoryOptional[GroupCategory]Option<GroupCategory>
group_placesList[PublicGroupAddress]Vec<PublicGroupAddress>jaMeeting places are returned regardless of the showMap UI flag.
group_status_idinti64ja
image_ai_generatedOptional[bool]Option<bool>Whether the group image was generated with AI.
image_annotationOptional[str]Option<String>Annotation text for the group image if provided.
image_annotation_linkOptional[str]Option<String>Link to the original source of the group image if provided.
image_descriptionOptional[str]Option<String>Alternative text describing the group image if provided.
image_urlOptional[str]Option<String>URL to a group image if provided.
leaderList[DomainObjectPerson]Vec<DomainObjectPerson>List of person objects of all group leaders if the group is set to display leaders.
meeting_timeOptional[str]Option<String>Free text field when group meetings take place.
notestrStringjaThe group description.
target_groupOptional[TargetGroup]Option<TargetGroup>
weekdayOptional[Weekday]Option<Weekday>Meeting weekday master data, or null.
PublicGroupLeaderMailCreate4 Felder
FeldTypPflichtBeschreibung
emailstrStringjaE-Mail Address of the sender.
messagestrStringjaMessage to be sent.
namestrStringjaName of the sender.
tokenstrStringRequired when normal group signup access is unavailable.
PublicGroupPossibleRequesters3 Felder
FeldTypPflichtBeschreibung
emailOptional[str]Option<String>
group_namestrStringja
possible_requestersList[PublicGroupSignUpPersonsItem]Vec<PublicGroupSignUpPersonsItem>ja
PublicGroupSettings10 Felder
FeldTypPflichtBeschreibung
allow_child_registrationboolja
allow_other_registrationboolja
allow_same_email_registrationbool
allow_sameemail_registrationboolUse allowSameEmailRegistration instead. veraltet
allow_spouse_registrationboolja
email_verification_modestrStringjaControls email verification for anonymous group signups.
hide_contact_leaderboolja
hide_loginboolja
show_streetboolja
sign_up_notification_sentOptional[datetime]Option<DateTime<Utc>>Last signup-notification timestamp, or null.
PublicGroupSignOutRequest2 Felder

Select memberships to withdraw.

FeldTypPflichtBeschreibung
person_idsList[int]Vec<i64>jaPerson IDs, not membership IDs.
tokenstrStringSign-up token belonging to this group and an existing requester.
PublicGroupSignUpPersonsItem2 Felder
FeldTypPflichtBeschreibung
personDomainObjectPersonjaPerson as Domain Object
statusstrStringjaExisting membership/request status, or NOT_CLICKED for an eligible person not yet requested.
PublicGroupSignoutData8 Felder
FeldTypPflichtBeschreibung
groupDomainObjectGroupja
group_has_auto_acceptboolja
leader_sign_out_personsOptional[List[DomainObjectPerson]]Option<Vec<DomainObjectPerson>>
no_user_createdboolOnly present for the special no-person-created requester.
requesterOptional[DomainObjectPerson]Option<DomainObjectPerson>
requester_emailOptional[str]Option<String>
self_sign_out_personsOptional[List[DomainObjectPerson]]Option<Vec<DomainObjectPerson>>
tokenOptional[str]Option<String>
PublicGroupSignupCreate4 Felder
FeldTypPflichtBeschreibung
formsList[PublicGroupSignupCreateFormsItem]Vec<PublicGroupSignupCreateFormsItem>jaOne entry per signup person; the controller does not enforce a nonempty list.
has_accepted_privacy_for_otherboolRequired when any new spouse, child or other-person form is included.
sign_out_url_templatestrStringUrl used in the mail sent to the user.
tokenstrStringjaThe sign up token.
PublicGroupSignupCreateFormsItem2 Felder
FeldTypPflichtBeschreibung
formList[PublicGroupSignupCreateFormsItemFormItem]Vec<PublicGroupSignupCreateFormsItemFormItem>jaThe form data for the current person.
person_idinti64The person ID the current form applies to.
PublicGroupSignupCreateFormsItemFormItem3 Felder
FeldTypPflichtBeschreibung
idinti64jaField ID paired with its type; use the IDs from the form response.
type_r#typestrStringja
valueAnyserde_json::ValuejaValue according to the dynamic field definition: scalar, null, or an array for multiple choices.
PublicGroupToken5 Felder
FeldTypPflichtBeschreibung
emailOptional[str]Option<String>Provide eMail
groupAnyserde_json::ValuejaThe group model structures all information in different objects: information, settings, followUp, and roles.
requester_idOptional[int]Option<i64>Provided PersonId
tokenstrStringjaSign Up Token
urlstrStringjaLink To Sign Up Form
PublicGroupTokenCreate5 Felder
FeldTypPflichtBeschreibung
clickedList[int]Vec<i64>Array of person ids, which are clicked on group detail page.
emailstrStringEmail address of an anonymous requester.
group_homepage_hashOptional[str]Option<String>The hash of the group homepage.
person_idinti64Current logged-in person ID; an arbitrary person cannot be selected here.
sign_up_url_templatestrStringEmail link template. $groupId and $token are replaced; omission uses the ChurchTools public signup page.
PublicRelationGroupHomepage2 Felder
FeldTypPflichtBeschreibung
group_homepage_urlstrStringjaAbsolute public URL of the group homepage.
group_idinti64jaID of the group that owns the public group homepage.
PublicRelationTag3 Felder
FeldTypPflichtBeschreibung
keystrStringjaTechnical enum case name used by ChurchTools.
namestrStringjaTranslation key of the public relation profile tag.
name_translatedstrStringjaLocalized public relation profile tag name.
PublicRelationsMasterData5 Felder

Master data used by the public relations and public profile UI.

FeldTypPflichtBeschreibung
associationsList[Association]Vec<Association>jaAssociations that can be assigned to a public profile.
denominationsList[Denomination]Vec<Denomination>jaDenominations that can be assigned to a public profile.
group_homepagesList[PublicRelationGroupHomepage]Vec<PublicRelationGroupHomepage>jaPublic group homepages with their owning group IDs and URLs.
social_mediaList[str]Vec<String>jaSupported social media channels for public profile links.
tagsList[PublicRelationTag]Vec<PublicRelationTag>jaTags that can describe a public profile.
PutConfigRequest149 Felder
FeldTypPflichtBeschreibung
accept_datasecuritybool
access_control_allow_originsstrString
admin_mailstrString
admin_messagestrString
ai_description_available_generation_testsfloatf64
ai_description_generation_countfloatf64
ai_description_generation_enabledbool
allowaiassistantbool
authorized_personsstrString
ccli_auto_reporting_enabledbool
churchcal_activebool
churchcal_cssstrString
churchcal_entries_last_daysinti64
churchcal_firstdayinweekinti64
churchcal_maincalnamestrString
churchcal_namestrString
churchcal_sortcodeinti64
churchchat_allow_event_chatbool
churchchat_allow_group_chatbool
churchchat_allow_person_chatbool
churchchat_delete_event_chat_after_x_daysinti64
churchchat_invite_ct_event_chatbool
churchchat_invite_ct_group_chatbool
churchchat_start_event_chat_before_x_daysinti64
churchchat_start_event_chat_for_calendarsstrStringA stringified array of calendar ids
churchcheckin_activebool
churchcheckin_label_childstrString
churchcheckin_label_parentstrString
churchcheckin_label_standardstrString
churchcheckin_namestrString
churchcheckin_sortcodeinti64
churchcheckin_tagsstrString
churchdb_activebool
churchdb_archivedeletehistorybool
churchdb_birthdaylist_stationstrString
churchdb_birthdaylist_statusstrString
churchdb_cleverreach_client_idstrString
churchdb_cleverreach_client_secretstrString
churchdb_cleverreach_connectedUnion[bool, str]serde_json::Value
churchdb_emailseparatorstrString
churchdb_groupnotchoosableinti64
churchdb_home_latstrString
churchdb_home_lngstrString
churchdb_mailchimp_apikeystrString
churchdb_mailchimp_connectedbool
churchdb_mailjet_apikeystrString
churchdb_mailjet_apisecretstrString
churchdb_mailjet_connectedbool
churchdb_memberlist_stationstrString
churchdb_memberlist_statusstrString
churchdb_namestrString
churchdb_sendgroupmailsbool
churchdb_smscmtelecom_apikeystrString
churchdb_sortcodeinti64
churchfinance_activebool
churchfinance_namestrString
churchfinance_sortcodeinti64
churchgroup_activebool
churchgroup_namestrString
churchgroup_sortcodeinti64
churchreport_activebool
churchreport_namestrString
churchreport_sortcodeinti64
churchresource_activebool
churchresource_anonymize_for_public_userbool
churchresource_entries_last_daysinti64
churchresource_namestrString
churchresource_send_emailsbool
churchresource_sortcodeinti64
churchservice_activebool
churchservice_agendashowenumerationbool
churchservice_ccli_tokenstrString
churchservice_ccli_token_secretstrString
churchservice_entries_last_daysinti64
churchservice_invite_personsbool
churchservice_namestrString
churchservice_openservice_rememberdaysinti64
churchservice_reminderhoursinti64
churchservice_songwithcategoryasdirbool
churchservice_sortcodeinti64
churchsync_activebool
churchsync_namestrString
churchsync_sortcodeinti64
churchwiki_activebool
churchwiki_namestrString
churchwiki_sortcodeinti64
cronjob_delayinti64
data_privacy_textstrString
datasecurity_banner_enabledbool
datasecurity_privacy_agreement_textstrStringOnly in extended config
datasecurity_privacy_agreement_text_for_childrenstrStringOnly in extended config
deactivate_default_loginbool
email_serverstrString
evangelische_termine_api_keystrString
evangelische_termine_enabledbool
evangelische_termine_namestrString
evangelische_termine_urlstrString
evangelische_termine_vidstrString
feature_sessionless_loginbool
hide_licensetabstrString
impressum_externalstrString
impressum_external_linkstrString
impressum_internalstrStringThis is a string that can only be true or false.
invite_email_textstrString
is_churchtools_blog_widget_activebool
is_churchtools_onboarding_widget_activebool
is_pr_widget_activebool
is_rss_widget_activebool
ldap_otp_enabledbool
login_messagestrString
mail_enabledbool
mail_smtp_args_hoststrString
mail_smtp_args_passwordstrString
mail_smtp_args_portstrString
mail_smtp_args_smtpsecurestrString
mail_smtp_args_usernamestrString
matomo_uristrString
max_uploadfile_size_kbinti64
post_activebool
post_edit_time_limitedbool
post_email_summary_default_enabledbool
post_email_summary_default_filterstrString
post_email_summary_default_weekdaysstrString
post_featured_groupsstrString
post_inmenubool
post_namestrString
post_sortcodeinti64
post_wizard_completedbool
post_wizard_groupsstrString
prevent_exportbool
privacy_policy_externalbool
privacy_policy_external_linkstrString
privacy_policy_fields_mandatorybool
privacy_policy_fields_mandatory_apibool
privacy_policy_internalbool
rss_widget_linkstrString
send_data_security_mailsbool
show_remember_mebool
site_licensekeystrString
site_logostrString
site_mailstrString
site_namestrString
site_offlinebool
site_regionstrString
site_startpagestrString
support_user_active_sincedatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
timezonestrString
welcomestrString
welcome_subtextstrString
PutDynamicgroupsIdRulesetResponse1 Felder
FeldTypPflichtBeschreibung
dynamic_group_rule_setOptional[List[DynamicGroupRule]]Option<Vec<DynamicGroupRule>>
PutGroupsGroupIdMeetingsMeetingIdBody6 Felder
FeldTypPflichtBeschreibung
commentOptional[str]Option<String>Meeting notes; omitted, null or blank text clears them.
is_canceledbooljaWhether the meeting was canceled.
is_completedbooljaWhether attendance and feedback have been marked as completed.
num_guestsOptional[int]Option<i64>Additional guest headcount entered for the meeting, or null when unspecified.
poll_resultOptional[List[Any]]Option<Vec<serde_json::Value>>Feedback data to store for this meeting, typically MeetingTemplateField objects with answer values.
start_datedatetimeDateTime<Utc>jaNew start timestamp in UTC; dateFrom is a legacy alias.
PutGroupsGroupIdMembersPersonIdData19 Felder

A person’s membership in one group.

FeldTypPflichtBeschreibung
deprecatedGroupMemberDeprecatedjaLegacy response-field mapping emitted by the membership transformer.
commentOptional[str]Option<String>Comment about this membership.
fieldsList[GroupMemberFieldsItem]Vec<GroupMemberFieldsItem>Visible additional fields stored on this membership.
groupGroupMemberGroupjaGroup to which this membership belongs.
group_member_statusstrStringjaState of a person's membership in a group, independent of their role.
group_type_role_idinti64jaID of the role definition for the group type, matching Role.id from GET /roles.
idinti64jaID of the membership record linking the person and group.
member_end_dateOptional[date]Option<NaiveDate>Membership end date, or null if none is set.
member_start_dateOptional[date]Option<NaiveDate>Date on which the membership began (YYYY-MM-DD), or null if no start date is set.
newsletterGroupMemberNewsletterNewsletter subscription information, included when the member list is requested with include=newsletter.
personGroupMemberPersonjaPerson who belongs to the group.
person_fieldsUnion[StrMap[Any], List[Any]]serde_json::ValueRequested additional person fields, keyed by field name.
person_idinti64use person.domainIdentifier (type: string) instead. veraltet
registered_byOptional[int]Option<i64>Person ID recorded as having registered this member, or null if none is recorded.
role_changed_datedatetimeDateTime<Utc>jaTimestamp of the most recent role change.
status_changed_datedatetimeDateTime<Utc>jaTimestamp of the most recent membership status change.
tagsList[Tag]Vec<Tag>Person tags, included when the member list is requested with include=tags.
waitinglist_positionOptional[int]Option<i64>Position on the group’s waiting list, or null when no position is assigned.
f_0PutGroupsGroupIdMembersPersonIdDataT0Legacy duplicate of this membership. veraltet
PutGroupsGroupIdMembersPersonIdDataT018 Felder

Legacy duplicate of this membership.

FeldTypPflichtBeschreibung
deprecatedGroupMemberDeprecatedjaLegacy response-field mapping emitted by the membership transformer.
commentOptional[str]Option<String>Comment about this membership.
fieldsList[GroupMemberFieldsItem]Vec<GroupMemberFieldsItem>Visible additional fields stored on this membership.
groupGroupMemberGroupjaGroup to which this membership belongs.
group_member_statusstrStringjaState of a person's membership in a group, independent of their role.
group_type_role_idinti64jaID of the role definition for the group type, matching Role.id from GET /roles.
idinti64jaID of the membership record linking the person and group.
member_end_dateOptional[date]Option<NaiveDate>Membership end date, or null if none is set.
member_start_dateOptional[date]Option<NaiveDate>Date on which the membership began (YYYY-MM-DD), or null if no start date is set.
newsletterGroupMemberNewsletterNewsletter subscription information, included when the member list is requested with include=newsletter.
personGroupMemberPersonjaPerson who belongs to the group.
person_fieldsUnion[StrMap[Any], List[Any]]serde_json::ValueRequested additional person fields, keyed by field name.
person_idinti64use person.domainIdentifier (type: string) instead. veraltet
registered_byOptional[int]Option<i64>Person ID recorded as having registered this member, or null if none is recorded.
role_changed_datedatetimeDateTime<Utc>jaTimestamp of the most recent role change.
status_changed_datedatetimeDateTime<Utc>jaTimestamp of the most recent membership status change.
tagsList[Tag]Vec<Tag>Person tags, included when the member list is requested with include=tags.
waitinglist_positionOptional[int]Option<i64>Position on the group’s waiting list, or null when no position is assigned.
PutPermissionsLockedData1 Felder
FeldTypPflichtBeschreibung
permissionsList[LockedPermission]Vec<LockedPermission>ja
PutPostsSeenBody1 Felder
FeldTypPflichtBeschreibung
post_idsList[int]Vec<i64>ja
Registration8 Felder

Pending self-registration.

FeldTypPflichtBeschreibung
config_idstrStringjaConfiguration GUID, despite the configId property name.
emailstrStringja
first_namestrStringja
guidstrStringja
last_namestrStringja
metaMetaDataEntityIdja
possible_matchesList[RegistrationPossibleMatchesItem]Vec<RegistrationPossibleMatchesItem>Only included after confirmation when active persons share the default email address; omitted when there are no matches.
redirect_after_registrationOptional[str]Option<String>
RegistrationConfig16 Felder

Self-registration form configuration.

FeldTypPflichtBeschreibung
deprecatedstrString
blacklistList[str]Vec<String>Administrators only. Blocked email patterns; * matches arbitrary text, case-insensitively.
campusesList[RegistrationConfigCampusesItem]Vec<RegistrationConfigCampusesItem>ja
department_idsList[int]Vec<i64>Administrators only. Departments assigned to newly created persons.
fieldsList[RegistrationConfigFieldsItem]Vec<RegistrationConfigFieldsItem>ja
guidstrStringja
idinti64ja
is_activeboolja
is_completebooljaTrue when statusId is set and department/campus configurations are nonempty; independent of isActive.
metaMetaDataEntityId
minimum_ageinti64ja
show_buttonbooljaShows the registration entry point and permits numeric-ID public reads.
status_idOptional[int]Option<i64>Administrators only. Status assigned to newly created persons.
tagsList[str]Vec<String>Administrative compatibility alias for tagsForNewPersons. veraltet
tags_for_existing_personsList[str]Vec<String>Administrators only. Person tag names added when linking an existing person.
tags_for_new_personsList[str]Vec<String>Administrators only. Person tag names added to newly created persons.
RegistrationConfigAdmin16 Felder

Configuration as returned to administrators; includes assignment settings and audit metadata.

FeldTypPflichtBeschreibung
deprecatedstrStringja
blacklistList[str]Vec<String>jaAdministrators only. Blocked email patterns; * matches arbitrary text, case-insensitively.
campusesList[RegistrationConfigCampusesItem]Vec<RegistrationConfigCampusesItem>ja
department_idsList[int]Vec<i64>jaAdministrators only. Departments assigned to newly created persons.
fieldsList[RegistrationConfigFieldsItem]Vec<RegistrationConfigFieldsItem>ja
guidstrStringja
idinti64ja
is_activeboolja
is_completebooljaTrue when statusId is set and department/campus configurations are nonempty; independent of isActive.
metaMetaDataEntityIdja
minimum_ageinti64ja
show_buttonbooljaShows the registration entry point and permits numeric-ID public reads.
status_idOptional[int]Option<i64>Administrators only. Status assigned to newly created persons.
tagsList[str]Vec<String>Administrative compatibility alias for tagsForNewPersons. veraltet
tags_for_existing_personsList[str]Vec<String>jaAdministrators only. Person tag names added when linking an existing person.
tags_for_new_personsList[str]Vec<String>jaAdministrators only. Person tag names added to newly created persons.
RegistrationConfigCampusesItem3 Felder
FeldTypPflichtBeschreibung
campusProfilejaProfiles are representing campuses and the church itself.
campus_idinti64ja
group_idsList[int]Vec<i64>Automatic membership groups for new persons; administrators only.
RegistrationConfigFieldsItem3 Felder
FeldTypPflichtBeschreibung
fieldRegistrationConfigFieldsItemFieldExpanded database-field definition when resolvable.
field_idinti64ja
is_requiredboolja
RegistrationConfigFieldsItemField26 Felder

Expanded database-field definition when resolvable.

FeldTypPflichtBeschreibung
delete_on_archivebooljaWhether a person field’s value is cleared on archiving.
is_activebooljaWhether the field is enabled for normal use.
is_available_in_routinesbooljaWhether routines may use this field.
is_new_person_fieldbooljaWhether the field is available on new-person forms; primarily relevant to person categories.
lengthOptional[int]Option<i64>Configured field length.
line_endingOptional[str]Option<String>Legacy display-layout setting, retained for compatibility. veraltet
namestrStringjaStored display name or translation key.
security_levelinti64jaSecurity-level ID governing access to this field, resolved from installation masterdata.
shortyOptional[str]Option<String>Abbreviated label.
sort_keyinti64jaDisplay-order value within its category.
use_as_placeholderbooljaWhether the field may be used as a placeholder.
deprecatedDbFieldDeprecatedjaCompatibility mappings emitted by the backend.
columnstrStringUnderlying database column; prefer key for API requests. veraltet
created_by_churchbooljaTrue for a custom field created by this ChurchTools installation.
field_categoryDbFieldCategoryjaStored field category and its underlying entity table.
field_typeDbFieldTypejaDatabase-field type definition.
hide_in_frontendbooljaStored flag controlling frontend visibility; current updates reset it to false.
idinti64jaField-definition ID used in /dbfields paths.
is_basic_infobooljaWhether the field is marked as basic information; current updates reset it to false.
is_not_configurablebooljaWhether the field is marked as non-configurable; current updates reset it to false.
is_nullablebooljaWhether stored field values may be null.
keystrStringjaAPI property name. Built-in columns are mapped to API names; custom fields normally retain their generated column name.
name_translatedstrStringjaLocalized display name for the current language.
not_configurableboolDeprecated alias of isNotConfigurable. veraltet
nullableboolDeprecated alias of isNullable. veraltet
optionsList[DbFieldOption]Vec<DbFieldOption>Optional choices, included by an unfiltered list with include[]=options.
RegistrationConfigUpdate11 Felder

Partial self-registration configuration update.

FeldTypPflichtBeschreibung
blacklistList[str]Vec<String>Case-insensitive email patterns; * is a wildcard.
campusesList[RegistrationConfigUpdateCampusesItem]Vec<RegistrationConfigUpdateCampusesItem>
department_idsList[int]Vec<i64>
fieldsList[RegistrationConfigUpdateFieldsItem]Vec<RegistrationConfigUpdateFieldsItem>Complete replacement of configured person fields.
is_activebool
minimum_ageinti64
show_buttonbool
status_idOptional[int]Option<i64>
tagsList[str]Vec<String>Legacy input alias; prefer tagsForNewPersons. veraltet
tags_for_existing_personsList[str]Vec<String>
tags_for_new_personsList[str]Vec<String>
RegistrationConfigUpdateCampusesItem2 Felder
FeldTypPflichtBeschreibung
campus_idinti64ja
group_idsList[int]Vec<i64>ja
RegistrationConfigUpdateFieldsItem2 Felder
FeldTypPflichtBeschreibung
field_idinti64ja
is_requiredboolja
RegistrationConfirm1 Felder
FeldTypPflichtBeschreibung
tokenstrStringjaConfirmation token from the emailed link.
RegistrationConvert3 Felder
FeldTypPflichtBeschreibung
form_dataRegistrationConvertFormDatajaConsent fields plus configured person fields by numeric field ID or modern field name.
person_idinti64Eligible existing person to link; without it, a new person is created.
tokenstrStringjaSame token used for email confirmation.
RegistrationConvertFormData3 Felder

Consent fields plus configured person fields by numeric field ID or modern field name.

FeldTypPflichtBeschreibung
accept_data_privacybooljaExplicit acceptance of the data privacy policy.
accept_data_securityboolRequired when accept_datasecurity is enabled.
campus_idinti64Configured campus for a new person.
RegistrationCreate7 Felder
FeldTypPflichtBeschreibung
config_idstrStringjaGUID from RegistrationConfig.guid.
emailstrStringjaEmail address used for confirmation.
first_namestrStringjaGiven name.
has_minimum_ageboolApplicant confirms the configured minimum age.
last_namestrStringjaFamily name.
passwordstrStringjaMust satisfy the configured password-strength requirements.
redirect_after_registrationOptional[str]Option<String>Destination for the client after completion.
RegistrationPossibleMatchesItem3 Felder
FeldTypPflichtBeschreibung
domain_objectDomainObjectPersonjaPerson as Domain Object
form_dataStrMap[Any]BTreeMap<String, serde_json::Value>jaConfigured active person fields, keyed by person field name.
has_passwordboolja
RelationshipType12 Felder

Definition of a relationship between two persons, such as Parent / Child or Friend / Friend.

FeldTypPflichtBeschreibung
degree_name_astrStringjaRole label for side A.
degree_name_bstrStringjaRole label for side B and counterpart of degreeNameA.
export_titleOptional[str]Option<String>Heading for the combined export column.
include_in_exportbooljaWhether selected export values from both relationship directions are combined in one column.
nameOptional[str]Option<String>Stored type name or translation key.
security_level_idinti64jaSecurity level configured for relationships of this type.
sort_keyinti64jaPrimary ascending catalog sort key.
degree_name_a_translatedstrStringjaSide A role label translated for the current language.
degree_name_b_translatedstrStringjaSide B role label translated for the current language.
function_keysList[str]Vec<String>jaBuilt-in behavior flags; always an array, empty for ordinary custom types.
idinti64jaRelationship-type ID used when creating or reading a relationship between persons.
name_translatedstrStringjaTranslated display name, using the translated side labels as a fallback.
RelationshipTypeCreate7 Felder

Creates a relationship-type catalog definition, not a relationship between persons.

FeldTypPflichtBeschreibung
degree_name_astrStringjaRole label for side A.
degree_name_bstrStringjaRole label for side B and counterpart of degreeNameA.
export_titleOptional[str]Option<String>Heading for the combined export column.
include_in_exportOptional[bool]Option<bool>Controls column aggregation when this relationship is selected for person export.
nameOptional[str]Option<String>Stored name or translation key.
security_level_idinti64jaID of an existing, installation-specific security level for relationships of this type.
sort_keyOptional[int]Option<i64>Ascending catalog sort key.
RelationshipTypeUpdate7 Felder

Replacement fields for an existing relationship type.

FeldTypPflichtBeschreibung
degree_name_astrStringjaRole label for side A.
degree_name_bstrStringjaRole label for side B and counterpart of degreeNameA.
export_titleOptional[str]Option<String>Heading for the combined export column.
include_in_exportOptional[bool]Option<bool>Controls column aggregation when this relationship is selected for person export.
nameOptional[str]Option<String>Stored name or translation key.
security_level_idinti64jaID of an existing, installation-specific security level for relationships of this type.
sort_keyOptional[int]Option<i64>Ascending catalog sort key.
RepeatCalculationBase10 Felder

Echo of the transient recurrence definition.

FeldTypPflichtBeschreibung
additionsList[StrMap[Any]]Vec<BTreeMap<String, serde_json::Value>>ja
all_dayboolja
end_dateUnion[datetime, date]DateOrDateTimejaUse a UTC timestamp for a timed appointment or YYYY-MM-DD for an all-day appointment.
exceptionsList[StrMap[Any]]Vec<BTreeMap<String, serde_json::Value>>ja
idinti64jaPlaceholder ID because no appointment is stored.
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64jaRecurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
start_dateUnion[datetime, date]DateOrDateTimejaUse a UTC timestamp for a timed appointment or YYYY-MM-DD for an all-day appointment.
RepeatCalculationCreate8 Felder

Calculate occurrence dates without persisting an appointment.

FeldTypPflichtBeschreibung
additionalsList[AppointmentAdditionalCreate]Vec<AppointmentAdditionalCreate>
end_dateUnion[datetime, date]DateOrDateTimejaEnd of the base occurrence.
exceptionsList[AppointmentExceptionCreate]Vec<AppointmentExceptionCreate>
repeat_frequencyOptional[int]Option<i64>Interval between repetitions; use a positive integer for automatic patterns, for example 2 with repeatId=7 for every two weeks.
repeat_idinti64Recurrence pattern: 0 = once, 1 = daily, 7 = weekly, 31 = monthly by date, 32 = monthly by weekday, 365 = yearly, 999 = manually selected dates.
repeat_optionOptional[int]Option<i64>For repeatId=32, ordinal of the weekday within the month: 1–5 for first through fifth, 6 for last.
repeat_untilOptional[date]Option<NaiveDate>Inclusive last date of an automatic series.
start_dateUnion[datetime, date]DateOrDateTimejaStart of the base occurrence.
RepeatCalculationOccurrence2 Felder

One computed occurrence of a transient recurrence definition.

FeldTypPflichtBeschreibung
baseRepeatCalculationBasejaEcho of the transient recurrence definition.
calculatedRepeatCalculationOccurrenceCalculatedja
RepeatCalculationOccurrenceCalculated2 Felder
FeldTypPflichtBeschreibung
end_dateUnion[datetime, date]DateOrDateTimejaUse a UTC timestamp for a timed appointment or YYYY-MM-DD for an all-day appointment.
start_dateUnion[datetime, date]DateOrDateTimejaUse a UTC timestamp for a timed appointment or YYYY-MM-DD for an all-day appointment.
Report4 Felder
FeldTypPflichtBeschreibung
commentstrString
metaMetaDataEntityIdja
reporterUnion[DomainObjectPerson, DomainObjectExternalPerson]serde_json::Valueja
statusstrStringja
ReportAnswer3 Felder
FeldTypPflichtBeschreibung
domain_idinti64ja
domain_typestrStringja
responsestrStringja
ReportCreate5 Felder
FeldTypPflichtBeschreibung
captchastrString
commentstrString
domain_idinti64ja
domain_typestrStringja
reporterReportCreateReporter
ReportCreateReporter3 Felder
FeldTypPflichtBeschreibung
emailstrStringja
first_namestrStringja
last_namestrStringja
ReportObjectPost8 Felder
FeldTypPflichtBeschreibung
commentstrString
domain_idinti64ja
idinti64ja
metaMetaDataEntityIdja
reportsList[Report]Vec<Report>ja
statusstrStringja
domain_objectPostja
domain_typestrStringja
ReportObjectPostComment8 Felder
FeldTypPflichtBeschreibung
commentstrString
domain_idinti64ja
idinti64ja
metaMetaDataEntityIdja
reportsList[Report]Vec<Report>ja
statusstrStringja
domain_objectPostCommentja
domain_typestrStringja
ResolvedDomainObject5 Felder

A compact object returned by the registered domain resolver.

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>jaAdditional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
Resource17 Felder

An individual bookable resource, such as a room, vehicle or item of equipment.

FeldTypPflichtBeschreibung
admin_idsList[int]Vec<i64>jaPersons responsible for this resource.
descriptionOptional[str]Option<String>Additional information about the resource, such as capacity or available equipment.
i_cal_locationOptional[str]Option<String>Location text used in the resource’s iCalendar export.
is_auto_acceptbooljaAutomatically approves pending bookings when there are no conflicts.
is_virtualbooljaWhether this is a virtual resource.
locationOptional[str]Option<String>Internal location of the resource.
namestrStringjaName of the individual resource, for example a room or vehicle.
quantityinti64jaNumber of units available for simultaneous bookings.
random_stringOptional[str]Option<String>Access token used by the legacy public iCalendar export.
resource_type_idinti64jaResource type used to group this resource, such as rooms or vehicles.
sort_keyinti64jaSort value for displaying resources.
does_require_cal_entryOptional[bool]Option<bool>Use needsAppointment instead. veraltet
idinti64ja
involved_persons_domain_objectsBookingCalculatedWithIncludesBaseResourceInvolvedPersonsDomainObjectsIncluded with include[]=involvedPersonsDomainObjects.
metaMetaDataEntityIdja
name_translatedstrStringjaResource name translated for the current language, falling back to name.
needs_appointmentOptional[bool]Option<bool>Whether bookings must be linked to a calendar appointment.
ResourceCreate12 Felder

Configuration for an individual bookable resource.

FeldTypPflichtBeschreibung
admin_idsList[int]Vec<i64>Persons responsible for this resource.
descriptionOptional[str]Option<String>Additional information about the resource, such as capacity or available equipment.
i_cal_locationOptional[str]Option<String>Location text used in the resource’s iCalendar export.
is_auto_acceptboolAutomatically approves pending bookings when there are no conflicts.
is_virtualboolWhether this is a virtual resource.
locationOptional[str]Option<String>Internal location of the resource.
namestrStringjaName of the individual resource, for example a room or vehicle.
quantityinti64Number of units available for simultaneous bookings.
random_stringOptional[str]Option<String>Access token used by the legacy public iCalendar export.
resource_type_idinti64jaResource type used to group this resource, such as rooms or vehicles.
sort_keyinti64jaSort value for displaying resources.
needs_appointmentboolRequires bookings to be linked to a calendar appointment.
ResourceMasterData2 Felder

Resource planning reference data: all resource types and the resources visible to the current user.

FeldTypPflichtBeschreibung
resource_typesList[ResourceType]Vec<ResourceType>jaAll resource types ordered by sortKey ascending, including types without visible resources.
resourcesList[Resource]Vec<Resource>jaResources the current user is allowed to view.
ResourceStatistics1 Felder

Pending booking workload for one resource.

FeldTypPflichtBeschreibung
num_requested_bookings_in_futureinti64jaNumber of pending booking occurrences from now onward, rather than distinct booking IDs.
ResourceType8 Felder

Category used by Resource.resourceTypeId.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Associated campus, or null for no campus assignment.
namestrStringjaSingular label for one resource of this type.
name_pluralstrStringjaPlural label for resources of this type.
sort_keyinti64jaSort value for displaying resource types.
idinti64ja
metaMetaDataEntityIdja
name_plural_translatedstrStringjaPlural label translated for the current language.
name_translatedstrStringjaSingular label translated for the current language.
ResourceTypeCreate4 Felder

A category for resources, such as rooms or vehicles.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Associated campus, or null for no campus assignment.
namestrStringjaSingular label for one resource of this type.
name_pluralstrStringjaPlural label for resources of this type.
sort_keyinti64jaSort value for displaying resource types.
ResourceTypeUpdate4 Felder

Complete resource-type input.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Associated campus, or null for no campus assignment.
namestrStringjaSingular label for one resource of this type.
name_pluralstrStringjaPlural label for resources of this type.
sort_keyinti64jaSort value for displaying resource types.
ResourceUpdate12 Felder

Complete resource configuration.

FeldTypPflichtBeschreibung
admin_idsList[int]Vec<i64>Persons responsible for this resource.
descriptionOptional[str]Option<String>Additional information about the resource, such as capacity or available equipment.
i_cal_locationOptional[str]Option<String>Location text used in the resource’s iCalendar export.
is_auto_acceptboolAutomatically approves pending bookings when there are no conflicts.
is_virtualboolWhether this is a virtual resource.
locationOptional[str]Option<String>Internal location of the resource.
namestrStringjaName of the individual resource, for example a room or vehicle.
quantityinti64Number of units available for simultaneous bookings.
random_stringOptional[str]Option<String>Access token used by the legacy public iCalendar export.
resource_type_idinti64jaResource type used to group this resource, such as rooms or vehicles.
sort_keyinti64jaSort value for displaying resources.
needs_appointmentboolRequires bookings to be linked to a calendar appointment.
Role11 Felder

A membership role defined for a group type, such as leader or participant.

FeldTypPflichtBeschreibung
group_type_idinti64jaID of the group type this role belongs to.
grow_path_idOptional[int]Option<i64>ID of the growth path associated with this role, or null for no association.
is_defaultbooljaWhether this is the default role for its group type.
is_hiddenbooljaWhether this role is marked as hidden for displays that exclude hidden roles, such as leader listings.
is_leaderboolLegacy response field indicating whether type is leader. veraltet
namestrStringjaStored name of the role.
shortystrStringjaAbbreviated label for the role, used in compact displays.
sort_keyinti64jaDisplay order among roles.
type_r#typestrStringjaFunctional classification of the role.
idinti64jaID of this role record.
name_translatedstrStringjaLocalized display name, translated from the stored name when a translation exists.
RoleCreate9 Felder
FeldTypPflichtBeschreibung
group_type_idinti64jaID of the group type this role belongs to.
grow_path_idOptional[int]Option<i64>ID of the growth path associated with this role, or null for no association.
is_defaultbooljaWhether this is the default role for its group type.
is_hiddenbooljaWhether this role is marked as hidden for displays that exclude hidden roles, such as leader listings.
is_leaderboolLegacy response field indicating whether type is leader. veraltet
namestrStringjaStored name of the role.
shortystrStringjaAbbreviated label for the role, used in compact displays.
sort_keyinti64jaDisplay order among roles.
type_r#typestrStringjaFunctional classification of the role.
RosterICalSetting3 Felder

Personal setting containing the secret used by a roster calendar subscription.

FeldTypPflichtBeschreibung
attributestrStringja
modulestrStringja
valuestrStringjaSecret identifying the person in the subscription URL.
Routine8 Felder

Automation definition, including enabled and disabled steps as a nested tree.

FeldTypPflichtBeschreibung
descriptionOptional[str]Option<String>
domain_typestrStringja
idinti64ja
is_enabledboolja
namestrStringja
priorityinti64jaExecution order for routines bound to the same trigger.
stepsList[Union[RoutineStepWithoutRepeat, RoutineStepRepeat]]Vec<serde_json::Value>jaRoot steps in sort order, with children nested on their parent steps.
trigger_keystrStringjaRegistered trigger that starts this routine.
RoutineActionValidation2 Felder
FeldTypPflichtBeschreibung
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>Action-specific data.
action_keystrStringjaRegistered action key, or special:wait / special:repeat.
RoutineCreate7 Felder
FeldTypPflichtBeschreibung
descriptionOptional[str]Option<String>
domain_contextRoutineCreateDomainContextjaContext for the currently supported group_membership domain.
domain_typestrStringja
is_enabledbool
namestrStringjaTrimmed automation name.
priorityinti64Execution order for routines bound to the same trigger.
trigger_keystrStringRegistered trigger whose domain type must match domainType.
RoutineCreateDomainContext3 Felder

Context for the currently supported group_membership domain.

FeldTypPflichtBeschreibung
group_idinti64ja
group_member_statusOptional[str]Option<String>Optional membership status for the binding; null means the active/default status representation.
group_type_role_idinti64ja
RoutineRun12 Felder
FeldTypPflichtBeschreibung
current_iterationinti64Current iteration while in a loop, otherwise this attribute is undefined
domain_idinti64jaGroup membership ID, not a person or group ID.
domain_objectOptional[DomainObjectGroupMembership]Option<DomainObjectGroupMembership>Only present with include[]=domainObject; null when resolution fails.
domain_typestrStringja
error_codeOptional[str]Option<String>
error_messageOptional[str]Option<String>Can be either an error message or an translatable messageKey
idOptional[int]Option<i64>Persisted run ID, or null for an unpersisted potential run.
metaOptional[MetaDataEntityId]Option<MetaDataEntityId>
routine_idinti64ja
routine_step_idOptional[int]Option<i64>
statusstrStringja
waiting_sincedateNaiveDateA simple date in ISO format, e.g.
RoutineRunBulkUpdate1 Felder
FeldTypPflichtBeschreibung
run_idsList[int]Vec<i64>jaRun IDs processed sequentially.
RoutineRunUpdate2 Felder

Only read for the update action.

FeldTypPflichtBeschreibung
current_iterationinti64Update the current iteration for a special:repeat step
waiting_sincedateNaiveDateUpdate the waiting since date for a special:wait step
RoutineStepRepeat6 Felder

Persisted repeat step.

FeldTypPflichtBeschreibung
idinti64ja
routine_idinti64ja
action_dataRoutineStepRepeatActionDataja
action_keystrStringja
childrenList[RoutineStepWithoutRepeat]Vec<RoutineStepWithoutRepeat>Child steps when present.
is_enabledboolja
RoutineStepRepeatActionData1 Felder
FeldTypPflichtBeschreibung
countOptional[int]Option<i64>
RoutineStepUpdateRepeat8 Felder
FeldTypPflichtBeschreibung
action_dataRoutineStepRepeatActionDataja
action_keystrStringja
childrenList[RoutineStepUpdateWithoutRepeat]Vec<RoutineStepUpdateWithoutRepeat>ja
finishList[Union[int, str]]Vec<serde_json::Value>
idinti64
is_enabledboolja
repositionList[Union[int, str]]Vec<serde_json::Value>
restartList[Union[int, str]]Vec<serde_json::Value>
RoutineStepUpdateWithoutRepeat2 Felder
FeldTypPflichtBeschreibung
idinti64
repositionList[Union[int, str]]Vec<serde_json::Value>
RoutineStepWithoutRepeat2 Felder
FeldTypPflichtBeschreibung
idinti64ja
routine_idinti64ja
RoutineTrigger2 Felder
FeldTypPflichtBeschreibung
domain_typestrStringja
keystrStringja
RoutineUpdate7 Felder
FeldTypPflichtBeschreibung
descriptionOptional[str]Option<String>
finishList[Union[int, str]]Vec<serde_json::Value>Source step IDs or run status buckets.
is_enabledbool
namestrString
priorityinti64
restartList[Union[int, str]]Vec<serde_json::Value>Source step IDs or run status buckets.
stepsList[Union[RoutineStepUpdateWithoutRepeat, RoutineStepUpdateRepeat]]Vec<serde_json::Value>Complete replacement tree; omitted existing steps are removed.
RssFeed5 Felder
FeldTypPflichtBeschreibung
descriptionstrString
itemsList[BlogItem]Vec<BlogItem>ja
linkstrString
titlestrStringja
total_countinti64
SamlIdpMetadataDescriptor5 Felder

One usable IdP descriptor found in the uploaded document.

FeldTypPflichtBeschreibung
encryption_certificatesList[str]Vec<String>jaDeduplicated PEM certificate strings for this usage.
entity_idstrStringjaNonempty entityID from the EntityDescriptor.
signing_certificatesList[str]Vec<String>jaDeduplicated PEM certificate strings for this usage.
single_logout_servicesList[SamlMetadataEndpoint]Vec<SamlMetadataEndpoint>jaOptional supported SLO endpoints.
single_sign_on_servicesList[SamlMetadataEndpoint]Vec<SamlMetadataEndpoint>jaSupported SSO endpoints.
SamlMetadataEndpoint2 Felder

An endpoint using the supported HTTP-Redirect binding.

FeldTypPflichtBeschreibung
bindingstrStringja
urlstrStringja
SamlMetadataParseCreate1 Felder

Read-only request to parse a SAML IdP metadata document.

FeldTypPflichtBeschreibung
xmlstrStringjaXML document with EntityDescriptor or EntitiesDescriptor root in the SAML metadata namespace.
SecurityLevel4 Felder
FeldTypPflichtBeschreibung
idinti64ja
namestrStringja
sort_keyinti64ja
sortkeyinti64 veraltet
Service23 Felder

A reusable role in event planning, such as Lead vocals.

FeldTypPflichtBeschreibung
deprecatedStrMap[str]BTreeMap<String, String>ja
allow_chatbooljaEnable chat for this service.
allow_comment_on_confirmationbooljaAllow a comment when confirming a service request.
allow_control_live_agendabooljaAllow persons assigned to this service to control the live agenda.
allow_declinebooljaAllow assigned persons to decline service requests.
allow_exchangebooljaAllow assigned persons to request an exchange of their service assignment.
cal_text_templateOptional[str]Option<String>Template for the calendar text of this service.
commentstrStringUse description instead. veraltet
comment_on_confirmationbooluse allowCommentOnConfirmation instead veraltet
descriptionOptional[str]Option<String>Description of the role.
group_idsList[int]Vec<i64>jaIDs of connected person groups used for service planning.
hide_person_namebooljaHide assigned persons from viewers without the service or service-group permissions needed to see them.
idinti64ja
metaMetaDataEntityIdja
namestrStringjaName of the planning role, for example Lead vocals.
name_translatedstrStringjaName translated for the current language; falls back to the stored name.
only_assign_from_groupsbooljaRestrict assignment candidates to the connected person groups.
send_reminder_mailsbooljaEnable reminder emails for service assignments.
send_service_request_emailsbooljaEnable emails for service requests.
service_group_idinti64jaID of the existing service group that organizes this role, for example Music or Technical team.
sort_keyinti64jaDisplay order. Lists are sorted by sortKey and then name, both ascending.
standardbooljaWhether this service is marked as a standard service for event planning.
tag_idsList[int]Vec<i64>jaIDs of connected tags used for service planning.
ServiceCandidate2 Felder
FeldTypPflichtBeschreibung
full_namestrStringjaPerson’s full name.
person_idinti64jaID of the person.
ServiceCandidateAssignment2 Felder
FeldTypPflichtBeschreibung
eventDomainObjectEventjaEvent as Domain Object
event_serviceServiceCandidateAssignmentEventServicejaConcrete assignment record.
ServiceCandidateAssignmentEventService20 Felder

Concrete assignment record.

FeldTypPflichtBeschreibung
deprecatedStrMap[str]BTreeMap<String, String>ja
agreedboolUse isAccepted instead veraltet
allow_chatboolja
commentOptional[str]Option<String>Confirmation or decline comment.
counterinti64Use index instead veraltet
eventServiceRequestEventja
idinti64jaID of this particular assignment record.
indexOptional[int]Option<i64>Slot index when an event requires several persons for the same service; null if no index is assigned.
is_acceptedbooljaWhether this record was confirmed.
is_validbooljaWhether this record is still the active assignment for its slot.
metaMetaDataEntityIdja
nameOptional[str]Option<String>
permissionsOptional[ServiceRequestPermissions]Option<ServiceRequestPermissions>Optional computed assignment permissions.
personOptional[DomainObjectPerson]Option<DomainObjectPerson>
person_idOptional[int]Option<i64> veraltet
requested_datedatetimeDateTime<Utc>Deprecated alias for meta.modifiedDate. veraltet
requester_personDomainObjectPersonjaPerson as Domain Object
requester_person_idinti64 veraltet
service_idinti64jaID of the reusable service role from /services, not the request ID.
service_namestrStringja
ServiceCandidateScoreHint3 Felder
FeldTypPflichtBeschreibung
name_translatedstrStringjaHuman-readable explanation in the current language.
reasonUnion[str, str]serde_json::ValuejaStable reason key for a score contribution.
scoreinti64jaContribution to the total score; positive values favor the candidate and negative values penalize it.
ServiceCreate18 Felder

Fields for creating a reusable service role.

FeldTypPflichtBeschreibung
allow_chatboolEnable chat for this service.
allow_comment_on_confirmationboolAllow a comment when confirming a service request.
allow_control_live_agendaboolAllow persons assigned to this service to control the live agenda.
allow_declineboolAllow assigned persons to decline service requests.
allow_exchangeboolAllow assigned persons to request an exchange of their service assignment.
cal_text_templateOptional[str]Option<String>Template for the calendar text of this service.
commentOptional[str]Option<String>Deprecated input alias for description. veraltet
descriptionOptional[str]Option<String>Description of the role.
group_idsList[int]Vec<i64>IDs of connected person groups used for service planning.
hide_person_nameboolHide assigned persons from viewers without the service or service-group permissions needed to see them.
namestrStringjaName of the planning role, for example Lead vocals.
only_assign_from_groupsboolRestrict assignment candidates to the connected person groups.
send_reminder_mailsboolEnable reminder emails for service assignments.
send_service_request_emailsboolEnable emails for service requests.
service_group_idinti64jaID of the existing service group that organizes this role, for example Music or Technical team.
sort_keyinti64Display order. Lists are sorted by sortKey and then name, both ascending.
standardboolWhether this service is marked as a standard service for event planning.
tag_idsList[int]Vec<i64>IDs of connected tags used for service planning.
ServiceExchangeCandidate4 Felder
FeldTypPflichtBeschreibung
event_datedatetimeDateTime<Utc>jaStart of the candidate event.
event_service_idinti64jaID of a concrete event-service assignment (service request), not the reusable service master-data ID from /services.
event_titlestrStringjaTitle of the calendar appointment associated with the candidate event.
personServiceExchangePersonjaLegacy person object loaded for service exchanges, not the response schema of /persons/{personId} or a person domain object.
ServiceExchangeEvent3 Felder
FeldTypPflichtBeschreibung
idinti64jaID of the event.
namestrStringjaEvent name.
start_datedatetimeDateTime<Utc>ja
ServiceExchangePerson6 Felder

Legacy person object loaded for service exchanges, not the response schema of /persons/{personId} or a person domain object.

FeldTypPflichtBeschreibung
first_namestrStringja
guidOptional[str]Option<String>Person GUID, if available.
idinti64jaID of the person.
image_urlOptional[str]Option<String>Avatar URL, if available.
is_archivedboolja
last_namestrStringja
ServiceExchangeRequest10 Felder

A request to exchange two concrete event-service assignments.

FeldTypPflichtBeschreibung
idinti64jaID of the exchange request.
is_archivedbooljaWhether this exchange is archived.
metaServiceExchangeRequestMetaja
requested_eventOptional[ServiceExchangeEvent]Option<ServiceExchangeEvent>
requested_personOptional[ServiceExchangePerson]Option<ServiceExchangePerson>
requested_service_idinti64jaAssignment requested in return.
requesting_eventOptional[ServiceExchangeEvent]Option<ServiceExchangeEvent>
requesting_personOptional[ServiceExchangePerson]Option<ServiceExchangePerson>
requesting_service_idinti64jaAssignment offered by the requester.
statusstrStringjaUNANSWERED: awaiting a reply; AGREED: exchange accepted; DECLINED: recipient declined; CANCELLED: requester cancelled.
ServiceExchangeRequestCreate1 Felder
FeldTypPflichtBeschreibung
requested_service_idinti64jaTarget assignment to exchange with.
ServiceExchangeRequestMeta1 Felder
FeldTypPflichtBeschreibung
modified_datedatetimeDateTime<Utc>ja
ServiceGroup9 Felder

A category of service roles, such as Music or Technical team, optionally associated with a campus.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>ID of an existing campus, or null for no campus association.
descriptionOptional[str]Option<String>Description of the service group.
idinti64ja
metaMetaDataEntityIdja
namestrStringjaName of a category of service roles, for example Technical team.
name_translatedstrStringjaName translated for the current language; falls back to the stored name.
only_visible_in_campus_filterbooljaShow this service group only when filtering by its campus.
sort_keyinti64jaDisplay order. Lists are sorted by sortKey and then name, both ascending.
view_allbooljaMake this service group visible through the general service-group viewing permissions.
ServiceGroupCreate6 Felder

Create a category that organizes service roles.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>ID of an existing campus, or null for no campus association.
descriptionOptional[str]Option<String>Description of the service group.
namestrStringjaName of a category of service roles, for example Technical team.
only_visible_in_campus_filterboolShow this service group only when filtering by its campus.
sort_keyinti64Display order. Lists are sorted by sortKey and then name, both ascending.
view_allboolMake this service group visible through the general service-group viewing permissions.
ServiceGroupPersonPreference7 Felder
FeldTypPflichtBeschreibung
max_per_monthinti64jaReaching or exceeding it adds a score penalty; it is not an assignment limit.
modified_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
modified_personServiceGroupPersonPreferenceModifiedPersonja
morning_weightinti64ja0: no preference; 1: prefer morning; 2: only morning; 3: prefer afternoon/evening; 4: only afternoon/evening.
person_idinti64ja
relation_weightinti64ja0: no preference; 1: prefer serving with the partner; 2: prefer serving separately.
service_group_idinti64ja
ServiceGroupPersonPreferenceModifiedPerson1 Felder
FeldTypPflichtBeschreibung
idinti64ja
ServiceGroupUpdate6 Felder

Fields for updating a service group.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>ID of an existing campus, or null for no campus association.
descriptionOptional[str]Option<String>Description of the service group.
namestrStringjaName of a category of service roles, for example Technical team.
only_visible_in_campus_filterboolShow this service group only when filtering by its campus.
sort_keyinti64Display order. Lists are sorted by sortKey and then name, both ascending.
view_allboolMake this service group visible through the general service-group viewing permissions.
ServiceRequest20 Felder

A concrete event-service assignment, also called a service request.

FeldTypPflichtBeschreibung
deprecatedStrMap[str]BTreeMap<String, String>ja
agreedboolUse isAccepted instead veraltet
allow_chatboolja
commentOptional[str]Option<String>Confirmation or decline comment.
counterinti64Use index instead veraltet
eventServiceRequestEventja
idinti64jaID of this particular assignment record.
indexOptional[int]Option<i64>Slot index when an event requires several persons for the same service; null if no index is assigned.
is_acceptedbooljaWhether this record was confirmed.
is_validbooljaWhether this record is still the active assignment for its slot.
metaMetaDataEntityIdja
nameOptional[str]Option<String>
permissionsOptional[ServiceRequestPermissions]Option<ServiceRequestPermissions>Optional computed assignment permissions.
personOptional[DomainObjectPerson]Option<DomainObjectPerson>
person_idOptional[int]Option<i64> veraltet
requested_datedatetimeDateTime<Utc>Deprecated alias for meta.modifiedDate. veraltet
requester_personDomainObjectPersonjaPerson as Domain Object
requester_person_idinti64 veraltet
service_idinti64jaID of the reusable service role from /services, not the request ID.
service_namestrStringja
ServiceRequestAnswer1 Felder
FeldTypPflichtBeschreibung
commentOptional[str]Option<String>Optional response comment.
ServiceRequestEvent3 Felder
FeldTypPflichtBeschreibung
idinti64ja
namestrStringja
start_datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
ServiceRequestPermissions1 Felder

Optional computed assignment permissions.

FeldTypPflichtBeschreibung
enter_self_if_freebool
ServiceRequestUndoCreate1 Felder
FeldTypPflichtBeschreibung
person_idinti64jaID of the person assigned to the record being undone.
ServiceRequestUndoResult20 Felder

Assignment returned after undoing an acceptance or decline.

FeldTypPflichtBeschreibung
deprecatedStrMap[str]BTreeMap<String, String>ja
agreedboolUse isAccepted instead veraltet
allow_chatboolja
commentOptional[str]Option<String>Confirmation or decline comment.
counterinti64Use index instead veraltet
eventServiceRequestEventja
idinti64jaID of this particular assignment record.
indexOptional[int]Option<i64>Slot index when an event requires several persons for the same service; null if no index is assigned.
is_acceptedbooljaWhether this record was confirmed.
is_validbooljaWhether this record is still the active assignment for its slot.
metaMetaDataEntityIdja
nameOptional[str]Option<String>
permissionsOptional[ServiceRequestPermissions]Option<ServiceRequestPermissions>Optional computed assignment permissions.
personOptional[DomainObjectPerson]Option<DomainObjectPerson>
person_idOptional[int]Option<i64> veraltet
requested_datedatetimeDateTime<Utc>Deprecated alias for meta.modifiedDate. veraltet
requester_personDomainObjectPersonjaPerson as Domain Object
requester_person_idinti64 veraltet
service_idinti64jaID of the reusable service role from /services, not the request ID.
service_namestrStringja
ServiceRequestUpdate6 Felder

Assign a person or external name to a service slot.

FeldTypPflichtBeschreibung
agreedboolLegacy alias for isAccepted. veraltet
commentOptional[str]Option<String>Accepted for compatibility but ignored by this update operation; the replacement record starts without a comment.
inform_personboolAccepted for compatibility; this flag does not control notifications in the current implementation.
is_acceptedbooltrue creates a confirmed assignment; false creates an assignment awaiting confirmation.
nameOptional[str]Option<String>Name of an external assignee without a person record.
person_idOptional[int]Option<i64>Existing person to assign.
ServiceUpdate18 Felder

Update a service role.

FeldTypPflichtBeschreibung
allow_chatboolEnable chat for this service.
allow_comment_on_confirmationboolAllow a comment when confirming a service request.
allow_control_live_agendaboolAllow persons assigned to this service to control the live agenda.
allow_declineboolAllow assigned persons to decline service requests.
allow_exchangeboolAllow assigned persons to request an exchange of their service assignment.
cal_text_templateOptional[str]Option<String>Template for the calendar text of this service.
commentOptional[str]Option<String>Deprecated input alias for description. veraltet
descriptionOptional[str]Option<String>Description of the role.
group_idsList[int]Vec<i64>IDs of connected person groups used for service planning.
hide_person_nameboolHide assigned persons from viewers without the service or service-group permissions needed to see them.
namestrStringjaName of the planning role, for example Lead vocals.
only_assign_from_groupsboolRestrict assignment candidates to the connected person groups.
send_reminder_mailsboolEnable reminder emails for service assignments.
send_service_request_emailsboolEnable emails for service requests.
service_group_idinti64jaID of the existing service group that organizes this role, for example Music or Technical team.
sort_keyinti64Display order. Lists are sorted by sortKey and then name, both ascending.
standardboolWhether this service is marked as a standard service for event planning.
tag_idsList[int]Vec<i64>IDs of connected tags used for service planning.
Sex9 Felder

Configurable sex master-data entry, including localized salutations and audit metadata.

FeldTypPflichtBeschreibung
namestrStringjaStored name or translation key.
salutation_formalOptional[str]Option<String>Stored salutation text or translation key.
salutation_informalOptional[str]Option<String>Stored salutation text or translation key.
sort_keyinti64jaStored sort order.
idinti64jaCatalog ID referenced by person records.
metaMetaDataEntityIdja
name_translatedstrStringjaDisplay name translated for the current language.
salutation_formal_translatedstrStringjaLocalized salutation; empty string when the stored salutation is null.
salutation_informal_translatedstrStringjaLocalized salutation; empty string when the stored salutation is null.
SexCreate4 Felder

Writable catalog values for a person’s sex and associated salutations.

FeldTypPflichtBeschreibung
namestrStringjaStored name or translation key.
salutation_formalOptional[str]Option<String>Stored salutation text or translation key.
salutation_informalOptional[str]Option<String>Stored salutation text or translation key.
sort_keyOptional[int]Option<i64>Sort order. Omission or null becomes 0.
SexUpdate4 Felder

Replaces the catalog entry’s writable values.

FeldTypPflichtBeschreibung
namestrStringjaStored name or translation key.
salutation_formalOptional[str]Option<String>Stored salutation text or translation key.
salutation_informalOptional[str]Option<String>Stored salutation text or translation key.
sort_keyOptional[int]Option<i64>Sort order. Omission or null becomes 0.
SimpleAppointment3 Felder
FeldTypPflichtBeschreibung
calendar_idinti64ja
idinti64ja
titlestrStringja
SimpleWikiPage14 Felder

Wiki page metadata for one version.

FeldTypPflichtBeschreibung
deprecatedSimpleWikiPageDeprecatedjaCompatibility marker used by existing clients.
guidstrStringjaStable page GUID across versions in its category.
identifierstrStringDeprecated alias for guid. veraltet
is_markdownbooljaWhether page text is Markdown rather than legacy HTML.
metaMetaDataEntityPersonja
on_startpagebooljaWhether the page is configured to appear on the wiki start page.
permissionsSimpleWikiPagePermissionsjaPage editing/deletion capabilities for the current user; system pages have additional restrictions.
redirect_toOptional[str]Option<String>Stored redirect title.
search_previewOptional[str]Option<String>Query-focused preview snippet.
textstrStringMarkdown source or sanitized legacy HTML.
text_previewstrStringUnrendered prefix of stored page text, truncated by Unicode characters.
titlestrStringja
versioninti64jaRevision number of this page.
wiki_categoryWikiCategoryjaA category organizes wiki pages and is the unit of wiki access permissions.
SimpleWikiPageDeprecated1 Felder

Compatibility marker used by existing clients.

FeldTypPflichtBeschreibung
identifierstrStringja
SimpleWikiPagePermissions2 Felder

Page editing/deletion capabilities for the current user; system pages have additional restrictions.

FeldTypPflichtBeschreibung
can_deleteboolja
can_editboolja
Song13 Felder

Song with its category and all arrangements.

FeldTypPflichtBeschreibung
deprecatedSongDeprecatedjaCompatibility markers included in serialized song records.
arrangementsList[Arrangement]Vec<Arrangement>All musical versions, always returned by the current API, even without include=arrangements. veraltet
authorOptional[str]Option<String>
categorySongCategoryjaConfigurable category for organizing songs.
ccliOptional[str]Option<String>CCLI song number, stored as text.
copyrightOptional[str]Option<String>
idinti64ja
metaMetaDataEntityIdja
namestrStringja
notestrStringDeprecated compatibility field, returned as an empty string. veraltet
should_practicebooljaWhether the song is marked for rehearsal.
tagsList[TagWithCount]Vec<TagWithCount>Song tags, included only when GET requests use include=tags.
usageList[SongUsage]Vec<SongUsage>Included only with include=usage.
SongCategory6 Felder

Configurable category for organizing songs.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>
idinti64ja
metaMetaDataEntityIdja
namestrStringjaStored, configurable name.
name_translatedstrStringjaDisplay name after translation, or the original name when no translation is available.
sort_keyinti64jaDisplay order; lower values come first.
SongCategoryCreate3 Felder

Input for a configurable song category.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Existing campus ID associated with the category.
namestrStringjaConfigurable category name.
sort_keyinti64Display order; lower values come first.
SongCategoryUpdate3 Felder

Input for replacing a song category.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Existing campus ID associated with the category.
namestrStringjaConfigurable category name.
sort_keyinti64Display order; lower values come first.
SongCreate8 Felder

A song, optionally with initial arrangements and tags.

FeldTypPflichtBeschreibung
authorOptional[str]Option<String>Author or composer credits.
category_idinti64jaID of an existing song category from GET /song/categories.
ccliOptional[str]Option<String>CCLI song number, stored as text.
copyrightOptional[str]Option<String>Copyright or licensing notice.
namestrStringjaSong title.
should_practiceboolMarks the song for rehearsal.
tagsList[str]Vec<String>Tag names to assign. Existing tags are reused by name; missing tags are created.
arrangementsList[ArrangementCreate]Vec<ArrangementCreate>Initial musical versions.
SongDeprecated2 Felder

Compatibility markers included in serialized song records.

FeldTypPflichtBeschreibung
arrangementsNoneserde_json::Valueja
noteNoneserde_json::Valueja
SongSource6 Felder

Source associated with song arrangements, such as a hymnal or songbook.

FeldTypPflichtBeschreibung
idinti64ja
metaMetaDataEntityIdja
namestrStringjaStored, configurable name.
name_translatedstrStringjaDisplay name after translation, or the original name when no translation is available.
shortyOptional[str]Option<String>
sort_keyinti64jaDisplay order; lower values come first.
SongSourceCreate3 Felder

Input for a song source, such as a hymnal or songbook.

FeldTypPflichtBeschreibung
namestrStringjaConfigurable source name.
shortyOptional[str]Option<String>Display abbreviation.
sort_keyinti64Display order; lower values come first.
SongSourceUpdate3 Felder

Input for replacing a song source.

FeldTypPflichtBeschreibung
namestrStringjaConfigurable source name.
shortyOptional[str]Option<String>Display abbreviation.
sort_keyinti64Display order; lower values come first.
SongUpdate7 Felder

Song details shared by creation and update.

FeldTypPflichtBeschreibung
authorOptional[str]Option<String>Author or composer credits.
category_idinti64jaID of an existing song category from GET /song/categories.
ccliOptional[str]Option<String>CCLI song number, stored as text.
copyrightOptional[str]Option<String>Copyright or licensing notice.
namestrStringjaSong title.
should_practiceboolMarks the song for rehearsal.
tagsList[str]Vec<String>Tag names to assign. Existing tags are reused by name; missing tags are created.
SongUsage4 Felder
FeldTypPflichtBeschreibung
arrangement_idinti64ja
calendar_category_idinti64jaCalendar containing the event's appointment.
datedatetimeDateTime<Utc>jaEvent start time.
event_idinti64ja
SplitTransaction8 Felder

A parent grouping ordinary accounting bookings into one gross amount.

FeldTypPflichtBeschreibung
amountinti64jaTotal amount in the currency's smallest denomination (e.g.
billsList[Bill]Vec<Bill>Parent receipts, included when include[]=bills is requested.
document_datedateNaiveDatejaA simple date in ISO format, e.g.
document_numberstrStringjaDocument number of the split transaction.
idinti64jaID of the split parent, distinct from each ordinary child transaction ID.
metaMetaDataEntityIdja
noteOptional[str]Option<String>Free-text note describing the split booking.
split_childrenList[Transaction]Vec<Transaction>jaOrdinary child bookings, including generated tax rows.
SplitTransactionChildCreate13 Felder

One non-tax part of a split booking.

FeldTypPflichtBeschreibung
account_idinti64jaID of the debit account the amount is posted to.
amountinti64jaGross booking amount in integer minor currency units.
cash_discount_amountOptional[int]Option<i64>Cash discount in the smallest currency unit.
cash_discount_idOptional[int]Option<i64>Cash-discount definition from the same accounting period.
contra_account_idinti64jaID of the credit (contra) account the amount is posted from.
cost_center_idOptional[int]Option<i64>Cost center from the same accounting period.
donator_idOptional[int]Option<i64>Donor person ID. Normally required when only the credit account is a donation account.
donator_spouse_idOptional[int]Option<i64>Spouse for joint donation receipts.
idOptional[int]Option<i64>Existing ordinary booking to update/adopt.
is_syncedboolSync marker used for newly created children; existing children retain their marker.
is_waiver_of_reimbursement_of_expensesboolWhether this is a donation through waived reimbursement of expenses.
noteOptional[str]Option<String>Child booking note. Validation checks the trimmed length, but the current implementation writes the original child value.
tax_rate_idOptional[int]Option<i64>Tax rate from the same period.
SplitTransactionCreate5 Felder

Input for a grouped booking.

FeldTypPflichtBeschreibung
amountinti64jaTotal gross amount in minor currency units, equal to the sum of submitted child amounts.
document_datedateNaiveDatejaDocument date applied to all children.
document_numberOptional[str]Option<String>Parent number. Required unless the period generates numbers; omission or null then generates a number, including on update.
noteOptional[str]Option<String>Parent note; trimmed, with an empty result stored as null.
split_childrenList[SplitTransactionChildCreate]Vec<SplitTransactionChildCreate>jaComplete replacement list.
SplitTransactionStornoCreate1 Felder
FeldTypPflichtBeschreibung
notestrStringjaCancellation reason; trimmed before being added to parent and child notes.
SplitTransactionUpdate5 Felder

Complete replacement of a split parent identified by the URL.

FeldTypPflichtBeschreibung
amountinti64jaTotal gross amount in minor currency units, equal to the sum of submitted child amounts.
document_datedateNaiveDatejaDocument date applied to all children.
document_numberOptional[str]Option<String>Parent number. Required unless the period generates numbers; omission or null then generates a number, including on update.
noteOptional[str]Option<String>Parent note; trimmed, with an empty result stored as null.
split_childrenList[SplitTransactionChildCreate]Vec<SplitTransactionChildCreate>jaComplete replacement list.
SsoLogin8 Felder

Public login-screen entry for a visible OAuth, OpenID Connect or SAML provider.

FeldTypPflichtBeschreibung
has_registrationbooljaWhether account registration is configured for this provider.
idinti64jaExternal login provider ID.
login_linkstrStringjaURL that starts authentication; navigate the browser to it.
logo_urlOptional[str]Option<String>Optional provider logo URL.
namestrStringjaLabel shown for the provider.
primary_loginbooljaWhether the provider is marked as the primary login option.
subtitleOptional[str]Option<String>Optional explanatory text for the login screen.
type_r#typestrStringjaAuthentication protocol implemented by the provider.
StartStopChat2 Felder
FeldTypPflichtBeschreibung
enabledboolja
trigger_chat_invite_mailbool
StatementMovement15 Felder

One imported bank-statement movement and its proposed booking fields.

FeldTypPflichtBeschreibung
amountinti64jaMovement amount in minor currency units.
descriptionstrStringja
document_datedateNaiveDatejaA simple date in ISO format, e.g.
idinti64ja
identifierstrStringja
is_debitbooljaTrue for outgoing funds, false for incoming funds.
is_donationbooljaDonation indicator recorded by the import.
number_in_statementinti64jaOriginal sequence number used as the secondary sort key.
person_namestrStringja
purposestrStringja
statestrStringjaNormally open, booked or ignored.
suggestionsList[MovementSuggestion]Vec<MovementSuggestion>ja
transaction_codestrStringja
transaction_idOptional[int]Option<i64>Associated transaction, or null before booking.
valutadateNaiveDatejaA simple date in ISO format, e.g.
StatementMovementUpdate1 Felder
FeldTypPflichtBeschreibung
statestrStringjaTarget movement state.
StatementStatistics4 Felder
FeldTypPflichtBeschreibung
allinti64jaSum of open, booked and ignored movements.
bookedinti64jaNumber of booked movements.
ignoredinti64jaNumber of ignored movements.
openinti64jaNumber of open movements.
Status9 Felder

Configurable person status, independent of a person’s memberships in groups.

FeldTypPflichtBeschreibung
idinti64jaID of status
is_memberbooljaFlag if status is member of the church
is_searchablebooljaFlag if that status is searchable
namestrStringjaStatus name
name_translatedstrStringjaTranslated status name
security_level_idinti64jaExisting security-level definition associated with this status.
shortyOptional[str]Option<String>Abbreviation of name.
shorty_translatedstrStringjaLocalized abbreviation.
sort_keyinti64jaUsed to sort all statuses
StatusCreate6 Felder

Person status definition, such as member or guest.

FeldTypPflichtBeschreibung
is_memberOptional[bool]Option<bool>Whether this status marks a person as a church member.
is_searchableOptional[bool]Option<bool>Whether persons with this status are eligible for the corresponding free-text person selection.
namestrStringjaStatus name.
security_level_idinti64jaExisting security-level definition associated with this status.
shortyOptional[str]Option<String>Abbreviation of the status name.
sort_keyOptional[int]Option<i64>Display-order value.
StatusUpdate6 Felder

Fields to update; omitted fields remain unchanged.

FeldTypPflichtBeschreibung
is_memberbool
is_searchablebool
namestrString
security_level_idinti64Existing security-level definition associated with this status.
shortyOptional[str]Option<String>
sort_keyinti64
StoredAddress24 Felder

Stored address with its numeric ID, owning domain object and legacy compatibility fields.

FeldTypPflichtBeschreibung
additionOptional[str]Option<String>
cityOptional[str]Option<String>
colorOptional[Union[str, str]]serde_json::Value
countryOptional[str]Option<String>A country's ISO-code
districtOptional[str]Option<String>
domain_identifierstrStringjaThe identifier of the domain object.
domain_typestrStringjaThe domain type of the address.
iconOptional[str]Option<String>
latitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
longitudeOptional[Union[float, str]]serde_json::ValueCoordinate transitioning to numeric values.
nameOptional[str]Option<String>
streetOptional[str]Option<String>
zipOptional[str]Option<String>
idinti64ja
deprecatedStoredAddressDeprecatedja
geo_latOptional[Union[float, str]]serde_json::ValueUse latitude instead veraltet
geo_lngOptional[Union[float, str]]serde_json::ValueUse longitude instead veraltet
latitude_looseOptional[Union[float, str]]serde_json::ValueUse latitude instead veraltet
longitude_looseOptional[Union[float, str]]serde_json::ValueUse longitude instead veraltet
marker_colorOptional[Union[str, str]]serde_json::Value veraltet
marker_iconOptional[str]Option<String>Use icon instead veraltet
marker_urlOptional[str]Option<String> veraltet
meeting_atOptional[str]Option<String>Use name instead veraltet
postalcodeOptional[str]Option<String>Use zip instead veraltet
StoredAddressDeprecated7 Felder
FeldTypPflichtBeschreibung
geo_latstrStringja
geo_lngstrStringja
marker_colorstrStringja
marker_iconstrStringja
marker_urlstrStringja
meeting_atstrStringja
postalcodestrStringja
SubscriptionGroup10 Felder

Effective notification subscription.

FeldTypPflichtBeschreibung
hintOptional[str]Option<String>Translation key for a brief description addressed to the end user.
is_activebooljaWhether this subscription enables notifications; inactive overrides can suppress an active implicit default.
is_explicitbooljaTrue for a stored override, false for an implicit default or legacy list alias.
metaOptional[SubscriptionGroupMeta]Option<SubscriptionGroupMeta>Audit metadata for explicit overrides; null for implicit defaults and legacy aliases.
originstrStringjaReason this subscription exists; default means an explicit override.
origin_hintOptional[str]Option<String>Deprecated alias for hint. veraltet
person_idinti64ja
subject_identifierstrStringjaSubject-specific identifier represented as a string, including numeric IDs.
optionsOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueSubject-specific options; null when none are stored.
subjectstrStringja
SubscriptionGroupMeta4 Felder

Audit metadata for explicit overrides; null for implicit defaults and legacy aliases.

FeldTypPflichtBeschreibung
created_datedatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
created_personSubscriptionGroupMetaCreatedPerson
modified_datedatetimeDateTime<Utc>A timestamp in Zulu time format, e.g.
modified_personSubscriptionGroupMetaCreatedPerson
SubscriptionGroupMetaCreatedPerson1 Felder
FeldTypPflichtBeschreibung
idinti64
SubscriptionLegacyMeetingRequests10 Felder

Legacy list alias for the corresponding canonical root subscription.

FeldTypPflichtBeschreibung
hintOptional[str]Option<String>Translation key for a brief description addressed to the end user.
is_activebooljaWhether this subscription enables notifications; inactive overrides can suppress an active implicit default.
is_explicitbooljaTrue for a stored override, false for an implicit default or legacy list alias.
metaOptional[SubscriptionGroupMeta]Option<SubscriptionGroupMeta>Audit metadata for explicit overrides; null for implicit defaults and legacy aliases.
originstrStringjaReason this subscription exists; default means an explicit override.
origin_hintOptional[str]Option<String>Deprecated alias for hint. veraltet
person_idinti64ja
subject_identifierstrStringja
optionsOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueSubject-specific options; null when none are stored.
subjectstrStringja
SubscriptionLegacyServiceRequests10 Felder

Legacy list alias for the corresponding canonical root subscription.

FeldTypPflichtBeschreibung
hintOptional[str]Option<String>Translation key for a brief description addressed to the end user.
is_activebooljaWhether this subscription enables notifications; inactive overrides can suppress an active implicit default.
is_explicitbooljaTrue for a stored override, false for an implicit default or legacy list alias.
metaOptional[SubscriptionGroupMeta]Option<SubscriptionGroupMeta>Audit metadata for explicit overrides; null for implicit defaults and legacy aliases.
originstrStringjaReason this subscription exists; default means an explicit override.
origin_hintOptional[str]Option<String>Deprecated alias for hint. veraltet
person_idinti64ja
subject_identifierstrStringja
optionsOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueSubject-specific options; null when none are stored.
subjectstrStringja
SubscriptionMeetingRequests10 Felder

Effective notification subscription.

FeldTypPflichtBeschreibung
hintOptional[str]Option<String>Translation key for a brief description addressed to the end user.
is_activebooljaWhether this subscription enables notifications; inactive overrides can suppress an active implicit default.
is_explicitbooljaTrue for a stored override, false for an implicit default or legacy list alias.
metaOptional[SubscriptionGroupMeta]Option<SubscriptionGroupMeta>Audit metadata for explicit overrides; null for implicit defaults and legacy aliases.
originstrStringjaReason this subscription exists; default means an explicit override.
origin_hintOptional[str]Option<String>Deprecated alias for hint. veraltet
person_idinti64ja
subject_identifierstrStringjaSubject-specific identifier represented as a string, including numeric IDs.
optionsOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueSubject-specific options; null when none are stored.
subjectstrStringja
SubscriptionPost10 Felder

Effective notification subscription.

FeldTypPflichtBeschreibung
hintOptional[str]Option<String>Translation key for a brief description addressed to the end user.
is_activebooljaWhether this subscription enables notifications; inactive overrides can suppress an active implicit default.
is_explicitbooljaTrue for a stored override, false for an implicit default or legacy list alias.
metaOptional[SubscriptionGroupMeta]Option<SubscriptionGroupMeta>Audit metadata for explicit overrides; null for implicit defaults and legacy aliases.
originstrStringjaReason this subscription exists; default means an explicit override.
origin_hintOptional[str]Option<String>Deprecated alias for hint. veraltet
person_idinti64ja
subject_identifierstrStringjaSubject-specific identifier represented as a string, including numeric IDs.
optionsOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueSubject-specific options; null when none are stored.
subjectstrStringja
SubscriptionPostSummary10 Felder

Effective notification subscription.

FeldTypPflichtBeschreibung
hintOptional[str]Option<String>Translation key for a brief description addressed to the end user.
is_activebooljaWhether this subscription enables notifications; inactive overrides can suppress an active implicit default.
is_explicitbooljaTrue for a stored override, false for an implicit default or legacy list alias.
metaOptional[SubscriptionGroupMeta]Option<SubscriptionGroupMeta>Audit metadata for explicit overrides; null for implicit defaults and legacy aliases.
originstrStringjaReason this subscription exists; default means an explicit override.
origin_hintOptional[str]Option<String>Deprecated alias for hint. veraltet
person_idinti64ja
subject_identifierstrStringjaSubject-specific identifier represented as a string, including numeric IDs.
optionsSubscriptionPostSummaryOptionsja
subjectstrStringja
SubscriptionPostSummaryOptions2 Felder
FeldTypPflichtBeschreibung
filterstrStringja
weekdaysList[Union[int, str]]Vec<serde_json::Value>ja
SubscriptionPublicChannel10 Felder

Effective notification subscription.

FeldTypPflichtBeschreibung
hintOptional[str]Option<String>Translation key for a brief description addressed to the end user.
is_activebooljaWhether this subscription enables notifications; inactive overrides can suppress an active implicit default.
is_explicitbooljaTrue for a stored override, false for an implicit default or legacy list alias.
metaOptional[SubscriptionGroupMeta]Option<SubscriptionGroupMeta>Audit metadata for explicit overrides; null for implicit defaults and legacy aliases.
originstrStringjaReason this subscription exists; default means an explicit override.
origin_hintOptional[str]Option<String>Deprecated alias for hint. veraltet
person_idinti64ja
subject_identifierstrStringjaSubject-specific identifier represented as a string, including numeric IDs.
optionsOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueSubject-specific options; null when none are stored.
subjectstrStringja
SubscriptionResource10 Felder

Effective notification subscription.

FeldTypPflichtBeschreibung
hintOptional[str]Option<String>Translation key for a brief description addressed to the end user.
is_activebooljaWhether this subscription enables notifications; inactive overrides can suppress an active implicit default.
is_explicitbooljaTrue for a stored override, false for an implicit default or legacy list alias.
metaOptional[SubscriptionGroupMeta]Option<SubscriptionGroupMeta>Audit metadata for explicit overrides; null for implicit defaults and legacy aliases.
originstrStringjaReason this subscription exists; default means an explicit override.
origin_hintOptional[str]Option<String>Deprecated alias for hint. veraltet
person_idinti64ja
subject_identifierstrStringjaroot for the resource notification umbrella, or a resource ID as a string.
optionsOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueSubject-specific options; null when none are stored.
subjectstrStringja
SubscriptionServiceRequests10 Felder

Effective notification subscription.

FeldTypPflichtBeschreibung
hintOptional[str]Option<String>Translation key for a brief description addressed to the end user.
is_activebooljaWhether this subscription enables notifications; inactive overrides can suppress an active implicit default.
is_explicitbooljaTrue for a stored override, false for an implicit default or legacy list alias.
metaOptional[SubscriptionGroupMeta]Option<SubscriptionGroupMeta>Audit metadata for explicit overrides; null for implicit defaults and legacy aliases.
originstrStringjaReason this subscription exists; default means an explicit override.
origin_hintOptional[str]Option<String>Deprecated alias for hint. veraltet
person_idinti64ja
subject_identifierstrStringjaSubject-specific identifier represented as a string, including numeric IDs.
optionsOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueSubject-specific options; null when none are stored.
subjectstrStringja
SubscriptionUpdate2 Felder

Explicit override. Subject and identifier come from the path.

FeldTypPflichtBeschreibung
is_activeboolOmission enables the override, including when replacing an existing inactive setting.
optionsOptional[Union[PostSummarySubscriptionOptions, StrMap[Any], List[Any]]]serde_json::ValueRequired structured email-summary options for post_summary.
SumBalanceReportCreate6 Felder
FeldTypPflichtBeschreibung
account_typesOptional[List[int]]Option<Vec<i64>>Accepted by the shared validator but ignored by the sum-balance report.
accounting_period_idinti64jaAccounting period owning the accounts.
formatstrStringPDF creates a file and returns its URL with HTTP 201.
monthinti64jaCalendar month in the year of the accounting period’s start date.
show_account_groupsboolInclude account-group grouping/columns in the report.
show_empty_accountsboolInclude zero-value accounts according to the selected report’s balance/activity calculation.
SyncAdapter4 Felder

Registered adapter service with a masked token.

FeldTypPflichtBeschreibung
namestrStringjaUnique adapter lookup name used by external systems and the proxy.
tokenstrStringjaFixed mask; the stored token is not returned.
urlstrStringjaBase URL of the adapter service.
idinti64jaAdapter ID
SyncAdapterCreate3 Felder

Registration of a sync adapter service.

FeldTypPflichtBeschreibung
namestrStringjaUnique adapter lookup name used by external systems and the proxy.
tokenstrStringjaAuthentication token sent to the adapter.
urlstrStringjaBase URL of the adapter service.
SyncAdapterUpdate3 Felder

Replaces the adapter name, URL and authentication token.

FeldTypPflichtBeschreibung
namestrStringjaUnique adapter lookup name used by external systems and the proxy.
tokenstrStringjaAuthentication token sent to the adapter.
urlstrStringjaBase URL of the adapter service.
SyncConflictCreate4 Felder
FeldTypPflichtBeschreibung
dataList[SyncConflictDataCreate]Vec<SyncConflictDataCreate>ja
entity_mapping_idinti64jaRelationship affected by the conflict.
job_idstrStringjaIdentifier of the sync job run that produced the conflict; not the numeric job configuration ID.
type_r#typestrStringjaConflict category. Values use underscores and are case-sensitive; CT denotes ChurchTools.
SyncConflictData2 Felder
FeldTypPflichtBeschreibung
keystrStringjaConflict-specific data key.
valuestrStringjaConflict-specific value.
SyncConflictDataCreate2 Felder
FeldTypPflichtBeschreibung
keystrStringja
valuestrStringja
SyncConflictUpdate4 Felder

Replace conflict classification, job, entity mapping and the complete data list.

FeldTypPflichtBeschreibung
dataList[SyncConflictDataCreate]Vec<SyncConflictDataCreate>ja
entity_mapping_idinti64jaRelationship affected by the conflict.
job_idstrStringjaIdentifier of the sync job run that produced the conflict; not the numeric job configuration ID.
type_r#typestrStringjaConflict category. Values use underscores and are case-sensitive; CT denotes ChurchTools.
SyncConflicts6 Felder

Stored conflict record.

FeldTypPflichtBeschreibung
dataList[SyncConflictData]Vec<SyncConflictData>ja
entity_mapping_idinti64jaRelationship affected by the conflict.
idinti64jaConflict ID
job_idstrStringjaIdentifier of the sync job run that produced the conflict; not the numeric job configuration ID.
metaMetaDataEntityIdja
type_r#typestrStringjaConflict category. Values use underscores and are case-sensitive; CT denotes ChurchTools.
SyncEntityMapping9 Felder

Stored link between a ChurchTools entity and an external record; deleting it does not delete either record.

FeldTypPflichtBeschreibung
domain_idOptional[str]Option<String>ChurchTools entity ID as text.
domain_typestrStringjaChurchTools domain types accepted by entity and field mapping validation.
idinti64jaMapping ID
last_synced_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
metaMetaDataEntityIdja
scopeOptional[str]Option<String>Adapter-specific context key.
source_entity_idOptional[str]Option<String>ID in the external system.
source_idinti64jaExternal connection ID (the source system).
statusstrStringjaState of the relationship: synchronized, unresolved conflict, or deleted in ChurchTools.
SyncEntityMappingCreate7 Felder

Persists a record relationship.

FeldTypPflichtBeschreibung
domain_idOptional[str]Option<String>ChurchTools entity ID as text.
domain_typestrStringjaChurchTools domain types accepted by entity and field mapping validation.
last_synced_dateOptional[datetime]Option<DateTime<Utc>>Last synchronization timestamp.
scopeOptional[str]Option<String>Adapter-specific context key.
source_entity_idOptional[str]Option<String>ID in the external system.
source_idinti64jaExternal connection ID (the source system).
statusstrStringjaState of the relationship: synchronized, unresolved conflict, or deleted in ChurchTools.
SyncEntityMappingUpdate7 Felder

Replaces a record relationship.

FeldTypPflichtBeschreibung
domain_idOptional[str]Option<String>ChurchTools entity ID as text.
domain_typestrStringjaChurchTools domain types accepted by entity and field mapping validation.
last_synced_dateOptional[datetime]Option<DateTime<Utc>>Last synchronization timestamp.
scopeOptional[str]Option<String>Adapter-specific context key.
source_entity_idOptional[str]Option<String>ID in the external system.
source_idinti64jaExternal connection ID (the source system).
statusstrStringjaState of the relationship: synchronized, unresolved conflict, or deleted in ChurchTools.
SyncExecutionBehavior4 Felder
SyncExecutionBehaviorCreate4 Felder
FeldTypPflichtBeschreibung
behavior_esstrStringjaWhether records may be created or updated.
behavior_masterstrStringjaWhether records may be created or updated.
defaults_esUnion[StrMap[Any], List[Any]]serde_json::ValuejaAdapter-specific JSON object or list.
defaults_masterUnion[StrMap[Any], List[Any]]serde_json::ValuejaAdapter-specific JSON object or list.
SyncExecutionBehaviorDelete2 Felder
FeldTypPflichtBeschreibung
behavior_esstrStringjaHow deletions are handled on the specified side: retain, archive or delete.
behavior_masterstrStringjaHow deletions are handled on the specified side: retain, archive or delete.
SyncExecutionBehaviorUpdate2 Felder
FeldTypPflichtBeschreibung
behaviorstrStringjaWhether records may be created or updated.
datastrStringjaWhich side supplies data: the most recently updated record, ChurchTools, or the external system.
SyncExecutionCounts4 Felder
FeldTypPflichtBeschreibung
createinti64
deleteinti64
linkinti64
updateinti64
SyncExecutionCreate2 Felder
FeldTypPflichtBeschreibung
is_dry_runboolSchedule a dry run; the worker is instructed not to change synchronized records.
is_validation_onlyboolSchedule configuration validation only.
SyncExecutionDetails8 Felder
FeldTypPflichtBeschreibung
domain_typestrStringjaDomain saved with this execution.
filterStrMap[SyncExecutionDetailsFilterValue]BTreeMap<String, SyncExecutionDetailsFilterValue>jaFilter snapshot indexed by domain, then by ES and Master.
job_idinti64jaNumeric job configuration ID.
mappingStrMap[SyncExecutionMapping]BTreeMap<String, SyncExecutionMapping>jaMapping snapshot indexed by the configured domain name.
sync_behaviorSyncExecutionBehaviorja
system_esSyncExecutionDetailsSystemESja
system_masterList[Any]Vec<serde_json::Value>jaAdapter credentials are removed from this snapshot.
validation_onlyboolja
SyncExecutionDetailsFilterValue2 Felder
FeldTypPflichtBeschreibung
esList[SyncJobFilter]Vec<SyncJobFilter>ja
masterList[SyncJobFilter]Vec<SyncJobFilter>ja
SyncExecutionDetailsSystemES2 Felder
FeldTypPflichtBeschreibung
system_idinti64jaExternal connection ID.
system_namestrStringjaExternal connection name.
SyncExecutionMapping2 Felder
FeldTypPflichtBeschreibung
property_mappings_es_to_masterUnion[List[SyncExecutionProperty], StrMap[SyncExecutionProperty]]serde_json::Valueja
property_mappings_master_to_esUnion[List[SyncExecutionProperty], StrMap[SyncExecutionProperty]]serde_json::Valueja
SyncExecutionProperty7 Felder

Stored directional field mapping.

FeldTypPflichtBeschreibung
from_fromstrStringjaSource field name supported by the adapter.
from_filterstrStringjaAdapter-specific source-field qualifier.
othersOptional[Union[StrMap[Any], List[Any]]]serde_json::Value
systemstrStringjaSide of synchronization: master is ChurchTools and es is the configured external system.
tostrStringjaTarget field name supported by the adapter.
to_filterstrStringjaAdapter-specific target-field qualifier.
value_mappingOptional[Union[StrMap[Any], List[Any]]]serde_json::Value
SyncExecutionSummary11 Felder
FeldTypPflichtBeschreibung
bothSyncExecutionCountsja
created_dateOptional[datetime]Option<DateTime<Utc>>A timestamp in Zulu time format, e.g.
end_dateOptional[datetime]Option<DateTime<Utc>>Latest log timestamp; this is not necessarily a completion timestamp.
error_countinti64ja
esSyncExecutionCountsja
execution_idstrStringjaBackground execution ID.
is_dry_runboolja
job_idOptional[int]Option<i64>Numeric sync job configuration ID.
masterSyncExecutionCountsja
start_dateOptional[datetime]Option<DateTime<Utc>>Earliest log timestamp.
statusstrStringjaBackground execution status, distinct from entity mapping status.
SyncExternalSystemTestCreate4 Felder

Proposed connection settings to test.

FeldTypPflichtBeschreibung
access_header_valuesUnion[StrMap[Any], List[Any]]serde_json::ValuejaAdapter-specific HTTP header values used to access the external system.
adapterstrStringjaName of a registered adapter from /sync/adapters.
namestrStringjaDisplay name of the external connection.
idinti64Existing connection to base the test on.
SyncFieldMappingEntries2 Felder
FeldTypPflichtBeschreibung
property_mappings_es_to_masterList[FieldMappingEntry]Vec<FieldMappingEntry>ja
property_mappings_master_to_esList[FieldMappingEntry]Vec<FieldMappingEntry>ja
SyncFieldMappingEntryCreate6 Felder
FeldTypPflichtBeschreibung
from_fromstrStringjaSource field name supported by the adapter.
from_filterstrStringjaAdapter-specific source-field qualifier.
othersUnion[StrMap[Any], List[Any]]serde_json::ValuejaAdapter-specific JSON object or list.
tostrStringjaTarget field name supported by the adapter.
to_filterstrStringjaAdapter-specific target-field qualifier.
value_mappingUnion[StrMap[Any], List[Any]]serde_json::ValuejaAdapter-specific JSON object or list.
SyncFieldMappingUpdate2 Felder

Replaces both direction lists.

FeldTypPflichtBeschreibung
property_mappings_es_to_masterList[SyncFieldMappingEntryCreate]Vec<SyncFieldMappingEntryCreate>ja
property_mappings_master_to_esList[SyncFieldMappingEntryCreate]Vec<SyncFieldMappingEntryCreate>ja
SyncJobConfigurationCreate13 Felder
FeldTypPflichtBeschreibung
auto_schedule_enabledbooljaWhether the periodic scheduler can start this job.
create_behavior_esstrStringWhether records may be created or updated.
create_behavior_masterstrStringWhether records may be created or updated.
create_defaults_esOptional[Union[StrMap[Any], List[Any]]]serde_json::Value
create_defaults_masterOptional[Union[StrMap[Any], List[Any]]]serde_json::Value
delete_behavior_esstrStringHow deletions are handled on the specified side: retain, archive or delete.
delete_behavior_masterstrStringHow deletions are handled on the specified side: retain, archive or delete.
domain_typestrStringjaDomain supported by the adapter, such as person.
link_behaviorstrStringWhether matching records are linked: never, use an existing record, or merge when linking.
link_datastrStringWhich side supplies data: the most recently updated record, ChurchTools, or the external system.
namestrStringjaJob display name.
update_behaviorstrStringWhether records may be created or updated.
update_datastrStringWhich side supplies data: the most recently updated record, ChurchTools, or the external system.
SyncJobConfigurationUpdate14 Felder

Updates the job configuration.

FeldTypPflichtBeschreibung
auto_schedule_enabledbooljaWhether the periodic scheduler can start this job.
create_behavior_esstrStringWhether records may be created or updated.
create_behavior_masterstrStringWhether records may be created or updated.
create_defaults_esOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueAdapter-specific defaults for newly created records on this side.
create_defaults_masterOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueAdapter-specific defaults for newly created records on this side.
delete_behavior_esstrStringHow deletions are handled on the specified side: retain, archive or delete.
delete_behavior_masterstrStringHow deletions are handled on the specified side: retain, archive or delete.
domain_typestrStringjaDomain supported by the adapter, such as person.
link_behaviorstrStringWhether matching records are linked: never, use an existing record, or merge when linking.
link_datastrStringWhich side supplies data: the most recently updated record, ChurchTools, or the external system.
namestrStringjaJob display name.
update_behaviorstrStringWhether records may be created or updated.
update_datastrStringWhich side supplies data: the most recently updated record, ChurchTools, or the external system.
idinti64jaExisting job configuration ID.
SyncJobFilter4 Felder
FeldTypPflichtBeschreibung
fieldstrStringjaAdapter field to filter.
operatorstrStringjaAdapter-specific comparison operator.
systemstrStringjaSide of synchronization: master is ChurchTools and es is the configured external system.
valuesOptional[Union[StrMap[Any], List[Any]]]serde_json::ValueAdapter-specific filter values.
SyncJobFilterCreate4 Felder
FeldTypPflichtBeschreibung
fieldstrStringjaAdapter field to filter.
operatorstrStringAdapter-specific comparison operator.
systemstrStringjaSide of synchronization: master is ChurchTools and es is the configured external system.
valuesUnion[StrMap[Any], List[Any]]serde_json::ValuejaFilter values passed to the adapter.
SyncJobFilters2 Felder
FeldTypPflichtBeschreibung
esList[SyncJobFilter]Vec<SyncJobFilter>ja
masterList[SyncJobFilter]Vec<SyncJobFilter>ja
SyncJobFiltersUpdate2 Felder

Replaces all job filters, grouped by each entry's system.

FeldTypPflichtBeschreibung
esList[SyncJobFilterCreate]Vec<SyncJobFilterCreate>ja
masterList[SyncJobFilterCreate]Vec<SyncJobFilterCreate>ja
SyncJobProperties3 Felder
FeldTypPflichtBeschreibung
domain_typestrStringjaDomain configured for the job.
external_systemExternalSystemjaConfigured external connection with masked access credentials.
propertiesSyncJobPropertyListsja
SyncJobPropertiesUpdate2 Felder

Replaces the selected fields in both directions.

FeldTypPflichtBeschreibung
property_mappings_es_to_masterList[SyncJobPropertyCreate]Vec<SyncJobPropertyCreate>ja
property_mappings_master_to_esList[SyncJobPropertyCreate]Vec<SyncJobPropertyCreate>ja
SyncJobProperty8 Felder

Selected job field. valueMapping and others are resolved from the referenced field mapping.

FeldTypPflichtBeschreibung
field_mapping_idinti64jaField mapping whose domain must match the job.
from_fromstrStringjaSource field name supported by the adapter.
from_filterstrStringjaAdapter-specific source-field qualifier.
systemstrStringjaSide of synchronization: master is ChurchTools and es is the configured external system.
tostrStringjaTarget field name supported by the adapter.
to_filterstrStringjaAdapter-specific target-field qualifier.
othersOptional[Union[StrMap[Any], List[Any]]]serde_json::Value
value_mappingOptional[Union[StrMap[Any], List[Any]]]serde_json::Value
SyncJobPropertyCreate6 Felder
FeldTypPflichtBeschreibung
field_mapping_idinti64jaField mapping whose domain must match the job.
from_fromstrStringjaSource field name supported by the adapter.
from_filterstrStringjaAdapter-specific source-field qualifier.
systemstrStringjaSide of synchronization: master is ChurchTools and es is the configured external system.
tostrStringjaTarget field name supported by the adapter.
to_filterstrStringjaAdapter-specific target-field qualifier.
SyncJobPropertyLists2 Felder
FeldTypPflichtBeschreibung
property_mappings_es_to_masterList[SyncJobProperty]Vec<SyncJobProperty>ja
property_mappings_master_to_esList[SyncJobProperty]Vec<SyncJobProperty>ja
SyncLog12 Felder

Log entry during a sync execution.

FeldTypPflichtBeschreibung
datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
domain_idOptional[str]Option<String>domainId of the affected record.
domain_typeOptional[str]Option<String>domainType of the affected record.
execution_idstrStringjaBackground execution identifier.
idinti64ja
is_dry_runboolja
jobSyncLogJobja
levelstrStringjaPSR log severity.
messagestrStringjaRendered, translated log message including formatted changes.
source_entity_idOptional[str]Option<String>sourceEntityId of the affected record.
systemOptional[str]Option<String>
type_r#typestrStringjaOperation described by a sync log entry.
SyncLogCreate13 Felder
FeldTypPflichtBeschreibung
argsUnion[StrMap[Any], List[Any]]serde_json::ValueTranslation arguments; keys and values are passed to the translation system.
changesList[SyncLogCreateChangesItem]Vec<SyncLogCreateChangesItem>
datedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
domain_idOptional[str]Option<String>
domain_typeOptional[str]Option<String>
execution_idstrStringjaBackground execution identifier, not the job configuration ID.
is_dry_runbool
job_idinti64ja
levelstrStringjaPSR log severity.
message_keystrStringjaTranslation Key
source_entity_idOptional[str]Option<String>
systemOptional[str]Option<String>Affected side.
type_r#typestrStringjaOperation described by a sync log entry.
SyncLogCreateChangesItem4 Felder
FeldTypPflichtBeschreibung
field_attributeOptional[str]Option<String>Secondary value for FieldName.
field_namestrStringjaName of field. Translation Key allowed
new_valueOptional[str]Option<String>
old_valueOptional[str]Option<String>
SyncLogJob3 Felder
FeldTypPflichtBeschreibung
external_systemSyncLogJobExternalSystemja
idinti64ja
namestrStringja
SyncLogJobExternalSystem2 Felder
FeldTypPflichtBeschreibung
idinti64ja
namestrStringja
SyncLogsCreate1 Felder
FeldTypPflichtBeschreibung
logsList[SyncLogCreate]Vec<SyncLogCreate>ja
SyncLogsPersisted1 Felder
FeldTypPflichtBeschreibung
persistedinti64jaNumber of stored entries.
Tag8 Felder

Tag label and display properties.

FeldTypPflichtBeschreibung
colorstrStringjaStored semantic color, or basic when no color is stored.
descriptionOptional[str]Option<String>
idinti64ja
namestrStringja
modified_atstrString veraltet
modified_byinti64 veraltet
modified_datestrString veraltet
modified_pidstrString veraltet
TagAssignmentCreate1 Felder
FeldTypPflichtBeschreibung
namestrStringjaName of an existing or newly created tag in this domain.
TagCreate3 Felder
FeldTypPflichtBeschreibung
colorOptional[str]Option<String>Semantic tag color; responses use basic when unset.
descriptionOptional[str]Option<String>
namestrStringjaTag name, unique within the domain.
TagUpdate3 Felder

Replacement tag properties.

FeldTypPflichtBeschreibung
colorOptional[str]Option<String>Semantic tag color; responses use basic when unset.
descriptionOptional[str]Option<String>
namestrStringjaTag name, unique within the domain.
TagWithCount5 Felder

Tag with contextual count.

FeldTypPflichtBeschreibung
colorstrStringjaStored semantic color, or basic when no color is stored.
descriptionOptional[str]Option<String>
idinti64ja
namestrStringja
countinti64jaLink count only for the domain-wide catalog; other endpoint contexts use 0 on creation or normally 1.
TargetGroup4 Felder

An intended audience for a group, such as families or students.

FeldTypPflichtBeschreibung
namestrStringjaStored label configured in this installation.
sort_keyinti64jaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.
idinti64jaID of this master-data record in this ChurchTools installation.
name_translatedstrStringjaLocalized display name, translated from the stored name when a translation exists.
TargetGroupCreate2 Felder
FeldTypPflichtBeschreibung
namestrStringjaStored label configured in this installation.
sort_keyinti64jaDisplay order. Lower values come first; list endpoints sort equal values by the stored name.
TaxRate6 Felder

A tax rate combines a tax type, a percentage and the ledger account receiving the tax amount.

FeldTypPflichtBeschreibung
account_idinti64jaID of the existing ledger account receiving this amount.
idinti64ja
metaMetaDataEntityIdja
noteOptional[str]Option<String>Description, trimmed before storage.
rateOptional[float]Option<f64>Percentage points: 7 means 7%.
tax_type_idinti64jaExisting tax type from /finance/taxtypes.
TaxRateCreate4 Felder

A tax rate combines a tax type, a percentage and the ledger account receiving the tax amount.

FeldTypPflichtBeschreibung
account_idinti64jaID of the existing ledger account receiving this amount.
noteOptional[str]Option<String>Description, trimmed before storage.
ratefloatf64jaPercentage points: 7 means 7%, not 0.07.
tax_type_idinti64jaExisting tax type from /finance/taxtypes.
TaxRateUpdate4 Felder

Replacement values for this tax rate.

FeldTypPflichtBeschreibung
account_idinti64jaID of the existing ledger account receiving this amount.
noteOptional[str]Option<String>Description, trimmed before storage.
ratefloatf64jaPercentage points: 7 means 7%, not 0.07.
tax_type_idinti64jaExisting tax type from /finance/taxtypes.
TaxType4 Felder

Tax types group tax rates by their accounting purpose, for example input tax or output tax.

FeldTypPflichtBeschreibung
nameOptional[str]Option<String>Unique name, trimmed before storage.
sort_keyinti64jaAscending display order.
idinti64ja
metaMetaDataEntityIdja
TaxTypeCreate2 Felder

Tax types group tax rates by their accounting purpose, for example input tax or output tax.

FeldTypPflichtBeschreibung
nameOptional[str]Option<String>Unique name, trimmed before storage.
sort_keyinti64jaAscending display order.
TaxTypeUpdate2 Felder

Replacement values for this tax type.

FeldTypPflichtBeschreibung
nameOptional[str]Option<String>Unique name, trimmed before storage.
sort_keyinti64jaAscending display order.
Transaction29 Felder

A single accounting transaction (a booking).

FeldTypPflichtBeschreibung
deprecatedTransactionDeprecatedjaCompatibility marker mapping the deprecated donor ID fields to their replacements.
account_idinti64jaID of the debit account the amount is posted to.
amountinti64jaStored booking amount in minor currency units.
billsList[Bill]Vec<Bill>Receipts attached to this booking, included when include[]=bills is requested.
cash_discount_amountOptional[int]Option<i64>Granted cash discount in the currency's smallest denomination (e.g.
cash_discount_idOptional[int]Option<i64>ID of the applied cash discount, or null if none.
contra_account_idinti64jaID of the credit (contra) account the amount is posted from.
contra_cost_center_idOptional[int]Option<i64>ID of the target cost center for a cost center transfer.
cost_center_idOptional[int]Option<i64>ID of the assigned cost center, or null if none.
document_datedateNaiveDatejaDocument date of the booking.
document_numberstrStringjaDocument number of the transaction.
donatorOptional[DomainObjectPerson]Option<DomainObjectPerson>Resolved donor person, or null when no person has been resolved.
donator_idOptional[int]Option<i64>Deprecated: use donator instead. veraltet
donator_spouseOptional[DomainObjectPerson]Option<DomainObjectPerson>Resolved spouse for joint donation receipts, or null.
donator_spouse_idOptional[int]Option<i64>Deprecated: use donatorSpouse instead. veraltet
idinti64jaUnique ID of the transaction.
is_immutablebooljaIf a transaction is immutable, none of its fields can be changed and it cannot be deleted (it has been finalized/locked).
is_syncedbooljaTrue, if the transaction has been created through a sync.
is_waiver_of_reimbursement_of_expensesbooljaTrue, if this transaction is a waiver of reimbursement of expenses ("Aufwandsspende").
metaMetaDataEntityIdja
noteOptional[str]Option<String>Free-text booking note.
permissionsOptional[TransactionPermissions]Option<TransactionPermissions>Permissions calculated for the current caller, or null when this booking was serialized without a permission collection, for example a newly generated tax child.
split_transaction_idOptional[int]Option<i64>ID of the parent split transaction, or null if this is a normal standalone transaction.
storno_base_idOptional[int]Option<i64>Reference to the transaction which gets stornoed by this transaction.
storno_transaction_idOptional[int]Option<i64>Reference to the transaction which stornoed this transaction.
tax_base_idOptional[int]Option<i64>Reference to the transaction which is the base for a tax split booking.
tax_rate_idOptional[int]Option<i64>If a tax rate is set for the transaction, the corresponding tax transaction is returned in the field taxTransactionId.
tax_transaction_idOptional[int]Option<i64>Reference to the transaction which is a split booking for taxes.
transaction_datedateNaiveDatejaDate on which the transaction was created, derived from meta.createdDate.
TransactionBatchFilter16 Felder

One accounting-period scope.

FeldTypPflichtBeschreibung
account_idsList[int]Vec<i64>Filter by account/contra account.
accounting_period_idinti64jaID of accounting period to get master data for
cost_center_idsList[int]Vec<i64>Filter by cost centers.
created_pidinti64Filter by person ID. Get all transactions the person has created.
donator_idsList[int]Vec<i64>Person IDs matching either donor or spouse, including donors of the original booking when matching cancellations.
end_datedateNaiveDateInclusive upper bound for documentDate.
excludeList[int]Vec<i64>Legacy alias for excludeIds. veraltet
exclude_idsList[int]Vec<i64>Filter by ids to exclude.
includeList[int]Vec<i64>Legacy alias for includeIds. veraltet
include_idsList[int]Vec<i64>Filter by ids to include.
is_donationboolCurrently, either true or false selects bookings with a positive donor ID.
is_immutableboolFilter transactions, whether transaction is immutable.
is_incomeboolTrue selects a cash-asset debit account and a non-cash-asset credit account (income); false selects the reverse (expense).
order_bystrStringSort by document date, amount, modification time, document number, note, account number, contra-account number, cost-center number, donor name or receipt count.
querystrStringSearch note, document number or amount.
start_datedateNaiveDateInclusive lower bound for documentDate.
TransactionBatchResult2 Felder

Result counters. They do not enumerate the affected booking IDs.

FeldTypPflichtBeschreibung
affected_rowsinti64jaFinalization: selected and automatically added related bookings.
changed_rowsinti64jaFinalization: previously mutable rows actually updated.
TransactionBatchUpdate2 Felder

A batch action and its non-empty list of accounting-period scopes.

FeldTypPflichtBeschreibung
changesetTransactionBatchUpdateChangesetjaUse isImmutable=true to finalize or delete=true to delete.
filtersList[TransactionBatchFilter]Vec<TransactionBatchFilter>jaScopes to combine with OR.
TransactionBatchUpdateChangeset2 Felder

Use isImmutable=true to finalize or delete=true to delete.

FeldTypPflichtBeschreibung
deleteboolDelete matched bookings, including immutable ones.
is_immutableboolFinalize the matched bookings and related tax/base bookings.
TransactionBulkCreateItem15 Felder

One booking in a bulk request.

FeldTypPflichtBeschreibung
account_idinti64jaID of the debit account the amount is posted to.
amountinti64jaGross booking amount in integer minor currency units.
cash_discount_amountOptional[int]Option<i64>Cash discount in the smallest currency unit.
cash_discount_idOptional[int]Option<i64>Cash-discount definition from the same accounting period.
contra_account_idinti64jaID of the credit (contra) account the amount is posted from.
contra_cost_center_idOptional[int]Option<i64>ID of the target cost center for a cost center transfer.
cost_center_idOptional[int]Option<i64>Cost center from the same accounting period.
document_datedateNaiveDatejaDate printed on the underlying document/receipt.
donator_idOptional[int]Option<i64>Donor person ID. Normally required when only the credit account is a donation account.
donator_spouse_idOptional[int]Option<i64>Spouse for joint donation receipts.
is_waiver_of_reimbursement_of_expensesboolWhether this is a donation through waived reimbursement of expenses.
notestrStringjaFree-text note describing the booking.
tax_rate_idOptional[int]Option<i64>Tax rate from the same accounting period.
document_numberstrStringjaExplicit document number for this item.
is_syncedboolMark this booking as created through a sync.
TransactionCreate15 Felder

Creates one booking. The document date must lie within the open accounting period.

FeldTypPflichtBeschreibung
account_idinti64jaID of the debit account the amount is posted to.
amountinti64jaGross booking amount in integer minor currency units.
cash_discount_amountOptional[int]Option<i64>Cash discount in the smallest currency unit.
cash_discount_idOptional[int]Option<i64>Cash-discount definition from the same accounting period.
contra_account_idinti64jaID of the credit (contra) account the amount is posted from.
contra_cost_center_idOptional[int]Option<i64>ID of the target cost center for a cost center transfer.
cost_center_idOptional[int]Option<i64>Cost center from the same accounting period.
document_datedateNaiveDatejaDate printed on the underlying document/receipt.
donator_idOptional[int]Option<i64>Donor person ID. Normally required when only the credit account is a donation account.
donator_spouse_idOptional[int]Option<i64>Spouse for joint donation receipts.
is_waiver_of_reimbursement_of_expensesboolWhether this is a donation through waived reimbursement of expenses.
notestrStringjaFree-text note describing the booking.
tax_rate_idOptional[int]Option<i64>Tax rate from the same accounting period.
document_numberOptional[str]Option<String>Document number, required unless automatic numbering is enabled.
is_syncedboolMark this booking as created through a sync.
TransactionDeprecated2 Felder

Compatibility marker mapping the deprecated donor ID fields to their replacements.

FeldTypPflichtBeschreibung
donator_idstrStringja
donator_spouse_idstrStringja
TransactionPermissions1 Felder

Permissions calculated for the current caller, or null when this booking was serialized without a permission collection, for example a newly generated tax child.

FeldTypPflichtBeschreibung
can_editboolFlag if user can edit this transaction
TransactionPurpose8 Felder

A transaction purpose is a reusable preset for simplified bookkeeping.

FeldTypPflichtBeschreibung
account_idsList[int]Vec<i64>jaResolved, distinct ledger account IDs.
cost_center_idOptional[int]Option<i64>Optional cost center.
idinti64ja
is_incomebooljaTrue for income presets, false for expense presets.
metaMetaDataEntityIdja
namestrStringjaTrimmed display name.
purpose_account_idinti64jaFixed ledger account: the contra account for income, or the account for expenses.
sort_keyinti64jaAscending display order.
TransactionPurposeCreate6 Felder

A transaction purpose is a reusable preset for simplified bookkeeping.

FeldTypPflichtBeschreibung
account_idsList[int]Vec<i64>jaAccounts offered for the other side of the posting.
cost_center_idOptional[int]Option<i64>Optional cost center.
is_incomebooljaTrue for income presets, false for expense presets.
namestrStringjaTrimmed display name.
purpose_account_idinti64jaFixed ledger account: the contra account for income, or the account for expenses.
sort_keyinti64jaAscending display order.
TransactionPurposeUpdate6 Felder

Replacement preset, including the complete accountIds selection.

FeldTypPflichtBeschreibung
account_idsList[int]Vec<i64>jaAccounts offered for the other side of the posting.
cost_center_idOptional[int]Option<i64>Optional cost center.
is_incomebooljaTrue for income presets, false for expense presets.
namestrStringjaTrimmed display name.
purpose_account_idinti64jaFixed ledger account: the contra account for income, or the account for expenses.
sort_keyinti64jaAscending display order.
TransactionStornoCreate1 Felder

Reason to record when cancelling a booking.

FeldTypPflichtBeschreibung
notestrStringjaReason added to the original booking note in a localized cancellation prefix.
TransactionSummaryCostCenter3 Felder

Income, expense and net amount for the selected cost centers.

FeldTypPflichtBeschreibung
periodsTransactionSummaryCostCenterPeriodsja
summaryTransactionSummaryCostCenterSummaryja
type_r#typestrStringja
TransactionSummaryCostCenterPeriods2 Felder
TransactionSummaryCostCenterPeriodsEndDate2 Felder
FeldTypPflichtBeschreibung
last_yeardateNaiveDatejaA simple date in ISO format, e.g.
this_yeardateNaiveDatejaA simple date in ISO format, e.g.
TransactionSummaryCostCenterSummary3 Felder
FeldTypPflichtBeschreibung
incomeFinanceYearValueComparisonjaAmounts in integer minor currency units for the selected date interval and its previous-year counterpart.
outcomeFinanceYearValueComparisonjaAmounts in integer minor currency units for the selected date interval and its previous-year counterpart.
sumFinanceYearValueComparisonjaAmounts in integer minor currency units for the selected date interval and its previous-year counterpart.
TransactionSummaryCreditDebit3 Felder

Debit, credit and balance totals for selected accounts.

FeldTypPflichtBeschreibung
periodsTransactionSummaryCostCenterPeriodsja
summaryTransactionSummaryCreditDebitSummaryja
type_r#typestrStringja
TransactionSummaryCreditDebitSummary4 Felder
FeldTypPflichtBeschreibung
accountsList[TransactionSummaryCreditDebitSummaryAccountsItem]Vec<TransactionSummaryCreditDebitSummaryAccountsItem>jaSelected accounts, with separate debit, credit and balance comparisons.
creditFinanceYearValueComparisonjaAmounts in integer minor currency units for the selected date interval and its previous-year counterpart.
debitFinanceYearValueComparisonjaAmounts in integer minor currency units for the selected date interval and its previous-year counterpart.
sumFinanceYearValueComparisonjaAmounts in integer minor currency units for the selected date interval and its previous-year counterpart.
TransactionSummaryCreditDebitSummaryAccountsItem6 Felder
FeldTypPflichtBeschreibung
balanceFinanceYearValueComparisonjaAmounts in integer minor currency units for the selected date interval and its previous-year counterpart.
creditFinanceYearValueComparisonjaAmounts in integer minor currency units for the selected date interval and its previous-year counterpart.
debitFinanceYearValueComparisonjaAmounts in integer minor currency units for the selected date interval and its previous-year counterpart.
idinti64ja
nameOptional[str]Option<String>
numberstrStringja
TransactionSummaryDonation3 Felder

Net donations with repayments subtracted and cancellation pairs excluded.

FeldTypPflichtBeschreibung
periodsTransactionSummaryCostCenterPeriodsja
summaryTransactionSummaryDonationSummaryja
type_r#typestrStringja
TransactionSummaryDonationSummary2 Felder
FeldTypPflichtBeschreibung
donatorsList[TransactionSummaryDonationSummaryDonatorsItem]Vec<TransactionSummaryDonationSummaryDonatorsItem>jaNet donations grouped by primary donor.
sumFinanceYearValueComparisonjaAmounts in integer minor currency units for the selected date interval and its previous-year counterpart.
TransactionSummaryDonationSummaryDonatorsItem2 Felder
FeldTypPflichtBeschreibung
personDomainObjectPersonjaPerson as Domain Object
sumFinanceYearValueComparisonjaAmounts in integer minor currency units for the selected date interval and its previous-year counterpart.
TransactionUpdate16 Felder

Replaces required booking fields.

FeldTypPflichtBeschreibung
account_idinti64jaID of the debit account the amount is posted to.
amountinti64jaGross booking amount in integer minor currency units.
cash_discount_amountOptional[int]Option<i64>Cash discount in the smallest currency unit.
cash_discount_idOptional[int]Option<i64>Cash-discount definition from the same accounting period.
contra_account_idinti64jaID of the credit (contra) account the amount is posted from.
contra_cost_center_idOptional[int]Option<i64>ID of the target cost center for a cost center transfer.
cost_center_idOptional[int]Option<i64>Cost center from the same accounting period.
document_datedateNaiveDatejaDate printed on the underlying document/receipt.
donator_idOptional[int]Option<i64>Donor person ID. Normally required when only the credit account is a donation account.
donator_spouse_idOptional[int]Option<i64>Spouse for joint donation receipts.
is_waiver_of_reimbursement_of_expensesboolWhether this is a donation through waived reimbursement of expenses.
notestrStringjaFree-text note describing the booking.
tax_rate_idOptional[int]Option<i64>Tax rate from the same accounting period.
document_numberstrStringjaReplacement document number; never generated automatically on update.
ignore_donation_constraintboolSkip the normal donation-account/donor constraint.
is_immutableboolFinalize this booking and its tax booking.
Translation5 Felder

Text and maintenance flags for one language of a translation key.

FeldTypPflichtBeschreibung
deletedbooljaWhether this language entry is marked deleted.
needs_checkbooljaWhether this translation needs review.
translationstrStringjaThe translation value for the key
updatedOptional[datetime]Option<DateTime<Utc>>Last updated
updated_by_churchbooljaDetermines if the translation was updated or created by the church
TranslationKey7 Felder

Translation identifier and its texts by language code.

FeldTypPflichtBeschreibung
created_by_churchbooljaWhether the key was created locally by this installation.
deletedbooljaWhether the key is marked deleted.
idinti64ja
keystrStringja
modulestrStringja
translationsUnion[StrMap[Translation], List[Translation]]serde_json::ValuejaTranslations keyed by language code, for example de or en.
updatedOptional[datetime]Option<DateTime<Utc>>Last updated
TranslationKeyUpdate2 Felder

Rename or move a locally created translation key to a module.

FeldTypPflichtBeschreibung
keystrStringjaTranslation key, trimmed before validation.
modulestrStringjaModule grouping, trimmed before validation.
TurnoverReportCreate6 Felder
FeldTypPflichtBeschreibung
account_typesOptional[List[int]]Option<Vec<i64>>Account-type IDs. Omission, null or [] selects all types.
accounting_period_idinti64jaAccounting period owning the accounts.
formatstrStringPDF creates a file and returns its URL with HTTP 201.
periodstrStringjaUse twelve calendar-month columns or four calendar-quarter columns for the year of the accounting period’s start date.
show_account_groupsboolAccepted by the shared validator but ignored by the turnover report.
show_empty_accountsboolInclude zero-value accounts according to the selected report’s balance/activity calculation.
TwoFactorLoginResult2 Felder

Two-factor completion result.

FeldTypPflichtBeschreibung
redirect_tostrStringSuggested post-login navigation target from the pending session or external-link completion.
statusstrStringja
TwoFactorSetupActivate1 Felder
FeldTypPflichtBeschreibung
codestrStringjaSix-digit current authenticator code.
TwoFactorSetupSecret2 Felder

New authenticator enrollment material.

FeldTypPflichtBeschreibung
qrcodestrStringjaQR-code image as a data URI, suitable for an image element.
secretstrStringjaNew Base32 authenticator secret.
UserRule11 Felder

Stored statement suggestion rule.

FeldTypPflichtBeschreibung
account_idsList[int]Vec<i64>jaAccounts whose statement movements are eligible when allAccounts is false.
accounting_period_idinti64jaAccounting period owning these rules.
all_accountsbooljaApply to all statement accounts in this accounting period instead of accountIds.
idinti64jaGenerated ID, replaced when the rule set is saved.
is_incomebooljaTrue matches incoming movements, false matches outgoing movements.
operatorstrStringjacontains and = compare case-insensitively.
search_stringstrStringjaText to match against the movement purpose, or a complete PHP regular expression including delimiters for regex (for example /donation/i).
search_typestrStringjaMovement field to search.
sort_keyinti64jaAscending rule order.
suggestion_typestrStringjaBooking field for which a value is suggested.
suggestion_valuestrStringjaSuggested account or cost-center ID encoded as a string.
UserRuleCreate9 Felder

Rule for generating booking suggestions from imported statement movements.

FeldTypPflichtBeschreibung
account_idsList[int]Vec<i64>jaAccounts whose statement movements are eligible when allAccounts is false.
all_accountsbooljaApply to all statement accounts in this accounting period instead of accountIds.
is_incomebooljaTrue matches incoming movements, false matches outgoing movements.
operatorstrStringjacontains and = compare case-insensitively.
search_stringstrStringjaText to match against the movement purpose, or a complete PHP regular expression including delimiters for regex (for example /donation/i).
search_typestrStringjaMovement field to search.
sort_keyinti64jaAscending rule order.
suggestion_typestrStringjaBooking field for which a value is suggested.
suggestion_valuestrStringjaSuggested account or cost-center ID encoded as a string.
UserRulesUpdate1 Felder

Complete replacement of an accounting period’s rules.

FeldTypPflichtBeschreibung
rulesList[UserRuleCreate]Vec<UserRuleCreate>jaAll rules to retain. An empty array removes every rule for this period.
WebsiteDataCalendar5 Felder
FeldTypPflichtBeschreibung
domain_idinti64ja
idinti64ja
additional_idinti64ja
domain_dataCalendarCalendar containing appointments and their series.
domain_typestrStringja
WebsiteDataCreate3 Felder
FeldTypPflichtBeschreibung
additional_idinti64
domain_idinti64ja
domain_typestrStringja
WebsiteDataPerson5 Felder
FeldTypPflichtBeschreibung
domain_idinti64ja
idinti64ja
additional_idinti64jaThe role id
domain_dataWebsiteDataPersonDomainData
domain_typestrStringja
WebsiteDataPersonDomainData3 Felder
FeldTypPflichtBeschreibung
groupDomainObjectGroupja
membersList[DomainObjectPerson]Vec<DomainObjectPerson>ja
roleRolejaA membership role defined for a group type, such as leader or participant.
WebsiteDataPostsInGroup5 Felder
FeldTypPflichtBeschreibung
domain_idinti64ja
idinti64ja
additional_idinti64ja
domain_dataWebsiteDataPostsInGroupDomainData
domain_typestrStringja
WebsiteDataPostsInGroupDomainData2 Felder
FeldTypPflichtBeschreibung
groupDomainObjectGroupja
group_visible_post_countinti64ja
WebsiteDataStaff5 Felder
FeldTypPflichtBeschreibung
domain_idinti64ja
idinti64ja
additional_idinti64ja
domain_dataDomainObjectPersonPerson as Domain Object
domain_typestrStringja
WebsiteDataWithoutInclude4 Felder
FeldTypPflichtBeschreibung
domain_idinti64ja
idinti64ja
additional_idOptional[int]Option<i64>
domain_typestrStringja
Weekday4 Felder
FeldTypPflichtBeschreibung
idinti64ja
namestrStringja
name_translatedstrStringja
sort_keyinti64ja
WidgetActionAllBirthdaysAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetActionAppointmentsAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetActionDataAppointment3 Felder
FeldTypPflichtBeschreibung
appointment_idinti64ja
calendar_idinti64ja
start_datedateNaiveDatejaA simple date in ISO format, e.g.
WidgetActionDataBooking2 Felder
FeldTypPflichtBeschreibung
booking_idinti64ja
start_datedateNaiveDatejaA simple date in ISO format, e.g.
WidgetActionDataEvent1 Felder
FeldTypPflichtBeschreibung
event_idinti64ja
WidgetActionDataGroup1 Felder
FeldTypPflichtBeschreibung
group_idinti64ja
WidgetActionDataPerson1 Felder
FeldTypPflichtBeschreibung
person_idinti64ja
WidgetActionDataPostExternal4 Felder
FeldTypPflichtBeschreibung
group_guidstrStringja
guidstrStringja
instance_guidstrStringja
post_idinti64ja
WidgetActionDataPostInternal2 Felder
FeldTypPflichtBeschreibung
guidstrStringja
post_idinti64ja
WidgetActionDataResource1 Felder
FeldTypPflichtBeschreibung
resource_idinti64ja
WidgetActionDataUrl1 Felder
FeldTypPflichtBeschreibung
urlstrStringja
WidgetActionExchangeRequestsAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetActionFavoriteGroupsAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetActionGeneralUrl7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataWidgetActionDataUrl
WidgetActionGroupMeetingAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetActionMyBookingsAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetActionMyGroupsAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetActionMyResourcesAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetActionPostsAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetActionServiceRequestsAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetActionSongsToLearnAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetActionUpcomingServicesAll7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetAvatar2 Felder

Avatar for widget items

WidgetCommon14 Felder
FeldTypPflichtBeschreibung
actionsList[Union[WidgetActionAppointmentsAll, WidgetActionAllBirthdaysAll, WidgetActionExchangeRequestsAll, WidgetActionFavoriteGroupsAll, WidgetActionGeneralUrl, WidgetActionGroupMeetingAll, WidgetActionMyBookingsAll, WidgetActionMyGroupsAll, WidgetActionMyResourcesAll, WidgetActionPostsAll, WidgetActionServiceRequestsAll, WidgetActionSongsToLearnAll, WidgetActionUpcomingServicesAll]]Vec<serde_json::Value>
empty_strategystrStringStrategy for handling empty widget content
empty_textstrString
filterOptional[WidgetDateFilterVariant1]Option<WidgetDateFilterVariant1>
help_linkstrString
is_mandatorybool
keystrStringja
orientationstrString
replacementstrString
titlestrStringja
widget_settingsWidgetSettingsCommonjaSettings specific to common widgets
groupingsStrMap[WidgetGroupingOption]BTreeMap<String, WidgetGroupingOption>jaGrouping configuration for widgets
itemsList[WidgetCommonItem]Vec<WidgetCommonItem>ja
widget_typestrStringja
WidgetCommonItem8 Felder

Common widget item structure

WidgetCommonItemDetails6 Felder

Details for common widget items

FeldTypPflichtBeschreibung
avatarOptional[WidgetAvatar]Option<WidgetAvatar>
countOptional[WidgetCount]Option<WidgetCount>
info_listsList[WidgetInfoList]Vec<WidgetInfoList>ja
initial_info_listOptional[WidgetInfoList]Option<WidgetInfoList>
primary_info_listOptional[WidgetInfoList]Option<WidgetInfoList>
top_lineOptional[WidgetTopLine]Option<WidgetTopLine>
WidgetCount3 Felder

Count display for widgets

FeldTypPflichtBeschreibung
colorstrStringjaA color in ChurchTools
textstrStringja
type_r#typestrStringja
WidgetDate13 Felder
FeldTypPflichtBeschreibung
actionsList[Union[WidgetActionAppointmentsAll, WidgetActionAllBirthdaysAll, WidgetActionExchangeRequestsAll, WidgetActionFavoriteGroupsAll, WidgetActionGeneralUrl, WidgetActionGroupMeetingAll, WidgetActionMyBookingsAll, WidgetActionMyGroupsAll, WidgetActionMyResourcesAll, WidgetActionPostsAll, WidgetActionServiceRequestsAll, WidgetActionSongsToLearnAll, WidgetActionUpcomingServicesAll]]Vec<serde_json::Value>
empty_strategystrStringStrategy for handling empty widget content
empty_textstrString
filterOptional[WidgetDateFilterVariant1]Option<WidgetDateFilterVariant1>
help_linkstrString
is_mandatorybool
keystrStringja
orientationstrString
replacementstrString
titlestrStringja
widget_settingsWidgetDateWidgetSettingsja
itemsList[WidgetDateItem]Vec<WidgetDateItem>ja
widget_typestrStringja
WidgetDateFilterVariant11 Felder
WidgetDateFilterVariant1OptionsItem3 Felder
FeldTypPflichtBeschreibung
idstrStringja
namestrStringja
total_countinti64Total number of groups available for this filter option.
WidgetDateItem7 Felder

Item for widget date lists

WidgetDateItemDetails3 Felder
FeldTypPflichtBeschreibung
all_dayboolja
date_timedatetimeDateTime<Utc>jaA timestamp in Zulu time format, e.g.
titlestrStringja
WidgetDateItemInfosItem1 Felder
FeldTypPflichtBeschreibung
textstrStringja
WidgetDateWidgetSettings1 Felder
FeldTypPflichtBeschreibung
background_colorColorValue for Tailwind color
WidgetDetail13 Felder
FeldTypPflichtBeschreibung
actionsList[Union[WidgetActionAppointmentsAll, WidgetActionAllBirthdaysAll, WidgetActionExchangeRequestsAll, WidgetActionFavoriteGroupsAll, WidgetActionGeneralUrl, WidgetActionGroupMeetingAll, WidgetActionMyBookingsAll, WidgetActionMyGroupsAll, WidgetActionMyResourcesAll, WidgetActionPostsAll, WidgetActionServiceRequestsAll, WidgetActionSongsToLearnAll, WidgetActionUpcomingServicesAll]]Vec<serde_json::Value>
empty_strategystrStringStrategy for handling empty widget content
empty_textstrString
filterOptional[WidgetDateFilterVariant1]Option<WidgetDateFilterVariant1>
help_linkstrString
is_mandatorybool
keystrStringja
orientationstrString
replacementstrString
titlestrStringja
widget_settingsWidgetDateWidgetSettingsja
itemsList[WidgetDetailItem]Vec<WidgetDetailItem>ja
widget_typestrStringja
WidgetDetailItem5 Felder

Item for widget detail lists

WidgetDetailItemRowEntry4 Felder

Entry row type for widget detail items

FeldTypPflichtBeschreibung
colorColorjaValue for Tailwind color
iconstrStringja
textstrStringja
type_r#typestrStringja
WidgetDetailRowDomainObjects3 Felder

Domain objects row type for widget detail items

FeldTypPflichtBeschreibung
domain_objectsList[Union[DomainObjectExternalPerson, DomainObjectGroup, DomainObjectPerson, DomainObjectSong, DomainObjectWikiPage, DomainObjectFile, DomainObjectFurtherLink]]Vec<serde_json::Value>ja
textstrStringja
type_r#typestrStringja
WidgetDetailRowInfoLine2 Felder

Info line row type for widget detail items

FeldTypPflichtBeschreibung
infosList[str]Vec<String>ja
type_r#typestrStringja
WidgetDetailRowPrimary2 Felder

Primary row type for widget detail items

FeldTypPflichtBeschreibung
textstrStringja
type_r#typestrStringja
WidgetDetailRowProperties2 Felder

Properties row type for widget detail items

FeldTypPflichtBeschreibung
propertiesList[WidgetDetailRowPropertiesPropertiesItem]Vec<WidgetDetailRowPropertiesPropertiesItem>ja
type_r#typestrStringja
WidgetDetailRowPropertiesPropertiesItem2 Felder
FeldTypPflichtBeschreibung
labelstrStringja
propertyList[str]Vec<String>ja
WidgetDetailRowStatus2 Felder

Status row type for widget detail items

FeldTypPflichtBeschreibung
statusList[WidgetDetailRowStatusStatusItem]Vec<WidgetDetailRowStatusStatusItem>ja
type_r#typestrStringja
WidgetDetailRowStatusStatusItem4 Felder
FeldTypPflichtBeschreibung
colorColorjaValue for Tailwind color
iconstrStringja
infosList[str]Vec<String>ja
statusstrStringja
WidgetDetailRowTopLine3 Felder

Top line row type for widget detail items

FeldTypPflichtBeschreibung
colorColorjaValue for Tailwind color
infosList[str]Vec<String>ja
type_r#typestrStringja
WidgetDomainObject13 Felder
FeldTypPflichtBeschreibung
actionsList[Union[WidgetActionAppointmentsAll, WidgetActionAllBirthdaysAll, WidgetActionExchangeRequestsAll, WidgetActionFavoriteGroupsAll, WidgetActionGeneralUrl, WidgetActionGroupMeetingAll, WidgetActionMyBookingsAll, WidgetActionMyGroupsAll, WidgetActionMyResourcesAll, WidgetActionPostsAll, WidgetActionServiceRequestsAll, WidgetActionSongsToLearnAll, WidgetActionUpcomingServicesAll]]Vec<serde_json::Value>
empty_strategystrStringStrategy for handling empty widget content
empty_textstrString
filterOptional[WidgetDateFilterVariant1]Option<WidgetDateFilterVariant1>
help_linkstrString
is_mandatorybool
keystrStringja
orientationstrString
replacementstrString
titlestrStringja
widget_settingsWidgetDateWidgetSettingsja
itemsList[WidgetDomainObjectItem]Vec<WidgetDomainObjectItem>ja
widget_typestrStringja
WidgetDomainObjectItem7 Felder

Item for widget domain object lists

WidgetDomainObjectItemDetails1 Felder
WidgetDomainObjectItemInfosItem1 Felder
FeldTypPflichtBeschreibung
textstrStringja
WidgetGroupingOption4 Felder

Individual grouping option configuration

FeldTypPflichtBeschreibung
countOptional[WidgetCount]Option<WidgetCount>
filter_keysList[str]Vec<String>ja
info_listOptional[WidgetInfoList]Option<WidgetInfoList>
titlestrStringjaThe title
WidgetHidden12 Felder
FeldTypPflichtBeschreibung
actionsList[Union[WidgetActionAppointmentsAll, WidgetActionAllBirthdaysAll, WidgetActionExchangeRequestsAll, WidgetActionFavoriteGroupsAll, WidgetActionGeneralUrl, WidgetActionGroupMeetingAll, WidgetActionMyBookingsAll, WidgetActionMyGroupsAll, WidgetActionMyResourcesAll, WidgetActionPostsAll, WidgetActionServiceRequestsAll, WidgetActionSongsToLearnAll, WidgetActionUpcomingServicesAll]]Vec<serde_json::Value>
empty_strategystrStringStrategy for handling empty widget content
empty_textstrString
filterOptional[WidgetDateFilterVariant1]Option<WidgetDateFilterVariant1>
help_linkstrString
is_mandatorybool
keystrStringja
orientationstrString
replacementstrString
titlestrStringja
widget_settingsWidgetDateWidgetSettingsja
widget_typestrStringja
WidgetInfoItem5 Felder

Information item for widget lists

FeldTypPflichtBeschreibung
colorstrStringjaA color in ChurchTools
icon_beforeOptional[str]Option<String>
labelOptional[str]Option<String>
sub_itemsList[WidgetInfoSubItem]Vec<WidgetInfoSubItem>ja
textOptional[str]Option<String>
WidgetInfoList4 Felder

List of information items for widgets

FeldTypPflichtBeschreibung
directionstrStringjaDirection for widget info lists
info_itemsList[WidgetInfoItem]Vec<WidgetInfoItem>ja
sizestrStringjaSize options for widget info lists
with_labelboolja
WidgetInfoSubItem3 Felder

Sub-item for widget information items

FeldTypPflichtBeschreibung
colorstrStringjaA color in ChurchTools
icon_beforeOptional[str]Option<String>
textOptional[str]Option<String>
WidgetItemActionAppointmentDetails7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataWidgetActionDataAppointment
WidgetItemActionBirthdayDetails7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataWidgetActionDataPerson
WidgetItemActionBookingDetails7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataWidgetActionDataBooking
WidgetItemActionEventAgenda7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataWidgetActionDataEvent
WidgetItemActionEventDetails7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataWidgetActionDataEvent
WidgetItemActionEventfactDetails7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataWidgetActionDataEvent
WidgetItemActionExchangeRequests7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetItemActionGroupDetails7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataWidgetActionDataGroup
WidgetItemActionMyResourcesDetails7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataWidgetActionDataResource
WidgetItemActionPostDetails7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataUnion[WidgetActionDataPostInternal, WidgetActionDataPostExternal]serde_json::Value
WidgetItemActionServiceRequests7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetItemActionSongsToLearnDetails7 Felder
FeldTypPflichtBeschreibung
flavorstrStringFlavor of widget action
iconstrString
keystrStringja
labelstrStringja
propsStrMap[Any]BTreeMap<String, serde_json::Value>
type_r#typestrStringjaType of widget action
action_dataStrMap[Any]BTreeMap<String, serde_json::Value>
WidgetPost13 Felder
FeldTypPflichtBeschreibung
actionsList[Union[WidgetActionAppointmentsAll, WidgetActionAllBirthdaysAll, WidgetActionExchangeRequestsAll, WidgetActionFavoriteGroupsAll, WidgetActionGeneralUrl, WidgetActionGroupMeetingAll, WidgetActionMyBookingsAll, WidgetActionMyGroupsAll, WidgetActionMyResourcesAll, WidgetActionPostsAll, WidgetActionServiceRequestsAll, WidgetActionSongsToLearnAll, WidgetActionUpcomingServicesAll]]Vec<serde_json::Value>
empty_strategystrStringStrategy for handling empty widget content
empty_textstrString
filterOptional[WidgetDateFilterVariant1]Option<WidgetDateFilterVariant1>
help_linkstrString
is_mandatorybool
keystrStringja
orientationstrString
replacementstrString
titlestrStringja
widget_settingsWidgetDateWidgetSettingsja
itemsList[WidgetPostItem]Vec<WidgetPostItem>ja
widget_typestrStringja
WidgetPostItem7 Felder

Item for widget post lists

WidgetPostItemDetails1 Felder
FeldTypPflichtBeschreibung
postPostja
WidgetSettingsCommon1 Felder

Settings specific to common widgets

FeldTypPflichtBeschreibung
densitystrStringjaDensity options for common widgets
WidgetTopLine1 Felder

Top line text for widget items

FeldTypPflichtBeschreibung
textstrStringja
WikiCategory8 Felder

A category organizes wiki pages and is the unit of wiki access permissions.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Campus association, or null when no campus is assigned.
file_access_without_permissionbooljaWhether files in this wiki category can be read without category-view permission.
in_menubooljaWhether the category should appear in navigation menus; it is still returned by the category catalog when false.
namestrStringjaCategory name; unlike page titles it is not trimmed.
sort_keyinti64jaSort order; negative values are accepted.
idinti64jaWiki category ID used in category/page endpoint URLs.
name_translatedstrStringjaDisplay name translated for the current request language.
permissionsGroupWikiCategoryPagesItemCategoryPermissionsjaPage-operation hints based on category edit rights.
WikiCategoryCreate5 Felder
FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Optional campus association.
file_access_without_permissionbooljaWhether files in this wiki category can be read without category-view permission.
in_menubooljaWhether the category should appear in navigation menus; it is still returned by the category catalog when false.
namestrStringjaCategory name; unlike page titles it is not trimmed.
sort_keyinti64jaSort order; negative values are accepted.
WikiCategoryUpdate5 Felder

Replacement category settings.

FeldTypPflichtBeschreibung
campus_idOptional[int]Option<i64>Optional campus association.
file_access_without_permissionbooljaWhether files in this wiki category can be read without category-view permission.
in_menubooljaWhether the category should appear in navigation menus; it is still returned by the category catalog when false.
namestrStringjaCategory name; unlike page titles it is not trimmed.
sort_keyinti64jaSort order; negative values are accepted.
WikiPage14 Felder

Wiki page metadata for one version.

FeldTypPflichtBeschreibung
deprecatedSimpleWikiPageDeprecatedjaCompatibility marker used by existing clients.
guidstrStringjaStable page GUID across versions in its category.
identifierstrStringDeprecated alias for guid. veraltet
is_markdownbooljaWhether page text is Markdown rather than legacy HTML.
metaMetaDataEntityPersonja
on_startpagebooljaWhether the page is configured to appear on the wiki start page.
permissionsSimpleWikiPagePermissionsjaPage editing/deletion capabilities for the current user; system pages have additional restrictions.
redirect_toOptional[str]Option<String>Stored redirect title.
search_previewOptional[str]Option<String>Query-focused preview snippet.
textstrStringja
text_previewstrStringUnrendered prefix of stored page text, truncated by Unicode characters.
titlestrStringja
versioninti64jaRevision number of this page.
wiki_categoryWikiCategoryjaA category organizes wiki pages and is the unit of wiki access permissions.
WikiPageCreate4 Felder
FeldTypPflichtBeschreibung
is_markdownboolWhether text is Markdown.
on_startpageboolWhether this page is marked for display on the wiki start page.
textOptional[str]Option<String>Trimmed Markdown or legacy HTML according to isMarkdown.
titlestrStringjaTrimmed unique page title; Unicode ellipsis is normalized to three periods.
WikiPageUpdate3 Felder

Partial page update; an empty object is accepted.

FeldTypPflichtBeschreibung
is_markdownbool
on_startpagebool
textOptional[str]Option<String>Trimmed replacement content.
WikiSearchResult13 Felder

Compact, domain-independent representation for displaying a link to a ChurchTools object.

FeldTypPflichtBeschreibung
api_urlOptional[str]Option<String>URL for the full API resource, if available.
colorOptional[Union[Color, str]]serde_json::ValueOptional display color.
domain_identifierstrStringjaOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_urlOptional[str]Option<String>Optional image URL.
infosList[str]Vec<String>Additional localized display lines; not structured resource fields.
initialsOptional[str]Option<String>Optional initials for an avatar fallback.
titlestrStringjaDisplay title of the referenced object.
domain_attributesDomainObjectWikiPageDomainAttributesja
domain_typestrStringja
frontend_urlstrStringja
iconstrStringja
previewstrStringjaSearch excerpt, possibly empty, with Markdown emphasis for matching text.
type_r#typestrStringja