Overview
Summary
Contact
Donate
Imprint
Prompt for the
RoomAvailabilityView
Please create a React-JS view called "RoomAvailabilityView" for the fields of the RoomAvailability entity. The RoomAvailabilityView must contain the following fields: - name: ClosedForArrival type: BOOL - name: ClosedForDeparture type: BOOL - name: Date type: DATE - name: RoomType type: RoomType - name: SoldInventory type: INT - name: TotalInventory type: INT The data source for the [RoomType] select control should be loaded from the relative URL: "/RoomTypeService/roomtype" (HTTP-GET) An existing RoomAvailability entity should be loaded from the relative URL: "/CarCategoryService/roomavailability/{id}" (HTTP-GET) If a new RoomAvailability entity has been created, the new entity should be posted to the relative URL: "/CarCategoryService/roomavailability" (HTTP-POST) If an existing RoomAvailability entity has been updated, the modified entity should be sent to the relative URL: "/CarCategoryService/roomavailability/{id}" (HTTP-PUT) If an existing RoomAvailability entity has to be deleted, the following relative URL should be called: "/CarCategoryService/roomavailability/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint