Overview
Summary
Contact
Donate
Imprint
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: BedConfiguration type: STRING - name: CreatedAt type: DATE - name: Description type: STRING - name: MaxAdults type: INT - name: MaxChildren type: INT - name: MaxOccupancy type: INT - name: Name type: STRING - name: Property type: Property - name: RoomTypeCategory type: RoomTypeCategory - name: SizeSquareMeters type: STRING The data source for the [RoomTypeCategory] select control should be loaded from the relative URL: "/CarRentalLocationService/roomtypecategory" (HTTP-GET) The data source for the [Property] select control should be loaded from the relative URL: "/PropertyService/property" (HTTP-GET) An existing RoomType entity should be loaded from the relative URL: "/RoomTypeService/roomtype/{id}" (HTTP-GET) If a new RoomType entity has been created, the new entity should be posted to the relative URL: "/RoomTypeService/roomtype" (HTTP-POST) If an existing RoomType entity has been updated, the modified entity should be sent to the relative URL: "/RoomTypeService/roomtype/{id}" (HTTP-PUT) If an existing RoomType entity has to be deleted, the following relative URL should be called: "/RoomTypeService/roomtype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RoomTypeAmenity columns: - column: AdditionalInfo - column: Amenity - column: RoomType The table should have the title "RoomTypeAmenitys" und the data must be loaded from the server with the following relative URL: "/RoomTypeService/roomtypeamenity/roomtype/{id}" Add a HTML table to the view with the following StayBooking columns: - column: Booking - column: CheckOutDate - column: RoomType - column: Adults - column: Children - column: SpecialRequests - column: NumberOfRooms - column: RoomRatePlan - column: CheckInDate - column: BaseAmount - column: Currency - column: CancellationPolicySnapshot - column: TaxesAmount - column: Property - column: FeesAmount The table should have the title "StayBookings" und the data must be loaded from the server with the following relative URL: "/StayBookingService/staybooking/roomtype/{id}" Add a HTML table to the view with the following RoomTypePhoto columns: - column: Url - column: Caption - column: SortOrder - column: RoomType The table should have the title "RoomTypePhotos" und the data must be loaded from the server with the following relative URL: "/RoomTypeService/roomtypephoto/roomtype/{id}" Add a HTML table to the view with the following RoomUnit columns: - column: UnitCode - column: RoomType - column: IsActive The table should have the title "RoomUnits" und the data must be loaded from the server with the following relative URL: "/RoomTypeService/roomunit/roomtype/{id}" Add a HTML table to the view with the following RoomAvailability columns: - column: ClosedForDeparture - column: ClosedForArrival - column: RoomType - column: SoldInventory - column: TotalInventory - column: Date The table should have the title "RoomAvailabilitys" und the data must be loaded from the server with the following relative URL: "/CarCategoryService/roomavailability/roomtype/{id}" Add a HTML table to the view with the following RoomRatePlan columns: - column: MinimumStayNights - column: FreeCancellationUntilDays - column: CreatedAt - column: Description - column: IsRefundable - column: IncludesBreakfast - column: RoomType - column: Name - column: MaximumStayNights The table should have the title "RoomRatePlans" und the data must be loaded from the server with the following relative URL: "/StayBookingService/roomrateplan/roomtype/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint