Overview
Summary
Contact
Donate
Imprint
Prompt for the
OpeningHourView
Please create a React-JS view called "OpeningHourView" for the fields of the OpeningHour entity. The OpeningHourView must contain the following fields: - name: AppliesToDelivery type: BOOL - name: AppliesToPickup type: BOOL - name: CloseTime type: STRING - name: DayOfWeek type: LONG - name: OpenTime type: STRING - name: Restaurant type: Restaurant The data source for the [Restaurant] select control should be loaded from the relative URL: "/RestaurantService/restaurant" (HTTP-GET) An existing OpeningHour entity should be loaded from the relative URL: "/RestaurantService/openinghour/{id}" (HTTP-GET) If a new OpeningHour entity has been created, the new entity should be posted to the relative URL: "/RestaurantService/openinghour" (HTTP-POST) If an existing OpeningHour entity has been updated, the modified entity should be sent to the relative URL: "/RestaurantService/openinghour/{id}" (HTTP-PUT) If an existing OpeningHour entity has to be deleted, the following relative URL should be called: "/RestaurantService/openinghour/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint