Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEOPLE: Datenabgleich Adress-Informationen DONMAN -> Hitobito #49

Closed
3 tasks
mtnstar opened this issue May 25, 2022 · 0 comments
Closed
3 tasks

PEOPLE: Datenabgleich Adress-Informationen DONMAN -> Hitobito #49

mtnstar opened this issue May 25, 2022 · 0 comments

Comments

@mtnstar
Copy link
Member

mtnstar commented May 25, 2022

Umsetzung möglichst im Core. Für Umsetzung Ticket nach Core verschieben.

Hitobito besitzt heute ein API auf das nur lesend zugegriffen werden kann. Eine ensprechende Dokumentation befindet sich hier.

Für das Update von Personendaten soll das das neue JSON API sowie Unterstützung für Schreiboperationen implementiert werden. Neben Personendaten sollen auch Telefonnummern (phone_numbers), Social Accounts (social_accounts) sowie Weitere Emails (additional_emails) aktualisiert werden können. (nested/relationships)

Ein Update Request im JSON API Standard für eine Person könnte etwa so aussehen:

POST /api/people/42

{"data": 
  { "attributes": 
    "last_name":"Franz",
"first_name":"Maiyer",
"address": ...
"type":"people"},"relationships":{"phone_numbers":{"data":{"type":"phone_numbers","id":"198"}}},"type":"phone_numbers"}}

Personen Updates via API und Service Tokens sollen im Log der geänderten Person ersichtlich und nachvollziehbar sein. (Paper Trail)

Offene Punkte:

  • Kann DONMAN Personen erstellen?
    • Nein, alle Einträge werden erst in Hitobito erstellt
  • Kann DONMAN Personen löschen?
    • Nein, komplettes Löschen kommt selten vor und erfolgt manuell in allen Systemen

Umsetzung:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants