Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WasserverbandApp
Please create a React-JS application for the WasserverbandModule. The application has to offer the following views for the user interface: 1. VerbandsmitgliedschaftView 2. WasserverbandView 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 VerbandsmitgliedschaftView must contain the following fields: - name: MitgliedschaftBeginn type: DATE - name: MitgliedschaftEnde type: DATE - name: Organisation type: Organisation - name: Wasserverband type: Wasserverband The data source for the [Organisation] select control should be loaded from the relative URL: "/VerteilnetzService/organisation" (HTTP-GET) The data source for the [Wasserverband] select control should be loaded from the relative URL: "/WasserverbandService/wasserverband" (HTTP-GET) An existing Verbandsmitgliedschaft entity should be loaded from the relative URL: "/WasserverbandService/verbandsmitgliedschaft/{id}" (HTTP-GET) If a new Verbandsmitgliedschaft entity has been created, the new entity should be posted to the relative URL: "/WasserverbandService/verbandsmitgliedschaft" (HTTP-POST) If an existing Verbandsmitgliedschaft entity has been updated, the modified entity should be sent to the relative URL: "/WasserverbandService/verbandsmitgliedschaft/{id}" (HTTP-PUT) If an existing Verbandsmitgliedschaft entity has to be deleted, the following relative URL should be called: "/WasserverbandService/verbandsmitgliedschaft/{id}" (HTTP-DELETE) 2. The WasserverbandView must contain the following fields: - name: Gruendungsdatum type: DATE - name: Hinweise type: STRING - name: Land type: Land - name: Verbandsname type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Wasserverband entity should be loaded from the relative URL: "/WasserverbandService/wasserverband/{id}" (HTTP-GET) If a new Wasserverband entity has been created, the new entity should be posted to the relative URL: "/WasserverbandService/wasserverband" (HTTP-POST) If an existing Wasserverband entity has been updated, the modified entity should be sent to the relative URL: "/WasserverbandService/wasserverband/{id}" (HTTP-PUT) If an existing Wasserverband entity has to be deleted, the following relative URL should be called: "/WasserverbandService/wasserverband/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Verbandsmitgliedschaft columns: - column: Wasserverband - column: MitgliedschaftEnde - column: Organisation - column: MitgliedschaftBeginn The table should have the title "Verbandsmitgliedschafts" und the data must be loaded from the server with the following relative URL: "/WasserverbandService/verbandsmitgliedschaft/wasserverband/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum