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: IstBeton type: BOOL - name: IstHolz type: BOOL - name: IstMetall type: BOOL - name: IstVerbund type: BOOL - name: Name type: STRING An existing Material entity should be loaded from the relative URL: "/MaterialService/material/{id}" (HTTP-GET) If a new Material entity has been created, the new entity should be posted to the relative URL: "/MaterialService/material" (HTTP-POST) If an existing Material entity has been updated, the modified entity should be sent to the relative URL: "/MaterialService/material/{id}" (HTTP-PUT) If an existing Material entity has to be deleted, the following relative URL should be called: "/MaterialService/material/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StadtmoebelMaterial columns: - column: Stadtmoebel - column: Anteil - column: Material The table should have the title "StadtmoebelMaterials" und the data must be loaded from the server with the following relative URL: "/MaterialService/stadtmoebelmaterial/material/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum