Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RoomApp
Please create a React-JS application for the RoomModule. The application has to offer the following views for the user interface: 1. BuildingView 2. ConsumableMaterialView 3. EquipmentView 4. EquipmentRepairView 5. EquipmentTypeView 6. RoomView 7. RoomTypeView 8. SchoolyardView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 8 views are defined below. 1. 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}" 2. 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}" 3. The EquipmentView must contain the following fields: - name: EquipmentType type: EquipmentType - name: Price type: DOUBLE - name: Room type: Room The data source for the [EquipmentType] select control should be loaded from the relative URL: "/RoomService/equipmenttype" (HTTP-GET) The data source for the [Room] select control should be loaded from the relative URL: "/RoomService/room" (HTTP-GET) An existing Equipment entity should be loaded from the relative URL: "/RoomService/equipment/{id}" (HTTP-GET) If a new Equipment entity has been created, the new entity should be posted to the relative URL: "/RoomService/equipment" (HTTP-POST) If an existing Equipment entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/equipment/{id}" (HTTP-PUT) If an existing Equipment entity has to be deleted, the following relative URL should be called: "/RoomService/equipment/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EquipmentRepair columns: - column: Repair - column: RepairResult - column: Price - column: Equipment - column: Comments The table should have the title "EquipmentRepairs" und the data must be loaded from the server with the following relative URL: "/RoomService/equipmentrepair/equipment/{id}" 4. The EquipmentRepairView must contain the following fields: - name: Equipment type: Equipment - name: Comments type: STRING - name: Price type: DOUBLE - name: RepairResult type: STRING - name: Repair type: Repair The data source for the [Equipment] select control should be loaded from the relative URL: "/RoomService/equipment" (HTTP-GET) The data source for the [Repair] select control should be loaded from the relative URL: "/CompanyService/repair" (HTTP-GET) An existing EquipmentRepair entity should be loaded from the relative URL: "/RoomService/equipmentrepair/{id}" (HTTP-GET) If a new EquipmentRepair entity has been created, the new entity should be posted to the relative URL: "/RoomService/equipmentrepair" (HTTP-POST) If an existing EquipmentRepair entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/equipmentrepair/{id}" (HTTP-PUT) If an existing EquipmentRepair entity has to be deleted, the following relative URL should be called: "/RoomService/equipmentrepair/{id}" (HTTP-DELETE) 5. The EquipmentTypeView must contain the following fields: - name: Description type: STRING - name: Details type: STRING An existing EquipmentType entity should be loaded from the relative URL: "/RoomService/equipmenttype/{id}" (HTTP-GET) If a new EquipmentType entity has been created, the new entity should be posted to the relative URL: "/RoomService/equipmenttype" (HTTP-POST) If an existing EquipmentType entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/equipmenttype/{id}" (HTTP-PUT) If an existing EquipmentType entity has to be deleted, the following relative URL should be called: "/RoomService/equipmenttype/{id}" (HTTP-DELETE) 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/equipmenttype/{id}" 6. 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}" 7. 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}" 8. The SchoolyardView must contain the following fields: - name: SchoolyardName type: STRING - name: School type: School The data source for the [School] select control should be loaded from the relative URL: "/SchoolService/school" (HTTP-GET) An existing Schoolyard entity should be loaded from the relative URL: "/RoomService/schoolyard/{id}" (HTTP-GET) If a new Schoolyard entity has been created, the new entity should be posted to the relative URL: "/RoomService/schoolyard" (HTTP-POST) If an existing Schoolyard entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/schoolyard/{id}" (HTTP-PUT) If an existing Schoolyard entity has to be deleted, the following relative URL should be called: "/RoomService/schoolyard/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BreakPlan columns: - column: Schoolyard - column: SchoolYear The table should have the title "BreakPlans" und the data must be loaded from the server with the following relative URL: "/SchoolYearService/breakplan/schoolyard/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum