PERSON: Daten via API... add ability to show details - #1866
Merged
Conversation
carlobeltrame
approved these changes
Oct 5, 2022
Member
There was a problem hiding this comment.
Folgende Felder sind damit (bei der PBS) neu in der API mit Service Tokens sichtbar. (Bei anderen hitobito-Instanzen sind es dieselben, ausser natürlich die Wagon-spezifischen Felder)
- birthday
- gender
- additional_information
- canton
- j_s_number
- nationality_j_s
- ahv_number
- pbs_number
- salutation_value
- correspondence_language
- prefers_digital_correspondence
- grade_of_school
- brother_and_sisters
- entry_date
- leaving_date
- created_at
- updated_at
Die Details werden nur ausgegeben wenn man eine einzelne Person abruft, nicht in der Liste von Personen in einer Gruppe.
carlobeltrame
force-pushed
the
fix/api_person_json
branch
2 times, most recently
from
October 5, 2022 15:25
d9c4688 to
428e6cb
Compare
carlobeltrame
force-pushed
the
fix/api_person_json
branch
from
October 5, 2022 21:23
428e6cb to
866a7b1
Compare
Member
|
Merci vielmal @sniederberger! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Possible fix for issue: PERSON: Daten via API vs JSON+Token inkonsistent #1460
Adds the ability to show all details of a person when using the api-key.
Fixes #1460
Fixes hitobito/hitobito_pbs#193