Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WasserversorgerApp
Please create a React-JS application for the WasserversorgerModule. The application has to offer the following views for the user interface: 1. PumpwerkView 2. TarifView 3. VersorgerGemeindeAbdeckungView 4. WasserversorgerView 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 PumpwerkView must contain the following fields: - name: Breitengrad type: STRING - name: Hinweise type: STRING - name: Inbetriebnahmedatum type: DATE - name: KapazitaetM3ProStunde type: STRING - name: Laengengrad type: STRING - name: Pumpwerksname type: STRING - name: Pumpwerkstyp type: STRING - name: Verteilnetz type: Verteilnetz - name: Wasserversorger type: Wasserversorger The data source for the [Verteilnetz] select control should be loaded from the relative URL: "/VerteilnetzService/verteilnetz" (HTTP-GET) The data source for the [Wasserversorger] select control should be loaded from the relative URL: "/WasserversorgerService/wasserversorger" (HTTP-GET) An existing Pumpwerk entity should be loaded from the relative URL: "/WasserversorgerService/pumpwerk/{id}" (HTTP-GET) If a new Pumpwerk entity has been created, the new entity should be posted to the relative URL: "/WasserversorgerService/pumpwerk" (HTTP-POST) If an existing Pumpwerk entity has been updated, the modified entity should be sent to the relative URL: "/WasserversorgerService/pumpwerk/{id}" (HTTP-PUT) If an existing Pumpwerk entity has to be deleted, the following relative URL should be called: "/WasserversorgerService/pumpwerk/{id}" (HTTP-DELETE) 2. The TarifView must contain the following fields: - name: ArbeitspreisProM3 type: STRING - name: GrundpreisProMonat type: STRING - name: GueltigAb type: DATE - name: GueltigBis type: DATE - name: Hinweise type: STRING - name: Tarifname type: STRING - name: Verbraucherkategorie type: Verbraucherkategorie - name: Wasserversorger type: Wasserversorger The data source for the [Verbraucherkategorie] select control should be loaded from the relative URL: "/VerbraucherkategorieService/verbraucherkategorie" (HTTP-GET) The data source for the [Wasserversorger] select control should be loaded from the relative URL: "/WasserversorgerService/wasserversorger" (HTTP-GET) An existing Tarif entity should be loaded from the relative URL: "/WasserversorgerService/tarif/{id}" (HTTP-GET) If a new Tarif entity has been created, the new entity should be posted to the relative URL: "/WasserversorgerService/tarif" (HTTP-POST) If an existing Tarif entity has been updated, the modified entity should be sent to the relative URL: "/WasserversorgerService/tarif/{id}" (HTTP-PUT) If an existing Tarif entity has to be deleted, the following relative URL should be called: "/WasserversorgerService/tarif/{id}" (HTTP-DELETE) 3. The VersorgerGemeindeAbdeckungView must contain the following fields: - name: Beginn type: DATE - name: Beschreibung type: STRING - name: Ende type: DATE - name: Gemeinde type: Gemeinde - name: Wasserversorger type: Wasserversorger The data source for the [Wasserversorger] select control should be loaded from the relative URL: "/WasserversorgerService/wasserversorger" (HTTP-GET) The data source for the [Gemeinde] select control should be loaded from the relative URL: "/VerteilnetzService/gemeinde" (HTTP-GET) An existing VersorgerGemeindeAbdeckung entity should be loaded from the relative URL: "/WasserversorgerService/versorgergemeindeabdeckung/{id}" (HTTP-GET) If a new VersorgerGemeindeAbdeckung entity has been created, the new entity should be posted to the relative URL: "/WasserversorgerService/versorgergemeindeabdeckung" (HTTP-POST) If an existing VersorgerGemeindeAbdeckung entity has been updated, the modified entity should be sent to the relative URL: "/WasserversorgerService/versorgergemeindeabdeckung/{id}" (HTTP-PUT) If an existing VersorgerGemeindeAbdeckung entity has to be deleted, the following relative URL should be called: "/WasserversorgerService/versorgergemeindeabdeckung/{id}" (HTTP-DELETE) 4. The WasserversorgerView must contain the following fields: - name: Betriebsbeginn type: DATE - name: Hinweise type: STRING - name: IstOeffentlich type: BOOL - name: IstPrivatGefuehrt type: BOOL - name: Organisation type: Organisation - name: Versorgername type: STRING - name: VersorgungsgebietBeschreibung type: STRING The data source for the [Organisation] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) An existing Wasserversorger entity should be loaded from the relative URL: "/WasserversorgerService/wasserversorger/{id}" (HTTP-GET) If a new Wasserversorger entity has been created, the new entity should be posted to the relative URL: "/WasserversorgerService/wasserversorger" (HTTP-POST) If an existing Wasserversorger entity has been updated, the modified entity should be sent to the relative URL: "/WasserversorgerService/wasserversorger/{id}" (HTTP-PUT) If an existing Wasserversorger entity has to be deleted, the following relative URL should be called: "/WasserversorgerService/wasserversorger/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Verteilnetz columns: - column: Wasserversorger - column: DruckMaxBar - column: Netztyp - column: DruckMinBar - column: Hinweise - column: Netzname The table should have the title "Verteilnetzs" und the data must be loaded from the server with the following relative URL: "/VerteilnetzService/verteilnetz/wasserversorger/{id}" Add a HTML table to the view with the following Wasserquelle columns: - column: Gemeinde - column: RohwasserQualitaetBeschreibung - column: MaxFoerderungM3ProTag - column: Wasserversorger - column: Laengengrad - column: Quellenname - column: Breitengrad - column: Hinweise - column: Quellentyp The table should have the title "Wasserquelles" und the data must be loaded from the server with the following relative URL: "/WasserquelleService/wasserquelle/wasserversorger/{id}" Add a HTML table to the view with the following VersorgerGemeindeAbdeckung columns: - column: Wasserversorger - column: Ende - column: Beschreibung - column: Beginn - column: Gemeinde The table should have the title "VersorgerGemeindeAbdeckungs" und the data must be loaded from the server with the following relative URL: "/WasserversorgerService/versorgergemeindeabdeckung/wasserversorger/{id}" Add a HTML table to the view with the following Tarif columns: - column: GueltigBis - column: GueltigAb - column: GrundpreisProMonat - column: ArbeitspreisProM3 - column: Hinweise - column: Wasserversorger - column: Tarifname - column: Verbraucherkategorie The table should have the title "Tarifs" und the data must be loaded from the server with the following relative URL: "/WasserversorgerService/tarif/wasserversorger/{id}" Add a HTML table to the view with the following Speicherbehaelter columns: - column: Inbetriebnahmedatum - column: Speichertyp - column: Hinweise - column: Wasserversorger - column: Verteilnetz - column: Speichername - column: WasserstandMaxM - column: Laengengrad - column: Breitengrad - column: WasserstandMinM - column: VolumenM3 The table should have the title "Speicherbehaelters" und the data must be loaded from the server with the following relative URL: "/WasserquelleService/speicherbehaelter/wasserversorger/{id}" Add a HTML table to the view with the following Pumpwerk columns: - column: Pumpwerksname - column: Breitengrad - column: Laengengrad - column: Verteilnetz - column: Inbetriebnahmedatum - column: KapazitaetM3ProStunde - column: Wasserversorger - column: Hinweise - column: Pumpwerkstyp The table should have the title "Pumpwerks" und the data must be loaded from the server with the following relative URL: "/WasserversorgerService/pumpwerk/wasserversorger/{id}" Add a HTML table to the view with the following Wasserqualitaetsmessstelle columns: - column: Messstellenname - column: Laengengrad - column: Standortbeschreibung - column: Speicherbehaelter - column: Breitengrad - column: Hinweise - column: Wasserquelle - column: Verteilnetz - column: Wasserversorger The table should have the title "Wasserqualitaetsmessstelles" und the data must be loaded from the server with the following relative URL: "/WasserquelleService/wasserqualitaetsmessstelle/wasserversorger/{id}" Add a HTML table to the view with the following Wasseraufbereitungsanlage columns: - column: Gemeinde - column: Anlagenname - column: Inbetriebnahmedatum - column: Hinweise - column: KapazitaetM3ProTag - column: Aufbereitungstyp - column: Wasserversorger The table should have the title "Wasseraufbereitungsanlages" und the data must be loaded from the server with the following relative URL: "/WasseraufbereitungsanlageService/wasseraufbereitungsanlage/wasserversorger/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum