...
Option 1. Online registration Tier 1, Tier 2
Drawio | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Create a staging table with fields:
First name
Last name
Email
Tier: 1,2
Etc. fields from Tier 2 registration form
Modify (edge) POST API to store data in the staging table and accept:
Tier 1 data: only store First/Last name and email address
Tier 2 data: store full data
Create GET API for staging table to search/filter data by email/first name/last name
Create UI for staging table to search/filter data by email/first name/last name
Create PUT API to link patron record with staging record
Create a patron record if not present in user table and link it
Link existing patron record with staging record
Create UI dialog to:
Link a staging record with a patron record
Show a list of patron records to choose from
Go to user app with the selected patron record
Questions
Do we need to keep invalid tier 2 data in the staging table?
How do we update the records? How do we handle renewal? - no update
How do we update the staging record if we update email updates in the users table?