Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RohrabschnittApp
Please create a React-JS application for the RohrabschnittModule. The application has to offer the following views for the user interface: 1. InspektionView 2. RohrabschnittView 3. WartungView 4. WasserqualitaetsMessungView 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 InspektionView must contain the following fields: - name: Ergebnis type: STRING - name: Feststellungen type: STRING - name: Hydrant type: Hydrant - name: InspektionsDatum type: DATE - name: Inspektor type: STRING - name: Rohrabschnitt type: Rohrabschnitt - name: Ventil type: Ventil The data source for the [Hydrant] select control should be loaded from the relative URL: "/MaterialService/hydrant" (HTTP-GET) The data source for the [Ventil] select control should be loaded from the relative URL: "/InstallationsOrtService/ventil" (HTTP-GET) The data source for the [Rohrabschnitt] select control should be loaded from the relative URL: "/RohrabschnittService/rohrabschnitt" (HTTP-GET) An existing Inspektion entity should be loaded from the relative URL: "/RohrabschnittService/inspektion/{id}" (HTTP-GET) If a new Inspektion entity has been created, the new entity should be posted to the relative URL: "/RohrabschnittService/inspektion" (HTTP-POST) If an existing Inspektion entity has been updated, the modified entity should be sent to the relative URL: "/RohrabschnittService/inspektion/{id}" (HTTP-PUT) If an existing Inspektion entity has to be deleted, the following relative URL should be called: "/RohrabschnittService/inspektion/{id}" (HTTP-DELETE) 2. The RohrabschnittView must contain the following fields: - name: AussendurchmesserMm type: STRING - name: Baujahr type: LONG - name: Hinweise type: STRING - name: InnendurchmesserMm type: STRING - name: InstallationsOrt type: InstallationsOrt - name: IstUnterirdisch type: BOOL - name: LaengeM type: STRING - name: Material type: Material - name: MaxBetriebsdruckBar type: STRING - name: NennweiteDn type: LONG - name: Wasserleitung type: Wasserleitung The data source for the [InstallationsOrt] select control should be loaded from the relative URL: "/InstallationsOrtService/installationsort" (HTTP-GET) The data source for the [Material] select control should be loaded from the relative URL: "/MaterialService/material" (HTTP-GET) The data source for the [Wasserleitung] select control should be loaded from the relative URL: "/WasserleitungService/wasserleitung" (HTTP-GET) An existing Rohrabschnitt entity should be loaded from the relative URL: "/RohrabschnittService/rohrabschnitt/{id}" (HTTP-GET) If a new Rohrabschnitt entity has been created, the new entity should be posted to the relative URL: "/RohrabschnittService/rohrabschnitt" (HTTP-POST) If an existing Rohrabschnitt entity has been updated, the modified entity should be sent to the relative URL: "/RohrabschnittService/rohrabschnitt/{id}" (HTTP-PUT) If an existing Rohrabschnitt entity has to be deleted, the following relative URL should be called: "/RohrabschnittService/rohrabschnitt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following WasserqualitaetsMessung columns: - column: HaerteDh - column: TemperaturC - column: Hinweise - column: Rohrabschnitt - column: Wasserquelle - column: PhWert - column: FreiesChlorMgL - column: MessDatum - column: BakterienAnzahl - column: NitratMgL - column: BleiUgL The table should have the title "WasserqualitaetsMessungs" und the data must be loaded from the server with the following relative URL: "/RohrabschnittService/wasserqualitaetsmessung/rohrabschnitt/{id}" Add a HTML table to the view with the following Hydrant columns: - column: HydrantTyp - column: NennweiteDn - column: Hinweise - column: Material - column: Rohrabschnitt - column: InstallationsOrt - column: IstBetriebsbereit - column: Baujahr The table should have the title "Hydrants" und the data must be loaded from the server with the following relative URL: "/MaterialService/hydrant/rohrabschnitt/{id}" Add a HTML table to the view with the following Hausanschluss columns: - column: IstMitZaehler - column: AnschlussDatum - column: InstallationsOrt - column: Gebaeude - column: Hinweise - column: Rohrabschnitt The table should have the title "Hausanschlusss" und the data must be loaded from the server with the following relative URL: "/GemeindeService/hausanschluss/rohrabschnitt/{id}" Add a HTML table to the view with the following Formstueck columns: - column: Hinweise - column: NennweiteDn - column: Material - column: Rohrabschnitt - column: FormstueckTyp The table should have the title "Formstuecks" und the data must be loaded from the server with the following relative URL: "/MaterialService/formstueck/rohrabschnitt/{id}" Add a HTML table to the view with the following Ersatz columns: - column: Material - column: Grund - column: Rohrabschnitt - column: Beschreibung - column: ErsatzDatum The table should have the title "Ersatzs" und the data must be loaded from the server with the following relative URL: "/MaterialService/ersatz/rohrabschnitt/{id}" Add a HTML table to the view with the following Wartung columns: - column: Ventil - column: DurchgefuehrtVon - column: Beschreibung - column: WartungsDatum - column: Rohrabschnitt - column: Hydrant - column: WartungsArt The table should have the title "Wartungs" und the data must be loaded from the server with the following relative URL: "/RohrabschnittService/wartung/rohrabschnitt/{id}" Add a HTML table to the view with the following Rohrschaden columns: - column: EntdecktDurch - column: SchadenArt - column: Beschreibung - column: Rohrabschnitt - column: SchadenDatum The table should have the title "Rohrschadens" und the data must be loaded from the server with the following relative URL: "/LandService/rohrschaden/rohrabschnitt/{id}" Add a HTML table to the view with the following Ventil columns: - column: Rohrabschnitt - column: InstallationsOrt - column: NennweiteDn - column: Hinweise - column: Material - column: IstNormalOffen - column: VentilTyp - column: Baujahr The table should have the title "Ventils" und the data must be loaded from the server with the following relative URL: "/InstallationsOrtService/ventil/rohrabschnitt/{id}" Add a HTML table to the view with the following Inspektion columns: - column: Ergebnis - column: Inspektor - column: Ventil - column: Rohrabschnitt - column: InspektionsDatum - column: Feststellungen - column: Hydrant The table should have the title "Inspektions" und the data must be loaded from the server with the following relative URL: "/RohrabschnittService/inspektion/rohrabschnitt/{id}" 3. The WartungView must contain the following fields: - name: Beschreibung type: STRING - name: DurchgefuehrtVon type: STRING - name: Hydrant type: Hydrant - name: Rohrabschnitt type: Rohrabschnitt - name: Ventil type: Ventil - name: WartungsArt type: STRING - name: WartungsDatum type: DATE The data source for the [Hydrant] select control should be loaded from the relative URL: "/MaterialService/hydrant" (HTTP-GET) The data source for the [Ventil] select control should be loaded from the relative URL: "/InstallationsOrtService/ventil" (HTTP-GET) The data source for the [Rohrabschnitt] select control should be loaded from the relative URL: "/RohrabschnittService/rohrabschnitt" (HTTP-GET) An existing Wartung entity should be loaded from the relative URL: "/RohrabschnittService/wartung/{id}" (HTTP-GET) If a new Wartung entity has been created, the new entity should be posted to the relative URL: "/RohrabschnittService/wartung" (HTTP-POST) If an existing Wartung entity has been updated, the modified entity should be sent to the relative URL: "/RohrabschnittService/wartung/{id}" (HTTP-PUT) If an existing Wartung entity has to be deleted, the following relative URL should be called: "/RohrabschnittService/wartung/{id}" (HTTP-DELETE) 4. The WasserqualitaetsMessungView must contain the following fields: - name: BakterienAnzahl type: LONG - name: BleiUgL type: STRING - name: FreiesChlorMgL type: STRING - name: HaerteDh type: STRING - name: Hinweise type: STRING - name: MessDatum type: DATE - name: NitratMgL type: STRING - name: PhWert type: STRING - name: Rohrabschnitt type: Rohrabschnitt - name: TemperaturC type: STRING - name: Wasserquelle type: Wasserquelle The data source for the [Wasserquelle] select control should be loaded from the relative URL: "/WassersystemService/wasserquelle" (HTTP-GET) The data source for the [Rohrabschnitt] select control should be loaded from the relative URL: "/RohrabschnittService/rohrabschnitt" (HTTP-GET) An existing WasserqualitaetsMessung entity should be loaded from the relative URL: "/RohrabschnittService/wasserqualitaetsmessung/{id}" (HTTP-GET) If a new WasserqualitaetsMessung entity has been created, the new entity should be posted to the relative URL: "/RohrabschnittService/wasserqualitaetsmessung" (HTTP-POST) If an existing WasserqualitaetsMessung entity has been updated, the modified entity should be sent to the relative URL: "/RohrabschnittService/wasserqualitaetsmessung/{id}" (HTTP-PUT) If an existing WasserqualitaetsMessung entity has to be deleted, the following relative URL should be called: "/RohrabschnittService/wasserqualitaetsmessung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum