Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BrandEreignisView
Please create a React-JS view called "BrandEreignisView" for the fields of the BrandEreignis entity. The BrandEreignisView must contain the following fields: - name: Beschreibung type: STRING - name: EndeDatumZeit type: DATE - name: HauptHydrant type: Hydrant - name: Schwere type: STRING - name: Stadt type: Stadt - name: StartDatumZeit type: DATE The data source for the [HauptHydrant] select control should be loaded from the relative URL: "/WasserNetzService/hydrant" (HTTP-GET) The data source for the [Stadt] select control should be loaded from the relative URL: "/StadtService/stadt" (HTTP-GET) An existing BrandEreignis entity should be loaded from the relative URL: "/WasserNetzService/brandereignis/{id}" (HTTP-GET) If a new BrandEreignis entity has been created, the new entity should be posted to the relative URL: "/WasserNetzService/brandereignis" (HTTP-POST) If an existing BrandEreignis entity has been updated, the modified entity should be sent to the relative URL: "/WasserNetzService/brandereignis/{id}" (HTTP-PUT) If an existing BrandEreignis entity has to be deleted, the following relative URL should be called: "/WasserNetzService/brandereignis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BrandEreignisHydrant columns: - column: BrandEreignis - column: Rolle - column: Hydrant The table should have the title "BrandEreignisHydrants" und the data must be loaded from the server with the following relative URL: "/LandService/brandereignishydrant/brandereignis/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum