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. HundekotStationView 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 HundekotStationView must contain the following fields: - name: Abfallbehaelter type: Abfallbehaelter - name: Beutelkapazitaet type: INT - name: HatBeutelspender type: BOOL - name: IstImParkbereich type: BOOL The data source for the [Abfallbehaelter] select control should be loaded from the relative URL: "/AbfallbehaelterService/abfallbehaelter" (HTTP-GET) An existing HundekotStation entity should be loaded from the relative URL: "/AbfallartService/hundekotstation/{id}" (HTTP-GET) If a new HundekotStation entity has been created, the new entity should be posted to the relative URL: "/AbfallartService/hundekotstation" (HTTP-POST) If an existing HundekotStation entity has been updated, the modified entity should be sent to the relative URL: "/AbfallartService/hundekotstation/{id}" (HTTP-PUT) If an existing HundekotStation entity has to be deleted, the following relative URL should be called: "/AbfallartService/hundekotstation/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum