Overview
Summary
Contact
Donate
Imprint
Prompt for the
RoomRatePlanView
Please create a React-JS view called "RoomRatePlanView" for the fields of the RoomRatePlan entity. The RoomRatePlanView must contain the following fields: - name: CreatedAt type: DATE - name: Description type: STRING - name: FreeCancellationUntilDays type: INT - name: IncludesBreakfast type: BOOL - name: IsRefundable type: BOOL - name: MaximumStayNights type: INT - name: MinimumStayNights type: INT - name: Name type: STRING - name: RoomType type: RoomType The data source for the [RoomType] select control should be loaded from the relative URL: "/RoomTypeService/roomtype" (HTTP-GET) An existing RoomRatePlan entity should be loaded from the relative URL: "/StayBookingService/roomrateplan/{id}" (HTTP-GET) If a new RoomRatePlan entity has been created, the new entity should be posted to the relative URL: "/StayBookingService/roomrateplan" (HTTP-POST) If an existing RoomRatePlan entity has been updated, the modified entity should be sent to the relative URL: "/StayBookingService/roomrateplan/{id}" (HTTP-PUT) If an existing RoomRatePlan entity has to be deleted, the following relative URL should be called: "/StayBookingService/roomrateplan/{id}" (HTTP-DELETE) 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/roomrateplan/{id}" Add a HTML table to the view with the following RoomRatePlanPrice columns: - column: DateFrom - column: Currency - column: TaxesIncluded - column: FeesIncluded - column: PricePerNight - column: RoomRatePlan - column: DateTo The table should have the title "RoomRatePlanPrices" und the data must be loaded from the server with the following relative URL: "/CurrencyService/roomrateplanprice/roomrateplan/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint