Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
DistributorView
Please create a React-JS view called "DistributorView" for the fields of the Distributor entity. The DistributorView must contain the following fields: - name: DistributorInfo type: STRING - name: DistributorName type: STRING An existing Distributor entity should be loaded from the relative URL: "/PurchaseListService/distributor/{id}" (HTTP-GET) If a new Distributor entity has been created, the new entity should be posted to the relative URL: "/PurchaseListService/distributor" (HTTP-POST) If an existing Distributor entity has been updated, the modified entity should be sent to the relative URL: "/PurchaseListService/distributor/{id}" (HTTP-PUT) If an existing Distributor entity has to be deleted, the following relative URL should be called: "/PurchaseListService/distributor/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PurchaseList columns: - column: PurchaseDate - column: Buyer - column: Distributor - column: BuyingTeacher The table should have the title "PurchaseLists" und the data must be loaded from the server with the following relative URL: "/PurchaseListService/purchaselist/distributor/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum