Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AbfallkategorieApp
Please create a React-JS application for the AbfallkategorieModule. The application has to offer the following views for the user interface: 1. AbfallkategorieView 2. UmweltbewertungView 3. 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 3 views are defined below. 1. The AbfallkategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Abfallkategorie entity should be loaded from the relative URL: "/AbfallkategorieService/abfallkategorie/{id}" (HTTP-GET) If a new Abfallkategorie entity has been created, the new entity should be posted to the relative URL: "/AbfallkategorieService/abfallkategorie" (HTTP-POST) If an existing Abfallkategorie entity has been updated, the modified entity should be sent to the relative URL: "/AbfallkategorieService/abfallkategorie/{id}" (HTTP-PUT) If an existing Abfallkategorie entity has to be deleted, the following relative URL should be called: "/AbfallkategorieService/abfallkategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abfallstrom columns: - column: Abfallart - column: Beschreibung - column: QuelleAkteur - column: MengeTonnenGeschaetzt - column: Abfallfraktion - column: Abfallkategorie - column: Entstehungsjahr The table should have the title "Abfallstroms" und the data must be loaded from the server with the following relative URL: "/AbfallartService/abfallstrom/abfallkategorie/{id}" 2. 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: "/AbfallkategorieService/umweltwirkungstyp" (HTTP-GET) The data source for the [Anlage] select control should be loaded from the relative URL: "/AnlageService/anlage" (HTTP-GET) An existing Umweltbewertung entity should be loaded from the relative URL: "/AbfallkategorieService/umweltbewertung/{id}" (HTTP-GET) If a new Umweltbewertung entity has been created, the new entity should be posted to the relative URL: "/AbfallkategorieService/umweltbewertung" (HTTP-POST) If an existing Umweltbewertung entity has been updated, the modified entity should be sent to the relative URL: "/AbfallkategorieService/umweltbewertung/{id}" (HTTP-PUT) If an existing Umweltbewertung entity has to be deleted, the following relative URL should be called: "/AbfallkategorieService/umweltbewertung/{id}" (HTTP-DELETE) 3. 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: "/AbfallkategorieService/umweltwirkungstyp/{id}" (HTTP-GET) If a new Umweltwirkungstyp entity has been created, the new entity should be posted to the relative URL: "/AbfallkategorieService/umweltwirkungstyp" (HTTP-POST) If an existing Umweltwirkungstyp entity has been updated, the modified entity should be sent to the relative URL: "/AbfallkategorieService/umweltwirkungstyp/{id}" (HTTP-PUT) If an existing Umweltwirkungstyp entity has to be deleted, the following relative URL should be called: "/AbfallkategorieService/umweltwirkungstyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Umweltbewertung columns: - column: Minderungsmassnahmen - column: Umweltwirkungstyp - column: WirkungsScore - column: Beschreibung - column: Anlage - column: BewertungsDatum The table should have the title "Umweltbewertungs" und the data must be loaded from the server with the following relative URL: "/AbfallkategorieService/umweltbewertung/umweltwirkungstyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum