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. EffizienzMassnahmeView 2. FoerderprogrammView 3. GemeindeView 4. LichtmanagementSystemView 5. LmsInstallationView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The EffizienzMassnahmeView must contain the following fields: - name: Beschreibung type: STRING - name: EffizienzMassnahmeTyp type: EffizienzMassnahmeTyp - name: EndJahr type: LONG - name: ErwarteteErsparnisProzent type: STRING - name: Foerderprogramm type: Foerderprogramm - name: Gemeinde type: Gemeinde - name: IstLedUmruestung type: BOOL - name: StartJahr type: LONG The data source for the [Foerderprogramm] select control should be loaded from the relative URL: "/GemeindeService/foerderprogramm" (HTTP-GET) The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [EffizienzMassnahmeTyp] select control should be loaded from the relative URL: "/BeleuchtungsnormService/effizienzmassnahmetyp" (HTTP-GET) An existing EffizienzMassnahme entity should be loaded from the relative URL: "/GemeindeService/effizienzmassnahme/{id}" (HTTP-GET) If a new EffizienzMassnahme entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/effizienzmassnahme" (HTTP-POST) If an existing EffizienzMassnahme entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/effizienzmassnahme/{id}" (HTTP-PUT) If an existing EffizienzMassnahme entity has to be deleted, the following relative URL should be called: "/GemeindeService/effizienzmassnahme/{id}" (HTTP-DELETE) 2. The FoerderprogrammView must contain the following fields: - name: Anbieter type: STRING - name: Beschreibung type: STRING - name: EndJahr type: LONG - name: Land type: Land - name: Name type: STRING - name: StartJahr type: LONG The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Foerderprogramm entity should be loaded from the relative URL: "/GemeindeService/foerderprogramm/{id}" (HTTP-GET) If a new Foerderprogramm entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/foerderprogramm" (HTTP-POST) If an existing Foerderprogramm entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/foerderprogramm/{id}" (HTTP-PUT) If an existing Foerderprogramm entity has to be deleted, the following relative URL should be called: "/GemeindeService/foerderprogramm/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EffizienzMassnahme columns: - column: Beschreibung - column: StartJahr - column: ErwarteteErsparnisProzent - column: Gemeinde - column: Foerderprogramm - column: IstLedUmruestung - column: EffizienzMassnahmeTyp - column: EndJahr The table should have the title "EffizienzMassnahmes" und the data must be loaded from the server with the following relative URL: "/GemeindeService/effizienzmassnahme/foerderprogramm/{id}" 3. The GemeindeView must contain the following fields: - name: Einwohner type: LONG - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (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 LmsInstallation columns: - column: Beschreibung - column: StartJahr - column: Gemeinde - column: LichtmanagementSystem The table should have the title "LmsInstallations" und the data must be loaded from the server with the following relative URL: "/GemeindeService/lmsinstallation/gemeinde/{id}" Add a HTML table to the view with the following Schaltkasten columns: - column: Steuerstrategie - column: StandortBeschreibung - column: Gemeinde - column: Code The table should have the title "Schaltkastens" und the data must be loaded from the server with the following relative URL: "/SteuerstrategieService/schaltkasten/gemeinde/{id}" Add a HTML table to the view with the following Strasse columns: - column: HatFussgaengerueberwege - column: Name - column: IstSchnellstrasse - column: Gemeinde - column: HatFussgaengerverkehr - column: IstTunnelabschnitt - column: FahrstreifenAnzahl The table should have the title "Strasses" und the data must be loaded from the server with the following relative URL: "/StrasseService/strasse/gemeinde/{id}" Add a HTML table to the view with the following EffizienzMassnahme columns: - column: Beschreibung - column: StartJahr - column: ErwarteteErsparnisProzent - column: Gemeinde - column: Foerderprogramm - column: IstLedUmruestung - column: EffizienzMassnahmeTyp - column: EndJahr The table should have the title "EffizienzMassnahmes" und the data must be loaded from the server with the following relative URL: "/GemeindeService/effizienzmassnahme/gemeinde/{id}" Add a HTML table to the view with the following Beleuchtungspflicht columns: - column: Hinweise - column: GiltSeitJahr - column: Gemeinde - column: Rechtsvorschrift The table should have the title "Beleuchtungspflichts" und the data must be loaded from the server with the following relative URL: "/LandService/beleuchtungspflicht/gemeinde/{id}" 4. The LichtmanagementSystemView must contain the following fields: - name: Beschreibung type: STRING - name: Kommunikationstyp type: STRING - name: Name type: STRING - name: UnterstuetztDimmung type: BOOL - name: UnterstuetztSensoren type: BOOL - name: UnterstuetztZeitplaene type: BOOL An existing LichtmanagementSystem entity should be loaded from the relative URL: "/GemeindeService/lichtmanagementsystem/{id}" (HTTP-GET) If a new LichtmanagementSystem entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/lichtmanagementsystem" (HTTP-POST) If an existing LichtmanagementSystem entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/lichtmanagementsystem/{id}" (HTTP-PUT) If an existing LichtmanagementSystem entity has to be deleted, the following relative URL should be called: "/GemeindeService/lichtmanagementsystem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LmsInstallation columns: - column: Beschreibung - column: StartJahr - column: Gemeinde - column: LichtmanagementSystem The table should have the title "LmsInstallations" und the data must be loaded from the server with the following relative URL: "/GemeindeService/lmsinstallation/lichtmanagementsystem/{id}" 5. The LmsInstallationView must contain the following fields: - name: Beschreibung type: STRING - name: Gemeinde type: Gemeinde - name: LichtmanagementSystem type: LichtmanagementSystem - name: StartJahr type: LONG The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [LichtmanagementSystem] select control should be loaded from the relative URL: "/GemeindeService/lichtmanagementsystem" (HTTP-GET) An existing LmsInstallation entity should be loaded from the relative URL: "/GemeindeService/lmsinstallation/{id}" (HTTP-GET) If a new LmsInstallation entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/lmsinstallation" (HTTP-POST) If an existing LmsInstallation entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/lmsinstallation/{id}" (HTTP-PUT) If an existing LmsInstallation entity has to be deleted, the following relative URL should be called: "/GemeindeService/lmsinstallation/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum