Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
NebenproduktApp
Please create a React-JS application for the NebenproduktModule. The application has to offer the following views for the user interface: 1. AnlageNebenproduktView 2. NebenproduktView 3. VerfahrenNebenproduktView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The AnlageNebenproduktView must contain the following fields: - name: Einheit type: STRING - name: Entsalzungsanlage type: Entsalzungsanlage - name: Nebenprodukt type: Nebenprodukt - name: Tagesmenge type: STRING The data source for the [Entsalzungsanlage] select control should be loaded from the relative URL: "/EntsalzungsanlageService/entsalzungsanlage" (HTTP-GET) The data source for the [Nebenprodukt] select control should be loaded from the relative URL: "/NebenproduktService/nebenprodukt" (HTTP-GET) An existing AnlageNebenprodukt entity should be loaded from the relative URL: "/NebenproduktService/anlagenebenprodukt/{id}" (HTTP-GET) If a new AnlageNebenprodukt entity has been created, the new entity should be posted to the relative URL: "/NebenproduktService/anlagenebenprodukt" (HTTP-POST) If an existing AnlageNebenprodukt entity has been updated, the modified entity should be sent to the relative URL: "/NebenproduktService/anlagenebenprodukt/{id}" (HTTP-PUT) If an existing AnlageNebenprodukt entity has to be deleted, the following relative URL should be called: "/NebenproduktService/anlagenebenprodukt/{id}" (HTTP-DELETE) 2. The NebenproduktView must contain the following fields: - name: Beschreibung type: STRING - name: IstWertstoff type: BOOL - name: Name type: STRING An existing Nebenprodukt entity should be loaded from the relative URL: "/NebenproduktService/nebenprodukt/{id}" (HTTP-GET) If a new Nebenprodukt entity has been created, the new entity should be posted to the relative URL: "/NebenproduktService/nebenprodukt" (HTTP-POST) If an existing Nebenprodukt entity has been updated, the modified entity should be sent to the relative URL: "/NebenproduktService/nebenprodukt/{id}" (HTTP-PUT) If an existing Nebenprodukt entity has to be deleted, the following relative URL should be called: "/NebenproduktService/nebenprodukt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VerfahrenNebenprodukt columns: - column: Nebenprodukt - column: Verfahren - column: Entstehungsmechanismus The table should have the title "VerfahrenNebenprodukts" und the data must be loaded from the server with the following relative URL: "/NebenproduktService/verfahrennebenprodukt/nebenprodukt/{id}" Add a HTML table to the view with the following AnlageNebenprodukt columns: - column: Tagesmenge - column: Nebenprodukt - column: Entsalzungsanlage - column: Einheit The table should have the title "AnlageNebenprodukts" und the data must be loaded from the server with the following relative URL: "/NebenproduktService/anlagenebenprodukt/nebenprodukt/{id}" 3. The VerfahrenNebenproduktView must contain the following fields: - name: Entstehungsmechanismus type: STRING - name: Nebenprodukt type: Nebenprodukt - name: Verfahren type: Verfahren The data source for the [Verfahren] select control should be loaded from the relative URL: "/VerfahrenService/verfahren" (HTTP-GET) The data source for the [Nebenprodukt] select control should be loaded from the relative URL: "/NebenproduktService/nebenprodukt" (HTTP-GET) An existing VerfahrenNebenprodukt entity should be loaded from the relative URL: "/NebenproduktService/verfahrennebenprodukt/{id}" (HTTP-GET) If a new VerfahrenNebenprodukt entity has been created, the new entity should be posted to the relative URL: "/NebenproduktService/verfahrennebenprodukt" (HTTP-POST) If an existing VerfahrenNebenprodukt entity has been updated, the modified entity should be sent to the relative URL: "/NebenproduktService/verfahrennebenprodukt/{id}" (HTTP-PUT) If an existing VerfahrenNebenprodukt entity has to be deleted, the following relative URL should be called: "/NebenproduktService/verfahrennebenprodukt/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum