Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
InstallationsOrtApp
Please create a React-JS application for the InstallationsOrtModule. The application has to offer the following views for the user interface: 1. InstallationsOrtView 2. VentilView 3. WasserzaehlerView 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 InstallationsOrtView must contain the following fields: - name: Beschreibung type: STRING - name: Breitengrad type: STRING - name: Gemeinde type: Gemeinde - name: HoeheM type: STRING - name: Laengengrad type: STRING - name: Ortstyp type: STRING The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) An existing InstallationsOrt entity should be loaded from the relative URL: "/InstallationsOrtService/installationsort/{id}" (HTTP-GET) If a new InstallationsOrt entity has been created, the new entity should be posted to the relative URL: "/InstallationsOrtService/installationsort" (HTTP-POST) If an existing InstallationsOrt entity has been updated, the modified entity should be sent to the relative URL: "/InstallationsOrtService/installationsort/{id}" (HTTP-PUT) If an existing InstallationsOrt entity has to be deleted, the following relative URL should be called: "/InstallationsOrtService/installationsort/{id}" (HTTP-DELETE) 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/installationsort/{id}" 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/installationsort/{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/installationsort/{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/installationsort/{id}" 2. The VentilView must contain the following fields: - name: Baujahr type: LONG - name: Hinweise type: STRING - name: InstallationsOrt type: InstallationsOrt - name: IstNormalOffen type: BOOL - name: Material type: Material - name: NennweiteDn type: LONG - name: Rohrabschnitt type: Rohrabschnitt - name: VentilTyp type: STRING 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 [Rohrabschnitt] select control should be loaded from the relative URL: "/RohrabschnittService/rohrabschnitt" (HTTP-GET) An existing Ventil entity should be loaded from the relative URL: "/InstallationsOrtService/ventil/{id}" (HTTP-GET) If a new Ventil entity has been created, the new entity should be posted to the relative URL: "/InstallationsOrtService/ventil" (HTTP-POST) If an existing Ventil entity has been updated, the modified entity should be sent to the relative URL: "/InstallationsOrtService/ventil/{id}" (HTTP-PUT) If an existing Ventil entity has to be deleted, the following relative URL should be called: "/InstallationsOrtService/ventil/{id}" (HTTP-DELETE) 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/ventil/{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/ventil/{id}" 3. The WasserzaehlerView must contain the following fields: - name: EichDatum type: DATE - name: Hausanschluss type: Hausanschluss - name: InstallationsDatum type: DATE - name: Seriennummer type: STRING - name: ZaehlerTyp type: STRING The data source for the [Hausanschluss] select control should be loaded from the relative URL: "/GemeindeService/hausanschluss" (HTTP-GET) An existing Wasserzaehler entity should be loaded from the relative URL: "/InstallationsOrtService/wasserzaehler/{id}" (HTTP-GET) If a new Wasserzaehler entity has been created, the new entity should be posted to the relative URL: "/InstallationsOrtService/wasserzaehler" (HTTP-POST) If an existing Wasserzaehler entity has been updated, the modified entity should be sent to the relative URL: "/InstallationsOrtService/wasserzaehler/{id}" (HTTP-PUT) If an existing Wasserzaehler entity has to be deleted, the following relative URL should be called: "/InstallationsOrtService/wasserzaehler/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum