Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BuildingView
Please create a React-JS view called "BuildingView" for the fields of the Building entity. The BuildingView must contain the following fields: - name: BuildingName type: STRING - name: BuildingInfo type: STRING - name: PostalCode type: STRING - name: School type: School - name: City type: STRING - name: Street type: STRING The data source for the [School] select control should be loaded from the relative URL: "/SchoolService/school" (HTTP-GET) An existing Building entity should be loaded from the relative URL: "/RoomService/building/{id}" (HTTP-GET) If a new Building entity has been created, the new entity should be posted to the relative URL: "/RoomService/building" (HTTP-POST) If an existing Building entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/building/{id}" (HTTP-PUT) If an existing Building entity has to be deleted, the following relative URL should be called: "/RoomService/building/{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/building/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum