Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WasserleitungApp
Please create a React-JS application for the WasserleitungModule. The application has to offer the following views for the user interface: 1. LeitungsNormView 2. LeitungsNutzungView 3. NutzungsartView 4. WasserleitungView 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 LeitungsNormView must contain the following fields: - name: Norm type: Norm - name: Wasserleitung type: Wasserleitung The data source for the [Norm] select control should be loaded from the relative URL: "/LeitungsartService/norm" (HTTP-GET) The data source for the [Wasserleitung] select control should be loaded from the relative URL: "/WasserleitungService/wasserleitung" (HTTP-GET) An existing LeitungsNorm entity should be loaded from the relative URL: "/WasserleitungService/leitungsnorm/{id}" (HTTP-GET) If a new LeitungsNorm entity has been created, the new entity should be posted to the relative URL: "/WasserleitungService/leitungsnorm" (HTTP-POST) If an existing LeitungsNorm entity has been updated, the modified entity should be sent to the relative URL: "/WasserleitungService/leitungsnorm/{id}" (HTTP-PUT) If an existing LeitungsNorm entity has to be deleted, the following relative URL should be called: "/WasserleitungService/leitungsnorm/{id}" (HTTP-DELETE) 2. The LeitungsNutzungView must contain the following fields: - name: Nutzungsart type: Nutzungsart - name: Wasserleitung type: Wasserleitung The data source for the [Nutzungsart] select control should be loaded from the relative URL: "/WasserleitungService/nutzungsart" (HTTP-GET) The data source for the [Wasserleitung] select control should be loaded from the relative URL: "/WasserleitungService/wasserleitung" (HTTP-GET) An existing LeitungsNutzung entity should be loaded from the relative URL: "/WasserleitungService/leitungsnutzung/{id}" (HTTP-GET) If a new LeitungsNutzung entity has been created, the new entity should be posted to the relative URL: "/WasserleitungService/leitungsnutzung" (HTTP-POST) If an existing LeitungsNutzung entity has been updated, the modified entity should be sent to the relative URL: "/WasserleitungService/leitungsnutzung/{id}" (HTTP-PUT) If an existing LeitungsNutzung entity has to be deleted, the following relative URL should be called: "/WasserleitungService/leitungsnutzung/{id}" (HTTP-DELETE) 3. 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: "/WasserleitungService/nutzungsart/{id}" (HTTP-GET) If a new Nutzungsart entity has been created, the new entity should be posted to the relative URL: "/WasserleitungService/nutzungsart" (HTTP-POST) If an existing Nutzungsart entity has been updated, the modified entity should be sent to the relative URL: "/WasserleitungService/nutzungsart/{id}" (HTTP-PUT) If an existing Nutzungsart entity has to be deleted, the following relative URL should be called: "/WasserleitungService/nutzungsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LeitungsNutzung columns: - column: Nutzungsart - column: Wasserleitung The table should have the title "LeitungsNutzungs" und the data must be loaded from the server with the following relative URL: "/WasserleitungService/leitungsnutzung/nutzungsart/{id}" 4. The WasserleitungView must contain the following fields: - name: AuslegungsdruckBar type: STRING - name: AuslegungstemperaturC type: STRING - name: Beschreibung type: STRING - name: InbetriebnahmeDatum type: DATE - name: IstOffenesGerinne type: BOOL - name: Leitungsart type: Leitungsart - name: Name type: STRING - name: Wassersystem type: Wassersystem The data source for the [Wassersystem] select control should be loaded from the relative URL: "/WassersystemService/wassersystem" (HTTP-GET) The data source for the [Leitungsart] select control should be loaded from the relative URL: "/LeitungsartService/leitungsart" (HTTP-GET) An existing Wasserleitung entity should be loaded from the relative URL: "/WasserleitungService/wasserleitung/{id}" (HTTP-GET) If a new Wasserleitung entity has been created, the new entity should be posted to the relative URL: "/WasserleitungService/wasserleitung" (HTTP-POST) If an existing Wasserleitung entity has been updated, the modified entity should be sent to the relative URL: "/WasserleitungService/wasserleitung/{id}" (HTTP-PUT) If an existing Wasserleitung entity has to be deleted, the following relative URL should be called: "/WasserleitungService/wasserleitung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Rohrabschnitt columns: - column: Baujahr - column: InstallationsOrt - column: LaengeM - column: AussendurchmesserMm - column: Material - column: MaxBetriebsdruckBar - column: IstUnterirdisch - column: NennweiteDn - column: Wasserleitung - column: InnendurchmesserMm - column: Hinweise The table should have the title "Rohrabschnitts" und the data must be loaded from the server with the following relative URL: "/RohrabschnittService/rohrabschnitt/wasserleitung/{id}" Add a HTML table to the view with the following LeitungsNutzung columns: - column: Nutzungsart - column: Wasserleitung The table should have the title "LeitungsNutzungs" und the data must be loaded from the server with the following relative URL: "/WasserleitungService/leitungsnutzung/wasserleitung/{id}" Add a HTML table to the view with the following LeitungsNorm columns: - column: Norm - column: Wasserleitung The table should have the title "LeitungsNorms" und the data must be loaded from the server with the following relative URL: "/WasserleitungService/leitungsnorm/wasserleitung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum