Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RoomView
Please create a React-JS view called "RoomView" for the fields of the Room entity. The RoomView must contain the following fields: - name: HandicappedAccessible type: BOOL - name: RoomName type: STRING - name: Building type: Building - name: Comments type: STRING - name: RoomType type: RoomType The data source for the [Building] select control should be loaded from the relative URL: "/RoomService/building" (HTTP-GET) The data source for the [RoomType] select control should be loaded from the relative URL: "/RoomService/roomtype" (HTTP-GET) An existing Room entity should be loaded from the relative URL: "/RoomService/room/{id}" (HTTP-GET) If a new Room entity has been created, the new entity should be posted to the relative URL: "/RoomService/room" (HTTP-POST) If an existing Room entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/room/{id}" (HTTP-PUT) If an existing Room entity has to be deleted, the following relative URL should be called: "/RoomService/room/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Conference columns: - column: ToDate - column: Room - column: FromDate - column: ConferenceType The table should have the title "Conferences" und the data must be loaded from the server with the following relative URL: "/ConferenceService/conference/room/{id}" Add a HTML table to the view with the following Equipment columns: - column: Price - column: Room - column: EquipmentType The table should have the title "Equipments" und the data must be loaded from the server with the following relative URL: "/RoomService/equipment/room/{id}" Add a HTML table to the view with the following Canteen columns: - column: CanteenName - column: Room The table should have the title "Canteens" und the data must be loaded from the server with the following relative URL: "/CanteenService/canteen/room/{id}" Add a HTML table to the view with the following ProjectAppointment columns: - column: Content - column: ToDate - column: Room - column: FromDate - column: Project - column: Description - column: ProjectOrganizer The table should have the title "ProjectAppointments" und the data must be loaded from the server with the following relative URL: "/ExternalPersonService/projectappointment/room/{id}" Add a HTML table to the view with the following Library columns: - column: Room - column: LibraryName The table should have the title "Librarys" und the data must be loaded from the server with the following relative URL: "/LibraryService/library/room/{id}" Add a HTML table to the view with the following TeachingUnit columns: - column: RowIndex - column: SchoolSubject - column: Room - column: SchoolYear - column: CourseGroup - column: SchoolClass - column: ColumnIndex - column: Teacher The table should have the title "TeachingUnits" und the data must be loaded from the server with the following relative URL: "/SchoolYearService/teachingunit/room/{id}" Add a HTML table to the view with the following SchoolClass columns: - column: Teacher - column: AgeGroup - column: Room - column: SchoolYear - column: ClassName - column: School The table should have the title "SchoolClasss" und the data must be loaded from the server with the following relative URL: "/SchoolYearService/schoolclass/room/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum