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