Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RoomTypeView
Please create a React-JS view called "RoomTypeView" for the fields of the RoomType entity. The RoomTypeView must contain the following fields: - name: Description type: STRING - name: TypeName type: STRING An existing RoomType entity should be loaded from the relative URL: "/RoomService/roomtype/{id}" (HTTP-GET) If a new RoomType entity has been created, the new entity should be posted to the relative URL: "/RoomService/roomtype" (HTTP-POST) If an existing RoomType entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/roomtype/{id}" (HTTP-PUT) If an existing RoomType entity has to be deleted, the following relative URL should be called: "/RoomService/roomtype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Room columns: - column: HandicappedAccessible - column: Building - column: Comments - column: RoomType - column: RoomName The table should have the title "Rooms" und the data must be loaded from the server with the following relative URL: "/RoomService/room/roomtype/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum