Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WasseraufbereitungsanlageApp
Please create a React-JS application for the WasseraufbereitungsanlageModule. The application has to offer the following views for the user interface: 1. AufbereitungNetzVerbindungView 2. QuelleAufbereitungVerbindungView 3. WasseraufbereitungsanlageView 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 AufbereitungNetzVerbindungView must contain the following fields: - name: Hinweise type: STRING - name: MaxDurchflussM3ProTag type: STRING - name: Verteilnetz type: Verteilnetz - name: Wasseraufbereitungsanlage type: Wasseraufbereitungsanlage The data source for the [Verteilnetz] select control should be loaded from the relative URL: "/VerteilnetzService/verteilnetz" (HTTP-GET) The data source for the [Wasseraufbereitungsanlage] select control should be loaded from the relative URL: "/WasseraufbereitungsanlageService/wasseraufbereitungsanlage" (HTTP-GET) An existing AufbereitungNetzVerbindung entity should be loaded from the relative URL: "/WasseraufbereitungsanlageService/aufbereitungnetzverbindung/{id}" (HTTP-GET) If a new AufbereitungNetzVerbindung entity has been created, the new entity should be posted to the relative URL: "/WasseraufbereitungsanlageService/aufbereitungnetzverbindung" (HTTP-POST) If an existing AufbereitungNetzVerbindung entity has been updated, the modified entity should be sent to the relative URL: "/WasseraufbereitungsanlageService/aufbereitungnetzverbindung/{id}" (HTTP-PUT) If an existing AufbereitungNetzVerbindung entity has to be deleted, the following relative URL should be called: "/WasseraufbereitungsanlageService/aufbereitungnetzverbindung/{id}" (HTTP-DELETE) 2. The QuelleAufbereitungVerbindungView must contain the following fields: - name: Hinweise type: STRING - name: MaxDurchflussM3ProTag type: STRING - name: Wasseraufbereitungsanlage type: Wasseraufbereitungsanlage - name: Wasserquelle type: Wasserquelle The data source for the [Wasserquelle] select control should be loaded from the relative URL: "/WasserquelleService/wasserquelle" (HTTP-GET) The data source for the [Wasseraufbereitungsanlage] select control should be loaded from the relative URL: "/WasseraufbereitungsanlageService/wasseraufbereitungsanlage" (HTTP-GET) An existing QuelleAufbereitungVerbindung entity should be loaded from the relative URL: "/WasseraufbereitungsanlageService/quelleaufbereitungverbindung/{id}" (HTTP-GET) If a new QuelleAufbereitungVerbindung entity has been created, the new entity should be posted to the relative URL: "/WasseraufbereitungsanlageService/quelleaufbereitungverbindung" (HTTP-POST) If an existing QuelleAufbereitungVerbindung entity has been updated, the modified entity should be sent to the relative URL: "/WasseraufbereitungsanlageService/quelleaufbereitungverbindung/{id}" (HTTP-PUT) If an existing QuelleAufbereitungVerbindung entity has to be deleted, the following relative URL should be called: "/WasseraufbereitungsanlageService/quelleaufbereitungverbindung/{id}" (HTTP-DELETE) 3. The WasseraufbereitungsanlageView must contain the following fields: - name: Anlagenname type: STRING - name: Aufbereitungstyp type: STRING - name: Gemeinde type: Gemeinde - name: Hinweise type: STRING - name: Inbetriebnahmedatum type: DATE - name: KapazitaetM3ProTag type: STRING - name: Wasserversorger type: Wasserversorger The data source for the [Wasserversorger] select control should be loaded from the relative URL: "/WasserversorgerService/wasserversorger" (HTTP-GET) The data source for the [Gemeinde] select control should be loaded from the relative URL: "/VerteilnetzService/gemeinde" (HTTP-GET) An existing Wasseraufbereitungsanlage entity should be loaded from the relative URL: "/WasseraufbereitungsanlageService/wasseraufbereitungsanlage/{id}" (HTTP-GET) If a new Wasseraufbereitungsanlage entity has been created, the new entity should be posted to the relative URL: "/WasseraufbereitungsanlageService/wasseraufbereitungsanlage" (HTTP-POST) If an existing Wasseraufbereitungsanlage entity has been updated, the modified entity should be sent to the relative URL: "/WasseraufbereitungsanlageService/wasseraufbereitungsanlage/{id}" (HTTP-PUT) If an existing Wasseraufbereitungsanlage entity has to be deleted, the following relative URL should be called: "/WasseraufbereitungsanlageService/wasseraufbereitungsanlage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following QuelleAufbereitungVerbindung columns: - column: Hinweise - column: Wasseraufbereitungsanlage - column: MaxDurchflussM3ProTag - column: Wasserquelle The table should have the title "QuelleAufbereitungVerbindungs" und the data must be loaded from the server with the following relative URL: "/WasseraufbereitungsanlageService/quelleaufbereitungverbindung/wasseraufbereitungsanlage/{id}" Add a HTML table to the view with the following AufbereitungNetzVerbindung columns: - column: MaxDurchflussM3ProTag - column: Verteilnetz - column: Wasseraufbereitungsanlage - column: Hinweise The table should have the title "AufbereitungNetzVerbindungs" und the data must be loaded from the server with the following relative URL: "/WasseraufbereitungsanlageService/aufbereitungnetzverbindung/wasseraufbereitungsanlage/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum