Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EreignisTypeApp
Please create a React-JS application for the EreignisTypeModule. The application has to offer the following views for the user interface: 1. EreignisView 2. EreignisTypeView 3. StandrohrEinsatzView 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 EreignisView must contain the following fields: - name: Beschreibung type: STRING - name: EndeDatumZeit type: DATE - name: EreignisType type: EreignisType - name: Name type: STRING - name: Stadt type: Stadt - name: StartDatumZeit type: DATE The data source for the [Stadt] select control should be loaded from the relative URL: "/StadtService/stadt" (HTTP-GET) The data source for the [EreignisType] select control should be loaded from the relative URL: "/EreignisTypeService/ereignistype" (HTTP-GET) An existing Ereignis entity should be loaded from the relative URL: "/EreignisTypeService/ereignis/{id}" (HTTP-GET) If a new Ereignis entity has been created, the new entity should be posted to the relative URL: "/EreignisTypeService/ereignis" (HTTP-POST) If an existing Ereignis entity has been updated, the modified entity should be sent to the relative URL: "/EreignisTypeService/ereignis/{id}" (HTTP-PUT) If an existing Ereignis entity has to be deleted, the following relative URL should be called: "/EreignisTypeService/ereignis/{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/ereignis/{id}" 2. The EreignisTypeView must contain the following fields: - name: Name type: STRING An existing EreignisType entity should be loaded from the relative URL: "/EreignisTypeService/ereignistype/{id}" (HTTP-GET) If a new EreignisType entity has been created, the new entity should be posted to the relative URL: "/EreignisTypeService/ereignistype" (HTTP-POST) If an existing EreignisType entity has been updated, the modified entity should be sent to the relative URL: "/EreignisTypeService/ereignistype/{id}" (HTTP-PUT) If an existing EreignisType entity has to be deleted, the following relative URL should be called: "/EreignisTypeService/ereignistype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Ereignis columns: - column: EreignisType - column: Name - column: Beschreibung - column: Stadt - column: StartDatumZeit - column: EndeDatumZeit The table should have the title "Ereigniss" und the data must be loaded from the server with the following relative URL: "/EreignisTypeService/ereignis/ereignistype/{id}" 3. The StandrohrEinsatzView must contain the following fields: - name: Ereignis type: Ereignis - name: Hydrant type: Hydrant - name: Standrohr type: Standrohr - name: WasserMengeM3 type: STRING The data source for the [Hydrant] select control should be loaded from the relative URL: "/WasserNetzService/hydrant" (HTTP-GET) The data source for the [Ereignis] select control should be loaded from the relative URL: "/EreignisTypeService/ereignis" (HTTP-GET) The data source for the [Standrohr] select control should be loaded from the relative URL: "/StandrohrTypeService/standrohr" (HTTP-GET) An existing StandrohrEinsatz entity should be loaded from the relative URL: "/EreignisTypeService/standrohreinsatz/{id}" (HTTP-GET) If a new StandrohrEinsatz entity has been created, the new entity should be posted to the relative URL: "/EreignisTypeService/standrohreinsatz" (HTTP-POST) If an existing StandrohrEinsatz entity has been updated, the modified entity should be sent to the relative URL: "/EreignisTypeService/standrohreinsatz/{id}" (HTTP-PUT) If an existing StandrohrEinsatz entity has to be deleted, the following relative URL should be called: "/EreignisTypeService/standrohreinsatz/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum