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. RohrleitungView 2. TarifView 3. VerbraucherkategorieView 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 RohrleitungView must contain the following fields: - name: BetriebsdruckBar type: STRING - name: DurchmesserMm type: LONG - name: Hinweise type: STRING - name: Installationsjahr type: LONG - name: LaengeKm type: STRING - name: Leitungsname type: STRING - name: Material type: STRING - name: Verteilnetz type: Verteilnetz The data source for the [Verteilnetz] select control should be loaded from the relative URL: "/VerteilnetzService/verteilnetz" (HTTP-GET) An existing Rohrleitung entity should be loaded from the relative URL: "/VerbraucherkategorieService/rohrleitung/{id}" (HTTP-GET) If a new Rohrleitung entity has been created, the new entity should be posted to the relative URL: "/VerbraucherkategorieService/rohrleitung" (HTTP-POST) If an existing Rohrleitung entity has been updated, the modified entity should be sent to the relative URL: "/VerbraucherkategorieService/rohrleitung/{id}" (HTTP-PUT) If an existing Rohrleitung entity has to be deleted, the following relative URL should be called: "/VerbraucherkategorieService/rohrleitung/{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: "/VerbraucherkategorieService/tarif/{id}" (HTTP-GET) If a new Tarif entity has been created, the new entity should be posted to the relative URL: "/VerbraucherkategorieService/tarif" (HTTP-POST) If an existing Tarif entity has been updated, the modified entity should be sent to the relative URL: "/VerbraucherkategorieService/tarif/{id}" (HTTP-PUT) If an existing Tarif entity has to be deleted, the following relative URL should be called: "/VerbraucherkategorieService/tarif/{id}" (HTTP-DELETE) 3. 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: DurchmesserMm - column: Anschlussbeginn - column: Anschlussende - column: Hinweise - column: Anschlusskennung - column: Verbraucherkategorie - column: Verteilnetz - column: Strasse - column: Postleitzahl - column: Zaehlernummer - column: Gemeinde The table should have the title "Wasseranschlusss" und the data must be loaded from the server with the following relative URL: "/VerteilnetzService/wasseranschluss/verbraucherkategorie/{id}" Add a HTML table to the view with the following Tarif columns: - column: Hinweise - column: GueltigBis - column: Verbraucherkategorie - column: GrundpreisProMonat - column: Wasserversorger - column: ArbeitspreisProM3 - column: GueltigAb - column: Tarifname The table should have the title "Tarifs" und the data must be loaded from the server with the following relative URL: "/VerbraucherkategorieService/tarif/verbraucherkategorie/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum