Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MaterialView
Please create a React-JS view called "MaterialView" for the fields of the Material entity. The MaterialView must contain the following fields: - name: Beschreibung type: STRING - name: IstKorrosionsbestaendig type: BOOL - name: IstRecycelbar type: BOOL - name: Name type: STRING An existing Material entity should be loaded from the relative URL: "/AbfallbehaelterService/material/{id}" (HTTP-GET) If a new Material entity has been created, the new entity should be posted to the relative URL: "/AbfallbehaelterService/material" (HTTP-POST) If an existing Material entity has been updated, the modified entity should be sent to the relative URL: "/AbfallbehaelterService/material/{id}" (HTTP-PUT) If an existing Material entity has to be deleted, the following relative URL should be called: "/AbfallbehaelterService/material/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abfallbehaelter columns: - column: Energiequelle - column: VolumenLiter - column: IstEinweg - column: IstInnenbereich - column: Standort - column: IstOeffentlich - column: HatDeckel - column: IstSolarbetrieben - column: Name - column: IstUnterflur - column: Beschreibung - column: AusserbetriebnahmeDatum - column: Material - column: Sammelsystem - column: HatVerdichter - column: Verdichtungstechnik - column: Behaeltertyp - column: InbetriebnahmeDatum The table should have the title "Abfallbehaelters" und the data must be loaded from the server with the following relative URL: "/AbfallbehaelterService/abfallbehaelter/material/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum