Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ShopView
Please create a React-JS view called "ShopView" for the fields of the Shop entity. The ShopView must contain the following fields: - name: FlaecheM2 type: STRING - name: HatBistro type: BOOL - name: HatSitzplaetze type: BOOL - name: Name type: STRING - name: Tankstelle type: Tankstelle The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) An existing Shop entity should be loaded from the relative URL: "/ShopService/shop/{id}" (HTTP-GET) If a new Shop entity has been created, the new entity should be posted to the relative URL: "/ShopService/shop" (HTTP-POST) If an existing Shop entity has been updated, the modified entity should be sent to the relative URL: "/ShopService/shop/{id}" (HTTP-PUT) If an existing Shop entity has to be deleted, the following relative URL should be called: "/ShopService/shop/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ShopProduktPreis columns: - column: Shop - column: Waehrung - column: GueltigVon - column: Preis - column: ShopProdukt - column: GueltigBis The table should have the title "ShopProduktPreiss" und the data must be loaded from the server with the following relative URL: "/ShopService/shopproduktpreis/shop/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum