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 4. WasserartView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 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 AnlageNebenprodukt columns: - column: Entsalzungsanlage - column: Tagesmenge - column: Nebenprodukt - 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}" Add a HTML table to the view with the following VerfahrenNebenprodukt columns: - column: Verfahren - column: Entstehungsmechanismus - column: Nebenprodukt 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}" 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) 4. The WasserartView must contain the following fields: - name: Hinweise type: STRING - name: Name type: STRING - name: SalzgehaltBeschreibung type: STRING - name: TypischeVerwendung type: STRING An existing Wasserart entity should be loaded from the relative URL: "/NebenproduktService/wasserart/{id}" (HTTP-GET) If a new Wasserart entity has been created, the new entity should be posted to the relative URL: "/NebenproduktService/wasserart" (HTTP-POST) If an existing Wasserart entity has been updated, the modified entity should be sent to the relative URL: "/NebenproduktService/wasserart/{id}" (HTTP-PUT) If an existing Wasserart entity has to be deleted, the following relative URL should be called: "/NebenproduktService/wasserart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Entsalzungsanlage columns: - column: BetreiberOrganisation - column: InbetriebnahmeJahr - column: IstKraftwerksverbund - column: AusserbetriebnahmeJahr - column: Hinweise - column: Land - column: Produktwasserart - column: StandortStadt - column: Rohwasserart - column: Name - column: StandortBeschreibung - column: TageskapazitaetM3 The table should have the title "Entsalzungsanlages" und the data must be loaded from the server with the following relative URL: "/EntsalzungsanlageService/entsalzungsanlage/rohwasserart/{id}" Add a HTML table to the view with the following Entsalzungsanlage columns: - column: BetreiberOrganisation - column: InbetriebnahmeJahr - column: IstKraftwerksverbund - column: AusserbetriebnahmeJahr - column: Hinweise - column: Land - column: Produktwasserart - column: StandortStadt - column: Rohwasserart - column: Name - column: StandortBeschreibung - column: TageskapazitaetM3 The table should have the title "Entsalzungsanlages" und the data must be loaded from the server with the following relative URL: "/EntsalzungsanlageService/entsalzungsanlage/produktwasserart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum