Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HistorischesEreignisApp
Please create a React-JS application for the HistorischesEreignisModule. The application has to offer the following views for the user interface: 1. HistorischesEreignisView 2. KraftwerkHistorischesEreignisView 3. LeistungsFormelView 4. SpeicherbeckenView 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 HistorischesEreignisView must contain the following fields: - name: Beschreibung type: STRING - name: EreignisDatum type: DATE - name: EreignisTyp type: STRING - name: Name type: STRING - name: Ortsbeschreibung type: STRING An existing HistorischesEreignis entity should be loaded from the relative URL: "/HistorischesEreignisService/historischesereignis/{id}" (HTTP-GET) If a new HistorischesEreignis entity has been created, the new entity should be posted to the relative URL: "/HistorischesEreignisService/historischesereignis" (HTTP-POST) If an existing HistorischesEreignis entity has been updated, the modified entity should be sent to the relative URL: "/HistorischesEreignisService/historischesereignis/{id}" (HTTP-PUT) If an existing HistorischesEreignis entity has to be deleted, the following relative URL should be called: "/HistorischesEreignisService/historischesereignis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KraftwerkHistorischesEreignis columns: - column: HistorischesEreignis - column: Wasserkraftwerk - column: Rolle The table should have the title "KraftwerkHistorischesEreigniss" und the data must be loaded from the server with the following relative URL: "/HistorischesEreignisService/kraftwerkhistorischesereignis/historischesereignis/{id}" 2. The KraftwerkHistorischesEreignisView must contain the following fields: - name: HistorischesEreignis type: HistorischesEreignis - name: Rolle type: STRING - 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 [HistorischesEreignis] select control should be loaded from the relative URL: "/HistorischesEreignisService/historischesereignis" (HTTP-GET) An existing KraftwerkHistorischesEreignis entity should be loaded from the relative URL: "/HistorischesEreignisService/kraftwerkhistorischesereignis/{id}" (HTTP-GET) If a new KraftwerkHistorischesEreignis entity has been created, the new entity should be posted to the relative URL: "/HistorischesEreignisService/kraftwerkhistorischesereignis" (HTTP-POST) If an existing KraftwerkHistorischesEreignis entity has been updated, the modified entity should be sent to the relative URL: "/HistorischesEreignisService/kraftwerkhistorischesereignis/{id}" (HTTP-PUT) If an existing KraftwerkHistorischesEreignis entity has to be deleted, the following relative URL should be called: "/HistorischesEreignisService/kraftwerkhistorischesereignis/{id}" (HTTP-DELETE) 3. The LeistungsFormelView must contain the following fields: - name: Beschreibung type: STRING - name: FormelText type: STRING - name: Name type: STRING An existing LeistungsFormel entity should be loaded from the relative URL: "/HistorischesEreignisService/leistungsformel/{id}" (HTTP-GET) If a new LeistungsFormel entity has been created, the new entity should be posted to the relative URL: "/HistorischesEreignisService/leistungsformel" (HTTP-POST) If an existing LeistungsFormel entity has been updated, the modified entity should be sent to the relative URL: "/HistorischesEreignisService/leistungsformel/{id}" (HTTP-PUT) If an existing LeistungsFormel entity has to be deleted, the following relative URL should be called: "/HistorischesEreignisService/leistungsformel/{id}" (HTTP-DELETE) 4. The SpeicherbeckenView must contain the following fields: - name: IstNatuerlich type: BOOL - name: Name type: STRING - name: Speicherart type: STRING - name: SpeichervolumenM3 type: DOUBLE - name: Wasserkraftwerk type: Wasserkraftwerk The data source for the [Wasserkraftwerk] select control should be loaded from the relative URL: "/WasserkraftwerkService/wasserkraftwerk" (HTTP-GET) An existing Speicherbecken entity should be loaded from the relative URL: "/HistorischesEreignisService/speicherbecken/{id}" (HTTP-GET) If a new Speicherbecken entity has been created, the new entity should be posted to the relative URL: "/HistorischesEreignisService/speicherbecken" (HTTP-POST) If an existing Speicherbecken entity has been updated, the modified entity should be sent to the relative URL: "/HistorischesEreignisService/speicherbecken/{id}" (HTTP-PUT) If an existing Speicherbecken entity has to be deleted, the following relative URL should be called: "/HistorischesEreignisService/speicherbecken/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum