Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VerbraucherkategorieApp
Please create a React-JS application for the VerbraucherkategorieModule. The application has to offer the following views for the user interface: 1. VerbraucherkategorieView 2. WasseranschlussView 3. WasserqualitaetsparameterView 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 VerbraucherkategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Kategoriename type: STRING An existing Verbraucherkategorie entity should be loaded from the relative URL: "/VerbraucherkategorieService/verbraucherkategorie/{id}" (HTTP-GET) If a new Verbraucherkategorie entity has been created, the new entity should be posted to the relative URL: "/VerbraucherkategorieService/verbraucherkategorie" (HTTP-POST) If an existing Verbraucherkategorie entity has been updated, the modified entity should be sent to the relative URL: "/VerbraucherkategorieService/verbraucherkategorie/{id}" (HTTP-PUT) If an existing Verbraucherkategorie entity has to be deleted, the following relative URL should be called: "/VerbraucherkategorieService/verbraucherkategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Wasseranschluss columns: - column: Zaehlernummer - column: Verbraucherkategorie - column: Anschlussbeginn - column: Anschlussende - column: Gemeinde - column: DurchmesserMm - column: Hinweise - column: Anschlusskennung - column: Postleitzahl - column: Verteilnetz - column: Strasse The table should have the title "Wasseranschlusss" und the data must be loaded from the server with the following relative URL: "/VerbraucherkategorieService/wasseranschluss/verbraucherkategorie/{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/verbraucherkategorie/{id}" 2. The WasseranschlussView must contain the following fields: - name: Anschlussbeginn type: DATE - name: Anschlussende type: DATE - name: Anschlusskennung type: STRING - name: DurchmesserMm type: LONG - name: Gemeinde type: Gemeinde - name: Hinweise type: STRING - name: Postleitzahl type: STRING - name: Strasse type: STRING - name: Verbraucherkategorie type: Verbraucherkategorie - name: Verteilnetz type: Verteilnetz - name: Zaehlernummer type: STRING The data source for the [Verbraucherkategorie] select control should be loaded from the relative URL: "/VerbraucherkategorieService/verbraucherkategorie" (HTTP-GET) The data source for the [Verteilnetz] select control should be loaded from the relative URL: "/VerteilnetzService/verteilnetz" (HTTP-GET) The data source for the [Gemeinde] select control should be loaded from the relative URL: "/VerteilnetzService/gemeinde" (HTTP-GET) An existing Wasseranschluss entity should be loaded from the relative URL: "/VerbraucherkategorieService/wasseranschluss/{id}" (HTTP-GET) If a new Wasseranschluss entity has been created, the new entity should be posted to the relative URL: "/VerbraucherkategorieService/wasseranschluss" (HTTP-POST) If an existing Wasseranschluss entity has been updated, the modified entity should be sent to the relative URL: "/VerbraucherkategorieService/wasseranschluss/{id}" (HTTP-PUT) If an existing Wasseranschluss entity has to be deleted, the following relative URL should be called: "/VerbraucherkategorieService/wasseranschluss/{id}" (HTTP-DELETE) 3. The WasserqualitaetsparameterView must contain the following fields: - name: Einheit type: STRING - name: Grenzwert type: STRING - name: IstKonform type: BOOL - name: Messwert type: STRING - name: Parametername type: STRING - name: Wasserqualitaetsprobe type: Wasserqualitaetsprobe The data source for the [Wasserqualitaetsprobe] select control should be loaded from the relative URL: "/WasserquelleService/wasserqualitaetsprobe" (HTTP-GET) An existing Wasserqualitaetsparameter entity should be loaded from the relative URL: "/VerbraucherkategorieService/wasserqualitaetsparameter/{id}" (HTTP-GET) If a new Wasserqualitaetsparameter entity has been created, the new entity should be posted to the relative URL: "/VerbraucherkategorieService/wasserqualitaetsparameter" (HTTP-POST) If an existing Wasserqualitaetsparameter entity has been updated, the modified entity should be sent to the relative URL: "/VerbraucherkategorieService/wasserqualitaetsparameter/{id}" (HTTP-PUT) If an existing Wasserqualitaetsparameter entity has to be deleted, the following relative URL should be called: "/VerbraucherkategorieService/wasserqualitaetsparameter/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum