Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
OekologischeAuswirkungApp
Please create a React-JS application for the OekologischeAuswirkungModule. The application has to offer the following views for the user interface: 1. KraftwerkOekologischeAuswirkungView 2. KraftwerkstypView 3. OekologischeAuswirkungView 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 KraftwerkOekologischeAuswirkungView must contain the following fields: - name: Notizen type: STRING - name: OekologischeAuswirkung type: OekologischeAuswirkung - name: Schweregrad type: INT - name: Wasserkraftwerk type: Wasserkraftwerk The data source for the [Wasserkraftwerk] select control should be loaded from the relative URL: "/WasserkraftwerkService/wasserkraftwerk" (HTTP-GET) The data source for the [OekologischeAuswirkung] select control should be loaded from the relative URL: "/OekologischeAuswirkungService/oekologischeauswirkung" (HTTP-GET) An existing KraftwerkOekologischeAuswirkung entity should be loaded from the relative URL: "/OekologischeAuswirkungService/kraftwerkoekologischeauswirkung/{id}" (HTTP-GET) If a new KraftwerkOekologischeAuswirkung entity has been created, the new entity should be posted to the relative URL: "/OekologischeAuswirkungService/kraftwerkoekologischeauswirkung" (HTTP-POST) If an existing KraftwerkOekologischeAuswirkung entity has been updated, the modified entity should be sent to the relative URL: "/OekologischeAuswirkungService/kraftwerkoekologischeauswirkung/{id}" (HTTP-PUT) If an existing KraftwerkOekologischeAuswirkung entity has to be deleted, the following relative URL should be called: "/OekologischeAuswirkungService/kraftwerkoekologischeauswirkung/{id}" (HTTP-DELETE) 2. The KraftwerkstypView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Kraftwerkstyp entity should be loaded from the relative URL: "/OekologischeAuswirkungService/kraftwerkstyp/{id}" (HTTP-GET) If a new Kraftwerkstyp entity has been created, the new entity should be posted to the relative URL: "/OekologischeAuswirkungService/kraftwerkstyp" (HTTP-POST) If an existing Kraftwerkstyp entity has been updated, the modified entity should be sent to the relative URL: "/OekologischeAuswirkungService/kraftwerkstyp/{id}" (HTTP-PUT) If an existing Kraftwerkstyp entity has to be deleted, the following relative URL should be called: "/OekologischeAuswirkungService/kraftwerkstyp/{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/kraftwerkstyp/{id}" 3. The OekologischeAuswirkungView must contain the following fields: - name: Beschreibung type: STRING - name: Kategorie type: STRING - name: Name type: STRING - name: Wirkungstyp type: STRING An existing OekologischeAuswirkung entity should be loaded from the relative URL: "/OekologischeAuswirkungService/oekologischeauswirkung/{id}" (HTTP-GET) If a new OekologischeAuswirkung entity has been created, the new entity should be posted to the relative URL: "/OekologischeAuswirkungService/oekologischeauswirkung" (HTTP-POST) If an existing OekologischeAuswirkung entity has been updated, the modified entity should be sent to the relative URL: "/OekologischeAuswirkungService/oekologischeauswirkung/{id}" (HTTP-PUT) If an existing OekologischeAuswirkung entity has to be deleted, the following relative URL should be called: "/OekologischeAuswirkungService/oekologischeauswirkung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KraftwerkOekologischeAuswirkung columns: - column: Wasserkraftwerk - column: Notizen - column: Schweregrad - column: OekologischeAuswirkung The table should have the title "KraftwerkOekologischeAuswirkungs" und the data must be loaded from the server with the following relative URL: "/OekologischeAuswirkungService/kraftwerkoekologischeauswirkung/oekologischeauswirkung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum