Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MenuItemView
Please create a React-JS view called "MenuItemView" for the fields of the MenuItem entity. The MenuItemView must contain the following fields: - name: Description type: STRING - name: GastronomyUnit type: GastronomyUnit - name: IsAlcoholic type: BOOL - name: IsVegan type: BOOL - name: IsVegetarian type: BOOL - name: MenuCategory type: MenuCategory - name: Name type: STRING - name: Price type: STRING The data source for the [GastronomyUnit] select control should be loaded from the relative URL: "/GastronomyUnitService/gastronomyunit" (HTTP-GET) The data source for the [MenuCategory] select control should be loaded from the relative URL: "/GastronomyUnitService/menucategory" (HTTP-GET) An existing MenuItem entity should be loaded from the relative URL: "/GastronomyUnitService/menuitem/{id}" (HTTP-GET) If a new MenuItem entity has been created, the new entity should be posted to the relative URL: "/GastronomyUnitService/menuitem" (HTTP-POST) If an existing MenuItem entity has been updated, the modified entity should be sent to the relative URL: "/GastronomyUnitService/menuitem/{id}" (HTTP-PUT) If an existing MenuItem entity has to be deleted, the following relative URL should be called: "/GastronomyUnitService/menuitem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MenuItemAllergen columns: - column: AllergenCode - column: MenuItem - column: Description The table should have the title "MenuItemAllergens" und the data must be loaded from the server with the following relative URL: "/GastronomyUnitService/menuitemallergen/menuitem/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum