Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ProduktView
Please create a React-JS view called "ProduktView" for the fields of the Produkt entity. The ProduktView must contain the following fields: - name: Baeckerei type: Baeckerei - name: IstHandgemacht type: BOOL - name: IstSaisonal type: BOOL - name: IstTiefgekuehlt type: BOOL - name: Name type: STRING - name: Produktkategorie type: Produktkategorie The data source for the [Baeckerei] select control should be loaded from the relative URL: "/BaeckereiService/baeckerei" (HTTP-GET) The data source for the [Produktkategorie] select control should be loaded from the relative URL: "/LandService/produktkategorie" (HTTP-GET) An existing Produkt entity should be loaded from the relative URL: "/ZutatService/produkt/{id}" (HTTP-GET) If a new Produkt entity has been created, the new entity should be posted to the relative URL: "/ZutatService/produkt" (HTTP-POST) If an existing Produkt entity has been updated, the modified entity should be sent to the relative URL: "/ZutatService/produkt/{id}" (HTTP-PUT) If an existing Produkt entity has to be deleted, the following relative URL should be called: "/ZutatService/produkt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProduktZutat columns: - column: Zutat - column: AnteilProzent - column: Produkt The table should have the title "ProduktZutats" und the data must be loaded from the server with the following relative URL: "/ZutatService/produktzutat/produkt/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum