Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UmweltauswirkungApp
Please create a React-JS application for the UmweltauswirkungModule. The application has to offer the following views for the user interface: 1. AnlageUmweltauswirkungView 2. UmweltauswirkungView 3. UmweltauswirkungLiteraturquelleView 4. VerfahrenUmweltauswirkungView 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 AnlageUmweltauswirkungView must contain the following fields: - name: Bewertung type: STRING - name: Entsalzungsanlage type: Entsalzungsanlage - name: Minderungsmassnahmen type: STRING - name: Umweltauswirkung type: Umweltauswirkung The data source for the [Entsalzungsanlage] select control should be loaded from the relative URL: "/EntsalzungsanlageService/entsalzungsanlage" (HTTP-GET) The data source for the [Umweltauswirkung] select control should be loaded from the relative URL: "/UmweltauswirkungService/umweltauswirkung" (HTTP-GET) An existing AnlageUmweltauswirkung entity should be loaded from the relative URL: "/UmweltauswirkungService/anlageumweltauswirkung/{id}" (HTTP-GET) If a new AnlageUmweltauswirkung entity has been created, the new entity should be posted to the relative URL: "/UmweltauswirkungService/anlageumweltauswirkung" (HTTP-POST) If an existing AnlageUmweltauswirkung entity has been updated, the modified entity should be sent to the relative URL: "/UmweltauswirkungService/anlageumweltauswirkung/{id}" (HTTP-PUT) If an existing AnlageUmweltauswirkung entity has to be deleted, the following relative URL should be called: "/UmweltauswirkungService/anlageumweltauswirkung/{id}" (HTTP-DELETE) 2. The UmweltauswirkungView must contain the following fields: - name: Beschreibung type: STRING - name: Kategorie type: STRING - name: Name type: STRING - name: Schweregrad type: STRING An existing Umweltauswirkung entity should be loaded from the relative URL: "/UmweltauswirkungService/umweltauswirkung/{id}" (HTTP-GET) If a new Umweltauswirkung entity has been created, the new entity should be posted to the relative URL: "/UmweltauswirkungService/umweltauswirkung" (HTTP-POST) If an existing Umweltauswirkung entity has been updated, the modified entity should be sent to the relative URL: "/UmweltauswirkungService/umweltauswirkung/{id}" (HTTP-PUT) If an existing Umweltauswirkung entity has to be deleted, the following relative URL should be called: "/UmweltauswirkungService/umweltauswirkung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Forschungsprojekt columns: - column: Beschreibung - column: Endjahr - column: Name - column: Verfahren - column: Organisation - column: Umweltauswirkung - column: Startjahr The table should have the title "Forschungsprojekts" und the data must be loaded from the server with the following relative URL: "/VerfahrenService/forschungsprojekt/umweltauswirkung/{id}" Add a HTML table to the view with the following UmweltauswirkungLiteraturquelle columns: - column: Kommentar - column: Literaturquelle - column: Umweltauswirkung The table should have the title "UmweltauswirkungLiteraturquelles" und the data must be loaded from the server with the following relative URL: "/UmweltauswirkungService/umweltauswirkungliteraturquelle/umweltauswirkung/{id}" Add a HTML table to the view with the following VerfahrenUmweltauswirkung columns: - column: Wirkmechanismus - column: Umweltauswirkung - column: Verfahren The table should have the title "VerfahrenUmweltauswirkungs" und the data must be loaded from the server with the following relative URL: "/UmweltauswirkungService/verfahrenumweltauswirkung/umweltauswirkung/{id}" Add a HTML table to the view with the following AnlageUmweltauswirkung columns: - column: Minderungsmassnahmen - column: Umweltauswirkung - column: Bewertung - column: Entsalzungsanlage The table should have the title "AnlageUmweltauswirkungs" und the data must be loaded from the server with the following relative URL: "/UmweltauswirkungService/anlageumweltauswirkung/umweltauswirkung/{id}" 3. The UmweltauswirkungLiteraturquelleView must contain the following fields: - name: Kommentar type: STRING - name: Literaturquelle type: Literaturquelle - name: Umweltauswirkung type: Umweltauswirkung The data source for the [Umweltauswirkung] select control should be loaded from the relative URL: "/UmweltauswirkungService/umweltauswirkung" (HTTP-GET) The data source for the [Literaturquelle] select control should be loaded from the relative URL: "/LiteraturquelleService/literaturquelle" (HTTP-GET) An existing UmweltauswirkungLiteraturquelle entity should be loaded from the relative URL: "/UmweltauswirkungService/umweltauswirkungliteraturquelle/{id}" (HTTP-GET) If a new UmweltauswirkungLiteraturquelle entity has been created, the new entity should be posted to the relative URL: "/UmweltauswirkungService/umweltauswirkungliteraturquelle" (HTTP-POST) If an existing UmweltauswirkungLiteraturquelle entity has been updated, the modified entity should be sent to the relative URL: "/UmweltauswirkungService/umweltauswirkungliteraturquelle/{id}" (HTTP-PUT) If an existing UmweltauswirkungLiteraturquelle entity has to be deleted, the following relative URL should be called: "/UmweltauswirkungService/umweltauswirkungliteraturquelle/{id}" (HTTP-DELETE) 4. The VerfahrenUmweltauswirkungView must contain the following fields: - name: Umweltauswirkung type: Umweltauswirkung - name: Verfahren type: Verfahren - name: Wirkmechanismus type: STRING The data source for the [Verfahren] select control should be loaded from the relative URL: "/VerfahrenService/verfahren" (HTTP-GET) The data source for the [Umweltauswirkung] select control should be loaded from the relative URL: "/UmweltauswirkungService/umweltauswirkung" (HTTP-GET) An existing VerfahrenUmweltauswirkung entity should be loaded from the relative URL: "/UmweltauswirkungService/verfahrenumweltauswirkung/{id}" (HTTP-GET) If a new VerfahrenUmweltauswirkung entity has been created, the new entity should be posted to the relative URL: "/UmweltauswirkungService/verfahrenumweltauswirkung" (HTTP-POST) If an existing VerfahrenUmweltauswirkung entity has been updated, the modified entity should be sent to the relative URL: "/UmweltauswirkungService/verfahrenumweltauswirkung/{id}" (HTTP-PUT) If an existing VerfahrenUmweltauswirkung entity has to be deleted, the following relative URL should be called: "/UmweltauswirkungService/verfahrenumweltauswirkung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum