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

Adjust application data endpoint for verein360 #1621

Open
f1sh1918 opened this issue Sep 9, 2024 · 0 comments
Open

Adjust application data endpoint for verein360 #1621

f1sh1918 opened this issue Sep 9, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@f1sh1918
Copy link
Contributor

f1sh1918 commented Sep 9, 2024

Is your feature request related to a problem? Please describe.
Add a field "isAlreadyVerified" to the application endpoint and make sure this endpoint is used correctly.

Describe the solution you'd like

  • check that all mandatory fields have data
  • birthday >= 16 years
  • email address must be valid format
  • regionIdentifier must exist in the database (regions table), bring the identifier in the correct format first (leading zero and only 4 digits)
  • organization contact person and applicant can't be the same
  • workSince: >=2years
  • if the isAlreadyVerified field is set to true, the api token must be set in auth header: Will be done in: Verein360 application data endpoint protection #1790

if the validation of a field fails, send an error response with information what is incorrect

check the documentation of the endpoint: https://github.com/digitalfabrik/entitlementcard/tree/main/docs/verein360-enpoint.md

@f1sh1918 f1sh1918 added the Task label Sep 9, 2024
@f1sh1918 f1sh1918 added this to the Verein360 milestone Sep 9, 2024
@ztefanie ztefanie changed the title Application data verification Application data endpoint for verein360 Nov 20, 2024
@ztefanie ztefanie changed the title Application data endpoint for verein360 Adjust application data endpoint for verein360 Nov 20, 2024
@ztefanie ztefanie self-assigned this Nov 20, 2024
@ztefanie ztefanie moved this to Next Up in team-app Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Next Up
Status: No status
Development

No branches or pull requests

2 participants