Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StandrohrTypeApp
Please create a React-JS application for the StandrohrTypeModule. The application has to offer the following views for the user interface: 1. HydrantNutzungView 2. LeitungsAbschnittView 3. StandrohrView 4. StandrohrTypeView 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 HydrantNutzungView must contain the following fields: - name: Beschreibung type: STRING - name: GeschaetztesVolumenM3 type: STRING - name: Hydrant type: Hydrant - name: NutzungsArt type: STRING - name: NutzungsDatum type: DATE - name: Organisation type: Organisation The data source for the [Organisation] select control should be loaded from the relative URL: "/StadtService/organisation" (HTTP-GET) The data source for the [Hydrant] select control should be loaded from the relative URL: "/WasserNetzService/hydrant" (HTTP-GET) An existing HydrantNutzung entity should be loaded from the relative URL: "/StandrohrTypeService/hydrantnutzung/{id}" (HTTP-GET) If a new HydrantNutzung entity has been created, the new entity should be posted to the relative URL: "/StandrohrTypeService/hydrantnutzung" (HTTP-POST) If an existing HydrantNutzung entity has been updated, the modified entity should be sent to the relative URL: "/StandrohrTypeService/hydrantnutzung/{id}" (HTTP-PUT) If an existing HydrantNutzung entity has to be deleted, the following relative URL should be called: "/StandrohrTypeService/hydrantnutzung/{id}" (HTTP-DELETE) 2. The LeitungsAbschnittView must contain the following fields: - name: Baujahr type: LONG - name: IstInBetrieb type: BOOL - name: LaengeMeter type: STRING - name: Material type: STRING - name: NennweiteMm type: LONG - name: WasserNetz type: WasserNetz The data source for the [WasserNetz] select control should be loaded from the relative URL: "/WasserNetzService/wassernetz" (HTTP-GET) An existing LeitungsAbschnitt entity should be loaded from the relative URL: "/StandrohrTypeService/leitungsabschnitt/{id}" (HTTP-GET) If a new LeitungsAbschnitt entity has been created, the new entity should be posted to the relative URL: "/StandrohrTypeService/leitungsabschnitt" (HTTP-POST) If an existing LeitungsAbschnitt entity has been updated, the modified entity should be sent to the relative URL: "/StandrohrTypeService/leitungsabschnitt/{id}" (HTTP-PUT) If an existing LeitungsAbschnitt entity has to be deleted, the following relative URL should be called: "/StandrohrTypeService/leitungsabschnitt/{id}" (HTTP-DELETE) 3. The StandrohrView must contain the following fields: - name: GewichtKg type: STRING - name: HatRueckflussverhinderer type: BOOL - name: HatWasserZaehler type: BOOL - name: MaxDruckBar type: STRING - name: StandrohrType type: StandrohrType - name: WasserNetz type: WasserNetz The data source for the [WasserNetz] select control should be loaded from the relative URL: "/WasserNetzService/wassernetz" (HTTP-GET) The data source for the [StandrohrType] select control should be loaded from the relative URL: "/StandrohrTypeService/standrohrtype" (HTTP-GET) An existing Standrohr entity should be loaded from the relative URL: "/StandrohrTypeService/standrohr/{id}" (HTTP-GET) If a new Standrohr entity has been created, the new entity should be posted to the relative URL: "/StandrohrTypeService/standrohr" (HTTP-POST) If an existing Standrohr entity has been updated, the modified entity should be sent to the relative URL: "/StandrohrTypeService/standrohr/{id}" (HTTP-PUT) If an existing Standrohr entity has to be deleted, the following relative URL should be called: "/StandrohrTypeService/standrohr/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StandrohrEinsatz columns: - column: Hydrant - column: Ereignis - column: WasserMengeM3 - column: Standrohr The table should have the title "StandrohrEinsatzs" und the data must be loaded from the server with the following relative URL: "/EreignisTypeService/standrohreinsatz/standrohr/{id}" 4. The StandrohrTypeView must contain the following fields: - name: AnzahlAusgaenge type: LONG - name: Beschreibung type: STRING - name: KupplungsNorm type: STRING - name: Name type: STRING An existing StandrohrType entity should be loaded from the relative URL: "/StandrohrTypeService/standrohrtype/{id}" (HTTP-GET) If a new StandrohrType entity has been created, the new entity should be posted to the relative URL: "/StandrohrTypeService/standrohrtype" (HTTP-POST) If an existing StandrohrType entity has been updated, the modified entity should be sent to the relative URL: "/StandrohrTypeService/standrohrtype/{id}" (HTTP-PUT) If an existing StandrohrType entity has to be deleted, the following relative URL should be called: "/StandrohrTypeService/standrohrtype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Standrohr columns: - column: MaxDruckBar - column: GewichtKg - column: HatRueckflussverhinderer - column: WasserNetz - column: StandrohrType - column: HatWasserZaehler The table should have the title "Standrohrs" und the data must be loaded from the server with the following relative URL: "/StandrohrTypeService/standrohr/standrohrtype/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum