Customer Management System
Customer Management System
Problem Statement:
The XYZ corporation is building up their electronics and clothing outlets in different
parts of the country. In order to manage the customers, offer them discounts, and
provide customers with their best services, they are building a customer
management system. The customer details will be added to the system along with
their references if any. The reference here means someone who is already present in
the system. The benefit of reference is that the points of purchase will be added to
the reference customer which can be redeemed at any time in future.
All the mentioned RESTful APIs will be created based on the customer personal
details:
URL- http://localhost:9090
Request-get
Response-Welcome to Customer Management System for CRUD operations
status=200
All: To get the list of all the customers in the management system.
Case 1: If Reference flag is false, then only passed id will be deleted and their
references will be null.
Case 2: If Reference flag is true, then the passed id will be deleted along with their
references.