Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FachsparteApp
Please create a React-JS application for the FachsparteModule. The application has to offer the following views for the user interface: 1. AnbauflaecheView 2. FachsparteView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The AnbauflaecheView must contain the following fields: - name: Fachsparte type: Fachsparte - name: FlaecheHektar type: STRING - name: Land type: STRING - name: Region type: STRING The data source for the [Fachsparte] select control should be loaded from the relative URL: "/FachsparteService/fachsparte" (HTTP-GET) An existing Anbauflaeche entity should be loaded from the relative URL: "/FachsparteService/anbauflaeche/{id}" (HTTP-GET) If a new Anbauflaeche entity has been created, the new entity should be posted to the relative URL: "/FachsparteService/anbauflaeche" (HTTP-POST) If an existing Anbauflaeche entity has been updated, the modified entity should be sent to the relative URL: "/FachsparteService/anbauflaeche/{id}" (HTTP-PUT) If an existing Anbauflaeche entity has to be deleted, the following relative URL should be called: "/FachsparteService/anbauflaeche/{id}" (HTTP-DELETE) 2. The FachsparteView must contain the following fields: - name: Bereich type: GartenbauBereich - name: Beschreibung type: STRING - name: Name type: STRING The data source for the [Bereich] select control should be loaded from the relative URL: "/OrganisationService/gartenbaubereich" (HTTP-GET) An existing Fachsparte entity should be loaded from the relative URL: "/FachsparteService/fachsparte/{id}" (HTTP-GET) If a new Fachsparte entity has been created, the new entity should be posted to the relative URL: "/FachsparteService/fachsparte" (HTTP-POST) If an existing Fachsparte entity has been updated, the modified entity should be sent to the relative URL: "/FachsparteService/fachsparte/{id}" (HTTP-PUT) If an existing Fachsparte entity has to be deleted, the following relative URL should be called: "/FachsparteService/fachsparte/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BetriebFachsparte columns: - column: Betrieb - column: Fachsparte The table should have the title "BetriebFachspartes" und the data must be loaded from the server with the following relative URL: "/BetriebService/betriebfachsparte/fachsparte/{id}" Add a HTML table to the view with the following Anbauflaeche columns: - column: FlaecheHektar - column: Fachsparte - column: Land - column: Region The table should have the title "Anbauflaeches" und the data must be loaded from the server with the following relative URL: "/FachsparteService/anbauflaeche/fachsparte/{id}" Add a HTML table to the view with the following OrganisationFachsparte columns: - column: Organisation - column: Fachsparte The table should have the title "OrganisationFachspartes" und the data must be loaded from the server with the following relative URL: "/OrganisationService/organisationfachsparte/fachsparte/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum