Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FlussView
Please create a React-JS view called "FlussView" for the fields of the Fluss entity. The FlussView must contain the following fields: - name: IstSchiffbar type: BOOL - name: Kontinent type: STRING - name: Name type: STRING An existing Fluss entity should be loaded from the relative URL: "/WasserkraftwerkService/fluss/{id}" (HTTP-GET) If a new Fluss entity has been created, the new entity should be posted to the relative URL: "/WasserkraftwerkService/fluss" (HTTP-POST) If an existing Fluss entity has been updated, the modified entity should be sent to the relative URL: "/WasserkraftwerkService/fluss/{id}" (HTTP-PUT) If an existing Fluss entity has to be deleted, the following relative URL should be called: "/WasserkraftwerkService/fluss/{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/fluss/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum