Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WasserparameterApp
Please create a React-JS application for the WasserparameterModule. The application has to offer the following views for the user interface: 1. GrenzwertView 2. NutzungsartView 3. ProzesswasserqualitaetswertView 4. WasserparameterView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The GrenzwertView must contain the following fields: - name: Grenzwerttyp type: STRING - name: Grenzwertwert type: DOUBLE - name: Kommentar type: STRING - name: Nutzungsart type: Nutzungsart - name: Regelwerk type: Regelwerk - name: Wasserparameter type: Wasserparameter The data source for the [Nutzungsart] select control should be loaded from the relative URL: "/WasserparameterService/nutzungsart" (HTTP-GET) The data source for the [Wasserparameter] select control should be loaded from the relative URL: "/WasserparameterService/wasserparameter" (HTTP-GET) The data source for the [Regelwerk] select control should be loaded from the relative URL: "/RegelwerkService/regelwerk" (HTTP-GET) An existing Grenzwert entity should be loaded from the relative URL: "/WasserparameterService/grenzwert/{id}" (HTTP-GET) If a new Grenzwert entity has been created, the new entity should be posted to the relative URL: "/WasserparameterService/grenzwert" (HTTP-POST) If an existing Grenzwert entity has been updated, the modified entity should be sent to the relative URL: "/WasserparameterService/grenzwert/{id}" (HTTP-PUT) If an existing Grenzwert entity has to be deleted, the following relative URL should be called: "/WasserparameterService/grenzwert/{id}" (HTTP-DELETE) 2. The NutzungsartView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Nutzungsart entity should be loaded from the relative URL: "/WasserparameterService/nutzungsart/{id}" (HTTP-GET) If a new Nutzungsart entity has been created, the new entity should be posted to the relative URL: "/WasserparameterService/nutzungsart" (HTTP-POST) If an existing Nutzungsart entity has been updated, the modified entity should be sent to the relative URL: "/WasserparameterService/nutzungsart/{id}" (HTTP-PUT) If an existing Nutzungsart entity has to be deleted, the following relative URL should be called: "/WasserparameterService/nutzungsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AnlagenNutzungsart columns: - column: Kommentar - column: Aufbereitungsanlage - column: Nutzungsart The table should have the title "AnlagenNutzungsarts" und the data must be loaded from the server with the following relative URL: "/AufbereitungsanlageService/anlagennutzungsart/nutzungsart/{id}" Add a HTML table to the view with the following Grenzwert columns: - column: Grenzwertwert - column: Grenzwerttyp - column: Regelwerk - column: Nutzungsart - column: Kommentar - column: Wasserparameter The table should have the title "Grenzwerts" und the data must be loaded from the server with the following relative URL: "/WasserparameterService/grenzwert/nutzungsart/{id}" 3. The ProzesswasserqualitaetswertView must contain the following fields: - name: Kommentar type: STRING - name: Prozesswasserqualitaetsmessung type: Prozesswasserqualitaetsmessung - name: Wasserparameter type: Wasserparameter - name: Wert type: DOUBLE The data source for the [Wasserparameter] select control should be loaded from the relative URL: "/WasserparameterService/wasserparameter" (HTTP-GET) The data source for the [Prozesswasserqualitaetsmessung] select control should be loaded from the relative URL: "/ReinwasserqualitaetsmessungService/prozesswasserqualitaetsmessung" (HTTP-GET) An existing Prozesswasserqualitaetswert entity should be loaded from the relative URL: "/WasserparameterService/prozesswasserqualitaetswert/{id}" (HTTP-GET) If a new Prozesswasserqualitaetswert entity has been created, the new entity should be posted to the relative URL: "/WasserparameterService/prozesswasserqualitaetswert" (HTTP-POST) If an existing Prozesswasserqualitaetswert entity has been updated, the modified entity should be sent to the relative URL: "/WasserparameterService/prozesswasserqualitaetswert/{id}" (HTTP-PUT) If an existing Prozesswasserqualitaetswert entity has to be deleted, the following relative URL should be called: "/WasserparameterService/prozesswasserqualitaetswert/{id}" (HTTP-DELETE) 4. The WasserparameterView must contain the following fields: - name: Beschreibung type: STRING - name: Einheit type: STRING - name: Name type: STRING An existing Wasserparameter entity should be loaded from the relative URL: "/WasserparameterService/wasserparameter/{id}" (HTTP-GET) If a new Wasserparameter entity has been created, the new entity should be posted to the relative URL: "/WasserparameterService/wasserparameter" (HTTP-POST) If an existing Wasserparameter entity has been updated, the modified entity should be sent to the relative URL: "/WasserparameterService/wasserparameter/{id}" (HTTP-PUT) If an existing Wasserparameter entity has to be deleted, the following relative URL should be called: "/WasserparameterService/wasserparameter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Reinwasserqualitaetswert columns: - column: Wasserparameter - column: Wert - column: Reinwasserqualitaetsmessung - column: Kommentar The table should have the title "Reinwasserqualitaetswerts" und the data must be loaded from the server with the following relative URL: "/ReinwasserqualitaetsmessungService/reinwasserqualitaetswert/wasserparameter/{id}" Add a HTML table to the view with the following Rohwasserqualitaetswert columns: - column: Wert - column: Wasserparameter - column: Kommentar - column: Rohwasserqualitaetsmessung The table should have the title "Rohwasserqualitaetswerts" und the data must be loaded from the server with the following relative URL: "/RohwasserqualitaetsmessungService/rohwasserqualitaetswert/wasserparameter/{id}" Add a HTML table to the view with the following Prozesswasserqualitaetswert columns: - column: Wasserparameter - column: Wert - column: Prozesswasserqualitaetsmessung - column: Kommentar The table should have the title "Prozesswasserqualitaetswerts" und the data must be loaded from the server with the following relative URL: "/WasserparameterService/prozesswasserqualitaetswert/wasserparameter/{id}" Add a HTML table to the view with the following Grenzwert columns: - column: Grenzwertwert - column: Grenzwerttyp - column: Regelwerk - column: Nutzungsart - column: Kommentar - column: Wasserparameter The table should have the title "Grenzwerts" und the data must be loaded from the server with the following relative URL: "/WasserparameterService/grenzwert/wasserparameter/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum