Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BetriebsartView
Please create a React-JS view called "BetriebsartView" for the fields of the Betriebsart entity. The BetriebsartView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Betriebsart entity should be loaded from the relative URL: "/WirtschaftsKennzahlService/betriebsart/{id}" (HTTP-GET) If a new Betriebsart entity has been created, the new entity should be posted to the relative URL: "/WirtschaftsKennzahlService/betriebsart" (HTTP-POST) If an existing Betriebsart entity has been updated, the modified entity should be sent to the relative URL: "/WirtschaftsKennzahlService/betriebsart/{id}" (HTTP-PUT) If an existing Betriebsart entity has to be deleted, the following relative URL should be called: "/WirtschaftsKennzahlService/betriebsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Wasserkraftwerk columns: - column: Betriebsart - column: JahreserzeugungGwh - column: AusserbetriebnahmeJahr - column: Land - column: Fluss - column: IstKavernenkraftwerk - column: NettoFallhoeheMaxM - column: InbetriebnahmeJahr - column: IstPumpspeicher - column: Druckstufe - column: InstallierteLeistungMw - column: NettoFallhoeheMinM - column: Kraftwerkstyp - column: Lastklasse - column: Name - column: Beschreibung - column: Topographieklasse The table should have the title "Wasserkraftwerks" und the data must be loaded from the server with the following relative URL: "/WasserkraftwerkService/wasserkraftwerk/betriebsart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum