Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GefahrguttypApp
Please create a React-JS application for the GefahrguttypModule. The application has to offer the following views for the user interface: 1. GefahrguttypView 2. MedizinischeEinrichtungView 3. MedizinischerAbfallbehaelterView 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 GefahrguttypView must contain the following fields: - name: Beschreibung type: STRING - name: ErfordertSpeziallagerung type: BOOL - name: ErfordertVerbrennung type: BOOL - name: Name type: STRING An existing Gefahrguttyp entity should be loaded from the relative URL: "/GefahrguttypService/gefahrguttyp/{id}" (HTTP-GET) If a new Gefahrguttyp entity has been created, the new entity should be posted to the relative URL: "/GefahrguttypService/gefahrguttyp" (HTTP-POST) If an existing Gefahrguttyp entity has been updated, the modified entity should be sent to the relative URL: "/GefahrguttypService/gefahrguttyp/{id}" (HTTP-PUT) If an existing Gefahrguttyp entity has to be deleted, the following relative URL should be called: "/GefahrguttypService/gefahrguttyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abfallart columns: - column: IstGefahrgut - column: IstRecycelbar - column: Name - column: Gefahrguttyp - column: Beschreibung The table should have the title "Abfallarts" und the data must be loaded from the server with the following relative URL: "/AbfallartService/abfallart/gefahrguttyp/{id}" Add a HTML table to the view with the following MedizinischerAbfallbehaelter columns: - column: IstWiederOeffnbar - column: Gefahrguttyp - column: MedizinischeEinrichtung - column: Entsorgungsmethode - column: Abfallbehaelter - column: IstEinweg The table should have the title "MedizinischerAbfallbehaelters" und the data must be loaded from the server with the following relative URL: "/GefahrguttypService/medizinischerabfallbehaelter/gefahrguttyp/{id}" 2. The MedizinischeEinrichtungView must contain the following fields: - name: Adresse type: STRING - name: Gemeinde type: Gemeinde - name: HatGefahrgutsystem type: BOOL - name: Name type: STRING The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) An existing MedizinischeEinrichtung entity should be loaded from the relative URL: "/GefahrguttypService/medizinischeeinrichtung/{id}" (HTTP-GET) If a new MedizinischeEinrichtung entity has been created, the new entity should be posted to the relative URL: "/GefahrguttypService/medizinischeeinrichtung" (HTTP-POST) If an existing MedizinischeEinrichtung entity has been updated, the modified entity should be sent to the relative URL: "/GefahrguttypService/medizinischeeinrichtung/{id}" (HTTP-PUT) If an existing MedizinischeEinrichtung entity has to be deleted, the following relative URL should be called: "/GefahrguttypService/medizinischeeinrichtung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MedizinischerAbfallbehaelter columns: - column: IstWiederOeffnbar - column: Gefahrguttyp - column: MedizinischeEinrichtung - column: Entsorgungsmethode - column: Abfallbehaelter - column: IstEinweg The table should have the title "MedizinischerAbfallbehaelters" und the data must be loaded from the server with the following relative URL: "/GefahrguttypService/medizinischerabfallbehaelter/medizinischeeinrichtung/{id}" 3. The MedizinischerAbfallbehaelterView must contain the following fields: - name: Abfallbehaelter type: Abfallbehaelter - name: Entsorgungsmethode type: STRING - name: Gefahrguttyp type: Gefahrguttyp - name: IstEinweg type: BOOL - name: IstWiederOeffnbar type: BOOL - name: MedizinischeEinrichtung type: MedizinischeEinrichtung The data source for the [Abfallbehaelter] select control should be loaded from the relative URL: "/AbfallbehaelterService/abfallbehaelter" (HTTP-GET) The data source for the [MedizinischeEinrichtung] select control should be loaded from the relative URL: "/GefahrguttypService/medizinischeeinrichtung" (HTTP-GET) The data source for the [Gefahrguttyp] select control should be loaded from the relative URL: "/GefahrguttypService/gefahrguttyp" (HTTP-GET) An existing MedizinischerAbfallbehaelter entity should be loaded from the relative URL: "/GefahrguttypService/medizinischerabfallbehaelter/{id}" (HTTP-GET) If a new MedizinischerAbfallbehaelter entity has been created, the new entity should be posted to the relative URL: "/GefahrguttypService/medizinischerabfallbehaelter" (HTTP-POST) If an existing MedizinischerAbfallbehaelter entity has been updated, the modified entity should be sent to the relative URL: "/GefahrguttypService/medizinischerabfallbehaelter/{id}" (HTTP-PUT) If an existing MedizinischerAbfallbehaelter entity has to be deleted, the following relative URL should be called: "/GefahrguttypService/medizinischerabfallbehaelter/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum