Overview
Summary
Contact
Donate
Imprint
Prompt for the
ReservationView
Please create a React-JS view called "ReservationView" for the fields of the Reservation entity. The ReservationView must contain the following fields: - name: Customer type: Customer - name: Notes type: STRING - name: PartySize type: INT - name: ReservationDateTime type: DATE - name: Restaurant type: Restaurant - name: Status type: STRING The data source for the [Restaurant] select control should be loaded from the relative URL: "/RestaurantService/restaurant" (HTTP-GET) The data source for the [Customer] select control should be loaded from the relative URL: "/CustomerService/customer" (HTTP-GET) An existing Reservation entity should be loaded from the relative URL: "/CustomerService/reservation/{id}" (HTTP-GET) If a new Reservation entity has been created, the new entity should be posted to the relative URL: "/CustomerService/reservation" (HTTP-POST) If an existing Reservation entity has been updated, the modified entity should be sent to the relative URL: "/CustomerService/reservation/{id}" (HTTP-PUT) If an existing Reservation entity has to be deleted, the following relative URL should be called: "/CustomerService/reservation/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint