Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
CanteenView
Please create a React-JS view called "CanteenView" for the fields of the Canteen entity. The CanteenView must contain the following fields: - name: CanteenName type: STRING - name: Room type: Room The data source for the [Room] select control should be loaded from the relative URL: "/RoomService/room" (HTTP-GET) An existing Canteen entity should be loaded from the relative URL: "/CanteenService/canteen/{id}" (HTTP-GET) If a new Canteen entity has been created, the new entity should be posted to the relative URL: "/CanteenService/canteen" (HTTP-POST) If an existing Canteen entity has been updated, the modified entity should be sent to the relative URL: "/CanteenService/canteen/{id}" (HTTP-PUT) If an existing Canteen entity has to be deleted, the following relative URL should be called: "/CanteenService/canteen/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BillOfFare columns: - column: Canteen - column: BillOfFareDate The table should have the title "BillOfFares" und the data must be loaded from the server with the following relative URL: "/CanteenService/billoffare/canteen/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum