Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GemeindeApp
Please create a React-JS application for the GemeindeModule. The application has to offer the following views for the user interface: 1. GebaeudeView 2. GemeindeView 3. HausanschlussView 4. RueckflussverhindererView 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 GebaeudeView must contain the following fields: - name: GebaeudeTyp type: STRING - name: Gemeinde type: Gemeinde - name: Hausnummer type: STRING - name: Name type: STRING - name: Strasse type: STRING The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) An existing Gebaeude entity should be loaded from the relative URL: "/GemeindeService/gebaeude/{id}" (HTTP-GET) If a new Gebaeude entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/gebaeude" (HTTP-POST) If an existing Gebaeude entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/gebaeude/{id}" (HTTP-PUT) If an existing Gebaeude entity has to be deleted, the following relative URL should be called: "/GemeindeService/gebaeude/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Hausanschluss columns: - column: IstMitZaehler - column: AnschlussDatum - column: InstallationsOrt - column: Gebaeude - column: Hinweise - column: Rohrabschnitt The table should have the title "Hausanschlusss" und the data must be loaded from the server with the following relative URL: "/GemeindeService/hausanschluss/gebaeude/{id}" 2. The GemeindeView must contain the following fields: - name: Name type: STRING - name: Postleitzahl type: STRING - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/LandService/region" (HTTP-GET) An existing Gemeinde entity should be loaded from the relative URL: "/GemeindeService/gemeinde/{id}" (HTTP-GET) If a new Gemeinde entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/gemeinde" (HTTP-POST) If an existing Gemeinde entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/gemeinde/{id}" (HTTP-PUT) If an existing Gemeinde entity has to be deleted, the following relative URL should be called: "/GemeindeService/gemeinde/{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/gemeinde/{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/gemeinde/{id}" Add a HTML table to the view with the following InstallationsOrt columns: - column: Gemeinde - column: Breitengrad - column: Laengengrad - column: Ortstyp - column: HoeheM - column: Beschreibung The table should have the title "InstallationsOrts" und the data must be loaded from the server with the following relative URL: "/InstallationsOrtService/installationsort/gemeinde/{id}" Add a HTML table to the view with the following Gebaeude columns: - column: Strasse - column: Name - column: GebaeudeTyp - column: Hausnummer - column: Gemeinde The table should have the title "Gebaeudes" und the data must be loaded from the server with the following relative URL: "/GemeindeService/gebaeude/gemeinde/{id}" 3. The HausanschlussView must contain the following fields: - name: AnschlussDatum type: DATE - name: Gebaeude type: Gebaeude - name: Hinweise type: STRING - name: InstallationsOrt type: InstallationsOrt - name: IstMitZaehler type: BOOL - name: Rohrabschnitt type: Rohrabschnitt The data source for the [InstallationsOrt] select control should be loaded from the relative URL: "/InstallationsOrtService/installationsort" (HTTP-GET) The data source for the [Gebaeude] select control should be loaded from the relative URL: "/GemeindeService/gebaeude" (HTTP-GET) The data source for the [Rohrabschnitt] select control should be loaded from the relative URL: "/RohrabschnittService/rohrabschnitt" (HTTP-GET) An existing Hausanschluss entity should be loaded from the relative URL: "/GemeindeService/hausanschluss/{id}" (HTTP-GET) If a new Hausanschluss entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/hausanschluss" (HTTP-POST) If an existing Hausanschluss entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/hausanschluss/{id}" (HTTP-PUT) If an existing Hausanschluss entity has to be deleted, the following relative URL should be called: "/GemeindeService/hausanschluss/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Rueckflussverhinderer columns: - column: InstallationsDatum - column: GeraeteTyp - column: LetztePruefung - column: Hausanschluss The table should have the title "Rueckflussverhinderers" und the data must be loaded from the server with the following relative URL: "/GemeindeService/rueckflussverhinderer/hausanschluss/{id}" Add a HTML table to the view with the following Wasserzaehler columns: - column: ZaehlerTyp - column: Hausanschluss - column: InstallationsDatum - column: EichDatum - column: Seriennummer The table should have the title "Wasserzaehlers" und the data must be loaded from the server with the following relative URL: "/InstallationsOrtService/wasserzaehler/hausanschluss/{id}" 4. The RueckflussverhindererView must contain the following fields: - name: GeraeteTyp type: STRING - name: Hausanschluss type: Hausanschluss - name: InstallationsDatum type: DATE - name: LetztePruefung type: DATE The data source for the [Hausanschluss] select control should be loaded from the relative URL: "/GemeindeService/hausanschluss" (HTTP-GET) An existing Rueckflussverhinderer entity should be loaded from the relative URL: "/GemeindeService/rueckflussverhinderer/{id}" (HTTP-GET) If a new Rueckflussverhinderer entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/rueckflussverhinderer" (HTTP-POST) If an existing Rueckflussverhinderer entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/rueckflussverhinderer/{id}" (HTTP-PUT) If an existing Rueckflussverhinderer entity has to be deleted, the following relative URL should be called: "/GemeindeService/rueckflussverhinderer/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum