Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AbfallartApp
Please create a React-JS application for the AbfallartModule. The application has to offer the following views for the user interface: 1. AbfallartView 2. AbfallbehaelterAbfallartView 3. HistorischesSystemView 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 AbfallartView must contain the following fields: - name: Beschreibung type: STRING - name: Gefahrguttyp type: Gefahrguttyp - name: IstGefahrgut type: BOOL - name: IstRecycelbar type: BOOL - name: Name type: STRING The data source for the [Gefahrguttyp] select control should be loaded from the relative URL: "/GefahrguttypService/gefahrguttyp" (HTTP-GET) An existing Abfallart entity should be loaded from the relative URL: "/AbfallartService/abfallart/{id}" (HTTP-GET) If a new Abfallart entity has been created, the new entity should be posted to the relative URL: "/AbfallartService/abfallart" (HTTP-POST) If an existing Abfallart entity has been updated, the modified entity should be sent to the relative URL: "/AbfallartService/abfallart/{id}" (HTTP-PUT) If an existing Abfallart entity has to be deleted, the following relative URL should be called: "/AbfallartService/abfallart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AbfallbehaelterAbfallart columns: - column: IstHauptfraktion - column: Abfallbehaelter - column: Abfallart The table should have the title "AbfallbehaelterAbfallarts" und the data must be loaded from the server with the following relative URL: "/AbfallartService/abfallbehaelterabfallart/abfallart/{id}" Add a HTML table to the view with the following AbfallartRecyclingstrom columns: - column: Abfallart - column: Recyclingstrom The table should have the title "AbfallartRecyclingstroms" und the data must be loaded from the server with the following relative URL: "/RecyclingstromService/abfallartrecyclingstrom/abfallart/{id}" 2. The AbfallbehaelterAbfallartView must contain the following fields: - name: Abfallart type: Abfallart - name: Abfallbehaelter type: Abfallbehaelter - name: IstHauptfraktion type: BOOL The data source for the [Abfallbehaelter] select control should be loaded from the relative URL: "/AbfallbehaelterService/abfallbehaelter" (HTTP-GET) The data source for the [Abfallart] select control should be loaded from the relative URL: "/AbfallartService/abfallart" (HTTP-GET) An existing AbfallbehaelterAbfallart entity should be loaded from the relative URL: "/AbfallartService/abfallbehaelterabfallart/{id}" (HTTP-GET) If a new AbfallbehaelterAbfallart entity has been created, the new entity should be posted to the relative URL: "/AbfallartService/abfallbehaelterabfallart" (HTTP-POST) If an existing AbfallbehaelterAbfallart entity has been updated, the modified entity should be sent to the relative URL: "/AbfallartService/abfallbehaelterabfallart/{id}" (HTTP-PUT) If an existing AbfallbehaelterAbfallart entity has to be deleted, the following relative URL should be called: "/AbfallartService/abfallbehaelterabfallart/{id}" (HTTP-DELETE) 3. The HistorischesSystemView must contain the following fields: - name: Beschreibung type: STRING - name: Endjahr type: INT - name: Name type: STRING - name: Startjahr type: INT - name: UrsprungGemeinde type: STRING An existing HistorischesSystem entity should be loaded from the relative URL: "/AbfallartService/historischessystem/{id}" (HTTP-GET) If a new HistorischesSystem entity has been created, the new entity should be posted to the relative URL: "/AbfallartService/historischessystem" (HTTP-POST) If an existing HistorischesSystem entity has been updated, the modified entity should be sent to the relative URL: "/AbfallartService/historischessystem/{id}" (HTTP-PUT) If an existing HistorischesSystem entity has to be deleted, the following relative URL should be called: "/AbfallartService/historischessystem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HistorischesEreignis columns: - column: Gemeinde - column: Jahr - column: Beschreibung - column: Titel - column: HistorischesSystem The table should have the title "HistorischesEreigniss" und the data must be loaded from the server with the following relative URL: "/GemeindeService/historischesereignis/historischessystem/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum