Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ConsumableMaterialView
Please create a React-JS view called "ConsumableMaterialView" for the fields of the ConsumableMaterial entity. The ConsumableMaterialView must contain the following fields: - name: Description type: STRING - name: MaterialName type: STRING An existing ConsumableMaterial entity should be loaded from the relative URL: "/RoomService/consumablematerial/{id}" (HTTP-GET) If a new ConsumableMaterial entity has been created, the new entity should be posted to the relative URL: "/RoomService/consumablematerial" (HTTP-POST) If an existing ConsumableMaterial entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/consumablematerial/{id}" (HTTP-PUT) If an existing ConsumableMaterial entity has to be deleted, the following relative URL should be called: "/RoomService/consumablematerial/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StudentMaterial columns: - column: Comments - column: Amount - column: ConsumableMaterial - column: DesignatedUse - column: Costs - column: Student - column: Paid The table should have the title "StudentMaterials" und the data must be loaded from the server with the following relative URL: "/StudentService/studentmaterial/consumablematerial/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum