Overview
Summary
Contact
Donate
Imprint
Prompt for the
RoomTypeCategoryView
Please create a React-JS view called "RoomTypeCategoryView" for the fields of the RoomTypeCategory entity. The RoomTypeCategoryView must contain the following fields: - name: Code type: STRING - name: Name type: STRING An existing RoomTypeCategory entity should be loaded from the relative URL: "/CarRentalLocationService/roomtypecategory/{id}" (HTTP-GET) If a new RoomTypeCategory entity has been created, the new entity should be posted to the relative URL: "/CarRentalLocationService/roomtypecategory" (HTTP-POST) If an existing RoomTypeCategory entity has been updated, the modified entity should be sent to the relative URL: "/CarRentalLocationService/roomtypecategory/{id}" (HTTP-PUT) If an existing RoomTypeCategory entity has to be deleted, the following relative URL should be called: "/CarRentalLocationService/roomtypecategory/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RoomType columns: - column: MaxAdults - column: Property - column: SizeSquareMeters - column: RoomTypeCategory - column: BedConfiguration - column: MaxOccupancy - column: Description - column: Name - column: CreatedAt - column: MaxChildren The table should have the title "RoomTypes" und the data must be loaded from the server with the following relative URL: "/RoomTypeService/roomtype/roomtypecategory/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint