Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WassersystemApp
Please create a React-JS application for the WassersystemModule. The application has to offer the following views for the user interface: 1. SystemGemeindeView 2. WasserquelleView 3. WassersystemView 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 SystemGemeindeView must contain the following fields: - name: Gemeinde type: Gemeinde - name: Wassersystem type: Wassersystem The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [Wassersystem] select control should be loaded from the relative URL: "/WassersystemService/wassersystem" (HTTP-GET) An existing SystemGemeinde entity should be loaded from the relative URL: "/WassersystemService/systemgemeinde/{id}" (HTTP-GET) If a new SystemGemeinde entity has been created, the new entity should be posted to the relative URL: "/WassersystemService/systemgemeinde" (HTTP-POST) If an existing SystemGemeinde entity has been updated, the modified entity should be sent to the relative URL: "/WassersystemService/systemgemeinde/{id}" (HTTP-PUT) If an existing SystemGemeinde entity has to be deleted, the following relative URL should be called: "/WassersystemService/systemgemeinde/{id}" (HTTP-DELETE) 2. The WasserquelleView must contain the following fields: - name: Breitengrad type: STRING - name: Gemeinde type: Gemeinde - name: HoeheM type: STRING - name: Laengengrad type: STRING - name: Name type: STRING - name: QuellenTyp type: STRING - name: Wassersystem type: Wassersystem The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [Wassersystem] select control should be loaded from the relative URL: "/WassersystemService/wassersystem" (HTTP-GET) An existing Wasserquelle entity should be loaded from the relative URL: "/WassersystemService/wasserquelle/{id}" (HTTP-GET) If a new Wasserquelle entity has been created, the new entity should be posted to the relative URL: "/WassersystemService/wasserquelle" (HTTP-POST) If an existing Wasserquelle entity has been updated, the modified entity should be sent to the relative URL: "/WassersystemService/wasserquelle/{id}" (HTTP-PUT) If an existing Wasserquelle entity has to be deleted, the following relative URL should be called: "/WassersystemService/wasserquelle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following WasserqualitaetsMessung columns: - column: HaerteDh - column: TemperaturC - column: Hinweise - column: Rohrabschnitt - column: Wasserquelle - column: PhWert - column: FreiesChlorMgL - column: MessDatum - column: BakterienAnzahl - column: NitratMgL - column: BleiUgL The table should have the title "WasserqualitaetsMessungs" und the data must be loaded from the server with the following relative URL: "/RohrabschnittService/wasserqualitaetsmessung/wasserquelle/{id}" 3. The WassersystemView must contain the following fields: - name: Beschreibung type: STRING - name: BetreiberName type: STRING - name: InbetriebnahmeDatum type: DATE - name: Name type: STRING An existing Wassersystem entity should be loaded from the relative URL: "/WassersystemService/wassersystem/{id}" (HTTP-GET) If a new Wassersystem entity has been created, the new entity should be posted to the relative URL: "/WassersystemService/wassersystem" (HTTP-POST) If an existing Wassersystem entity has been updated, the modified entity should be sent to the relative URL: "/WassersystemService/wassersystem/{id}" (HTTP-PUT) If an existing Wassersystem entity has to be deleted, the following relative URL should be called: "/WassersystemService/wassersystem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Wasserquelle columns: - column: HoeheM - column: QuellenTyp - column: Laengengrad - column: Gemeinde - column: Wassersystem - column: Breitengrad - column: Name The table should have the title "Wasserquelles" und the data must be loaded from the server with the following relative URL: "/WassersystemService/wasserquelle/wassersystem/{id}" Add a HTML table to the view with the following SystemGemeinde columns: - column: Wassersystem - column: Gemeinde The table should have the title "SystemGemeindes" und the data must be loaded from the server with the following relative URL: "/WassersystemService/systemgemeinde/wassersystem/{id}" Add a HTML table to the view with the following Wasserleitung columns: - column: Name - column: InbetriebnahmeDatum - column: Wassersystem - column: Leitungsart - column: IstOffenesGerinne - column: Beschreibung - column: AuslegungsdruckBar - column: AuslegungstemperaturC The table should have the title "Wasserleitungs" und the data must be loaded from the server with the following relative URL: "/WasserleitungService/wasserleitung/wassersystem/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum