Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HydrantStandortApp
Please create a React-JS application for the HydrantStandortModule. The application has to offer the following views for the user interface: 1. HydrantStandortView 2. OffeneWasserQuelleView 3. UnterirdischerBehaelterView 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 HydrantStandortView must contain the following fields: - name: Beschreibung type: STRING - name: Hausnummer type: STRING - name: HoeheM type: STRING - name: Latitude type: STRING - name: Longitude type: STRING - name: Stadt type: Stadt - name: Strasse type: STRING The data source for the [Stadt] select control should be loaded from the relative URL: "/StadtService/stadt" (HTTP-GET) An existing HydrantStandort entity should be loaded from the relative URL: "/HydrantStandortService/hydrantstandort/{id}" (HTTP-GET) If a new HydrantStandort entity has been created, the new entity should be posted to the relative URL: "/HydrantStandortService/hydrantstandort" (HTTP-POST) If an existing HydrantStandort entity has been updated, the modified entity should be sent to the relative URL: "/HydrantStandortService/hydrantstandort/{id}" (HTTP-PUT) If an existing HydrantStandort entity has to be deleted, the following relative URL should be called: "/HydrantStandortService/hydrantstandort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following OffeneWasserQuelle columns: - column: KapazitaetM3 - column: HydrantStandort - column: WasserNetz - column: Typ The table should have the title "OffeneWasserQuelles" und the data must be loaded from the server with the following relative URL: "/HydrantStandortService/offenewasserquelle/hydrantstandort/{id}" Add a HTML table to the view with the following Feuerwache columns: - column: Organisation - column: HydrantStandort - column: Name The table should have the title "Feuerwaches" und the data must be loaded from the server with the following relative URL: "/StadtService/feuerwache/hydrantstandort/{id}" Add a HTML table to the view with the following UnterirdischerBehaelter columns: - column: KapazitaetM3 - column: WasserNetz - column: IstZugaenglich - column: HydrantStandort The table should have the title "UnterirdischerBehaelters" und the data must be loaded from the server with the following relative URL: "/HydrantStandortService/unterirdischerbehaelter/hydrantstandort/{id}" Add a HTML table to the view with the following Hydrant columns: - column: HydrantType - column: IstNass - column: WasserNetz - column: IstTrocken - column: Notizen - column: HydrantStandort - column: NennweiteMm - column: InstallationsDatum - column: LetztePruefung - column: IstBetriebsbereit The table should have the title "Hydrants" und the data must be loaded from the server with the following relative URL: "/WasserNetzService/hydrant/hydrantstandort/{id}" 2. The OffeneWasserQuelleView must contain the following fields: - name: HydrantStandort type: HydrantStandort - name: KapazitaetM3 type: STRING - name: Typ type: STRING - name: WasserNetz type: WasserNetz The data source for the [HydrantStandort] select control should be loaded from the relative URL: "/HydrantStandortService/hydrantstandort" (HTTP-GET) The data source for the [WasserNetz] select control should be loaded from the relative URL: "/WasserNetzService/wassernetz" (HTTP-GET) An existing OffeneWasserQuelle entity should be loaded from the relative URL: "/HydrantStandortService/offenewasserquelle/{id}" (HTTP-GET) If a new OffeneWasserQuelle entity has been created, the new entity should be posted to the relative URL: "/HydrantStandortService/offenewasserquelle" (HTTP-POST) If an existing OffeneWasserQuelle entity has been updated, the modified entity should be sent to the relative URL: "/HydrantStandortService/offenewasserquelle/{id}" (HTTP-PUT) If an existing OffeneWasserQuelle entity has to be deleted, the following relative URL should be called: "/HydrantStandortService/offenewasserquelle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HydrantPlanEintrag columns: - column: UnterirdischerBehaelter - column: OffeneWasserQuelle - column: HydrantPlan - column: Notizen - column: Hydrant The table should have the title "HydrantPlanEintrags" und the data must be loaded from the server with the following relative URL: "/HydrantPlanService/hydrantplaneintrag/offenewasserquelle/{id}" 3. The UnterirdischerBehaelterView must contain the following fields: - name: HydrantStandort type: HydrantStandort - name: IstZugaenglich type: BOOL - name: KapazitaetM3 type: STRING - name: WasserNetz type: WasserNetz The data source for the [HydrantStandort] select control should be loaded from the relative URL: "/HydrantStandortService/hydrantstandort" (HTTP-GET) The data source for the [WasserNetz] select control should be loaded from the relative URL: "/WasserNetzService/wassernetz" (HTTP-GET) An existing UnterirdischerBehaelter entity should be loaded from the relative URL: "/HydrantStandortService/unterirdischerbehaelter/{id}" (HTTP-GET) If a new UnterirdischerBehaelter entity has been created, the new entity should be posted to the relative URL: "/HydrantStandortService/unterirdischerbehaelter" (HTTP-POST) If an existing UnterirdischerBehaelter entity has been updated, the modified entity should be sent to the relative URL: "/HydrantStandortService/unterirdischerbehaelter/{id}" (HTTP-PUT) If an existing UnterirdischerBehaelter entity has to be deleted, the following relative URL should be called: "/HydrantStandortService/unterirdischerbehaelter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HydrantPlanEintrag columns: - column: UnterirdischerBehaelter - column: OffeneWasserQuelle - column: HydrantPlan - column: Notizen - column: Hydrant The table should have the title "HydrantPlanEintrags" und the data must be loaded from the server with the following relative URL: "/HydrantPlanService/hydrantplaneintrag/unterirdischerbehaelter/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum