Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HydrantPlanView
Please create a React-JS view called "HydrantPlanView" for the fields of the HydrantPlan entity. 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}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum