Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PflanzeApp
Please create a React-JS application for the PflanzeModule. The application has to offer the following views for the user interface: 1. BetriebPflanzeView 2. HistorischePeriodeView 3. PflanzeView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The BetriebPflanzeView must contain the following fields: - name: Betrieb type: Betrieb - name: Pflanze type: Pflanze The data source for the [Betrieb] select control should be loaded from the relative URL: "/BetriebService/betrieb" (HTTP-GET) The data source for the [Pflanze] select control should be loaded from the relative URL: "/PflanzeService/pflanze" (HTTP-GET) An existing BetriebPflanze entity should be loaded from the relative URL: "/PflanzeService/betriebpflanze/{id}" (HTTP-GET) If a new BetriebPflanze entity has been created, the new entity should be posted to the relative URL: "/PflanzeService/betriebpflanze" (HTTP-POST) If an existing BetriebPflanze entity has been updated, the modified entity should be sent to the relative URL: "/PflanzeService/betriebpflanze/{id}" (HTTP-PUT) If an existing BetriebPflanze entity has to be deleted, the following relative URL should be called: "/PflanzeService/betriebpflanze/{id}" (HTTP-DELETE) 2. The HistorischePeriodeView must contain the following fields: - name: Beschreibung type: STRING - name: Endjahr type: LONG - name: Name type: STRING - name: Startjahr type: LONG An existing HistorischePeriode entity should be loaded from the relative URL: "/PflanzeService/historischeperiode/{id}" (HTTP-GET) If a new HistorischePeriode entity has been created, the new entity should be posted to the relative URL: "/PflanzeService/historischeperiode" (HTTP-POST) If an existing HistorischePeriode entity has been updated, the modified entity should be sent to the relative URL: "/PflanzeService/historischeperiode/{id}" (HTTP-PUT) If an existing HistorischePeriode entity has to be deleted, the following relative URL should be called: "/PflanzeService/historischeperiode/{id}" (HTTP-DELETE) 3. The PflanzeView must contain the following fields: - name: Kategorie type: Pflanzenkategorie - name: Name type: STRING - name: WissenschaftlicherName type: STRING The data source for the [Kategorie] select control should be loaded from the relative URL: "/BetriebService/pflanzenkategorie" (HTTP-GET) An existing Pflanze entity should be loaded from the relative URL: "/PflanzeService/pflanze/{id}" (HTTP-GET) If a new Pflanze entity has been created, the new entity should be posted to the relative URL: "/PflanzeService/pflanze" (HTTP-POST) If an existing Pflanze entity has been updated, the modified entity should be sent to the relative URL: "/PflanzeService/pflanze/{id}" (HTTP-PUT) If an existing Pflanze entity has to be deleted, the following relative URL should be called: "/PflanzeService/pflanze/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Produkt columns: - column: Marktsegment - column: Pflanze - column: Name The table should have the title "Produkts" und the data must be loaded from the server with the following relative URL: "/MarktsegmentService/produkt/pflanze/{id}" Add a HTML table to the view with the following BetriebPflanze columns: - column: Pflanze - column: Betrieb The table should have the title "BetriebPflanzes" und the data must be loaded from the server with the following relative URL: "/PflanzeService/betriebpflanze/pflanze/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum