Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UmweltwirkungstypApp
Please create a React-JS application for the UmweltwirkungstypModule. The application has to offer the following views for the user interface: 1. UmweltbewertungView 2. UmweltwirkungstypView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The UmweltbewertungView must contain the following fields: - name: Anlage type: Anlage - name: Beschreibung type: STRING - name: BewertungsDatum type: DATE - name: Minderungsmassnahmen type: STRING - name: Umweltwirkungstyp type: Umweltwirkungstyp - name: WirkungsScore type: STRING The data source for the [Umweltwirkungstyp] select control should be loaded from the relative URL: "/UmweltwirkungstypService/umweltwirkungstyp" (HTTP-GET) The data source for the [Anlage] select control should be loaded from the relative URL: "/GemeindeService/anlage" (HTTP-GET) An existing Umweltbewertung entity should be loaded from the relative URL: "/UmweltwirkungstypService/umweltbewertung/{id}" (HTTP-GET) If a new Umweltbewertung entity has been created, the new entity should be posted to the relative URL: "/UmweltwirkungstypService/umweltbewertung" (HTTP-POST) If an existing Umweltbewertung entity has been updated, the modified entity should be sent to the relative URL: "/UmweltwirkungstypService/umweltbewertung/{id}" (HTTP-PUT) If an existing Umweltbewertung entity has to be deleted, the following relative URL should be called: "/UmweltwirkungstypService/umweltbewertung/{id}" (HTTP-DELETE) 2. The UmweltwirkungstypView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Umweltwirkungstyp entity should be loaded from the relative URL: "/UmweltwirkungstypService/umweltwirkungstyp/{id}" (HTTP-GET) If a new Umweltwirkungstyp entity has been created, the new entity should be posted to the relative URL: "/UmweltwirkungstypService/umweltwirkungstyp" (HTTP-POST) If an existing Umweltwirkungstyp entity has been updated, the modified entity should be sent to the relative URL: "/UmweltwirkungstypService/umweltwirkungstyp/{id}" (HTTP-PUT) If an existing Umweltwirkungstyp entity has to be deleted, the following relative URL should be called: "/UmweltwirkungstypService/umweltwirkungstyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Umweltbewertung columns: - column: WirkungsScore - column: Anlage - column: Beschreibung - column: BewertungsDatum - column: Umweltwirkungstyp - column: Minderungsmassnahmen The table should have the title "Umweltbewertungs" und the data must be loaded from the server with the following relative URL: "/UmweltwirkungstypService/umweltbewertung/umweltwirkungstyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum