Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HydrantPlanApp
Please create a React-JS application for the HydrantPlanModule. The application has to offer the following views for the user interface: 1. HydrantHinweisschildView 2. HydrantPlanView 3. HydrantPlanEintragView 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 HydrantHinweisschildView must contain the following fields: - name: Hydrant type: Hydrant - name: MontageOrt type: STRING - name: OffsetXMeter type: STRING - name: OffsetYMeter type: STRING - name: SchildType type: STRING - name: Text type: STRING The data source for the [Hydrant] select control should be loaded from the relative URL: "/WasserNetzService/hydrant" (HTTP-GET) An existing HydrantHinweisschild entity should be loaded from the relative URL: "/HydrantPlanService/hydranthinweisschild/{id}" (HTTP-GET) If a new HydrantHinweisschild entity has been created, the new entity should be posted to the relative URL: "/HydrantPlanService/hydranthinweisschild" (HTTP-POST) If an existing HydrantHinweisschild entity has been updated, the modified entity should be sent to the relative URL: "/HydrantPlanService/hydranthinweisschild/{id}" (HTTP-PUT) If an existing HydrantHinweisschild entity has to be deleted, the following relative URL should be called: "/HydrantPlanService/hydranthinweisschild/{id}" (HTTP-DELETE) 2. The HydrantPlanView must contain the following fields: - name: IstDigital type: BOOL - name: LetzteAktualisierung type: DATE - name: Massstab type: STRING - name: Name type: STRING - name: SpeicherOrt type: STRING - 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 HydrantPlan entity should be loaded from the relative URL: "/HydrantPlanService/hydrantplan/{id}" (HTTP-GET) If a new HydrantPlan entity has been created, the new entity should be posted to the relative URL: "/HydrantPlanService/hydrantplan" (HTTP-POST) If an existing HydrantPlan entity has been updated, the modified entity should be sent to the relative URL: "/HydrantPlanService/hydrantplan/{id}" (HTTP-PUT) If an existing HydrantPlan entity has to be deleted, the following relative URL should be called: "/HydrantPlanService/hydrantplan/{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/hydrantplan/{id}" 3. The HydrantPlanEintragView must contain the following fields: - name: Hydrant type: Hydrant - name: HydrantPlan type: HydrantPlan - name: Notizen type: STRING - name: OffeneWasserQuelle type: OffeneWasserQuelle - name: UnterirdischerBehaelter type: UnterirdischerBehaelter The data source for the [OffeneWasserQuelle] select control should be loaded from the relative URL: "/HydrantStandortService/offenewasserquelle" (HTTP-GET) The data source for the [UnterirdischerBehaelter] select control should be loaded from the relative URL: "/HydrantStandortService/unterirdischerbehaelter" (HTTP-GET) The data source for the [HydrantPlan] select control should be loaded from the relative URL: "/HydrantPlanService/hydrantplan" (HTTP-GET) The data source for the [Hydrant] select control should be loaded from the relative URL: "/WasserNetzService/hydrant" (HTTP-GET) An existing HydrantPlanEintrag entity should be loaded from the relative URL: "/HydrantPlanService/hydrantplaneintrag/{id}" (HTTP-GET) If a new HydrantPlanEintrag entity has been created, the new entity should be posted to the relative URL: "/HydrantPlanService/hydrantplaneintrag" (HTTP-POST) If an existing HydrantPlanEintrag entity has been updated, the modified entity should be sent to the relative URL: "/HydrantPlanService/hydrantplaneintrag/{id}" (HTTP-PUT) If an existing HydrantPlanEintrag entity has to be deleted, the following relative URL should be called: "/HydrantPlanService/hydrantplaneintrag/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum