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

Import Excel Files API #23

Open
ThanhIsHereee opened this issue Apr 4, 2024 · 1 comment
Open

Import Excel Files API #23

ThanhIsHereee opened this issue Apr 4, 2024 · 1 comment
Assignees

Comments

@ThanhIsHereee
Copy link

No description provided.

@bentran1vn bentran1vn self-assigned this Apr 4, 2024
@ThanhIsHereee
Copy link
Author

Import Excel Files API is written for Admin to read Excel files and create or update products.
First API has to check the role of the current user as admin.
Then they input the Excel file.
read and find each fill-in excel file on the database.
update it the same with the update API if fill exists in the database.
create if not exist in the database.
request type:

  • Excel file

response type:

  • success return success message
  • fail by notFound in the database: throw exception

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