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

Add endpoint that combines user profile update and user fi association #11

Closed
2 tasks done
Tracked by #17
lchen-2101 opened this issue Aug 21, 2023 · 0 comments · Fixed by #38
Closed
2 tasks done
Tracked by #17

Add endpoint that combines user profile update and user fi association #11

lchen-2101 opened this issue Aug 21, 2023 · 0 comments · Fixed by #38
Assignees
Labels
backend backend development

Comments

@lchen-2101
Copy link
Collaborator

lchen-2101 commented Aug 21, 2023

Parent ticket or topic: cfpb/sbl-project#17

Context

Currently the API supports user profile update and user fi association separately, we would like to add an endpoint that combines the 2 functionalities.

Task

Create DTO to restrict the request schema, currently it's free form KV map; add endpoint that takes in the new DTO which contains payload for both user profile (first name, last name), and fi associations.

Acceptance criteria

  • DTO for API created
    • body should look like
      {
        "first_name": "First",
        "last_name": "Last",
        "leis": ["LEI1", "LEI2"]
      }
  • API endpoint added.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend backend development
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants